Microsoft .Net

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

internet web browser
Spotlights on stage

error neon mistake

How to use the ProblemDetails middleware in ASP.NET Core

Take advantage of the open source ProblemDetails middleware in ASP.NET Core to send clients standardized, machine-readable error messages when exceptions occur

detour sign

How to create route constraints in ASP.NET Core

You can take advantage of custom route constraints in ASP.NET Core to validate route values and avoid passing unwanted or unnecessary requests to action methods.

Hacker in hoodie holding up finger to be quiet secret

How to manage user secrets in ASP.NET Core

Take advantage of user secrets management in ASP.NET Core to prevent the sharing of sensitive application data in your projects

name badges hello

How to use named and optional parameters in C#

Take advantage of named and optional parameters in C# for improved readability, flexibility, and COM interoperability

measurements

How to benchmark C# code using BenchmarkDotNet

Take advantage of this lightweight, open source benchmarking library to transform your methods into benchmarks and track their performance

chains

How to use fluent interfaces and method chaining in C#

Take advantage of fluent interfaces and method chaining to make your code simple, readable, and understandable

keys to access solutions closure complete

Microsoft’s F# 5 nears feature completion

Upgrade to Microsoft’s functional .NET programming language adds string interpolation in latest preview

API security alert / software development / application flow chart diagram

Microsoft .NET 5 adds safe warnings for C#

New AnalysisLevel in the C# compiler introduces warnings for common coding mistakes and other latent bugs in a safe way

network 5 100848391

How to build gRPC applications in ASP.NET Core

Learn how to use gRPC, a language-agnostic, high-performance RPC framework, to build lightweight, high-performance services in ASP.NET Core 3.0

Movie preview test pattern

How to unit test static methods in C#

Learn when static methods can’t be unit tested and how to use wrapper classes and the Moq and xUnit frameworks to unit test them when they can

blocks building blocks architecture model

Build MVVM applications with the Windows Community Toolkit

Model-view-viewmodel works well with XAML and .NET. Now there’s a first-class implementation from the .NET community

detour sign

How to redirect a request in ASP.NET Core MVC

Take advantage of redirect action results in ASP.NET Core MVC to elegantly redirect a request to a specified URL

weird science 2017universe

How to refactor God objects in C#

Follow these best practices to eliminate God objects and design classes that are loosely coupled, cohesive, and easy to maintain

arrow icon set 106408643

How to use attribute routing in ASP.NET Core

Take advantage of attribute-based routing in ASP.NET Core to decouple the controller and action names from the route template and allow more flexibility in your routing

relay teamwork coordination cooperation continuity

How to pass parameters to action methods in ASP.NET Core MVC

Explore the various ways in which you can pass parameters to action methods in ASP.NET Core MVC

woman code program monitor screen team

How to use API Analyzers in ASP.NET Core

Take advantage of API Analyzers and Swagger to improve the documentation of your ASP.NET Core APIs

end-beginning signs point in opposite directions / start-finish / stages / order / sequencing

The end of the line for PHP on Windows

Microsoft will no longer build new releases of PHP for Windows. What does the Windows Web application development future look like?

abstract arrows direction process magnifying glass search investigate

How to use route data tokens in ASP.NET Core

Take advantage of data tokens in ASP.NET Core to attach additional information to a route and retrieve it programmatically when needed

Load More