.NET Blog

Free. Cross-platform. Open source. A developer platform for building all your apps.

‘Paste JSON As Classes’ in ASP.NET and Web Tools 2012.2 RC

‘Paste JSON As Classes’ is a cool feature in ASP.NET and Web Tools 2012.2 RC. This feature will help you generate strongly typed classes in C# or VB.NET from valid JSON text. With ASP.NET and Web Tools 2012.2 RC installed, you will see new menu option like below for C# and VB.NET Website and Web Application projects only. This new menu ...

SignalR: Building real time web applications

Note: This sample is targeting SignalR 1.0.1  SignalR offers a simple and clean API to write real time web applications where the server needs to continuously push data to clients. Common applications are chat, news feed, notifications, multiplayer games. In this sample, I demonstrate powerful features like: ...

Downloading the .NET Framework and Visual Studio Express Editions and SDKs

Update: An updated version of this content is available: Get the latest .NET Bits. We see a lot of daily traffic through the .NET blog and the .NET dev center on MSDN. It is clear from the web traffic data that a key task for many of you is downloading more .NET software, to expand your options and experience developing .NET apps. The number...

CSS Auto-Sync and JavaScript Selection Mapping in Page Inspector

With the release of ASP.NET and Web Tools 2012.2 RC (details here), we have added a couple of new features to Page Inspector in Visual Studio 2012, namely CSS Auto-Sync and JavaScript Selection Mapping. I explain these features in the context of a MVC 4 Single Page Application (SPA app) below, which is a new template available in this ...

Knockout Intellisense in ASP.NET and Web Tools 2012.2 RC

WTE (Web Tools Extension) 1.2 RC is part of the ASP.NET and Web Tools 2012.2 RC and it’s available for download from http://www.microsoft.com/download/details.aspx?id=36053. Knockout Intellisense is an exciting new feature in WTE 1.2 RC.  Knockout is a declarative JavaScript MVVM system for client-side data binding. ...

The new Facebook application template and library for ASP.NET MVC

If you’re looking to build a Facebook App using ASP.NET MVC, then you’re in the right place. With the release of ASP.NET and Web Tools 2012.2, we’ve added lots of updates to our Facebook Application template and library since we first introduced it in the Preview. The library, Microsoft.AspNet.Mvc.Facebook, can be downloaded as an ...

Talking about .NET in the Community Press

We follow a lot of blogs and digital papers relating to both .NET and also technology in general. There is a lot of great content that gets published every day about .NET. We’re starting a new series to publish these great links, doing our part to help give that content a larger audience. For this post, I wanted to call out some of the ...

Asynchronous Programming for Windows Store Apps: .NET is up to the Task

Programming with async and await is the driving force behind delivering “fast and fluid” user experiences. Compiler diagnostics for async APIs guide developers towards best practices – it’s a wonderful example of platform and tooling working together. Since the Windows Runtime uses a slightly different implementation for async ...

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 with data bound controls ...

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 requests only a subset of a larger ...