Want to receive every Tuesday the best .NET links?
Once subscribed you can login, submit a link and receive the weekly newsletter.
by cezarypiatek, 2020-10-13T18:47:26.692Z
Which analyzer packages should I use and which rules should be reported as errors? To help answer this question, I decided to start a blog post series that describes different code smells together with analyzers that can detect them. This episode is about analyzers related to asynchronous programming.by ThomasArdal, 2020-10-14T05:49:25.221Z
Get an introduction to monitoring .NET and .NET Core applications with the auditing framework Audit.NET and AWS Quantum Ledger Database (QLDB).by bill-s, 2020-10-16T01:18:12.737Z
Next.js makes building Full-stack applications in the JAMstack much easier, but there's still a few pieces to figure out. Where are you going to store data? How are you handling authentication? Well, here's how we are going to put it all together. Next.js for front-end and API routes w/ Serverless Functions Airtable for storing data Auth0 for Authentication Tailwind CSS for stylingby miguelbernard, 2020-10-12T23:26:51.606Z
C# 9 brings a lot of new flexibility around partial methods, making them a useful tool to extend third-party generated code and unlock new extensibility scenarios. Discover all the new capabilities and how to use them.by bill-s, 2020-10-16T01:23:17.981Z
This 3-part article series presents how to use the Model-View-View-Model (MVVM) design pattern in MVC Core applications. The MVVM approach has long been used in WPF applications but hasn't been as prevalent in MVC or MVC Core applications. This article illustrates how using MVVM in MVC makes your applications even more reusable, testable, and maintainable. You're going to be guided step-by-step building an MVC Core application using the Entity Framework (EF) and a view model class to display and search for product data.by anthonygiretti, 2020-10-12T02:08:14.131Z
In May 20th 2020, Microsoft introduced C# 9, among the features announced, there is one that has not yet been talked about much: covariant returns. Usually in C# when we inherit from a class, it is possible to override a method if it is declared abstract or virtual but it is not possible to change the return type of this method. C# 9 allows this, In addition to overriding a virtual or abstract method, in C# 9 you can now return a covariant type of the initial type declared in the parent class. For example, you can now return a type that is inherited from the parent class. In this article I will show you how it works with a very simple example and compare with earlier versions of C# 9.by bill-s, 2020-10-16T01:33:28.034Z
Since the early days of C# 9, I’ve been doing writeups on all of the new features including init-only properties, record types, top level programs and more. And ever since those writeups, I’ve had people say “Yeah, I get I can read that, but can you just give me the gist of how to use the feature?”. I thought that a single page writeup would be short enough but I do get that it’s sometimes easier to explain in a 1 minute video. And so that’s what I’ve done!by bill-s, 2020-10-16T01:33:04.051Z
We’ve launched a new Game Development with .NET section on our site. It’s designed for current .NET developers to explore all the choices available to them when developing games. It’s also designed for new developers trying to learn how to use .NET by making games. We’ve also launched a new game development Learn portal for .NET filled with tutorials, videos, and documentation provided by Microsoft and others in the .NET game development community. Finally, we launched a step-by-step Unity get-started tutorial that will get you started with Unity and writing C# scripts for it in no time. We are excited to show you what .NET has to offer to you when making games. .NET is also part of Microsoft Game Stack, a comprehensive suite of tools and services just for game development.by bill-s, 2020-10-16T01:34:15.606Z
In May 20th 2020, Microsoft introduced C# 9, among the features announced, there is one that has not yet been talked about much: covariant returns. Usually in C# when we inherit from a class, it is possible to override a method if it is declared abstract or virtual but it is not possible to change the return type of this method. C# 9 allows this, In addition to overriding a virtual or abstract method, in C# 9 you can now return a covariant type of the initial type declared in the parent class. For example, you can now return a type that is inherited from the parent class. In this article I will show you how it works with a very simple example and compare with earlier versions of C# 9. This post was produced with input from Dave Brock. Dave recently posted some really interesting C # 9 articles which you can find here: https://daveabrock.com/2020/06/29/c-sharp-9-deep-dive-initsby bill-s, 2020-10-15T15:19:01.319Z
.NET Conf is a free, three day virtual developer event co-organized by the .NET community and Microsoft. This year .NET 5.0 will launch at .NET Conf 2020! Come celebrate and learn about the new release. We're also celebrating our 10th anniversary and we're working on a few more surprises. You won't want to miss this one.by dnwu1180, 2020-10-16T09:50:31.393Z
Wrote a small piece about feature toggling inside a scoped service resolver.by bill-s, 2020-10-16T01:29:36.469Z
Unit testing is the number one technique available to the software developer to ensure that a section of an application, known as a unit, meets its design and behaves as intended.by iammukeshm, 2020-10-12T18:00:27.539Z
Here is an approach to speed-up your API Responses using the 3 Most Powerful Concepts in Programming, Repository Pattern + Caching + Hangfire Job Processing. Let's build a simple ASP. NET Core CRUD API that efficiently makes use of the above-mentioned techs keeping intact the data involved as well as minimizing the response times. Here are the topics covered. 1. Understanding the Requirement 2. Adding Entity Framework Core and Context 3. Add Caching Service 4. Single Interface with Multiple Implementations 5. Setting up Hangfire 6. Adding Repository Interfaces and Implementations 7. Wiring up with the API Controller 8. Testing with Postmanby bill-s, 2020-10-16T00:34:14.946Z
We've created a series of State of .NET online events each focusing on a specific .NET topic. This installment covers everything we already know about the upcoming .NET 5 release.by Edument, 2020-10-12T16:23:57.677Z
In this blogpost you will learn how you can store the ASP.NET Data Protection key ring in Azure Key Vault.by bill-s, 2020-10-16T01:32:45.419Z
The Azure CLI can be updated from the command-line in Windows. The command az upgrade is used for this, and it has a few options which are useful. Like all Azure CLI (az) commands, there is help that can be revealed when running the command with the -hby bill-s, 2020-10-16T01:35:01.309Z
This post shows how Azure Key Vault certificates can be used with Microsoft.Identity.Web in an ASP.NET Core application which requires a downstream “access_as_user” API. The Azure AD App Registrations requires a certificate instead of a client secret.