c#

What Is The Difference Between A Singleton Class And Dependency Injection

A singleton class is a design pattern where only one instance of a class can exist in a program at…

3 years ago

Add Two Numbers In C#

So, as I go through the process of interviewing for new roles I find myself starting to challenge myself with…

6 years ago

Validating String Length In The Model

The ability to validate values passed into an ASP.NET application at the model level is a powerful thing. You can…

6 years ago

The Unsafe Keyword In C#

The Unsafe Keyword What is the unsafe keyword in C#? When should you use it? Should you use it? It’s…

7 years ago

Random Password Generator In C#

I've previously talked about hashing a password for IdentitySever4 in C#. This works well when you want to store your password…

7 years ago

Identity Server Hashing Passwords For Existing Users

Recently we started working on a new IdentityServer4 project - something to give a new facelift and security to an existing product…

7 years ago

Custom Routes For Your ASP.NET Core 3 Project

If you’re anything like me: when you wanted to find out more about ASP.NET you went to the internet. May…

7 years ago

Starting With C# .Net Core 3

I wanted to start this post with a quick caveat. At the time of writing this post: the .Net Core3…

7 years ago