Continue the tutorial about APIs with Entity Framework Core and in particular how to implemente the PUT to update a record with dependencies.
Tag: webapi
APIs with Entity Framework Core: POST
Here how to change the minimal APIs with Entity Framework Core for POST and GET in order to save and retrieve an object with dependencies.
Using ChatGPT library for grammar checker API
In this article, we’ll show you a way for using my new ChatGPT library for a grammar checker API with ASP.NET Core step-by-step
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.
Validate JSON with Postman
In this new post, I explain how to validate a JSON result with Postman from your APIs using JavaScript with few lines of code. Full code here
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.
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
Uploading files in ASPNET Core
Uploading files in ASP.NET Core is largely the same as standard full framework MVC but now we can stream large files. Here I explain how
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
Create a LogicApp to use CosmosDB
I’m going to explain how to create a LogicApp to use CosmosDB in Azure based on a common scenario. I’ll show other solution in the next posts
Blazor using HttpClient with authentication
Today, we are going to learn how to create a secure connection in Blazor using HttpClient with authentication to gain access to the protected resources on the Web API’s side. Everything is based on IdentityServer. Until now, we secure Blazor WebAssembly With IdentityServer4 and enabled login and logout actions. After successful login, IdentityServer sends us the id_token and the access_token. But we are not using that access_token yet. So, in this article, we are going to change that. But, using the access token with Blazor WebAssembly is not going to be our…
Secure Blazor WebAssembly with IdentityServer4
I’m going to explain how to secure a Blazor WebAssemble application with IdentityServer4. Also, how to secure API calls
How to use an Azure API Management Service
API Management creates consistent and modern API gateways for existing back-end. How to use an Azure API Management Service in a real world?
Creating .NET Core API with versioning
A versioning allows clients to continue using the existing REST API and migrate their applications to the newer API when they are ready.
Adding Swagger to Web API project
Adding Swagger to your Web API project does not replace ASP.NET Web API help pages. Or maybe yes? Here how to implement Swagger in your apps