(Dan Wahlin) I just finished up a new Pluralsight course titled Building ASP.NET MVC Apps with EF Code First, HTML5, and jQuery that I’m really excited about. As the title implies, the course provides an end to end look at an application built using ASP.NET MVC, Entity Framework Code First, HTML5, j
Tag: Development
Use PreviousPageType to Simplify Page Data Access
(Peter Vogel) In an earlier post on cross-page posting, a reader pointed out that I hadn’t discussed the PreviousPageType directive, which can eliminate the need for using the awkward FindControl method (for more on the difficulties of using FindControl — especially with pages using a Master Page –
6 Ways To Avoid Mass Assignment in ASP.NET MVC
(K. Scott Allen) One of the scenarios that I always demonstrate during an ASP.NET MVC class is how to create a mass assignment vulnerability and then execute an over-posting attack. It is a mass assignment vulnerability that led to a severe problem on github last week.
Building Task Based WCF Services with Task Parallel Library
(Jeffrey Juday) Tasks and the Task Parallel Library (TPL) will soon be entering the Windows Communication Foundation (WCF) vernacular. Upcoming .NET language features will be replacing the outdated Asynchronous Programming Model (APM). WCF 4.5 will include Task based options.
Microsoft .NET Frameworks features details
(Shantanupatel) This article describes the features and enhancements that has happened with respect to Microsoft .NET Frameworks.
Multiton Design Pattern
(Richard Carr) The Multiton design pattern is an extension of the singleton pattern. It ensures that a limited number of instances of a class can exist by specifying a key for each instance and allowing only a single object to be created for each of those keys.
On Writing Unit Tests for C#
(Patrick Smacchia) I began writing Unit Tests for my C# code around 8 years ago. I’d like to describe some of the ways in which the experience of practicing real-world unit testing for all these years has changed the way I code.
ResizableControlExtender in AJAX Using ASP.NET
(Alok Pandey) The ResizableControl allows the user to resize a control in form. A resizable handle is attached to the bottom left of the target control that allows the user to resize the dimensions of the control. The properties of the ResizableControlExtender is given below.
Confirming Delete Operations in ASP.NET MVC
(Bipin Joshi) Seeking confirmation of some important action, such as deleting a record, is a common practice in web applications. There are two common approaches to seek confirmation from the end user.
http://www.hanselman.com/blog/OnTheNightmareThatIsJSONDatesPlusJSONNETAndASPNETWebAPI.aspx
(Scott Hanselman) Ints are easy. Strings are mostly easy. Dates? A nightmare. They always will be. There’s different calendars, different formats. Did you know it’s 2004 in the Ethiopian Calendar? Yakatit 26, 2004, in fact. I spoke to a German friend once about how much 9/11 affected me and he said,
