(Joydip Kanjilal) This article takes a look at the 10 best practices that can be followed for best and efficient use of ASP.NET MVC Framework 4.
Tag: Development
ASP.NET MVC3 Using Code First Entity Framework Without Database Generation
(Phil Fresle) So, when is Code First not Code First?
ASP.NET Web API: How content negotiation works?
(Gunnar Peipman) One cool new feature that ASP.NET Web API introduces is support for content negotiation. Content negotiation is mechanism that allows web server to serve content in different format using same URL. In this posting I will show you how to use ASP.NET Web API to serve content in JSON a
Working on SortedDictionary Using C#
(Richa Garg) A SortedDictionary represents a collection of key/value pairs that are sorted on the key. The sorted collection classes differ from unsorted implementation collections in that the elements are sorted by key for SortedDictionary and by value for SortedList.
Understanding Routing in ASP.NET MVC
(Sumit Maitra) ASP.NET routing was initially launched as MVC routing to support clean URL semantics for sites built on ASP.NET MVC. However, it was later pushed up in the framework to become a part of ASP.NET core and thus available for WebForms as well. In this article, we look at how routes work a
Writing a WCF 4.5 WebSocket Service
(Peter Vogel) In my last column, I discussed why I thought WebSockets was so important and laid the groundwork for creating a WebSocket service using WCF 4.5, Visual Studio 11 and Windows Server 8. In this column, I’ll walk through the code for the service I started in the last column. I’ll use the
Application Services vs. Infrastructure Services vs. Domain Services
(Ben Nadel) Yesterday, I outlined my current understanding of Application Architecture and the Model-View-Controller (MVC) approach to content delivery. Part of the application architecture included a “Service” layer.
What’s New in the .NET 4.5 Base Class Library
(Immo Landwerth) The Microsoft .NET Framework base class library (BCL) is all about fundamentals. Although some of the basic constructs are stable and don’t change very much (for example, System.Int32 and System.String), Microsoft is still investing a great deal in this space. This article covers th
Bundling and Minification Features of ASP.NET 4.5
(Bipin Joshi) A few days ago I wrote an article Using Bundling and Minification Features of ASP.NET 4.5 that talks about the new script and CSS bundling and minification features of ASP.NET 4.5. The article was written based on the Beta version of Visual Studio 2012 and there are certain changes int
Custom errors and error detail policy in ASP.NET Web API
(Jimmy Bogard) Today Kurt and I were attempting to debug an Web API service we had deployed to a remote machine. The service was returning 500 errors, and for various reasons, we couldn’t just try to do the requests from that deployed box. We wanted to get the full exception details in the response,
