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.
All technologies, only pure source code
.NET (dotnet) is a developer platform made up of tools, programming languages, and libraries for building many different types of applications.
So, there are various implementations of .NET (dotnet). Each implementation allows .NET code to execute in different places—Linux, macOS, Windows, iOS, Android, and many more. This framework has two main versions:
Then, Xamarin/Mono is a .NET (dotnet) implementation for running apps on all the major mobile operating systems, including iOS and Android.
The .NET Standard is a formal specification of the APIs that are common across .NET implementations. This allows the same code and libraries to run on different implementations.
Therefore, the two major components of .NET (dotnet) Framework are the Common Language Runtime and the .NET Framework Class Library.
Summarize, .NET (dotnet) applications are written in the C#, F#, or Visual Basic programming language. Code is compiled into a language-agnostic Common Intermediate Language (CIL). Compiled code is stored in assemblies—files with a .dll or .exe file extension.
At the end, when an app runs, the CLR takes the assembly and uses a just-in-time compiler (JIT) to turn it into machine code that can execute on the specific architecture of the computer it is running on.
This post is about implementing handling file uploads in OpenAPI with ASP.NET Core. Open API is one way to document REST API endpoints.
I show a simple way for Testing APIs with RestClient in Visual Studio Code. RestClient is a simple extension for Visual Studio Code.
In this post, I show you how to remote debug live content on an Android device from your Windows, Mac, or Linux computer. Easy peasy
In this post, I talk about user-agent and I’m going to create a browser detect component for Blazor WebAssembly and Blazor Server with .NET6.
This World Map component for Blazor WebAssembly and Blazor Server creates an interactive map of the world or specific region and shows your data
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
SVG Icons and flags for Blazor is a new library that contains tons of icons in SVG format and also all the world flags for each country
In this new post, I show you how to add code snippet in Razor pages for Blazor WebAssembly and Blazor Server using highlight.js
In this new post, I show you the code to dynamically add JavaScript from a Blazor components coming from the component itself or another URL
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 ASP.NET Core is largely the same as standard full framework MVC but now we can stream large files. Here I explain how
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
I have created a new Markdown Editor component flexible and rich of functionalities for Blazor WebAssembly and Blazor Server with .NET6.
In this new post, I show you how to upload/download files using HttpClient in C# and .NET Core. Creating a…
In this new post, I like to show how handling exceptions globally with .NET6 adding a single class using a generic exception middleware
In this new post I show you how to install MAUI with Visual Studio 2022 (Preview) after the official release of Visual Studio 2022.
Today I want to show you how to create a Code Snipper component for Blazor using highlight.js that is available for 191 different languages
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
I have just released a new DataTable component for Blazor WebAssembly and Blazor Server. The NuGet package is available here….
In this new post, I will show you have to create a simple Markdown editor component for Blazor Assembly and Blazor Server. Source code inside.
In this post I will show you how creating a cross-platform and managing a .NET Service with Blazor that can be installed on Windows and Linux
In this new post, I explain how to create and use Tabs control for Blazor Web Assembly and Blazor Server with basic HTML, CSS and C#
Here I explain how to create the ultimate pipeline for NuGet packages with Azure DevOps as the end of my previous posts. Click to see it
In this new post, I’m going to explain how to create a segment control for Blazor Web Assembly and Blazor Server. The NuGet package is available
We have just released a lot of functions for .NET5 in a NuGet package that you can download for free. Contains functions for everyday work