Building a Minimal CRUD API Part-2 (Get All Records & Get Record By ID API)
Part-1 : https://rumble.com/v2k4epm-building-a-minimal-crud-api-part-1-configuration-and-insert-records-api.html
Part-3 : https://rumble.com/v2kckw0-building-a-minimal-crud-api-part-3-update-records-and-delete-records-api.html
5
views
Building a Minimal CRUD API Part-1 (Configuration & Insert Records API)
What is Minimal API Video Link: https://rumble.com/v2ifg1k-creating-lightweight-apis-with-minimal-code-in-asp.net.html
Part-2 : https://rumble.com/v2kcbbo-building-a-minimal-crud-api-part-2-get-all-records-and-get-record-by-id-api.html
Part-3 : https://rumble.com/v2kckw0-building-a-minimal-crud-api-part-3-update-records-and-delete-records-api.html
7
views
Microsoft Azure Cloud CI CD Pipeline for IIS Server | Azure CI CD pipeline in Hindi
Creating an Azure DevOps organization and project.
Creating a build pipeline that compiles the code and creates an artifact.
Creating a release pipeline that deploys the artifact to the IIS server.
25
views
How to create Tar File in ASP.NET 7?
Today, we will explore the process of creating a tar file in ASP.NET 7, which is a novel feature of this framework. Let's delve into this topic by following an example.
Initially, we need to open Visual Studio, where we already have a console application. In the program.cs file, we will add a reference to System.Formats.Tar to access the TarFile class, which contains two useful methods: CreateFromDirectory and ExtractToDirectory.
Let's begin with CreateFromDirectory method, which necessitates three parameters, namely sourceDirectoryName, destination, and includeBaseDirectory. The sourceDirectoryName parameter specifies the directory path that we want to transform into a tar file. Destination parameter indicates where we want to save the tar file. The includeBaseDirectory parameter can be set to true or false; we choose true if we wish to include the root folder; otherwise, we choose false.
After passing all the necessary parameters to the function, we create two folders named source and destination on our local system. We also create two notepad files in the source folder. The source folder is employed as the source of our tar file, and the destination folder is used to extract the tar file.
After running the program, a demo tar file will be generated. We can extract this tar file by using the ExtractToDirectory method, which also requires three parameters, including sourceFileName, destinationDirectoryName, and overwriteFiles. Here, sourceFileName is the path and name of the tar file. The destinationDirectoryName specifies where the extracted files or folder will be located. OverwriteFiles parameter can be set to true or false, depending on whether we want to overwrite the files or folder.
6
views
Creating Lightweight APIs with Minimal Code in ASP.NET
Minimal API is a new feature introduced in ASP.NET 6 that allows developers to quickly create APIs with minimal code and configuration. Unlike traditional ASP.NET MVC, Minimal APIs allow you to build APIs with a more straightforward syntax and fewer dependencies.
With Minimal API, you can build simple APIs using just a single file and a few lines of code. This approach is ideal for small, microservices-style APIs or for prototyping.
Minimal APIs in ASP.NET MVC allow developers to write concise and clean code that is easy to understand and maintain. They also provide better performance and scalability due to their lightweight nature.
To get started with Minimal API in ASP.NET MVC, you can create a new project using the Minimal API template and start building your API using the new routing syntax. Minimal API is a great option for developers who want to build lightweight and efficient APIs quickly and easily.
54
views
Understanding Rate Limiting in ASP.NET and Implementing it in Your Application
1. Understanding Rate Limiting in ASP.NET
2. Implementing Rate Limiting in ASP.NET
Rate limiting is a technique used to control the number of requests that a client can make to a server within a specific time frame. It is commonly used to prevent abusive behavior, such as Denial of Service (DoS) attacks, and to ensure fair usage of resources.
What is Rate Limiter? : (0:00)
Package Installation : (1:12)
How to Configure Middleware? : (2:04)
How to Use in Application? : (4:55)
59
views