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
Per request lifetime management for UserManager class in ASP.NET Identity
Introduction We recently released the 2.0.0-beta1 version of ASP.NET Identity. Learn more here by visiting this link. This is an update to 2.0.0-alpha1 and adds the two-factor auth feature along with a few bug fixes. To learn more about the Alpha release, please visit this link. In this article I am going to explain the significance of the UserManager class in an application and some of the best practices when using it. I am going to use an MVC application that is created using VS 2013 RTM. In the Visual Studio 2013 RTM templates, which had the 1.0.0 version of ASP.NET Identity, we demonstrated directly instant...
Explore the Microsoft .NET Framework 4.5.1 in MSDN Magazine
The February 2014 edition of MSDN magazine includes a great overview of the .NET Framework 4.5.1, written by Gaye Oncul Kok, a Program Manager on the .NET team. The article is a great way to learn about how Visual Studio 2013 and .NET Framework 4.5.1 make apps easier to write, and faster to run. Take a look at the article.
Announcing preview of Dynamic Data provider and EntityDataSource control for Entity Framework 6
Today, we are pleased to announce an update to ASP.NET DynamicData and EntityDataSource control, so that they work with Entity Framework 6.What’s in this preview- DynamicData provider for Entity Framework 6- EntityDataSource control for Entity Framework 6How to install this previewYou can download this preview for ASP.NET DynamicData.EFProvider (http://www.nuget.org/packages/Microsoft.AspNet.DynamicData.EFProvider/) and EntityDataSource (http://www.nuget.org/packages/Microsoft.AspNet.EntityDataSource/) as preview NuGet packages from the NuGet gallery. You can install these pre-release packages through NuGet...
Microsoft.Diagnostics.Tracing.EventSource is now stable
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...
.NET 4.5.1 Supports Microsoft Security Updates for .NET NuGet Libraries
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...
Announcing the Release of ASP.NET MVC 5.1, ASP.NET Web API 2.1 and ASP.NET Web Pages 3.1
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...
Some notes on using Organizational Auth with ASP.NET
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
Scaffolding ADO.NET Entity Data Model Designer-based-models
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...
Announcing E-book version of Scott Guthrie’s “Building Real-World Cloud Apps with Windows Azure”
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...