- Dev Blogs
- .NET Blog
No trial. No credit card required. Just your GitHub account.
.NET Blog
Free. Cross-platform. Open source. A developer platform for building all your apps.
Featured posts
Announcing .NET 9
Announcing the release of .NET 9, the most productive, modern, secure, intelligent, and performant release of .NET yet. With updates across ASP.NET Core, C#, .N...
Latest posts
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 release. But the Page Inspector improvements are available for all the other kinds of web projects as well, such as other types of MVC projects and web forms projects. CSS Auto-Sync Let’s get started by creating a new MVC 4 SPA application using VS 2012. ...
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. See http://knockoutjs.com/ for complete information and http://learn.knockoutjs.com/ for tutorials. Knockout Intellisense allows you to code Knockout quickly and accurately, and custom bindings are fully supported! With WTE 1.2 RC installed, you can utilize the Knocko...
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 independent NuGet package and it contains everything you need to create a Facebook Canvas application using ASP.NET MVC. It’s already included by default in the Facebook Application template to give you a quick jump start on building a Canvas Page. Please refer to the tutorial for ins...
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 journalists in the community press that have been regularly including links to our posts. We’ve noticed the traffic from your domains! Thanks for expanding awareness to our blog and many other great .NET blogs. Paper.Li Blogs ...
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 programming than .NET, Greg Paperin – a developer on the .NET base class libraries – explains how C# and Visual Basic still provide a unified development experience between the two sets of APIs. –Brandon Asynchronous Programming in Windows Runtime APIs Asynchronous programming is one ...
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 such as GridView used to bound to data source controls such as ObjectDataSource. We will use this as a reference to understand the flow in the Model Binding System. A lot of the implementation derives inspiration from ObjectDataSource. Following snippet shows how a GridView ca...
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 representation, such as a single segment of a very large document for special processing. Ranges specify a start and an end given a unit. The unit can be anything but by far the most common is “bytes”. An example of a range request asking for the first 10 bytes is as follows: ...
Building Windows Store Apps with .NET
For .NET developers, this is the best time to build client apps. Never before have the Windows APIs been so easy to use from C# or Visual Basic without wrapping them with custom libraries. So far, we’ve seen some amazing apps in the Windows Store built using C#. Richard Lander, program manager for the CLR and frequent contributor to this blog, provides the highlights and references for building your Windows Store apps with .NET. -- Brandon The Windows Store is a new opportunity Windows 8 redefines apps on Windows, improving both the experiences of creating apps and, most importantly, in using them. The Win...
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 WSP, per publish profile web.config transforms, and a preview of the selective publishing feature we'll be releasing in the next publish update. You can get the new publish updates by installing the Windows Azure SDK for .NET 1.8 package from the Web Platform Installer. ...