Model Binding Fundamentals

In the previous post we looked at an overview of what is Model Binding and the benefits it brings in for WebForms developers. In this post we will look at the basic fundamentals and how the Model Binding system works with controls. Data Binding with Model Binding Uptil ASP.NET v4.0, data binding in controls happened… Read more

ASP.NET Web API and HTTP Byte Range Support

Range requests is the ability in HTTP to request a part of a document based on one or more ranges. This can be used in scenarios where the client wants to recover from interrupted data transfers as a result of canceled requests or dropped connections. It can also be used in scenarios where a client… Read more

Web Publish Updates with Windows Azure SDK 1.8

We recently released new updates to the publishing experience in Visual Studio 2012 and Visual Studio 2010 as part of the Windows Azure SDK for .NET 1.8 release.  The main new features include web site project (WSP) publishing using the same new publishing workflow as web application projects (WAPs), precompile options for both WAP and… Read more

All about <httpRuntime targetFramework>

Background – on quirks and compatibility The .NET Framework (including ASP.NET) strives to maintain near-100% compatibility when an existing framework is updated on a machine. We try to ensure as much as possible that if an application was developed and deployed against .NET Framework 4, it will just continue to work on 4.5. This normally… Read more

Capturing Unhandled Exceptions in ASP.NET Web API’s with ELMAH

I’m a fan of using ELMAH to track unhandled exceptions in my ASP.NET applications. If you haven’t tried ELMAH, you should definitely check it out. There’s even an ELMAH NuGet package so it’s trivial to install. Now that I’m getting my feet wet with Web API, I’d like to have any Web API unhandled exceptions… Read more

ASP.NET WebForms Model Binding – Overview

This is the first post in the part of series around Model Binding. In this post I will introduce Model Binding integration in ASP.NET WebForms 4.5 while focusing on history, benefits, principles and the integration of Model Binding. In the upcoming posts, I will be going into the details about the features that are supported by… Read more

Interacting with Databases for Web Developers in VS 2012

VS2012 is out and with it brings a host of developer improvements when dealing with data. This post aims at highlighting a few key improvements which will affect you the most and hopefully you will find this information useful in getting started with the improvements in Visual Studio tooling to interact with databases. While the… Read more

Enabling ASP.NET Web API Help Pages for ASP.NET Web Forms Applications

ASP.NET Web API Help Pages is a new preview feature that automatically generates help page style content for your Web API endpoints. You can read more about it at Introducing the ASP.NET Web API Help Page and in further posts on Yao’s blog. I won’t revisit the basics of the feature here. Instead, what I… Read more