Microsoft .NET

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

question marks pavement
Wired brain illustration - next step to artificial intelligence

hands hold a string of lightbulbs hands at sunset / ideas / brainstorming / invention / innovation

6 state management techniques for ASP.NET Core MVC

You have a number of different ways to store and retrieve data between requests in ASP.NET Core MVC applications. Here’s how to take advantage of them.

logs

How to work with logging in EF Core 7

Learn how you can use Entity Framework Core to log data to the console, SQL Server, and other log targets when working with ASP.NET Core 7 applications.

pixelated clouds reflecting on building windows

Inside Microsoft’s cloud-first .NET 7 release

November means it’s time for a new .NET release. What’s in .NET 7 for the cloud and for containers? Cross-platform support and cloud-native functionality.

neon number 7 on binary background top seven

Microsoft .NET 7 makes its official debut

Now available in a production release, .NET 7 brings performance enhancements, a new version of C#, container and cloud-native tooling, and sweeping improvements to .NET MAUI and other .NET libraries and frameworks.

twins mirror reflection duplicate simulate man holding mirrors reproduce dock beach ocean

How to use the in, out, and ref keywords in .NET Core

Take advantage of the in, out, and ref keywords to pass parameters to your C# methods in .NET and make your code more readable and maintainable.

binary code matrix

How to use BitArray in .NET 7

Take advantage of the BitArray class in .NET 7 to perform bitwise operations on your data for improved performance.

network speed

How to improve EF Core 7 performance

Take advantage of these five best practices to improve data access performance when working with Entity Framework Core in ASP.NET Core 7 applications.

An exclamation-mark alert in a field of abstract technology.

Use model validation in minimal APIs in ASP.NET Core 6

Take advantage of FluentValidation to validate your model classes when working with minimal APIs in ASP.NET Core 6.

yes no neon sign cancel buzzwords just say no red neon by sarawuth702 getty

How to use cancellation tokens in ASP.NET Core 7

Take advantage of cancellation tokens in ASP.NET Core to allow long running operations to be cancelled gracefully and keep applications responsive.

integrated digital tools / interoperable tools

Microsoft .NET 7 bolsters WebAssembly support

Expanded WebAssembly support in .NET 7 allows developers to reuse .NET libraries from JavaScript or build new .NET-based apps that will run on Wasm.

futuristic digital tunnel

How to use route handler filters in minimal APIs in ASP.NET Core 7

Take advantage of minimal API filters in ASP.NET Core 7 to modify request and response objects or short-circuit the request processing pipeline.

neon number 7 on binary background top seven

Microsoft .NET 7 enters release candidate phase

Performance improvements, multi-platform targeting, cloud-native development headline the Microsoft development platform upgrade due in November.

gears iot

How to create a custom configuration provider in ASP.NET Core 6

ASP.NET Core configuration providers read configuration data from common sources such as JSON files and databases. But you can use other sources by creating custom configuration providers.

A leaping dog catches a flying disc, midair.

How to use EF Core as an in-memory database in ASP.NET Core 6

Entity Framework Core allows you to store and retrieve data to and from an in-memory database. It’s a quick and easy way to test your ASP.NET Core 6 web applications.

network endpoint connections / synapses

How to version minimal APIs in ASP.NET Core 6

Follow these steps to implement API versioning in minimal Web API endpoints using ASP.NET Core 6.

interoperable gears / integrated tools / interoperability

Understand Visual Studio’s new extension model

Microsoft is updating how you build Visual Studio extensions, with new APIs and the ability to run extensions outside of the Visual Studio process.

container ship storage transport colorful containers diversity outsourcing

Microsoft adds container support to .NET SDK

The ability to create container images with the .NET SDK debuts in a preview phase for Linux-x64 image deployments, with Windows support to follow.

falcon bird

Kestrel: The Microsoft web server you should be using

This alternative to Internet Information Services, which Microsoft uses for its own services, delivers modern dynamic web applications on common server platforms or in containers.

Load More