Microsoft .Net

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

pug 3 years old wearing a tie 136623482

Hopscotch numbers

Microsoft reveals C# 9.0 plans

The next version of Microsoft’s Java rival will offer new capabilities ranging from records to value-based equality

beautiful tropical beach with clear ocean . 166668700

Microsoft unveils .NET MAUI for cross-platform apps

The .NET MAUI framework will allow developers to build Windows, MacOS, iOS, and Android apps from a single codebase

Spotlights on stage

What’s new in Microsoft .NET 5

Aimed at unifying the .NET platform, .NET 5 brings improvements to RyuJIT code quality, garbage collection, and JSON serialization, for starters

Using a laptop in an environment of binary code.

How to use data annotations in C#

Take advantage of data annotations to decorate your models using attribute tags so that your application’s data definition can be managed in a single place

doors choices decisions

How to use the options pattern in ASP.NET Core

Take advantage of the options pattern to load configuration data directly into your classes at runtime for simple and flexible configuration data management

gears 142263619

C# Source Generators to boost performance in .NET 5

A new C# compiler feature that inspects code and generates additional source files promises to improve performance in a number of scenarios

network endpoint connections / synapses

How to use endpoint routing in ASP.NET Core 3.0 MVC

Learn how to implement endpoint routing in ASP.NET Core 3.0 MVC to bring more flexibility and functionality to your applications

unique goldfish 140462297

How to work with GUIDs in C# 8

Take advantage of GUIDs to create universally unique identifiers and avoid data collisions in your applications

abstract data

How to export data to Excel in ASP.NET Core 3.0

Learn how to use the ClosedXML NuGet package to export data as a CSV or XLSX file for Excel from an ASP.NET Core application

anonymous masks

How to use anonymous types in C#

Take advantage of anonymous types in C# to create and instantiate types that have read-only properties without having to declare the type beforehand

Binary stream passing over rows of monitors, each also displaying binary streams.

How to use LoggerMessage in ASP.NET Core 3.0

Take advantage of high-performance logging by using LoggerMessage instead of Logger extension methods in ASP.NET Core

email image blue

How to send emails in ASP.NET Core

Take advantage of the open source MailKit library to send emails in ASP.NET Core easily

coding / programming / development / binary code

Microsoft previews F# 5

Upgrade to Microsoft’s “functional-first” language emphasizes Interactive and analytical programming

scissors cut trim chop

How to use indices and ranges in C# 8.0

Take advantage of indices and ranges in C# 8.0 to access elements or slices of a collection with simplicity and ease

work tools carpentry

Visual Studio upgrade boosts debugging, mobile development

New features in Visual Studio 2019 version 16.5 include hot reload for Xamarin.Forms and debugging enhancements for C++ and multithreaded apps


How to log data to SQL Server in ASP.NET Core

Take advantage of the open source library Serilog to log your ASP.NET Core application’s data to SQL Server or another database target

promoting an idea / raising awareness / lightbulb / technology / gear

OpenSilver resurrects Silverlight with WebAssembly

Open source OpenSilver project revives Microsoft’s rich Internet technology using Mono for WebAssembly and Blazor

stream river forest water waterfall data stream

How to use asynchronous streams in C# 8.0

Take advantage of the ability to create and consume data streams asynchronously in C# 8.0 to improve the performance of your applications

Load More