Code Maze Weekly #74
Issue #74 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# ASP.NET Core 5.0 Authentication with Azure Active Directory [dotnetthoughts.net] Implementing authentication to an ASP.NET Core MVC project is something many of us need....
Using MudBlazor to Create Reach and Functional Product’s Details Page
In the previous article, we saw how to use the Blazor material table to display all the data fetched from the API, and how to apply pagination, searching, and sorting actions. But in real-world applications, we want to see more information about a single product, once...
Code Maze Weekly #73
Issue #73 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Viewing overwritten configuration values in ASP.NET Core [andrewlock.net] Visualizing and seeing what our configuration values are organized can come in handy. You can...
Blazor Material Table – Server-Side Paging, Searching, Sorting
In the previous article, we have created our material navigation menu with a sidebar. Now, since we can navigate on our application, it is time to use the Blazor material table component, to display some data on our page. To fetch the data from the database, we are...
Code Maze Weekly #72
Issue #72 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Modeling Most SQL Relationships In Entity Framework Core [khalidabuhakmeh.com] Modeling SQL Relationships in EF Core code first approach is an important skill to have....
Creating Blazor Material Navigation Menu
In the previous article, we've integrated MudBlazor into our Blazor WebAssembly application and started working with some material components and theme modification. But our navigation menu doesn't look great. Well, to be honest, we didn't do anything with it. That...
Code Maze Weekly #71
Issue #71 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Static methods considered evil? [enterprisecraftsmanship.com] Static methods. We love them and hate them at the same time. But are they inherently bad or just considered...
Blazor Material UI – Configuration and Theme Customization
In this article, we are going to learn how to integrate MudBlazor inside the Blazor WebAssembly application, and thus create a Material UI Blazor project. We are not going to learn about Blazor WebAssembly itself. If you are not familiar with Blazor WebAssembly, we...
Code Maze Weekly #70
Issue #70 of the Code Maze weekly. Check out the articles we've selected for you this week and enjoy the read. .NET and C# Getting Started with the Roslyn APIs: Writing Code with Code [www.stevejgordon.co.uk] Roslyn is one of the less explored and niche areas of .NET....
Creating Resilient Microservices in .NET with Polly
In this article, we are going to look at one of the key challenges with building microservices: resilience. We will look at why the problem exists, and how the .NET library Polly can help us provide a solution to this problem, enabling resilient microservices. Jon Hilton talks about an overlooked aspect of ASP.NET Core Razor...
Using HttpClientFactory in ASP.NET Core Applications
Up until now, we've been using HttpClient directly in our services. In every service, we've created an HttpClient instance and all the required configurations. That led to repeating code in all of our service classes. [sc name="patreon-source-code"...
Canceling HTTP Requests in ASP.NET Core with CancellationToken
It is quite a possible situation to have a user navigating to the client application's page that sends an HTTP request to the server. While our app processes the request, a user can navigate away from that page. In such a case, we want to cancel the HTTP request since...
Code Maze Weekly #66
There are a lot of excellent articles to read this week. So much so, we're unable to pick our favorite ones easily. You won't make a mistake by choosing any of the ones listed below, so make yourself comfy and read on. .NET and C# ASP.NET Core Dependency Injection:...
Using Streams with HttpClient to Improve Performance and Memory Usage
Up until now, we were using strings to create a request body and also to read the content of the response. However, we can optimize our application by improving performance and memory usage with streams. So, in this article, we are going to learn how to use streams...
Using HttpClient to Send HTTP PATCH Requests in ASP.NET Core
In our two previous articles, we have covered a lot of ground regarding the CRUD operations with HttpClient. If you have read them both, you know how to use HttpClient to fetch data from API, and also to send POST, PUT and DELETE requests using HttpClient. When we...
Code Maze Weekly #65
Cold weather, excellent for staying at home and learning new stuff. As winter is kicking in around the globe (at least the Northern hemisphere) we're gearing up and going through many excellent articles that our fellow bloggers have written. .NET 6 preview 1 is...