Microsoft .NET
Microsoft .NET | News, how-tos, features, reviews, and videos
Microsoft .NET 8 boosts Blazor, WebAssembly
Microsoft works to improve web app performance with Blazor server-side rendering and streaming rendering, Blazor WebAssembly runtime improvements.
How to use the rate limiting algorithms in ASP.NET Core
Learn how to use the fixed window, sliding window, token bucket, and concurrency algorithms in ASP.NET Core 7 to protect your applications and APIs against malicious attacks or overuse.
How to use response compression in ASP.NET Core
Take advantage of response compression middleware in ASP.NET Core to reduce bandwidth requirements and improve the responsiveness of your apps.
Microsoft .NET Community Toolkit 8.2 shines on MVVM
Custom attributes for [RelayCommand], new property change hooks for [ObservableProperty] fields, MVVM code fixers, and MVVM source generator optimizations are also featured in the update.
How to use request decompression in ASP.NET Core 7
Take advantage of the request decompression middleware in ASP.NET Core 7 to enable your API endpoints to accept requests that contain compressed content.
Applying the DRY, KISS, and YAGNI principles in C#
If you don’t repeat yourself, keep it simple, and implement only the functionality you really truly need, your C# code will be cleaner, simpler, and much easier to maintain.
Microsoft unveils C# 12 language enhancements
Three new features for C# 12 are available in the latest .NET 8 and Visual Studio 17.6 previews.
How to use the unit of work pattern in ASP.NET Core
Take advantage of the unit of work design pattern to build flexible, extensible, and reusable data access layers in your ASP.NET Core applications.
Get started with the rate limiting middleware in ASP.NET Core 7
Take advantage of the new rate limiting middleware in ASP.NET Core 7 to protect against malicious attacks on your applications and ensure equitable use of server resources.
Working with Azure’s Data API builder
Add REST and GraphQL APIs to any database with a handy .NET CLI tool.
How to work with EF Core migrations in ASP.NET Core
Take advantage of migrations in EF Core to manage database schema changes over time and keep them in sync with the data models of your ASP.NET Core applications.
.NET 8 Preview 2 brings Blazor performance boosts
ASP.NET Core improvements in the second .NET 8 preview include a high-performance Blazor component for displaying tabular data and partial JIT compilation for Blazor WebAssembly apps.
How to handle errors in minimal APIs in ASP.NET Core
How to use the exception handling middleware in ASP.NET Core to handle errors gracefully in your minimal API applications.
Microsoft introduces reliable web app pattern for .NET cloud apps
Microsoft’s reliable web app pattern is a set of best practices for migrating ASP.NET web applications to its Azure cloud.
How to send emails using SendGrid in ASP.NET Core
Take advantage of SendGrid to integrate reliable and scalable email into your ASP.NET Core applications. Here’s how.
ASP.NET Core gets full-stack web programming in .NET 8
Blazor United combines server-side and client-side rendering in a full-stack web programming model in ASP.NET Core 8, now available in a first preview.
How to use parameter binding in minimal APIs in ASP.NET Core
Take advantage of parameter binding in ASP.NET Core 7 to convert request data to strongly typed parameters, improving both application performance and code maintainability.
Microsoft .NET 8 bolsters Linux support
.NET 8 Preview 1 is now available. Microsoft plans monthly previews with general availability due this fall.
Visual Studio 2022 17.5 arrives with C++ enhancements, AI coding suggestions
Latest upgrade to Microsoft’s flagship IDE also promises more streamlined API development and significantly improved code search.
Microsoft offers Visual Studio IDE extension for .NET upgrades
Developers can move apps to .NET 6 and .NET 7 from older technologies.