Missed .NET Day on Agentic Modernization? Watch the coding demos and agentic workflow sessions on demand.
.NET Blog
Free. Cross-platform. Open source. A developer platform for building all your apps.
Latest posts
NuGet 3.0 Beta Released
Its time for the 3.0 beta release for NuGet, and this time we have some much sought-after enhancements in the works for you. You can get access to the update NuGet binaries on Codeplex and through the Visual Studio extension manager. We are only releasing these preview bits for Visual Studio 2013 (on CodePlex only) and for Visual Studio 2015. We are releasing the Visual Studio 2013 version on Codeplex so that we don't accidentally deliver a preview extension version into a production development environment. We will be delivering a new version of the extension for Visual Studio 2012 in the near future. We stron...
Open sourcing and releasing ASP.NET Identity 2.2.0
We are releasing the final version of ASP.NET Identity 2.2. The main focus in this release was to fix bugs and address performance issues. Open source We have also made the source code publicly available on aspnetidentity.codeplex.com and will be taking contributions to the project. Check out the project home page for more details. Note: This is the source code for ASP.NET Identity 2.2. ASP.NET Identity 3.0 is part of ASP.NET 5 and the source code is on GitHub. Download this release You can download ASP.NET Identity from the NuGet gallery. You can install or update these packages using the NuGet Package Mana...
Improve performance by optimizing queries for ASP.NET Identity and other Membership Providers
If your application is using ASP.NET Identity or other membership systems such as SQL, Universal or Simple membership, then you might be running into the following issue. If you are using ASP.NET Identity 2.x, the query for getting profile values (among other things) uses the UPPER() function on Username - this causes any indexes on username to be ignored. The workaround is to add a computed column with the call to UPPER(Username) and a database index over it. This is extremely effective in improving the performance and it does not require any changes to the application or updating ASP.NET Identity Framework. ...
ASP.NET MVC 5.2.3, Web Pages 3.2.3 and Web API 5.2.3 Release
While the MVC team is working hard on MVC 6 as part of the ASP.NET 5 effort, we also keep working on the 5.x packages. Today we are releasing ASP.NET MVC 5.2.3, Web Pages 5.2.3 and Web API 5.2.3. This release addresses 13 issues. Here is the full list. Highlight of issues fixed Web API Issues 2092 Significant performance improvement in the default overload for System.Net.HttpFormatting.ReadAsAsync by caching the default JSON formatter. This can result in improvements of 100s of milliseconds on the second call to ReadAsAsync (or similarly to the write method). 2103 Batch's inner request's Url not being decode...
Automatic code formatter released to GitHub
Code formatting can be a huge pain point. In this post, Jared Parsons, software developer on the Roslyn team, showcases a tool that takes care of it. We have just released the code formatting tool we use to automatically format our code to the prescribed coding guidelines. This tool is based on Roslyn and will work on any C# project. We strongly believe that having a consistent style greatly increases the readability and maintainability of a code base. The individual style decisions themselves are subjective, the key is the consistency of the decisions. As such the .NET team has a set of style guidelines for all...
Introducing the Visual Studio 2015 Extension for ASP.NET Project Templates
In Visual Studio 2013, there were a handful of templates that supported developing ASP.NET projects with various frameworks and data structures. Some of those project templates from the Visual Studio 2012 era have been removed from the Visual Studio 2015 install and added to the Visual Studio Extension gallery as the ASP.NET Project Templates extension for Visual Studio 2015. This was primarily done for the following reasons: What templates are included? What about other templates from VS 2013? All the other templates from VS 2013 are still part of VS 2015. You can create ASP....
Debugging ASP.NET 5 framework code using Visual Studio 2015
In the previous versions of ASP.NET it was possible to debug certain parts of the framework stack but setting up the development environment and compiling all the binaries was not the easiest task. ASP.NET 5 changes that and makes debugging framework code as easy as debugging your own application. This article shows how to debug into the ASP.NET 5 framework code using Visual Studio 2015. Before getting into the How-To part, there is one limitation that you have to understand: you must not mix different versions of the runtime and/or packages. Trying to debug the latest MVC packages using an old runtime might be ...
CoreCLR is now Open Source
We’re excited to announce that CoreCLR is now open source on GitHub. CoreCLR is the .NET execution engine in .NET Core, performing functions such as garbage collection and compilation to machine code. .NET Core is a modular implementation of .NET that can be used as the base stack for a wide variety of scenarios, today scaling from console utilities to web apps in the cloud. To learn how .NET Core differs from the .NET Framework, take a look at the Introducing .NET Core blog post. You can check out the CoreCLR sources, fork, clone and build. We have released the complete and up-to-date CoreCLR implementation, ...
Package Signing
Package signing has been a major discussion point for a long time in the NuGet ecosystem. However, the NuGet Team didn't want to rush into an implementation and end up creating something that restricted the ecosystem unnecessarily. Well, we now think we are ready to begin a process to introduce Package Signing, and we want to share our plans with the community so you can see what we're thinking and give us feedback. Goals Up until now, the transfer of packages was secured from NuGet.org down to your machine, and from publisher's machines up to NuGet.org using TLS/SSL. This has served us fairly well so far, but ...