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#.
Tag: net6
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
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.
Handling file uploads in OpenAPI
This post is about implementing handling file uploads in OpenAPI with ASP.NET Core. Open API is one way to document REST API endpoints.
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
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
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