Microsoft .NET

Microsoft .NET | News, how-tos, features, reviews, and videos

security bug
Neon Open sign

relay teamwork coordination cooperation continuity

How to use correlation IDs in ASP.NET Core MVC

Capture and pass correlation IDs in ASP.NET Core MVC 5 to track HTTP requests that flow through multiple back-end services.

sunset ocean horizon solar

Microsoft sunsets Xamarin toolkit

With .NET MAUI due to arrive in November 2021, Microsoft announced it would end updates to the Xamarin mobile app development platform in November 2022.

flight data recorder

How to use HTTP logging in ASP.NET Core 6

Take advantage of the HTTP logging middleware in ASP.NET Core to log request and response information with flexibility and ease.

blog 6 image

How to use advanced Serilog features in ASP.NET Core MVC

Take advantage of filters and request logging middleware in Serilog to reduce log verbosity and generate useful log summaries in your ASP.NET Core MVC applications.

2 filtering

How to use filters in ASP.NET Core MVC

Take advantage of filters to execute custom code at specific points in the request processing pipeline and avoid code duplication across actions.

executive pushing boulder uphill deadline stress struggle

How to avoid redundant DI code in ASP.NET Core

Take advantage of base controllers to avoid dependency injection code duplication and enforce the DRY principle in ASP.NET Core MVC.

integrated digital tools / interoperable tools

Microsoft previews 64-bit Visual Studio 2022 IDE

Company seeks feedback on the planned next version of its flagship integrated software development environment.

number 6 top six tips neon

What’s new in Microsoft .NET 6

.NET 6 Preview 4 features Hot Reload improvements, RyuJIT compiler and runtime performance boosts, and early builds of MAUI, the multi-platform UI support based on Xamarin.

whats next for windows

How to use Razor View Engine in ASP.NET Core MVC

Take advantage of the friendly syntax of Razor View Engine to more easily create views from templates in ASP.NET Core MVC.

Profile photo of a developer / programmer reviewing code on monitors in his workspace.

Microsoft equips Visual Studio Code with extension for Project Tye microservices

The experimental tool helps with viewing, running, and debugging apps from within the editor.

A virtual checkmark in digital system / standards / quality control / certification / certificates

How to validate method parameters using PostSharp in C#

Take advantage of aspect-oriented programming using PostSharp to validate method parameters in C#.

programmer graduate certification megaphone announcement bull horn

Catching up on Build 2021: AI and Arm

Build 2021 packed a lot into 48 hours; here are some of the announcements you may have missed.

3D tin can phones, by Chris Potter / CC BY 2.0

How to use closures in C#

Take advantage of closures in C# — including anonymous methods, delegates, and lambda expressions — to make your code robust, efficient, readable, and easier to maintain.

plus symbol globe communication network digital transformation concept abstract

Visual Studio 2019 upgrade brings C++ 20 support

Microsoft said its compiler and standard library are feature-complete for C++ 20 in Visual Studio 2019 16.10, while a 16.11 preview centers on Hot Reload and .NET MAUI.

Java  >  Lambda expressions  >  Lambda symbol / abstract formulas / binary code

How to build AWS Lambda functions in .NET Core

Learn how to use .NET Core and the AWS Toolkit for Visual Studio to build serverless functions and deploy them to AWS Lambda in the Amazon cloud.

A magnifying lens sits on a paper web browser window. [internet / online / search]

How to read request headers in ASP.NET Core 5 MVC

Learn how to read request headers and work with optional data that is passed between the server and client in ASP.NET Core 5 applications.

flames

Get started with Blazor in .NET 5

Take advantage of Blazor, Microsoft’s answer to full-stack development, to build rich web apps with C# and .NET Core.

Plastic, magnetic letters in compartmented boxes.

When to use String vs. StringBuilder in .NET Core

Take advantage of these best practices when working with strings in .NET Core for the optimal performance of your applications.

Load More