Microsoft

Announcing full support for a C/C++ conformant preprocessor in MSVC

<p>We are excited to announce full support for a conformant preprocessor in the MSVC toolset starting with Visual Studio 2019 version 16.6 Preview 2.<br> Since the original blog post announcing preprocessor conformance changes, we’ve come a long way and are now ready to announce the completion of the C/C++ conformant preprocessor and its move to a non-experimental,</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/cppblog/announcing-full-support-for-a-c-c-conformant-preprocessor-in-msvc/">Announcing full support for a C/C++ conformant preprocessor in MSVC</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/cppblog">C++ Team Blog</a>.</p>

Doxygen and XML Doc Comment support

<p>Whether you’re using Doxygen or XML Doc Comments, Visual Studio version 16.6 Preview 2 provides automatic comment stub generation as well as Quick Info, Parameter Help, and Member List tooltip support.<br> Stub Generation<br> By default, the stub generation is set to XML Doc Comments.</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/cppblog/doxygen-and-xml-doc-comment-support/">Doxygen and XML Doc Comment support</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/cppblog">C++ Team Blog</a>.</p>

IntelliSense Code Linter for C++

<p>In Visual Studio 2019 version 16.6 Preview 2, we’re excited to announce a new preview feature to help C++ developers identify and fix code defects as they write code. The IntelliSense Code Linter for C++ checks your code “as-you-type,“ underlines problems in the editor,</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/cppblog/intellisense-code-linter-for-cpp/">IntelliSense Code Linter for C++</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/cppblog">C++ Team Blog</a>.</p>

Blazor WebAssembly 3.2.0 Preview 3 release now available

<p>A new preview update of Blazor WebAssembly is now available! Here’s what’s new in this release:</p> <p>Debugging in Visual Studio and Visual Studio Code<br> Auto-rebuild in Visual Studio<br> Configuration<br> New HttpClient extension methods for JSON handling</p> <p>Get started<br> To get started with Blazor WebAssembly 3.2.0 Preview 3 install the latest .NET Core 3.1 SDK.</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/aspnet/blazor-webassembly-3-2-0-preview-3-release-now-available/">Blazor WebAssembly 3.2.0 Preview 3 release now available</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/aspnet">ASP.NET Blog</a>.</p>

.NET Core March 2020 Updates – 2.1.17 and 3.1.3

<p>Today, we are releasing the .NET Core March 2020 Update. These updates only contain non-security fixes. See the individual release notes for details on updated packages.<br> 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.</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet/net-core-march-2020/">.NET Core March 2020 Updates – 2.1.17 and 3.1.3</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet">.NET Blog</a>.</p>

Catch up on the latest .NET Productivity features

<p>The Roslyn team continuously works to provide tooling that deeply understands the code you are writing in-order to help you be more productive. In this post, I’ll cover some of the latest .NET Productivity features available in Visual Studio 2019.</p> <p>Tooling improvements<br> The feature that I’m most excited about is the new Go To Base command.</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet/catch-up-on-the-latest-net-productivity-features/">Catch up on the latest .NET Productivity features</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet">.NET Blog</a>.</p>

Announcing F# 5 preview 1

<p>We’re excited to announce that F# 5 preview 1 is now available! Here’s how to get it:</p> <p>Install .NET 5 preview SDK<br> Install Jupyter Notebooks for .NET</p> <p>If you’re using Visual Studio on Windows, you’ll need both the .NET 5 preview SDK and Visual Studio Preview installed.</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet/announcing-f-5-preview-1/">Announcing F# 5 preview 1</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet">.NET Blog</a>.</p>

.NET Framework March 2020 Update for Windows 10 1607 (Anniversary Update) and Windows Server 2016.

<p>Today, we are releasing an update for .NET Framework 4.8 on Windows 10 1607 (Anniversary Update) and Windows Server 2016.<br> Security<br> This update does not contain any new security fixes. See January 2020 Security and Quality Rollup for the latest security updates.</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet/net-framework-march-2020-update-for-windows-10-1607-anniversary-update-and-windows-server-2016/">.NET Framework March 2020 Update for Windows 10 1607 (Anniversary Update) and Windows Server 2016.</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet">.NET Blog</a>.</p>

Updates on .NET Core Windows Forms designer

<p>We released a preview version of Visual Studio 16.6 – Visual Studio 2019 version 16.6 Preview 1 and with it a new version of .NET Core Windows Forms designer.</p> <p>This release contains</p> <p>Support for the following controls:</p> <p>FlowLayoutPanel,<br> GroupBox,<br> ImageList,<br> MenuStrip (via the PropertyBrowser and context menu),</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet/updates-on-net-core-windows-forms-designer/">Updates on .NET Core Windows Forms designer</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet">.NET Blog</a>.</p>

Async ValueTask Pooling in .NET 5

<p>The async/await feature in C# has revolutionized how developers targeting .NET write asynchronous code. Sprinkle some async and await around, change some return types to be tasks, and badda bing badda boom, you’ve got an asynchronous implementation. In theory.<br> In practice,</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet/async-valuetask-pooling-in-net-5/">Async ValueTask Pooling in .NET 5</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet">.NET Blog</a>.</p>

ASP.NET Core updates in .NET 5 Preview 1

<p>.NET 5 Preview1 is now available and is ready for evaluation! .NET 5 will be a current release.<br> Get started<br> To get started with ASP.NET Core in .NET 5.0 install the .NET 5.0 SDK.<br> If you’re on Windows using Visual Studio,</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/aspnet/asp-net-core-updates-in-net-5-preview-1/">ASP.NET Core updates in .NET 5 Preview 1</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/aspnet">ASP.NET Blog</a>.</p>

Announcing Entity Framework Core 5.0 Preview 1

<p>Today we are excited to announce the first preview release of EF Core 5.0.<br> Prerequisites<br> The previews of EF Core 5.0 require .NET Standard 2.1. This means:</p> <p>EF Core 5.0 runs on .NET Core 3.1; it does not require .NET 5.</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet/announcing-entity-framework-core-5-0-preview-1/">Announcing Entity Framework Core 5.0 Preview 1</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet">.NET Blog</a>.</p>

Announcing .NET 5 Preview 1

<p>At the end of last year, we shipped .NET Core 3.0 and 3.1. These versions added the desktop app models Windows Forms (WinForms) and WPF, ASP.NET Blazor for building single page applications and gRPC for cross-platform, contract-based messaging. We also added templates for building services,</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet/announcing-net-5-0-preview-1/">Announcing .NET 5 Preview 1</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet">.NET Blog</a>.</p>

More Spectre Mitigations in MSVC

<p>In a previous blog post, Microsoft described the Spectre mitigations available under /Qspectre. These mitigations, while not significantly impacting performance, do not protect against all possible speculative load attacks, described in industry research as Load Value Injection. We are now adding two new switches /Qspectre-load and /Qspectre-load-cf to provide a more complete mitigation of Spectre attacks based on loads for customers.</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/cppblog/more-spectre-mitigations-in-msvc/">More Spectre Mitigations in MSVC</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/cppblog">C++ Team Blog</a>.</p>

Continuous integration and deployment for desktop apps with GitHub Actions

<p>From speaking to desktop developers, we’ve heard that you want to learn how to quickly set up continuous integration and continuous deployment (CI/CD) workflows for your WPF and Windows Forms applications in order to take advantage of the many benefits CI/CD pipelines have to offer,</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet/continuous-integration-and-deployment-for-desktop-apps-with-github-actions/">Continuous integration and deployment for desktop apps with GitHub Actions</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet">.NET Blog</a>.</p>

What do you want to see next in ML.NET?

<p>ML.NET is an open source and cross-platform machine learning framework made for .NET developers.<br> Using ML.NET, you can stay in .NET to easily build and consume custom machine learning models for scenarios like sentiment analysis, price prediction, sales forecasting, recommendation, image classification,</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet/what-do-you-want-to-see-next-in-ml-net/">What do you want to see next in ML.NET?</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet">.NET Blog</a>.</p>

Announcing the .NET Core Uninstall Tool 1.0!

<p>Today we are releasing the .NET Core Uninstall Tool for Windows and Mac!<br> Starting in Visual Studio 2019 version 16.3, Visual Studio manages the versions of the SDK and runtime it installs. In previous versions, SDKs and runtimes were left on upgrade in case those versions were targeted or pinned with global.json.</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet/announcing-the-net-core-uninstall-tool-1-0/">Announcing the .NET Core Uninstall Tool 1.0!</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet">.NET Blog</a>.</p>

Blazor WebAssembly 3.2.0 Preview 2 release now available

<p>A new preview update of Blazor WebAssembly is now available! Here’s what’s new in this release:</p> <p>Integration with ASP.NET Core static web assets<br> Token-based authentication<br> Improved framework caching<br> Updated linker configuration<br> Build Progressive Web Apps</p> <p>Get started<br> To get started with Blazor WebAssembly 3.2.0 Preview 2 install the latest .NET Core 3.1 SDK.</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/aspnet/blazor-webassembly-3-2-0-preview-2-release-now-available/">Blazor WebAssembly 3.2.0 Preview 2 release now available</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/aspnet">ASP.NET Blog</a>.</p>

Analyze your builds programmatically with the C++ Build Insights SDK

<p>We’re happy to announce today the release of the C++ Build Insights SDK, a framework that gives you access to MSVC build time information via C and C++ APIs. To accompany this release, we are making vcperf open source on GitHub.</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/cppblog/analyze-your-builds-programmatically-with-the-c-build-insights-sdk/">Analyze your builds programmatically with the C++ Build Insights SDK</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/cppblog">C++ Team Blog</a>.</p>

How to write a Roslyn Analyzer

<p>Roslyn analyzers inspect your code for style, quality, maintainability, design and other issues. Because they are powered by the .NET Compiler Platform, they can produce warnings in your code as you type even before you’ve finished the line. In other words,</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet/how-to-write-a-roslyn-analyzer/">How to write a Roslyn Analyzer</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet">.NET Blog</a>.</p>

February ML.NET Model Builder Updates

<p>ML.NET is a cross-platform, machine learning framework for .NET developers. Model Builder is the UI tooling in Visual Studio that uses Automated Machine Learning (AutoML) to train and consume custom ML.NET models in your .NET apps. Together, you can now create custom machine learning models for scenarios like sentiment analysis,</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet/ml-net-model-builder-updates/">February ML.NET Model Builder Updates</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet">.NET Blog</a>.</p>

February ML.NET Model Builder Updates

<p>ML.NET is a cross-platform, machine learning framework for .NET developers. Model Builder is the UI tooling in Visual Studio that uses Automated Machine Learning (AutoML) to train and consume custom ML.NET models in your .NET apps. Together, you can now create custom machine learning models for scenarios like sentiment analysis,</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet/ml-net-model-builder-updates/">February ML.NET Model Builder Updates</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet">.NET Blog</a>.</p>

The Performance Benefits of Final Classes

<p>The final specifier in C++ marks a class or virtual member function as one which cannot be derived from or overriden. For example, consider the following code: <br> [crayon-5e5dcde484905380737208/]<br> If we attempt to write a new class which derives from derived then we get a compiler error: <br> [crayon-5e5dcde48491d333054136/]<br> [crayon-5e5dcde48492a031971925/]<br> The final specifier is useful for expressing to readers of the code that a class is not to be derived from and having the compiler enforce this,</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/cppblog/the-performance-benefits-of-final-classes/">The Performance Benefits of Final Classes</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/cppblog">C++ Team Blog</a>.</p>

.NET Core 3.0 will reach End of Life on March 3, 2020

<p>.NET Core 3.0 will reach end of life on March 3, 2020. It is a “Current” release and is superseded by .NET Core 3.1, which was released on December 3, 2019. After that time, .NET Core patch updates will no longer include updated packages .NET Core 3.0.</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet/net-core-3-0-end-of-life/">.NET Core 3.0 will reach End of Life on March 3, 2020</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet">.NET Blog</a>.</p>

AVX2 floating point improvements in Visual Studio 2019 version 16.5

<p>In Visual Studio 2019 We’ve been working hard on optimizing floating point operations with AVX2 instructions. This post will outline work done so far and recent improvements made in version 16.5.<br> The speed of floating point operations directly impacts the frame rate of video games. </p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/cppblog/avx2-floating-point-improvements-in-visual-studio-2019-version-16-5/">AVX2 floating point improvements in Visual Studio 2019 version 16.5</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/cppblog">C++ Team Blog</a>.</p>

.NET Framework February 2020 Preview of Quality Rollup for Windows 10 1909, Windows 10 1903,…

<p>Today, we are releasing the February 2020 Preview of Quality Rollup for Windows 10 1909, Windows 10 1903, Windows Server, version 1909 and Windows Server, version 1903.<br> Quality and Reliability<br> This release contains the following quality and reliability improvements.<br> CLR1</p> <p>Addresses an issue with rare crashes or deadlocks that could occur if a GC occurs while another thread is running NGen’ed code which makes the initial call into a static method within the same module where one or more parameter types involve type-forwarded value types.</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet/net-framework-february-2020-preview-of-quality-rollup-for-windows-10-1909-windows-10-1903-windows-server-version-1909-and-windows-server-version-1903/">.NET Framework February 2020 Preview of Quality Rollup for Windows 10 1909, Windows 10 1903, Windows Server, version 1909 and Windows Server, version 1903</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet">.NET Blog</a>.</p>

AVX-512 Auto-Vectorization in MSVC

<p>In Visual Studio 2019 version 16.3 we added AVX-512 support to the auto-vectorizer of the MSVC compiler. This post will show some examples and help you enable it in your projects.<br> What is the auto vectorizer?<br> The compiler’s auto vectorizer analyzes loops in the user’s source code and generates vectorized code for a vectorization target where feasible and beneficial.</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/cppblog/avx-512-auto-vectorization-in-msvc/">AVX-512 Auto-Vectorization in MSVC</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/cppblog">C++ Team Blog</a>.</p>

Provisional Mode

<p>A coworker asked me what this “PMFullGC” trigger reason he’s seeing in GCStats means. I thought it’d be useful to share the info here.<br> PM stands for Provisional Mode which means after a GC starts, it can change its mind about the kind of GC it’s doing.</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet/provisional-mode/">Provisional Mode</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet">.NET Blog</a>.</p>

ASP.NET Core Apps Observability

<p>Thank you Sergey Kanzhelev for the support and review of this ASP.NET Core Apps Observability article.<br> Modern software development practices value quick and continuous updates, following processes that minimize the impact of software failures. As important as identifying bugs early, finding out if changes are improving business value are equally important.</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/aspnet/observability-asp-net-core-apps/">ASP.NET Core Apps Observability</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/aspnet">ASP.NET Blog</a>.</p>

.NET Framework February 2020 Preview of Quality Rollup

<p>Today, we are releasing the February 2020 Preview of Quality Rollup Updates for .NET Framework.<br> Quality and Reliability<br> This release contains the following quality and reliability improvements.<br> CLR1</p> <p>Addresses an issue with rare crashes or deadlocks that could occur if a GC occurs while another thread is running NGen’ed code which makes the initial call into a static method within the same module where one or more parameter types involve type-forwarded value types.</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet/net-framework-february-2020-preview-of-quality-rollup/">.NET Framework February 2020 Preview of Quality Rollup</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet">.NET Blog</a>.</p>

Custom AI-Assisted IntelliSense for your team

<p>As you’ve been editing code, you may have noticed IntelliCode’s starred recommendations in your autocompletion lists. Our previous IntelliCode blog post explains that these smarter suggestions were machine-learned over thousands of open sourced GitHub repos. Using community knowledge is great for public APIs like the Standard Library,</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/cppblog/custom-ai-assisted-intellisense-for-your-team/">Custom AI-Assisted IntelliSense for your team</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/cppblog">C++ Team Blog</a>.</p>

More Spectre Mitigations in MSVC

<p>In a previous blog post, Microsoft described the Spectre mitigations available under /Qspectre. These mitigations, while not significantly impacting performance, do not protect against all possible speculative load attacks. We are now adding two new switches /Qspectre-load and /Qspectre-load-cf to provide a more complete mitigation of Spectre attacks based on loads for customers.</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/cppblog/more-spectre-mitigations-in-msvc/">More Spectre Mitigations in MSVC</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/cppblog">C++ Team Blog</a>.</p>

Qt to support Visual Studio Linux projects

<p>Qt is a popular cross-platform framework for application development and user interface design. Its various libraries and toolsets can be used to create, test, and deploy applications that target multiple platforms and operating systems including Linux, Windows, macOS and embedded/microcontroller systems.</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/cppblog/qt-to-support-visual-studio-linux-projects/">Qt to support Visual Studio Linux projects</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/cppblog">C++ Team Blog</a>.</p>

.NET Core February 2020 Updates – 2.1.16, 3.0.3, and 3.1.2

<p>Today, we are releasing the .NET Core February 2020 Update. These updates only contain non-security fixes. See the individual release notes for details on updated packages.<br> 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.</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet/net-core-february-2020/">.NET Core February 2020 Updates – 2.1.16, 3.0.3, and 3.1.2</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet">.NET Blog</a>.</p>

.NET Framework February 2020 Security and Quality Rollup

<p>Today, we are releasing the February 2020 Security and Quality Rollup Updates for .NET Framework.<br> Security<br> The February Security and Quality Rollup Update does not contain any new security fixes. See January 2020 Security and Quality Rollup for the latest security updates.</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet/net-framework-february-2020-security-and-quality-rollup/">.NET Framework February 2020 Security and Quality Rollup</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet">.NET Blog</a>.</p>

Using .NET for Apache® Spark™ to Analyze Log Data

<p>At Spark + AI Summit in May 2019, we released .NET for Apache Spark. .NET for Apache Spark is aimed at making Apache® Spark™, and thus the exciting world of big data analytics, accessible to .NET developers.<br> .NET for Spark can be used for processing batches of data,</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet/using-net-for-apache-spark-to-analyze-log-data/">Using .NET for Apache® Spark™ to Analyze Log Data</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/dotnet">.NET Blog</a>.</p>

Announcing Experimental Mobile Blazor Bindings February update

<p>I’m delighted to share an update of Experimental Mobile Blazor Bindings with several new features and fixes. On January 14th we announced the first experimental release of Mobile Blazor Bindings, which enables developers to use familiar web programming patterns to build native mobile apps using C# and .NET for iOS and Android.</p> <p>The post <a rel="nofollow" href="https://devblogs.microsoft.com/aspnet/mobile-blazor-bindings-feb-2020-update/">Announcing Experimental Mobile Blazor Bindings February update</a> appeared first on <a rel="nofollow" href="https://devblogs.microsoft.com/aspnet">ASP.NET Blog</a>.</p>