Microsoft .Net

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

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

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

logs

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

RIP - grave - tombstone - cemetery - death [Image by Rob van der Meijden - CC0 via Pixabay]

Say goodbye to .NET Core 3.0

Microsoft has declared the end of support for .NET Core 3.0 and advised users to move to .NET Core 3.1

road to future forward idea cloud road

Microsoft updates Visual Studio roadmap

Planned improvements include better integration with Git and online environments, enhancements to C++, .NET, Blazor, XAML, and Xamarin

clock superimposed on monthly calendar

How to schedule jobs using Quartz.NET in ASP.NET Core

Take advantage of a Quartz.NET hosted service to schedule background jobs in your ASP.NET Core application

1 weakest link broken rusted chain security breach hacked

How to use inversion of control in C#

Take advantage of the inversion of control pattern to loosely couple the components of your application and make them easier to test and maintain

tennis ball court play game

How to return data from ASP.NET Core Web API

Learn the three ways you can return data from your ASP.NET Core Web API action methods

colorful network wires tied in a knot

Microsoft brings gRPC-Web support to .NET

Experimental support allows ASP.NET Core gRPC apps and .NET Core gRPC clients to call gRPC services directly

Load More