.NET Blog
Free. Cross-platform. Open source. A developer platform for building all your apps.
Featured posts

Announcing .NET 11
.NET 11 is here with C# 15, faster developer tools, runtime and library improvements, and new capabilities for web, mobile, desktop, and AI apps.
Latest posts
ASP.NET Core 2.1.0-preview1: Introducing compatibility version in MVC
This post was written by Ryan Nowak In 2.1 we're adding a feature to address a long-standing problem for maintaining MVC - how do we make improvements to framework code without making it too hard for developers to upgrade to the latest version? This is not an easy concern to solve - and with 7 major releases of MVC (dating back to 2009) there are a few things we'd like to leave in the past. Unlike most other parts of ASP.NET Core, MVC is a framework - our code calls your code in lots of idiosyncratic ways. If we change what methods we call or in what order, or how we handle exceptions - it's very easy for worki...
ASP.NET Core 2.1.0-preview1: Getting started with SignalR
Since 2013, ASP.NET developers have been using SignalR to build real-time web applications. Now, with ASP.NET Core 2.1 Preview 1, we're bringing SignalR over to ASP.NET Core so you can build real-time web applications with all the benefits of ASP.NET Core. We released an alpha version of this new SignalR back in October that worked with ASP.NET Core 2.0, but now it's ready for a broader preview and built-in to ASP.NET Core 2.1 (no additional NuGet packages required!). This new version of SignalR gave us a chance to significantly redesign some elements and learn from the lessons of the past, but the core APIs you ...
ASP.NET Core 2.1.0-preview1: Using ASP.NET Core Previews on Azure App Service
There are 3 options to get ASP.NET Core 2.1 Preview applications running on Azure App Service: 1. Installing the Preview1 site extension 2. Deploying your app self-contained 3. Using Web Apps for Containers Installing the site extension Starting with 2.1-preview1 we are producing an Azure App Service site extension that contains everything you need to build and run your ASP.NET Core 2.1-preview1 app. You can install this site extension by: Note: the name of this extension was changed for Preview2. It is now ASP.NET Core 2.1 (X86) Runtime. If you have already deployed an ASP.NET Core Preview then you ...
Announcing Entity Framework Core 2.1 Preview 1
Today we are releasing the first preview of EF Core 2.1, alongside .NET Core 2.1 Preview 1 and ASP.NET Core 2.1 Preview 1. The new bits are available in NuGet as part of the individual packages, and as part of the ASP.NET Core meta-packages (both Microsoft.AspNetCore.All and the new Microsoft.AspNetCore.App), and included in the .NET Core SDK. The majority of the new features of EF Core 2.1 are present and ready to try in Preview 1: We want to maximize the exposure of the new features to you, our customers, and the amount of time we will have to address your feedback before the final release. We would like ...
Announcing .NET Core 2.1 Preview 1
Today, we are announcing .NET Core 2.1 Preview 1. It is the first public release of .NET Core 2.1. We have great improvements that we want to share and that we would love to get your feedback on, either in the comments or at dotnet/core #1297. ASP.NET Core 2.1 Preview 1 and Entity Framework 2.1 Preview 1 are also releasing today. You can download and get started with .NET Core 2.1 Preview 1, on Windows, macOS, and Linux: You can develop .NET Core 2.1 apps with Visual Studio 2017 15.6 Preview 6 or later, or Visual Studio Code. We expect that Visual Studio for Mac support will be added with Visua...
ASP.NET Core 2.1.0-preview1: Improvements for using HTTPS
Securing web apps with HTTPS is more important than ever before. Browser enforcement of HTTPS is becoming increasingly strict. Sites that don't use HTTPS are increasingly labeled as insecure. Browsers are also starting to enforce that new and existing web features must only be used from an secure context (Chromium, Mozilla). New privacy requirements like the Global Data Protection Regulation (GDPR) require the use of HTTPS to protect user data. Using HTTPS during development also helps prevent HTTPS related issues before deployment, like insecure links. ASP.NET Core 2.1 makes it easy to both develop your ap...
ASP.NET Core 2.1.0-preview1 now available
Today we're very happy to announce that the first preview of the next minor release of ASP.NET Core and .NET Core is now available for you to try out. We've been working hard on this release over the past months, along with many folks from the community, and it's now ready for a wider audience to try it out and provide the feedback that will continue to shape the release. You can read about .NET Core 2.1.0-preview1 over on their blog. You can also read about Entity Framework Core 2.1.0-preview1 on their blog. How do I get it? You can download the new .NET Core SDK for 2.1.0-preview1 (which includes AS...
Calling All Desktop Developers: How do you interact with data?
Connecting to databases and services is an important part of desktop application development for many of our customers. Visual Studio provides a variety of tools and technologies that can help you connect to and interact with your different data sources. We’d love your help in shaping our future offerings in this space! Please fill out the survey below so we can learn more about what you currently use, your biggest challenges, and your future plans. It should only take 5 minutes to complete! Take the survey now! We appreciate your contribution!
Deprecating NuGet.org authentication
As announced in our NuGet Fall 2017 Roadmap blog post, we are transitioning away from NuGet.org’s home-grown authentication mechanism which will eventually allow us to add support for additional security systems such as two-factor authentication (2-FA). In preparation for this transition, we had already added support for Microsoft accounts (MSA) to sign in to NuGet.org and are now announcing support for Azure Active Directory (AAD) that can be used to sign in to NuGet.org. We recommend that all NuGet.org publishers start using either MSA or AAD to manage their accounts as soon as possible. We will ensure a smooth...