(Eric Vogel) The .NET 4.5 Framework includes some changes to the typical reflection use cases. Most importantly, the Type object has been split into two separate classes: Type and TypeInfo. A TypeInfo instance contains the definition for a Type, and a Type now contains only reference data.
Tag: Development
Using DialogResult to pass data between forms
(Ged Mead) I had a question in the forums a while back where there were two forms; one that displayed a list of choices in checkboxes and one that displayed the actual choices the user had made. There was an additional requirement and that was that the user was only allowed to select three items fr
Mixing ASP.NET MVC Display Mode Providers and Routing Rules
(K. Scott Allen) You can build custom views for mobile devices in ASP.NET MVC 4 using the DisplayModeProvider features of the framework (see "Browser Specific Views" of the "ASP.NET MVC 4 Mobile Features" article for more details). The default view switching behavior happens by ultimately looking at
Simple Application using Knockout.js, jQuery and ASP.NET MVC 4.0 with WEB API
(Mahesh Sabnis) Using ASP.NET MVC, WEB API, jQuery and Knockout.js, it becomes really easy to develop rich, client-side, data-bound web applications. In this article, we will see how the Observable pattern implemented by KO helps us reduce a lot of boiler-plate code that would be required to build s
Displaying date/time using the user timezone in ASP.NET MVC
(jgauffin) This post will show you how you can display date/time using the user timezone (without it being configured anywhere in your application).
Fast Downloading with Parallel Requests using ASP.NET Web API
(Brij Mohan) In this article, we will implement to download parts of file in parallel to get the complete file faster. It is very useful to download large file and saves a bunch of time. ASP.NET Web API supports byte range requests(available in latest nightly build) with ByteRangeStreamContent class
Reading CSV Data
(Richard Carr) CSV files are useful for transferring information between systems that cannot be connected by another method. Reading the data from CSV files, or strings containing CSV information, is made easy with standard .NET framework classes.
Using NUnit with Visual Studio 2012 Unit Test Projects
(Bipin Joshi) In Visual Studio 2012, the Unit Test projects by default use MS-Test, Microsoft’s unit testing framework. A nice feature of Visual Studio 2012 is that it also allows you to use third-party unit testing frameworks such as NUnit, xUnit.Net and MbUnit.
A Quick Comparison Between jsViews and Knockout
(William Forney) Both jsViews and Knockout are JavaScript libraries for implementing an MVVM pattern on the client side using the jQuery templates plugin or the later version of same, jsRender.
Extend Your Classes Without Changing Code
(Peter Vogel) So I’m at a client’s site and we’re discussing adding a new method to an existing class. One of the client’s programmers said, “We should put the method in the base class and let all the derived classes inherit it from it” Another programmer said, “I think it would be better to create
