.NET Blog

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

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 ...

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 ...

.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 ...

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 ...

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 ...

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. ...

Understanding the Whys, Whats, and Whens of ValueTask

The .NET Framework 4 saw the introduction of the  namespace, and with it the  class. This type and the derived  have long since become a staple of .NET programming, key aspects of the asynchronous programming model introduced with C# 5 and its  /  keywords. In this post, I'll cover the newer / types, which were introduced to help ...

Announcing .NET Standard 2.1

Since we shipped .NET Standard 2.0 about a year ago, we've shipped two updates to .NET Core 2.1 and are about to release .NET Core 2.2. It's time to update the standard to include some of the new concepts as well as a number of small improvements that make your life easier across the various implementations of .NET. Keep reading to learn ...