Latest Posts On Code Maze

Code Maze Weekly #28

Code Maze Weekly #28

This week we present you with some fresh and awesome .NET and C# articles to read. .NET and C# EF Core In-depth – what happens when EF Core reads from the database? [www.thereformedprogrammer.net] A very detailed article about inner workings of EF Core by Jon P Smith....

Getting Started with ASP.NET Core and MongoDB

Getting Started with ASP.NET Core and MongoDB

In this article, we’re going to cover how to set up an ASP.NET Core Web API with MongoDB as our database. MongoDB is an increasingly popular database and an excellent option for small and large-scale applications. MongoDB is also a convenient database option for...

Code Maze Weekly #27

Code Maze Weekly #27

Time to brush up on some of the existing skills and learn something new because another issue of Code Maze Weekly is out. Prepare your brew of choice, relax, and start reading your favorite topic. .NET and C# Overview of API Versioning in ASP.NET Core 3.0+...

Multiple Environments in ASP.NET Core

Multiple Environments in ASP.NET Core

In this article, we’re going to cover how to set up and manage multiple environments in ASP.NET Core. If we expect our project to become large and complex, it is a good idea for us to separate our environments. For example, we don’t want to develop software on the...

Code Maze Weekly #26

Code Maze Weekly #26

Another very interesting and eventful week is behind us and there is so much new stuff! C# 9 has been interesting to see, and Preview 4 of the .NET 5 is out. We are coming closer and closer to the full .NET 5 so now might be a good time to start checking it out....

OWASP Top 10 – Sensitive Data Exposure

OWASP Top 10 – Sensitive Data Exposure

Sensitive data exposure occurs when an application accidentally exposes sensitive data. This differs from a data breach, in which an attacker accesses and steals information. Sensitive data exposure usually occurs when we fail to adequately protect the information in...

Code Maze Weekly #25

Code Maze Weekly #25

This week we've seen a flood of new articles, ideas, and implementations. There is something interesting for everyone, so take a sip of that coffee and choose your favorite topic! .NET and C# Using Dapper in ASP.NET Core applications [gunnarpeipman.com] Gunnar does a...

Code Maze Weekly #24

Code Maze Weekly #24

The weekend is coming and it's time to relax and read some good articles and watch some awesome videos. Let's see what's in store for us this week. .NET and C# Razor Pages in ASP .NET Core 3.1 [wakeupandcode.com] Still haven't worked with Razor Pages yet? Shahed gives...

Securing Web API with the Hybrid Flow

Securing Web API with the Hybrid Flow

In the second part of this series, we were talking about securing Web API. But, we used the ResourceOwnerPassword and the ClientCredentials flows and Postman as a client. But now, we have our MVC client application, secured with the Hybrid Flow, which requires access...

Code Maze Weekly #23

Code Maze Weekly #23

This week we've seen some really good and unique articles. As always there is enough material to keep us occupied through the weekend. *Prepares coffee* ☕☕☕ .NET and C# Preventing mass assignment or over posting with Razor Pages in ASP.NET Core [andrewlock.net] Andrew...

IdentityServer4 Authorization and Working with Claims

IdentityServer4 Authorization and Working with Claims

We can use claims to show identity-related information in our application but, we can use it for the authorization process as well. In this article, we are going to learn how to modify our claims and add new ones. Additionally, we are going to learn about the...

Code Maze Weekly #22

Code Maze Weekly #22

Another week, another batch of excellent and useful articles to parse through! Check them out and take your time reading some of the best articles on .NET out there. Oh, and .NET 5 Preview 3 is out! .NET and C# Production Tips for ASP .NET Core 3.1 Web Apps...

The Hybrid Flow – Securing ASP.NET Core Web Application

The Hybrid Flow – Securing ASP.NET Core Web Application

In this part of the series, we are going to learn how to secure our web application (a client application) by using the Hybrid flow. We are going to start by introducing our pre-created client application. Then, we are going to learn how to modify the in-memory...

Code Maze Weekly #21

Code Maze Weekly #21

This week we have a wide variety of interesting articles on many different topics. Take your time, pick your favorite topic and read on: .NET and C# Are Boolean Flags on Methods a Code Smell? [ardalis.com] Should we or shouldn't we use boolean flags? Steve explains...

Code Maze Weekly #20

Code Maze Weekly #20

Extra! Extra! Read all about it! This week is full of fresh and interesting articles despite the stale situation all over the world. There has been a lot of stress recently, so take a cup of coffee and read some of these to start your day off properly. .NET and C# 5...

IdentityServer4 UI and Web API Basic Security

IdentityServer4 UI and Web API Basic Security

We have set up our identity server but we lack UI for the users to enter their credentials. We’ve shown how we can retrieve our token but for better user experience, we have to add UI to our Authorization Server. So, adding IdentityServer4 UI is our goal for this...

Code Maze Weekly #19

Code Maze Weekly #19

While in many areas of our lives time seems to have stopped, that's not the case with software development and .NET. .NET Preview 2 is here, and there is a lot of interesting articles to read this week as well, so dig in: .NET and C# Implementing a Generic Dapper...

IdentityServer4 Integration with ASP.NET Core

IdentityServer4 Integration with ASP.NET Core

In this article, we are going to learn about IdentityServer4 Integration with the ASP.NET Core project. We are going to start with some explanations related to JWT, OAuth, OpenIdConnect, and Endpoints, to get familiar with the basics. After the theory part, we are...

Code Maze Weekly #18

Code Maze Weekly #18

While many of us are learning to work remotely, there has never been a better time to start learning something new and exciting. So this week we present you with the new batch of .NET and other interesting articles: .NET and C# Logging in ASP .NET Core 3.1...