.NET Blog

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

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

Using .NET Hardware Intrinsics API to accelerate machine learning scenarios

This week's blog post is by Brian Lui, one of our summer interns on the .NET team, who's been hard at work. Over to Brian: Hello everyone! This summer I interned in the .NET team, working on ML.NET, an open-source machine learning platform which enables .NET developers to build and use machine learning models in their .NET applications. ...

Are your Windows Forms and WPF applications ready for .NET Core 3.0?

(image) Download Portability Analyzer (2.37 MB) At Build 2018 we announced that we are enabling Windows desktop applications (Windows Forms and Windows Presentation Framework (WPF)) with .NET Core 3.0. You will be able to run new and existing Windows desktop applications on .NET Core and enjoy all the benefits that .NET Core has to offer...

Publish Improvements in Visual Studio 2017 version 15.7

Today we released Visual Studio 2017 version 15.7. Our 15.7 update brings some exciting updates for publishing applications from Visual Studio that we’re excited to tell you about, including: Configure settings before publishing When publishing your ASP.NET Core applications to either a folder or Azure App Service you can ...

Introducing API Analyzer

This post was written by Olia Gavrysh. Have you ever wondered which APIs are deprecated and which should you use instead? Or have you ever used an API and then found out it didn't work on Mac or Linux? Have that ever happened to you too late when a major part of your code is already implemented and refactoring is way too hard? Both of ...

Announcing .NET Standard 2.0

The .NET Standard 2.0 specification is now complete. It is supported in .NET Core 2.0, in the .NET Framework 4.6.1 and later versions, and in Visual Studio 15.3. You can start using .NET Standard 2.0 today. While this post demos .NET Standard in C#, it's also supported in Visual Basic and F#. For more details, take a look at the .NET ...

Introducing Support for Brotli Compression

This post was written by our software developer intern Denys Tsomenko, who worked on a Brotli compression library during his internship. Modern web-pages are getting larger and larger with huge CSS, HTML and JavaScript files. But the Internet connection isn't always good and pages can load slowly. Web pages also often contain other ...

Performance Improvements in .NET Core

Update (2017/06/12): Added BenchmarkDotNet blog post link. There are many exciting aspects to .NET Core (open source, cross platform, x-copy deployable, etc.) that have been covered in posts on this blog before. To me, though, one of the most exciting aspects of .NET Core is performance. There's been a lot of discussion about the ...

Introducing .NET Standard

Questions? Check out the .NET Standard FAQ. You can find the latest version of the compatibility matrix here. In my last post, I talked about how we want to make porting to .NET Core easier. In this post, I'll focus on how we're making this plan a reality with .NET Standard. We'll cover which APIs we plan to include, how cross-framework ...

.NET Networking APIs for UWP Apps

This post was written by Sidharth Nabar, Program Manager on the Windows networking team. At Build 2015, we announced that .NET Core 5 is the new version of .NET for developers writing Universal Windows Platform (UWP) apps. The set of networking APIs available for developers in .NET Core 5 is an evolution from the set that was available for ...