How to implement login in angular. Read more!!! In this example, we will learn how to perform a Login operation using JWT Token generated using DOT NET CORE WEB API. Step 1) To perform the operation generating the JWT token please Click Here. Step 2) Create Class (login.model.ts) Step 3) Open your Angular project Login … Read more
How to generate tokens using Dotnet core, for an angular application. But the same code is used in your other application like if you are making API CALL from React or from other technology. Code in Visual Studio API Project. Step 1 ) Create a Security class in VS. Step 2) Install Microsoft.AspNetCore.Authentication.JwtBearer using Nuget … Read more
Step 1) Create a Common folder in your application. Step 2) In your module.ts file inject the class. Step 3) Open your component.ts file. Inject the Config file in your component constructor. Step 4) In the same component write the code below, here in my code it is ADD METHOD.
Auth Guard in Angular, Read below steps to get more details !!!! Step 1) Create a Service file in your angular project. File Name:- Security.token.ts Step 2) Make sure that you have specified your MyAuth Guard in your Module.ts file. Step 3) Open your Routing file and on which page you want to apply the … Read more
Upload large size videos using the Syncfusion File upload controller? The below example is specifically for MVC DOT NET CORE. (Video size 3GB) You need to take 4 steps while you are interested to perform the task. 1) First Create web.config file in your MVC .NET Core Project. 2) Open your startup.cs file and in … Read more
What is Environment Variable in Dotnet Core? Developers uses various connection string while working in the developing field. For example, Localhost Connection String Test Server Connection String Production Server Connection String As professionals, we have to set up the connection string once and, based on our environment (Like Production OR Test OR Local), use them … Read more