.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
Blazor 0.7.0 experimental release now available
Blazor 0.7.0 is now available! This release focuses on enabling component coordination across ancestor-descendent relationships. We've also added some improvements to the debugging experience. Here's what's new in the Blazor 0.7.0 release: A full list of the changes in this release can be found in the Blazor 0.7.0 release notes. Get Blazor 0.7.0 Install the following: You can find getting started instructions, docs, and tutorials for Blazor at https://blazor.net. Upgrade an existing project to Blazor 0.7.0 To upgrade a Blazor 0.6.0 project to 0.7.0: That's it! You'...
Handling a new era in the Japanese calendar in .NET
Typically, calendar eras represent long time periods. In the Gregorian calendar, for example, the current era spans (as of this year) 2,018 years. In the Japanese calendar, however, a new era begins with the reign of a new emperor. On April 30, 2019, Emperor Akihito is expected to abdicate, which will bring to an end the Heisei era. On the following day, when his successor becomes emperor, a new era in the Japanese calendar will begin. It is the first transition from one era to another in the history of .NET, and the first change of eras in the Japanese calendar since Emperor Akihito's accession in January 1989. ...
ASP.NET SignalR 2.4.0
We've just shipped the final 2.4.0 version of ASP.NET SignalR, the version of SignalR for System.Web and/or OWIN-based applications. As we mentioned in a previous post on the future of ASP.NET SignalR, 2.4.0 is a minor release which contains some small bug fixes and updates. The majority of the features and fixes we implemented for ASP.NET SignalR were outlined in the 2.4.0 Preview 2 post. Support for StackExchange Redis 2.0 In 2.4.0 we're adding support for the new 2.0 release of the StackExchange.Redis package. If you're using StackExchange's Redis package in your SignalR apps and you want to update to the St...
.NET Framework November 2018 Security and Quality Rollup
Today, we are releasing the November 2018 Security and Quality Rollup.SecurityNo new security fixes. See .NET Framework September 2018 Security and Quality Rollup for the latest security updates.Quality and ReliabilityThis release contains the following quality and reliability improvements.CLRWFWinformsWPFNote: Additional information on these improvements is not available. The VSTS bug number provided with each improvement is a unique ID that you can give Microsoft Customer Support, include in StackOverflow comments or use in web searches.Getting the UpdateThe Security and Quality Rollup is available via Windows ...
.NET Core tooling update for Visual Studio 2017 version 15.9
Update! Starting with Visual Studio 2019, the option has moved to: Tools > Options > Environment > Preview Features Old post for posterity: Starting with Visual Studio 2017 version 15.9, we’ve changed how the Visual Studio tooling for .NET consumes .NET Core SDKs. Prior to this change, installing a preview version of the .NET Core SDK would cause all Visual Studio tooling for .NET Core to use that SDK because it had a higher version. We now have a compatibility check in the .NET Core SDK that allows for a given SDK to mark a minimum required Visual Studio version. This ensures that the Visual Studio t...
Cross-platform Time Zones with .NET Core
Developing applications that span multiple operating systems in .NET Core while working with Time Zone information can lead to unexpected results for developers not familiar with the differences in how operating systems manage Time Zones. In this post, we will explore those differences and the challenges they present. Reproducing the issue Suppose you are writing a console application in .NET Core and you want to get information about a specific Time Zone. You might write something like this Running this on my Windows 10 development environment, I see the following output If I take that same block of ...
Building C# 8.0
Building C# 8.0 The next major version of C# is C# 8.0. It's been in the works for quite some time, even as we built and shipped the minor releases C# 7.1, 7.2 and 7.3, and I'm quite excited about the new capabilities it will bring. The current plan is that C# 8.0 will ship at the same time as .NET Core 3.0. However, the features will start to come alive with the previews of Visual Studio 2019 that we are working on. As those come out and you can start trying them out in earnest, we will provide a whole lot more detail about the individual features. The aim of this post is to give you an overview of what to e...
When should you right click publish
Some people say ‘friends don’t let friends right click publish’ but is that true? If they mean that there are great benefits to setting up a CI/CD workflow, that’s true and we will talk more about these benefits in just a minute. First, let’s remind ourselves that the goal isn’t always coming up with the best long-term solution. Technology moves fast and as developers we are constantly learning and experimenting with new languages, frameworks and platforms. Sometimes we just need to prototype something rather quickly in order to evaluate its capabilities. That’s a classic scenario where right click publish in Vi...
Announcing ML.NET 0.7 (Machine Learning .NET)
We're excited to announce today the release of ML.NET 0.7 - the latest release of the cross-platform and open source machine learning framework for .NET developers (ML.NET 0.1 was released at //Build 2018). This release focuses on enabling better support for recommendation based ML tasks, enabling anomaly detection, enhancing the customizability of the machine learning pipelines, enabling using ML.NET in x86 apps, and more. This blog post provides details about the following topics in the ML.NET 0.7 release: Enhanced support for recommendation tasks with Matrix Factorization ...