.NET Blog

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

Introducing the Half type!

The specification defines many floating point types, including: , , and . Most developers are familiar with (equivalent to in C#) and (equivalent to in C#). They provide a standard format to represent a wide range of values with a precision acceptable for many applications. .NET has always had and and with .NET 5 Preview 7, we've added...

An Introduction to DataFrame

Last month, we announced .NET support for Jupyter notebooks, and showed how to use them to work with .NET for Apache Spark and ML.NET. Today, we're announcing the preview of a DataFrame type for .NET to make data exploration easy. If you've used Python to manipulate data in notebooks, you'll already be familiar with the concept of a DataFrame...

Update on .NET Standard adoption

It's about two years ago that I announced .NET Standard 2.0. Since then we've been working hard to increase the set of .NET Standard-based libraries for .NET. This includes many of the BCL components, such as the Windows Compatibility Pack, but also other popular libraries, such as the JSON.NET, the Azure SDK, or the AWS SDK. In this blog post...

Try the new System.Text.Json APIs

For .NET Core 3.0, we're shipping a brand new namespace called System.Text.Json with support for a reader/writer, a document object model (DOM), and a serializer. In this blog post, I'm telling you why we built it, how it works, and how you can try it. We also have a video: Getting the new JSON library The future of ...

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

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

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