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
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. ...
All about
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 means keeping quirky, buggy, or undesirable behaviors in the product between versions, as fixing them may negatively affect applications which were relying on those behaviors. Consider creating a new Console Application project targeting .NET Framework 4 and putting the foll...
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 be directed to ELMAH as well so that I have a one stop shop for viewing all unhandled exceptions in my application. Without a bit of work though, this won't happen. Here's why: ELMAH records unhandled exceptions by tapping into the Application_Error event of ASP.NET applications, but when a Web API end...
Introducing NETCF 3.9 in Windows Embedded Compact 2013 – a faster, leaner and multi-core runtime!
Ever since .NET Compact Framework was introduced at the PDC conference in 2001, programming with .NET has scaled from some of the smallest devices to the largest servers. With C# and Visual Basic, developers can apply the same skills to program both devices and servers to form a complete end-to-end solution. As the devices become more prevalent in our daily lives, .NET is evolving too. Abhishek Mondal, the program manager for .NET Compact Framework, shares the following highlights of the latest version. --Brandon Updated 11/17/2012: Corrected wording about Thumb2 use. NETCF 3.9 advances the Windows Embed...
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 this system.Update: Following are the posts in this seriesModelBinding Fundamentals What is Model BindingModel Binding is a system which binds a value submitted from the client to a model on the server so that the model is available for inspection for validation rules and process...
Scaling cloud apps with the .NET Framework 4.5
The .NET Framework 4.5 is now available on Windows Azure. Thank you to everyone cheering for this moment. We’re just starting to see the possibilities that a rich developer framework like the .NET Framework and the cloud can have together. Richard Lander, a program manager for the Common Language Runtime, explains a few best practices that can result in fantastic scaling by applying very simple coding patterns around the .NET Framework 4.5 asynchrony feature. --Brandon The .NET Framework 4.5 is now available on Windows Azure At the Build 2012 event, the Windows Azure team announced that you can use the .NE...
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 Data Tooling itself has undergone a lot of changes, this post is geared towards Web Application Developers. Changes in VS2012 Why LocalDB? The quick pitch for LocalDB ...
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 want to focus on is bringing this new feature to an existing ASP.NET Web Forms application. Why is this worth a blog post? Well, if you look at the design of the Help Pages feature, you'll see it uses MVC. <Breaks squealing…> Uh oh. You've got a Web Forms app and this feature depends on MVC. Time to bui...