YogiHosting - Page 2 of 27 - Tutorials on ASP.NET Core, JavaScript, jQuery, Entity Framework, WordPress, SQL, HTML & more

How to call a JWT secured APIs with jQuery AJAX [with source codes]

Last Updated: July 11, 2020

JWT jquery

JWT authentication is a popular standard to highly secure the APIs. In my last tutorial I explained you in full details how to Implement JWT to secure APIs in ASP.NET Core, if you haven’t read it make sure you do it now. (more…)

How to secure APIs with JWT in ASP.NET Core 3.1 [with source codes]

Last Updated: July 12, 2020

JWT JSON Web Token

JWT stands for JSON Web Token, it’s an self-contained mechanism for securely transmitting information between parties as a JSON object (commonly known as ‘Token’). The token is digitally signed using a secret (with the HMAC algorithm) or a public/private key pair using RSA or ECDSA. (more…)

How to Install Bootstrap Package in ASP.NET Core Application in Visual Studio

Last Updated: June 11, 2020

install bootstrap visual studio

Visual Studio has many tools available that you can use to install client-side packages such as JQuery and Bootstrap. Here I will discuss 2 popular ones which are:

1. LibMan (LibraryManager)

2. Bower


Learn JavaScript Promise method in easiest way

Last Updated: March 21, 2020

javascript promise

The Promise is an object that may produce a value, sometime in the future, on the completion of an asynchronous operation. The produced value can be either a successful result or an error .


What is Endpoint Routing, Implementing it from start [with codes]

Last Updated: July 11, 2020

endpoint routing

The concept of Routing is very vast and I have covered it in 6 tutorials which are:

So make sure you cover each of these one by one.

ASP.NET Core 3.0 brings a new concept of Endpoint routing which provides routing information to middlewares in the Startup.cs class. This feature was not there in the ASP.NET Core 2.0 and earlier versions. (more…)

How to Implement Cookie Authentication in ASP.NET Core

Last Updated: July 10, 2020

cookie authentication

One of the easiest methods to implement your own Custom Authentication Logic in ASP.NET Core is with Cookie Authentication method. Note that the Cookie Authentication method is not related to ASP.NET Core Identity in any way.


How to Enable Cross-Origin Requests (CORS) in ASP.NET Core

Last Updated: September 18, 2020

enable cors aspnet core

Browser security prevents a web page located on a domain to make requests to a web page which is located on a different domain. This restriction is called the same-origin policy.


jQuery Interview Questions – Top 100 Answers

Last Updated: February 20, 2020

jquery interview questions

The below jQuery Interview Questions with answers will help you to succeed every job interview. These interview questions are divided into 4 parts: (more…)

How to use Select2 jQuery plugin in ASP.NET CORE

Last Updated: September 19, 2020

select2 jquery aspnet core

Select2 is a jQuery based replacement for HTML Select Control. It supports searching, remote data sets, and infinite scrolling of results. It is available in GitHub and is free to use for everyone.


How to Consume ASP.NET Core API in jQuery

Last Updated: August 1, 2020

consuming aspnet core api in jquery

In my ASP.NET Core tutorial on Web API I created a REST API which does the CRUD operations on Reservation objects. Now in this tutorial I will Consume that API in jQuery.

Make sure to keep the API project in running state so that the API can be consumed by jQuery.

So let’s start with any delay.

This tutorial is a part of the ASP.NET Core API series which contains 4 tutorials to master this area:


Ads - Alex does SEO
Hosting Recommendation WPOneapp.
For businesses looking for a products and services Quotehunt helps you connect with leading suppliers.
Effective yet Cheap SEO allow you to free up your budget for paid marketing strategies.