Angular Archives - Code Maze https://code-maze.com/category/angular/ Learn. Code. Succeed. Wed, 31 Jan 2024 14:25:07 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.5 https://code-maze.com/wp-content/uploads/2020/01/Code-Maze-Favicon.png Angular Archives - Code Maze https://code-maze.com/category/angular/ 32 32 Two Factor Authentication with Web API and Angular using Google Authenticator https://code-maze.com/dotnet-angular-two-factor-authentication-with-using-google-authenticator/ https://code-maze.com/dotnet-angular-two-factor-authentication-with-using-google-authenticator/#comments Thu, 02 Feb 2023 07:00:37 +0000 https://code-maze.com/?p=80774 In this article, we will enable Two-Factor Authentication with Web API and Angular using Google Authenticator. We can use the Google Authenticator app to get a One-Time Password (OTP) value to enter during login. The initial steps of this article have been taken from the Angular Security with ASP.NET Core Identity series. You may refer […]

The post Two Factor Authentication with Web API and Angular using Google Authenticator appeared first on Code Maze.

]]>
https://code-maze.com/dotnet-angular-two-factor-authentication-with-using-google-authenticator/feed/ 4
Cookie Authentication With ASP.NET Core and Angular https://code-maze.com/cookie-authentication-aspnetcore-angular/ https://code-maze.com/cookie-authentication-aspnetcore-angular/#comments Mon, 18 Jul 2022 06:41:53 +0000 https://drafts.code-maze.com/?p=72457 In this article, we’re going to learn about cookie authentication with ASP.NET Core and Angular. We’ll create an ASP.NET Core Web API with sign-in, sign-out, and a protected user endpoint for demonstration. In Angular, we’ll access the protected user endpoint after successful authentication based on cookies. Let’s begin. What Are HTTP Cookies A server transmits […]

The post Cookie Authentication With ASP.NET Core and Angular appeared first on Code Maze.

]]>
https://code-maze.com/cookie-authentication-aspnetcore-angular/feed/ 9
Google Charts With Angular and ASP.NET Core Web API https://code-maze.com/google-charts-angular-aspnetcore-webapi/ https://code-maze.com/google-charts-angular-aspnetcore-webapi/#comments Sat, 30 Apr 2022 09:12:22 +0000 https://drafts.code-maze.com/?p=69194 In this article, we are going to look at using charts with Angular and ASP.NET Core Web API to visualize the relationship between data. We’ll use Google Charts to create the visualization. It is a Javascript-based library used for data charting and visualization. We can create various types of charts using user-supplied data with the […]

The post Google Charts With Angular and ASP.NET Core Web API appeared first on Code Maze.

]]>
https://code-maze.com/google-charts-angular-aspnetcore-webapi/feed/ 2
Download Files with ASP.NET Core Web API and Angular https://code-maze.com/download-files-dot-net-core-angular/ https://code-maze.com/download-files-dot-net-core-angular/#comments Mon, 18 Jan 2021 07:00:39 +0000 https://code-maze.com/?p=56769 After successfully learning how to upload files, the logical next step is to learn how to download them as well. That way we can have the complete picture and can apply what we’ve learned in various projects and working with different types of files. Now, let’s get on with the implementation. Refactoring the Current Implementation […]

The post Download Files with ASP.NET Core Web API and Angular appeared first on Code Maze.

]]>
https://code-maze.com/download-files-dot-net-core-angular/feed/ 7
How to Sign in with Google Using Angular and ASP.NET Core Web API https://code-maze.com/how-to-sign-in-with-google-angular-aspnet-webapi/ https://code-maze.com/how-to-sign-in-with-google-angular-aspnet-webapi/#comments Mon, 04 Jan 2021 07:00:45 +0000 https://code-maze.com/?p=54769 Up until now, we’ve been working with our local authentication and authorization functionalities. Everything works great with our setup and we provide different security functionalities for our users (login, logout, email verification, lockout, etc.). But, what if our users want to use their social profiles to log in with our application? Well, in this article, […]

The post How to Sign in with Google Using Angular and ASP.NET Core Web API appeared first on Code Maze.

]]>
https://code-maze.com/how-to-sign-in-with-google-angular-aspnet-webapi/feed/ 29
2-Step Verification with Angular and ASP.NET Core Identity https://code-maze.com/2-step-verification-with-angular-and-aspnet-identity/ https://code-maze.com/2-step-verification-with-angular-and-aspnet-identity/#comments Wed, 30 Dec 2020 07:00:00 +0000 https://code-maze.com/?p=54625 With the 2-Step Verification process, a user after entering valid credentials needs to enter an additional OTP (One-Time-Password, received via email or SMS) for the authentication to be successful. We have already learned how to implement this feature with the MVC client application. But in this article, we are going to learn how to implement […]

The post 2-Step Verification with Angular and ASP.NET Core Identity appeared first on Code Maze.

]]>
https://code-maze.com/2-step-verification-with-angular-and-aspnet-identity/feed/ 9
User Lockout Functionality with Angular and ASP.NET Core Identity https://code-maze.com/user-lockout-functionality-with-angular-and-asp-net-core-identity/ https://code-maze.com/user-lockout-functionality-with-angular-and-asp-net-core-identity/#comments Mon, 28 Dec 2020 07:00:02 +0000 https://code-maze.com/?p=54582 If a user enters the wrong credentials several times, this could mean that the user forgot the password or someone is trying to hack the account. In this article, we are going to learn how to implement user lockout functionality with Angular and ASP.NET Core Identity to increase the security of our application and prevent […]

The post User Lockout Functionality with Angular and ASP.NET Core Identity appeared first on Code Maze.

]]>
https://code-maze.com/user-lockout-functionality-with-angular-and-asp-net-core-identity/feed/ 2
Angular Email Confirmation with ASP.NET Core Identity https://code-maze.com/angular-email-confirmation-aspnet-identity/ https://code-maze.com/angular-email-confirmation-aspnet-identity/#comments Wed, 23 Dec 2020 07:00:12 +0000 https://code-maze.com/?p=54569 One important part of the user registration functionality is an email confirmation. With it, we allow our users to confirm their emails and prove that they are the owners of the provided email accounts. That said, in this article, we are going to learn how to implement Angular Email Confirmation functionality with ASP.NET Core Identity. […]

The post Angular Email Confirmation with ASP.NET Core Identity appeared first on Code Maze.

]]>
https://code-maze.com/angular-email-confirmation-aspnet-identity/feed/ 20
How to Implement Angular Password Reset Functionality with ASP.NET Core Identity https://code-maze.com/angular-password-reset-functionality-with-aspnet-identity/ https://code-maze.com/angular-password-reset-functionality-with-aspnet-identity/#comments Mon, 21 Dec 2020 07:00:09 +0000 https://code-maze.com/?p=54432 It is always a good practice to provide the possibility for the users to reset their password if they want to change it or they forgot it. That said, in this article, we are going to learn how to implement Angular password reset functionality with ASP.NET Core Identity. Because we have an entire series related […]

The post How to Implement Angular Password Reset Functionality with ASP.NET Core Identity appeared first on Code Maze.

]]>
https://code-maze.com/angular-password-reset-functionality-with-aspnet-identity/feed/ 14
Angular Role-Based Authorization with ASP.NET Core Identity https://code-maze.com/angular-role-based-authorization-with-aspnet-identity/ https://code-maze.com/angular-role-based-authorization-with-aspnet-identity/#comments Wed, 16 Dec 2020 07:00:34 +0000 https://code-maze.com/?p=54412 Having roles is always a good practice to increase security for our applications and protect some resources from even logged-in users. That said, in this article, we are going to implement the Angular Role-Based authorization and learn how to work with roles on both Angular and ASP.NET Core side. Additionally, we are going to make […]

The post Angular Role-Based Authorization with ASP.NET Core Identity appeared first on Code Maze.

]]>
https://code-maze.com/angular-role-based-authorization-with-aspnet-identity/feed/ 65