by ThomasArdal, 2021-03-16T07:18:26.246Z
In this post, I'll show you how we are avoiding people to re-use pwned passwords on elmah.io in our ASP .NET Core web app using the Pwned.Passwords package.
by bill-s, 2021-03-19T00:16:04.531Z
In this article, I’ll start exploring some of the most popular questions related to async/await.
Concretely, in the next couple of posts, I’ll clarify the misconceptions around the Synchronization Context and the usage of ConfigureAwait in nested and sequential async calls.
First, it’s essential to understand why and when we need the Synchronization Context and the role it plays in the async/await workflow.
by bill-s, 2021-03-19T00:14:42.555Z
With ASP.NET Blazor WebAssembly (WASM) you can create .NET web applications that run completely inside of the browser sandbox. The published output of a Blazor WASM project are static files. Now that you can run .NET web applications without server-side code, you can deploy these applications to various static site hosts, such as the brand-new Cloudflare Pages.
by iammukeshm, 2021-03-19T18:52:15.292Z
A Clean Architecture Template built for Blazor WebAssembly 5.0 using MudBlazor Components. This project will make your Blazor Learning Process much easier than you anticipate. Blazor Hero is meant to be an Enterprise Level Boilerplate, which comes free of cost, completely open sourced.
It is now available as NuGet Package for you to use! As simple as running a CLI command and generating your own awesome Blazor WebAssembly 5.0 Projects.
- [x] Mudblazor Component Library
- [x] . NET 5.0+
- [x] Blazor Web-Assembly: ASP. NET Core Hosted
- [x] Onion Architecture
- [x] Persistent Dark Mode (Local Storage)
- [x] Service-Based Approach
- [x] MediatR at API Level
- [x] AutoMapper
- [x] API Versioning
- [x] JWT Authentication
- [x] Serilog - Server-Side Only*
- [x] Complete User Management
- [x] Profile Picture
- [x] Clean Fluid UI
- [x] CRUD Functionalities and much more.
Read the Getting Started Guide -
by bill-s, 2021-03-19T00:09:58.292Z
On March 8, we shared that, out of an abundance of caution, we logged all users out of GitHub.com due to a rare security vulnerability. We believe that transparency is key in earning and keeping the trust of our users and want to share more about this bug. In this post we will share the technical details of this vulnerability and how it happened, what we did to respond to it, and the steps we are taking to ensure this does not happen again.
by sanjayhmodi, 2021-03-18T09:41:51.854Z
This article will get you started with unit testing in the ASP.NET core application. We will start with creating an ASP.NET Core based application with math operation service and implement xUnit.net to automate testing of the operations available in this service.
by bill-s, 2021-03-19T00:08:19.014Z
When writing software, developers try their best to maximize the performance they can get from the code they have baked into the product. Often, there are various tools available to the developers to find that last change they can squeeze into their code to make their software run faster. But sometimes, they might notice slowness in the product because of a totally unrelated change. Even worse, when measured the performance of a feature in a lab, it might show unstable performance results that look like the following BubbleSort graph1 What could possibly be introducing such flakiness in the performance?
by bill-s, 2021-03-19T00:12:01.540Z
NuGet 5.9 is included in Visual Studio 16.9 and .NET 5.0 out of the box. You can also download NuGet 5.9 for Windows, macOS, and Linux as a standalone executable.
NuGet 5.9 is one of many releases in our .NET unification journey. Our NuGet tooling helps developers discover new .NET packages to use for their .NET applications, while making package management easier during your daily development.
by bill-s, 2021-03-19T00:08:40.341Z
It’s somewhat surprising in the 20 years .NET has been out, there hasn’t been an official implementation of a Priority Queue. It hasn’t stopped people hacking together their own Priority Queues, and indeed, even Microsoft has had several implementations of priority queues buried internally in the framework, but just never exposed for the public. Finally, Microsoft has come to the party and implemented an official Priority queue in .NET 6. Yes, .NET 6.
by bill-s, 2021-03-19T00:10:51.691Z
Templating is extremely common, and is used to separate the data (often in JSON) from the presentation layer, which can either be on the client side (Mustache, Angular, Vue, React) , or on the server side (ASP.NET, Razor, etc.)
by bill-s, 2021-03-19T00:12:34.073Z
In this blog post, I'm going to share my experience on testing `ASP.NET Core` applications by applying an unconventional method called `snapshot assertions`. In comparison to the classical approach, this method should save you a lot of time and improve assertions maintainability.
by anthonygiretti, 2021-03-16T17:13:10.951Z
I am very happy to write this post today because I have had a lot of trouble over the last few days getting my integration tests with TestServer to work on ASP.NET Core 5. I usually use a dedicated Startup.cs file to my integration tests rather than using the web application’s one.Tthe simple good reason is that I do not like to replace instances of services or other configuration, I prefer a dedicated file for that. With each version of ASP.NET Core comes a change in the behavior of integration tests and in this post I will show you how to fix the external “System.InvalidOperationException : Solution root could not be located using application root” error when we use a Startup.cs file dedicated to our integration tests.
by bill-s, 2021-03-19T00:15:09.898Z
Do you want to start writing unit tests and you don't know how to start? Were you asked to write some unit tests on a past interview? Let's see what is a unit test and how to write your first unit tests in C#.