.NET Blog
Free. Cross-platform. Open source. A developer platform for building all your apps.
Latest posts
Default implementations in interfaces
Default implementations in interfaces With last week's posts Announcing .NET Core 3.0 Preview 5 and Visual Studio 2019 version 16.1 Preview 3, the last major feature of C# 8.0 is now available in preview. A big impediment to software evolution has been the fact that you couldn't add new members to a public interface. You would break existing implementers of the interface; after all they would have no implementation for the new member! Default implementations help with that. An interface member can now be specified with a code body, and if an implementing class or struct does not provide an implementation o...
.NET Core May 2019 Updates – 1.0.16, 1.1.14, 2.1.11 and 2.2.5
Today, we are releasing the .NET Core May 2019 Update. These updates contain security and reliability fixes. See the individual release notes for details on updated packages. NOTE: If you are a Visual Studio user, there are MSBuild version requirements so use only the .NET Core SDK supported for each Visual Studio version. Information needed to make this choice will be seen on the download page. If you use other development environments, we recommend using the latest SDK release. Security CVE-2019-0820: .NET Core Tampering Vulnerability Microsoft is releasing this security advisory to pr...
.NET Framework May 2019 Security and Quality Rollup
Today, we are releasing the May 2019 Cumulative Update, Security and Quality Rollup, and Security Only Update. Security CVE-2019-0820 – Denial of Service Vulnerability A denial of service vulnerability exists when .NET Framework and .NET Core improperly process RegEx strings. An attacker who successfully exploited this vulnerability could cause a denial of service against a .NET application. A remote unauthenticated attacker could exploit this vulnerability by issuing specially crafted requests to a .NET Framework (or .NET core) application. The update addresses the vulnerability by correcting how .NET Framewo...
Introducing the new Microsoft.Data.SqlClient
This post was written by Vicky Harp, Program Manager on SqlClient and SQL Server Tools. Those of you who have been following .NET development closely have very likely seen Scott Hunter's latest blog post, .NET Core is the Future of .NET. The change in focus of .NET Framework towards stability and new feature development moving to .NET Core means SQL Server needs to change in order to continue to provide the latest SQL features to .NET developers in the same timely manner that we have done in the past. System.Data.SqlClient is the ADO.NET provider you use to access SQL Server or Azure SQL Databases. Historically ...
Announcing Entity Framework 6.3 Preview with .NET Core Support
The first preview of the EF 6.3 runtime is now available in NuGet. Note that the package is versioned as 6.3.0-preview5. We plan to continue releasing previews of EF 6.3 every month in alignment with the .NET Core 3.0 previews, until we ship the final version. What is new in EF 6.3? While Entity Framework Core was built from the ground up to work on .NET Core, 6.3 will be the first version of EF 6 that can run on .NET Core and work cross-platform. In fact, the main goal of this release is to facilitate migrating existing applications that use EF 6 to .NET Core 3.0. When completed, EF 6.3 will also have su...
Introducing diagnostics improvements in .NET Core 3.0
In .NET Core 3.0, we are introducing a suite of tools that utilize new features in the .NET runtime that make it easier to diagnose and solve performance problems. These runtime features help you answer some common diagnostic questions you may have: Is my application healthy? Often times an application can slowly start leaking memory and eventually result in an out of memory exception. Other times, certain problematic code paths may result in a spike in CPU utilization. These are just some of the classes of problem you can pro-actively identify with metrics. Metrics Metrics are a representa...
.NET Core is the Future of .NET
We introduced .NET Core 1.0 on November 2014. The goal with .NET Core was to take the learning from our experience building, shipping and servicing .NET Framework over the previous 12 years and build a better product. Some examples of these improvements are side-by-side installations (you can install a new version and not worry about breaking existing apps), self-contained applications (applications can embed .NET, so .NET does not need to be on the computer), not being a component of the Windows operating system (.NET ships new releases independent of the OS schedule) and many more. On top of this, we made .NET ...
Announcing ML.NET 1.0
We are excited to announce the release of ML.NET 1.0 today. ML.NET is a free, cross-platform and open source machine learning framework designed to bring the power of machine learning (ML) into .NET applications. https://github.com/dotnet/machinelearning Star Get Started @ http://dot.net/ml ML.NET allows you to train, build and ship custom machine learning models using C# or F# for scenarios such as sentiment analysis, issue classification, forecasting, recommendations and more. You can check out these common scenarios and tasks at our ML.NET samples repo. ML.NET was originally developed within ...
Announcing .NET Core 3.0 Preview 5
Today, we are announcing .NET Core 3.0 Preview 5. It includes a new Json serializer, support for publishing single file executables, an update to runtime roll-forward, and changes in the BCL. If you missed it, check out the improvements we released in .NET Core 3.0 Preview 4, from last month. Download .NET Core 3.0 Preview 5 right now on Windows, macOS and Linux. ASP.NET Core and EF Core are also releasing updates today. WPF and Windows Forms Update You should see a startup performance improvement for WPF and Windows Forms. WPF and Windows Forms assemblies are now ahead-of-time compiled, with crossgen. We...