In the ever-evolving landscape of software development, effective logging is crucial for maintaining robust and reliable applications. Serilog has emerged as a leading tool for C# developers, offering a flexible and powerful logging solution tailored to modern needs. This comprehensive guide will walk you through the installation and advanced configuration of Serilog in your C# projects, ensuring that you harness its full potential. From setting up various sinks for diverse output channels to integrating custom logging classes that capture detailed runtime data, you’ll discover best practices for enhancing application maintainability…
Category: .NET7
APIs with Entity Framework Core: PUT
Continue the tutorial about APIs with Entity Framework Core and in particular how to implemente the PUT to update a record with dependencies.
Connect MongoDB with Node.js
In this new post, I show how to connect our application to MongoDB using Node.js. Send users and test your application using an APIs client.
Blazor integration with Identity Server
I share the code for a Blazor integration with Identity Server and BFF. All browsers don’t allow to share or save an authentication token
Custom control for MAUI using SkiaSharp
I will demonstrate how you can create your own custom control for MAUI using SkiaSharp and what you need to do in order to make it reusable
Write a ChatGPT client
Write a ChatGPT client in C# using the OpenAI API: walkthrough the process of creating human-like responses
Methods not Allowed in ASP.NET Core
If you create APIs, you can face that same Methods not Allowed in with ASP.NET Core, NET6 or NET7.
Stripe Connect Express with Blazor
In my previous post titled Create Stripe Webhooks Receiver I created a webhook and now I want to explore how to use Stripe Connect Express with Blazor. What is Stripe Connect? Stripe Connect allows you to develop marketplace and platform applications that can accept money and pay out to connected Stripe accounts. For example, a platform like Lyft has the ability to receive payments from a customer, retain a percentage as a platform fee, and then pay out the difference to the customer’s driver. Those drivers would all be considered…
Create Stripe webhooks receiver
I create a Stripe webhooks receiver for ASP.NET Core and Blazor. This is the first post of 4 where I show the full implementation.
Keep secrets out of source code
Keep secrets out of your source code in Visual Studio. It is never a good idea to store secrets or passwords in your source code.