Quick Overview:Authentication is a core process to determine a user’s identity over the internet for a particular application. Authentication acts as a fundamental building block to cr… Read More
TL;DR: Are you worried about unauthorized access to your Blazor apps’ file uploads? For enhanced security, learn to implement JWT authentication in the Syncfusion Blazor File Upload… Read More
In this post,
I am going to explain how to set a credential provider to http client.
Step 1: Define
Authentication Scope instance.HttpHost targetHost = new HttpHost("http", "localhost", 8… Read More
We can add
multiple request interceptors to the http client using ‘addRequestInterceptorFirst’
and ‘addRequestInterceptorLast’ methods.
ExampleCloseableHttpClient… Read More
The HTTP
protocol interceptor plays a crucial role in implementing specific aspects of
the HTTP protocol. Typically, interceptors handle individual or groups of
related headers in incoming o… Read More
TLDR: Explore implementing user authentication with JWT, role-based authorization, GraphQL mutations, client-side login forms, and database role configuration, crucial for secure web appli… Read More
From the initial project setup using the .NET CLI to configuring middleware, controllers, and services, learn every step to build a robust API. Discover best practices for dependency injecti… Read More
The post Blazor Render Mode – How To Avoid Dependency Injection Woes appeared first on Dev Leader.I’ve been spending more time working with Blazor, which means many more learning… Read More
Como sabéis, con ASP.NET Core 8 se ha incluido la posibilidad de que una página Blazor sea capaz de procesar directamente una petición HTTP, renderizando sus componentes… Read More
Los que llevamos muchos años programando con ASP.NET/ASP.NET Core y todos los frameworks que han ido surgiendo en su ecosistema, estamos familiarizados con el concepto de "contexto HT… Read More
Quick Overview:Slow performance and speed are the two such factors that no one wants. An organization doesn’t want a low-performance application, and a user doesn’t want to use s… Read More
Topics covered in this article are…
What are Feature Flags?Setting up Feature FlagsDefining Feature FlagsUsing IFeatureManager with Dependency InjectionDefining ConstantWay to check F… Read More
How to Create a Custom Authentication System in .NET CoreAuthentication is a fundamental aspect of building secure web applications. While ASP.NET Core provides built-in authentica… Read More
Hey .NET engineers! Today, we’ll explore the world of OpenTelemetry, focusing on how it can benefit your .NET applications. We’ll talk about the strengths and weaknesses of OpenT… Read More
Problem
I was looking for a solution to provide a minimal solution for API key checks with minimal effort.
Solution
ApiKeyMiddleware.cs:
public class ApiKeyMiddleware
{
private readonly… Read More
In ASP.NET Core, authorization filters are used to enforce security policies for controllers and actions. They allow developers to control access to specific resources in their applicat… Read More
Hace algunas semanas vimos cómo crear inline route constraints, o restricciones de ruta en línea en ASP.NET Core, y creamos un ejemplo simple que permitía al sistema de… Read More
Encryption is a process that involves translating your text, documents, images, videos, and other data into gibberish data that cannot be understood by any human or machine. It only becomes… Read More
I've been trying to figure out how to convert my site to .NET 5 or 6 for a long while. The pages are written in PHP (because that was the only thing available to me on my web host at the tim… Read More
Introduction to ASP.NET Core Razor Pages
ASP.NET Core Razor Pages is the new feature of ASP.NET Core MVC, which launched in ASP.NET Core 2.0. The pages proposed for building the server-side… Read More
Someone asked about getting hold of the code to generate FIT files from Strava segments. It's not possible to provide standalone code since it's has dependencies on the rest of my website an… Read More
In this blog post, you will learn how to send an SMS with Twilio in ASP.Net Core 5 or 3.1 using C#. So we will use Twilio as our SMS service to send an SMS message and automate a response wh… Read More
C# Simple operation SQLite & Asp.net SQLite is an embedded SQL database engine. Unlike most other SQL databases, SQLite doesn't have a separate server process. SQLite reads and writ… Read More
It’s time to get back to old era of this blog and bring my vCard action result to today’s ASP.NET Core world. There’s also support for images so we can provide really good… Read More
As a quick update to the previous article explaining how to set up JWT and Identity I’ve updated the currentUser method to use dependency injection.
namespace Craidd.Extensions { publi… Read More
How To Create Download PDF using itextsharp MVC 5?//Create and Download PDF using itextsharp MVC 5//how to convert html to pdf with image tags using itextsharp? private static byte[] Ex… Read More