C#

C# | News, how-tos, features, reviews, and videos

warning sign
11 reporting incidents alert red flag attention

programming / coding / development / developer / lines of code

How to use default interface methods in C# 8.0

Take advantage of default interface methods in C# 8.0 to add new methods to an interface without breaking existing implementations

women spinning plates asynchronous programming synchrony multi tasking by graemenicholson getty ima

How to handle exceptions in asynchronous code in C#

Exception handling is different for asynchronous code. Learn the exception handling semantics for asynchronous methods in C#

Abstract Java code

What is the .NET Framework? Microsoft’s answer to Java

Once limited to Windows, .NET also now allows developers to easily build apps for Linux, MacOS, and Android

white outlet electrical outlet plug unplugged sad face

How to use the FromServices attribute in ASP.NET Core

Take advantage of the FromServices attribute in ASP.NET Core to inject dependencies directly into your action methods

Abandoned boat  >  Janie Seddon Shipwreck, Motueka, New Zealand

.NET Framework APIs that won’t be coming to .NET 5.0

A year from the shift to .NET 5.0, Microsoft has told us what the next big .NET release will leave behind

thinkstockphotos cookies

How to work with cookies in ASP.NET Core

Take advantage of cookies to store and retrieve user-specific information in your ASP.NET Core web application

Man squeezed between file cabinets

How to work with static files in ASP.NET Core

Take advantage of the static files middleware in ASP.NET Core to serve HTML, CSS, JavaScript, and images to the client

detour sign

How to use URL Rewriting Middleware in ASP.NET Core

Take advantage of URL Rewriting Middleware in ASP.NET Core to implement URL redirection and URL rewriting

thread weave spools connected rotate spin

How to use System.Threading.Channels in .Net Core

Take advantage of channels to implement the fast, efficient, asynchronous producer-consumer pattern in .Net Core

wait sign

How to implement rate limiting in ASP.Net Core

Take advantage of rate limiting in ASP.Net Core to prevent malicious attacks on your web application

abstract data analytics

How to use Azure Application Insights in ASP.Net Core

Take advantage of Application Insights to monitor performance and detect and diagnose performance issues in your web application

flow chart diagram / objects / elements / connections / programming / development / planning

Microsoft .Net Core 3.0 arrives

Latest version of Microsoft’s open source app framework goes GA with C# 8.0, Windows Forms and WPF, and lower memory consumption

technology background 99779950

Using advanced NLog features in ASP.Net Core

Take advantage of the free and flexible NLog to log your application data with the features and efficiency you need

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

How to implement global exception handling in ASP.Net Core MVC

Take advantage of global exception handling to avoid writing scads of boilerplate exception handling code in ASP.Net Core MVC

question marks

How to handle null values in ASP.Net Core MVC

Learn to change the default behavior and return HTTP 404 when action methods in ASP.Net Core return null values

5 cryptography and data protection

How to use the Data Protection API in ASP.Net Core

Take advantage of the easy-to-use cryptographic API in ASP.Net Core to secure sensitive data in your applications

multicolor flowchart design 91521493

How to use conditional middleware in ASP.Net Core

Take advantage of advanced operations such as conditional branching when working with middleware in ASP.Net Core

blue and orange binary code matrix

How to work with session state in ASP.Net Core

Take advantage of the session middleware component in ASP.Net Core to store and retrieve user data

Load More