.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 4
Post likes count 27

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

Mar 6, 2018
Post comments count 0
Post likes count 0

F# language and tools update for Visual Studio 2017 version 15.6

Phillip Carter

With the release of Visual Studio 2017 version 15.6, we’re excited to share updates to the F# language and core library, F# tooling in Visual Studio, and infrastructure updates that concern OSS contributors. Let’s dive in! F# language and core library updates Some foundational changes for the F# language and core library have been made, in addition to smaller behavioral language changes and added features to FSharp.Core. Versioning changes We have drafted and implemented a versioning change for F# moving forward. There are two major changes involved: To do this, we will rev the F# langu...

Mar 5, 2018
Post comments count 0
Post likes count 0

ASP.NET Core 2.1.0-preview1: Functional testing of MVC applications

Daniel Roth

For ASP.NET Core 2.1 we have created a new package, Microsoft.AspNetCore.Mvc.Testing, to help streamline in-memory end-to-end testing of MVC applications using . This package takes care of some of the typical pitfalls when trying to test MVC applications using TestServer. Create a test project To try out the new MVC test fixture, let's create an app and write an end-to-end in-memory test for the app. First, create an app to test. Add an xUnit based test project. Create a solution file and add the projects to the solution. Add a reference from the test project to the app we're going to...

Mar 4, 2018
Post comments count 0
Post likes count 0

ASP.NET Core 2.1.0-preview1: GDPR enhancements

Barry Dorrans

2018 sees the introduction of the General Data Protection Regulation, an EU framework to allow EU citizens to control, correct and delete their data, no matter where in the word it is held. In ASP.NET Core 2.1 Preview 1 we’ve added some features to the ASP.NET Core templates to allow you to meet some of your GDPR obligations, as well as a cookie “consent” features to allow you to annotate your cookies and control whether they are sent to the user based on their consent to have such cookies delivered. HTTPS In order to help keep users' personal data private, ASP.NET Core configures new projects to be served over...

Mar 2, 2018
Post comments count 8
Post likes count 0

ASP.NET Core 2.1.0-preview1: Introducing Identity UI as a library

Daniel Roth

ASP.NET Core has historically provided project templates with code for setting up ASP.NET Core Identity, which enables support for identity related features like user registration, login, account management, etc. While ASP.NET Core Identity handles the hard work of dealing with passwords, two-factor authentication, account confirmation, and other hairy security concerns, the amount of code required to setup a functional identity UI is still pretty daunting. The most recent version of the ASP.NET Core Web Application template with Individual User Accounts setup has over 50 files and a couple of thousand lines of c...

Mar 1, 2018
Post comments count 0
Post likes count 0

ASP.NET Core 2.1.0-preview1: Razor UI in class libraries

Daniel Roth

One frequently requested scenario that ASP.NET Core 2.1 improves is building UI in reusable class libraries. With ASP.NET Core 2.1 you can package your Razor views and pages (.cshtml files) along with your controllers, page models, and data models in reusable class libraries that can be packaged and shared. Apps can then include pre-built UI components by referencing these packages and customize the UI by overriding specific views and pages. To try out building Razor UI in a class library first install the .NET Core SDK for 2.1.0-preview1. Create an ASP.NET Core Web Application by running or selecting the corr...

Mar 1, 2018
Post comments count 0
Post likes count 0

NuGet Spring 2018 Roadmap

Anand Gaurav

In August 2017, we published the NuGet Fall 2017 Roadmap where we outlined our backlog for the upcoming quarter. Since then, we’ve published specifications for these experiences on GitHub for the community to review. You have provided a ton of great feedback that has helped us ensure we deliver the right experiences. Thank you for your continued involvement and feedback! In this post, I would like to briefly summarize our progress on our Fall 2017 roadmap and discuss what we plan to build over the next quarter leading up to early Summer (May 2018). Looking back Here is a quick summary of the various experience...

Feb 28, 2018
Post comments count 0
Post likes count 0

ASP.NET Core 2.1.0-preview1: Improvements to IIS hosting

Sourabh Shirhatti [MSFT]

The ASP.NET Core Module (ANCM) is a global IIS module that has been responsible for proxying requests over from IIS to your backend ASP.NET Core application running Kestrel. Since 2.0 we have been hard at work to bring to two major improvements to ANCM: version agility and performance. Note, that in the 2.1.0-preview1 release, we have chosen not to update the global module by default, to avoid impacting any existing 1.x/2.0 applications at this early stage. This post details the changes in ANCM and how you can opt-in to trying out these changes today. Version agility It has bee...

Feb 28, 2018
Post comments count 0
Post likes count 0

ASP.NET Core 2.1-preview1: Introducing HTTPClient factory

Glenn Condron

HttpClient factory is an opinionated factory for creating HttpClient instances to be used in your applications. It is designed to: 1. Provide a central location for naming and configuring logical HttpClients. For example, you may configure a client that is pre-configured to access the github API. 2. Codify the concept of outgoing middleware via delegating handlers in HttpClient and implementing Polly based middleware to take advantage of that. 1. HttpClient already has the concept of delegating handlers that could be linked together for outgoing HTTP requests. The factory will make registering of these p...

Feb 27, 2018
Post comments count 4
Post likes count 0

ASP.NET Core 2.1.0-preview1: Improvements for building Web APIs

Daniel Roth

ASP.NET Core 2.1 adds a number of features that make it easier and more convenient to build Web APIs. These features include Web API controller specific conventions, more robust input processing and error handling, and JSON patch improvements. Please note that some of these features require enabling MVC compatibility with 2.1, so be sure to check out the post on MVC compatibility versions as well. [ApiController] and ActionResult ASP.NET Core 2.1 introduces new Web API controller specific conventions that make Web API development more convenient. These conventions can be applied to a controller using the new ...