The world’s most popular IDE just got an upgrade.
.NET Blog
Free. Cross-platform. Open source. A developer platform for building all your apps.
Featured posts

Announcing .NET 10
Announcing the release of .NET 10, the most productive, modern, secure, intelligent, and performant release of .NET yet. With updates across ASP.NET Core, C# 14...
Latest posts
SignalR and user identity (authentication and authorization)
There are too many authentication types (Basic, Windows, Cookie, OAuth) to explain how to use all of them. In this sample, I focus on using Cookie Authentication to secure a website, a Persistent Connection, and a Hub. Authentication is configured on OWIN, you have to add some nuget packages and add code in Startup.cs. I started with a web project using the MVC Template. By default, it creates web forms to register users, input user credentials, configures an anti-forgery token for http requests, creates an entity framework repository for User Identity. For the self host server there is no template, so I created ...
Securing Static Resources with Windows Azure Active Directory Authentication
Visual Studio 2013 RC has a very useful feature of creating new ASP.NET application that are configured with Windows Azure Active Directory authentication. You can read more about it hereIf you open web.config file of such project that is secured with Windows Azure Active Directory, you will see following section: Code Snippet As you might know, WSFederationAuthenticationModule is the one that is responsible for authenticating incoming requests. However, this module runs only for those requests that go through ASP.NET pipeline. To enable it for all the incoming requests, including those for static files...
Friendly License Names
Yesterday afternoon, we enabled a new feature for both the NuGet gallery and the Visual Studio client (for NuGet >= 2.7) which will display the list of license names for a package in addition to simply providing a link to the license text. The big idea behind this feature is that it will aid in the decision making process over whether or not to use a package. While displaying text such as "MIT" may seem like a trivial problem, there is a significant amount of complexity involved in determining the name from a license document. In this feature, license names are determined as a result of analyzing the license ...
ASP.NET Identity NuGet packages for the nightly builds are available on MyGet
ASP.NET Identity packages are now available on MyGet. This means that a successful nightly build of ASP.NET Identity will be pushed to MyGet package feed along with the rest of ASP.NET Web Frameworks such as MVC, Web API, SignalR, EntityFramework etc Steps to follow in Visual Studio to configure the MyGet feed to pull in the nightly packages for ASP.NET Identity You have to configure NuGet to add a package source to the MyGet feed to pull in the latest nightly packages for ASP.NET Identity. - Right click project and click Manage NuGet packages - Bring up the Manage NuGet Packages dialog and Add a fee...
Enable and monitor ASP.NET App Suspend on Windows Server 2012 R2
This post describes how to enable and monitor ASP.NET App Suspend on Windows Server 2012 R2. It was written by Rich Lander, a Program Manager on the .NET team. ASP.NET App Suspend is a big new feature in the .NET Framework 4.5.1. You can read an overview of ASP.NET App Suspend (including a demonstration video) over on the .NET blog. ASP.NET App Suspend is a great feature for shared hosters and Enterprise IT. It enables apps to startup much faster and for each server to host many more apps. In our performance lab, we saw startup time drop by 90% and were able to pack 7 times more sites onto the same machine, ...
ASP.NET App Suspend – responsive shared .NET web hosting
This post introduces ASP.NET App Suspend, which is a game-changing feature in the .NET Framework 4.5.1. It radically changes the user experience and economic model for hosting large numbers of ASP.NET sites on a single machine. This post was written by Rich Lander, a Program Manager on the .NET team. Sharing can be hard. In my early days, I had trouble sharing lego bricks. Now, it’s web hosting. I have to choose between shared and dedicated hosting for the sites I put up. That choice is not always easy, since the cost and level of service can be so different. What if I didn’t have to share my legos. Wouldn’t ...
OWIN Middleware in the IIS integrated pipeline & StageMarkers
Although OWIN middleware components are primarily designed to run on an OWIN pipeline, it can run on IIS as well. Similar to how HttpModules can subscribe to a specific IIS integrated pipeline event, an OWIN middleware can be subscribed to run at a specific IIS integrated pipeline event. Check out OWIN Middleware in the IIS integrated pipeline to know how to configure Stage markers. Welcome your feedback!
RyuJIT: The next-generation JIT compiler for .NET
This post introduces the .NET team’s new 64-bit Just-In-Time (JIT) compiler. It was written by Andrew Pardoe, PM Manager for the CLR Runtime PM team. The world is moving to 64-bit computing even though it isn’t always faster or more efficient than 32-bit. A lot of programs run faster on 32-bit than on 64-bit, for a variety of reasons. One example of this is the 64-bit JIT compiler in .NET. It does a great job of making your program run fast, but it’s not a fast program itself. All that’s about to change: a new, next-generation x64 JIT compiler that compiles code twice as fast is ready to change your impress...
HTML Editing Features in Visual Studio 2013 RC
Several interesting features have been added to the new HTML editor in Visual Studio 2013 RC since the VS 2013 Preview release. See HTML Editing Features in Visual Studio 2013 Preview for a rundown of the Preview features. CSS Class and ID IntelliSense In the Preview release, the new HTML editor did not implement CSS Class IntelliSense, meaning that if you typed <p class=”” you did not get a list of available classes. In RC, this feature is complete and is significantly better than the VS 2012 implementation. VS 2012 had to follow file references back to CSS files to construct Class IntelliSense...