(Bill Wagner) C# developers create types every day. But how often do developers think about how well their types behave with the type system? Do they write the methods and define the behavior their users will expect one day? What capabilities will the .NET Framework expect from any type?
Tag: Development
Binding Javascript Method References To Their Parent Classes
(Ben Nadel) For those of you who have used Classes in Javascript, you probably have noticed that function references used within the class methods are not actually bound to the class instance in which they were defined. By that, I mean that if you do something like create an AJAX callback method, th
Microsoft’s Oslo modeling platform, the M language and .NET
(George Lawton) Microsoft’s Oslo project aims to radically reduce the time to design, develop and manage complex projects by improving the communication between developers, business analysts and systems managers. At a high level, Oslo breaks down the barriers to sharing models, which enables people
Back to Basics: Interfaces
(Karl Seguin) When it comes to object-oriented programming there are few concepts as basic and important as interfaces. Only recently though, and at a snails pace, have .NET developers started to take advantage of the simple benefits interfaces have to offer. This interest stems from the core role i
Flexible Data Access With LINQ To SQL And The Entity Framework
(Anthony Sneed) With the releases of LINQ to SQL and the ADO.NET Entity Framework, developers now have two products from Microsoft designed to reduce the impedance mismatch that exists between the worlds of relational data and object-oriented programming. Each of these eliminates much of the plumbin
Bar Chart in Silverlight
(Mahesh Chand) The Silverlight Toolkit released on November 2008 comes with a data visualization assembly called Microsoft.Windows.Controls.DataVisualization.dll that hosts the functionality related to charts in Silverlight. This article demonstrates how to draw charts using the Silverlight Toolkit
Handling Null Session and Request Variables
(Jarzebowski Mark) In ASP.NET, if you try to use a session or request variable before it has been set, you’ll get an error. The following functions prevent this by checking for nothing and returning a null string if this is true.
Test-driven development approach in Microsoft.NET using NUnit
(John Charles Olamendy) This is the first article of series of articles related to Test-driven development (TDD) approach in Microsoft.NET. My intention is to illustrate this approach with several real-world examples, and this article is an introduction to the approach and the testing framework NUni
WCF and MSMQ—Take a Message
(Steve Stefanovich) The inherent advantages to introducing queues into an application architecture are well understood. Queues, when used properly, can: –Increase application robustness, as clients can send messages even when services are not running. –Increase application scalability, becau
Tips for LINQ: Fill any generic List from a DataTable
(Santiago Sanchez) With the arrival of LINQ, sometimes it is more useful to have all the database values loaded in a generic list instead of being in DataTables. This is because the use of a list is more friendly in LINQ, in my opinion. This article shows how to load any DataTable in any generic lis
