Minimal APIs are used to create HTTP APIs in a quick span of time with minimum dependencies. They are best suited for microservices and apps that require only minimum files with minimum dependencies. In ASP.NET Core Minimal APIs we do not use controllers instead all the API codes are written in the Program.cs file.
(more…)Use jQuery Submit Method - .submit(), to submit any form. The submit method can only be used for the form tag.
(more…)The importance of a reliable Virtual Private Server (VPS) provider cannot be overstated. Your website's performance, security, and overall user experience often hinge on the quality of your VPS hosting. When it comes to finding the best VPS provider, look no further than operavps.com In this comprehensive guide, we will delve into what makes operavps stand out in the competitive world of VPS hosting.
(more…)The jQuery Show method is used to un-hide (show) hidden elements in a web page. This is similar to the CSS property display:block.
(more…)ZXing.NET is a library which supports decoding and generating of barcodes (like QR Code, PDF 417, EAN, UPC, Aztec, Data Matrix, Codabar) within images. In this tutorial I will implement it in ASP.NET Web Forms.
(more…)In ASP.NET Core, you can perform the deletion of any row from an HTML Table located in the View, in such a way that there is No-Page reloading. You can achieve this using Entity Framework Core and jQuery. Let me show how to create this feature in your ASP.NET Core based website.
Once this tutorial is finished you will have created a special feature that will exactly work like shown by the below video:
(more…)The jQuery Hide method is used to hide one or more elements in your web page. This is similar to the CSS property display:none.
(more…)Ever wonder how to show Real time Progress of files being upload to the server, well this tutorial will teach you all this in multiple ways. So make sure to read this tutorial in full and download the source code given at the bottom.
(more…)When we want to allow users with specific roles to access certain resources, we apply role-based authorization. Similarly, when users who satisfy a defined policy are allowed to access certain resources, this is called policy-based authorization. Duende IdentityServer makes it easy to implement both role-based and policy-based authorization.
This tutorial shows you how to set up Duende IdentityServer with ASP.NET Core Identity from scratch, using MongoDB as the underlying database. We'll configure ASP.NET Core Identity to store client credentials in MongoDB. When a client requests authentication from IdentityServer, those credentials are validated directly against the MongoDB database through ASP.NET Core Identity.
By the end of this guide, you'll have a fully secured Web API protected by Duende IdentityServer — built entirely from the ground up.
The source codes are given in GitHub repository.
(more…)