Using the new NuGet package, we can create beautiful console applications with Spectre.Console that are not boring or monochrome
Category: .NET6
Labels and OnClickChart for ChartJs
In this new post, I introduce an update with labels and OnClickChart event, my ChartJs component for Blazor. Let me know what you think
Browser Detect component for Blazor
I’m releasing a new update for Browser Detect component for Blazor that detect correctly Windows 11 plus few improvements.
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.
How to create String Enums
More often than not, I try to have an enum but for strings: in this post, I show you how to create String Enums in NET6 and C#.
ScrollTabs component for Blazor
Do you have to display a lot of tabs in your page, but the look and feel is no what you want. Here you have a ScrollTabs component for Blazor
Manipulating CSV Files
How manipulating CSV files in the internet era? Comma Separated Files (CSV) are text files that contain multiple records with more elements
Derived classes with System.Text.Json
In this post I show you how to use System.Text.Json and how to implement a converter for polymorphic classes.
Guided Tours Blazor component
I introduce you my new Guided Tours #Blazor component to help your users to understand the UI of your application
Clippy Blazor component
I introduce you my new Clippy Blazor component for Blazor WebAssembly and Blazor Server. The component is built with .NET6.
.NET is the most loved platform
.NET is the most loved platform! It’s won most loved platform 3 years in a row in the annual StackOverflow developer survey
Call API Management from Blazor
The title ”Call API Management from Blazor” is not explain fully what I’m going to explain in this post but it is only a title. So, consider the following scenario. Scenario On Azure API Management Service you have your APIs. For more protection, you want to add another level of security asking to the API Management to validate the user token for each request. The token is validated again your own Identity Server. Once the API Management is configured to use Identity Server for the validation, you want to call…
Add Security Headers to Blazor WebAssembly
In this new post, I like to explain how to add security headers to Blazor WebAssembly to follow the recommendations from OWASP.
Add Security Header our website
In this new post, I’ll show you how to add security header to our website to be ready for a penetration test. Quick and easy to implement.
Simple XML minifier in C#
In this new post, I give you my code for a simple XML minifier in C#. I know I always have strange thought but I’m a developer
Minimal APIs in NET6
From now on, we can create minimal APIs in NET6 that allows us to write in few lines of code powerful APIs. I collect all my understanding
Copy to Clipboard component for Blazor
I’ll create a Copy to Clipboard component for Blazor. I use the button to notify if the copy is successful. So, I return reset the button
Markdown Editor component for Blazor
I have created a new Markdown Editor component flexible and rich of functionalities for Blazor WebAssembly and Blazor Server with .NET6.
Upload/Download Files using HttpClient
In this new post, I show you how to upload/download files using HttpClient in C# and .NET Core. Creating a new version of the Markdown Editor component for Blazor, I face some issues with the file upload. So, I was working to find a solution and now I can tell you how to do it. First, I will take a look at how to send multipart MIME data to a Web API using HttpClient. We will create two applications to demonstrate the data transfer between the client side and the server side. The server-side…
Handling exceptions globally with NET6
In this new post, I like to show how handling exceptions globally with .NET6 adding a single class using a generic exception middleware
Install MAUI with Visual Studio 2022 (Preview)
In this new post I show you how to install MAUI with Visual Studio 2022 (Preview) after the official release of Visual Studio 2022.
Azure Pipelines Error NETSDK1045: The current .NET SDK does not support targeting .NET 6.0
Azure Pipelines Error NETSDK1045: The current .NET SDK does not support targeting .NET 6.0. How to fix this error in pipeline on Azure DevOps