.NET Blog

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

Featured posts

Announcing .NET 11
Nov 10, 2026
Post comments count 2
Post likes count 25

Announcing .NET 11

.NET Team

.NET 11 is here with C# 15, faster developer tools, runtime and library improvements, and new capabilities for web, mobile, desktop, and AI apps.

.NETASP.NET CoreC#

Latest posts

Jan 30, 2014
Post comments count 0
Post likes count 0

Microsoft.Diagnostics.Tracing.EventSource is now stable

Immo Landwerth

We are announcing the RTM of the EventSource NuGet package, which enables fast app tracing to the Windows Event Log, including in production. This post was written by Cosmin Radu, a software developer on the .NET Runtime team. Over the past several weeks we’ve been working on addressing some feedback we’ve received from our users and added some improvements, including support for .NET Framework 3.5. Today I’m happy to announce the stable release of the EventSource and the EventRegister packages. NEW: EventSource Supports .NET 3.5 With the RTM release, the NuGet package now supports projects runn...

Jan 22, 2014
Post comments count 0
Post likes count 0

.NET 4.5.1 Supports Microsoft Security Updates for .NET NuGet Libraries

.NET Team

This post describes .NET NuGet library servicing support in the .NET Framework 4.5.1. It was written by Alok Shriram, a Program Manager on the .NET Core Framework Team. In the .NET Framework 4.5.1, we extended our .NET Framework security update capability to our NuGet libraries, enabling us to deliver security updates for those libraries on Microsoft Update (MU). The update experience is the same one you are used to when we deliver security updates for the .NET Framework. Microsoft Update enables us to deliver security updates quickly and globally, in one way, for both end-users and enterprise customers. Ov...

Jan 20, 2014
Post comments count 0
Post likes count 0

Announcing the Release of ASP.NET MVC 5.1, ASP.NET Web API 2.1 and ASP.NET Web Pages 3.1

Daniel Roth

The NuGet packages for ASP.NET MVC 5.1, ASP.NET Web API 2.1 and ASP.NET Web Pages 3.1 are now live on the NuGet gallery!Download this releaseYou can install or update to the released NuGet packages for ASP.NET MVC 5.1, ASP.NET Web API 2.1 and ASP.NET Web Pages 3.1 using the NuGet Package Manager Console, like this: Pre-requisites for this release What’s in this release?This release is packed with great new features summarized below:ASP.NET MVC 5.1 ASP.NET Web API 2.1 ASP.NET Web Pages 3.1 You can find a complete listing of the featur...

Jan 15, 2014
Post comments count 0
Post likes count 0

Some notes on using Organizational Auth with ASP.NET

Sayed Ibrahim Hashimi

In Visual Studio 2013 we shipped support for creating new ASP.NET projects which use Windows Azure Active Directory for Organizational Authentication. Vittorio Bertocci has recently written a great blog post Setting Up an ASP.NET Project with Organizational Authentication Requires an Organizational Account. If you are using the Org Auth features in ASP.NET I suggest you check it out.Thanks, Sayed Ibrahim Hashimi | http://sedodream.com | @SayedIHashimi

Jan 14, 2014
Post comments count 0
Post likes count 0

Scaffolding ADO.NET Entity Data Model Designer-based-models

Ian_Hong

The ADO.NET Entity Data Model Designer (Entity Designer) is a GUI tool for editing Entity Framework models. You can use the Entity Designer to visually create and modify entities, associations, mappings, and inheritance relationships. You can also use the tool to validate the model. When you build the Entity Framework models, Entity Designer in Visual Studio 2013 generates a DbContext based container with the associated T4 template. These context files do not carry any metadata information for the target EDMX files. They are generated to always throw the UnintentionalCodeFirstException as follows: Code Snipp...

Jan 13, 2014
Post comments count 0
Post likes count 0

Announcing E-book version of Scott Guthrie’s “Building Real-World Cloud Apps with Windows Azure”

Tom Dykstra - MSFT

We have published online and downloadable e-book versions of Scott Guthrie’s presentation titled Building Real-World Cloud Apps with Windows Azure (original video version is available here: part 1, part 2).Along with the e-book we published the code for the Fix It application that Scott developed to demonstrate many of the recommended cloud development patterns. Before publishing the code, we worked with Microsoft Patterns and Practices to do a thorough code review and testing. In an Appendix to the e-book, we document what we learned from that process, listing issues we fixed and issues we deferred to a la...

Jan 6, 2014
Post comments count 0
Post likes count 0

Implementing custom password policy using ASP.NET Identity

suhasbj

We recently released the 2.0.0-alpha1 version of ASP.NET Identity. Learn more here: http://blogs.msdn.com/b/webdev/archive/2013/12/20/announcing-preview-of-microsoft-aspnet-identity-2-0-0-alpha1.aspx To provide a more secure user experience for the application, you might want to customize the password complexity policy. This might include minimum password length, mandatory special characters in the password, disallowing recently used passwords, etc. More information on password policy can be found here. By default ASP.NET Identity enforces a minimum password length of 6 characters. This article provides a simple...

Dec 26, 2013
Post comments count 0
Post likes count 0

How to customize the generated files from the New Scaffolded Item dialog

Sayed Ibrahim Hashimi

In Visual Studio 2013 we introduced the Add New Scaffolded Item dialog. This dialog replaced the Add View/Add Controllers ASP.NET MVC dialog which was had in 2012. This new dialog works for all ASP.NET projects (MVC, Web Forms and Web API). This is one example of how we are delivering on the “One ASP.NET” vision. We’ve also released the same support for Visual Studio 2012, checkout our previous post at http://blogs.msdn.com/b/webdev/archive/2013/11/18/announcing-release-of-asp-net-and-web-tools-2013-1-for-visual-studio-2012.aspx for more info on how to get started in VS2012 with the new features. One of the real...

Dec 20, 2013
Post comments count 0
Post likes count 0

Announcing preview of Microsoft.AspNet.Identity 2.0.0-alpha1

pranav rastogi

Today, we are releasing a preview of ASP.NET Identity. The main focus in this release was to fix issues with the 1.0 release and build upon the 1.0 Framework to add more features such as Account Confirmation, Password Reset etc. Please read the known issues section below before trying out this preview. Download this releaseYou can download ASP.NET Identity as preview NuGet packages from the NuGet gallery. You can install or update to these pre-release packages through NuGet using the NuGet Package Manager Console, like this: Please remember to select the “Include Prerelease” option when searc...