Programming

How to Send Emails ASP.NET Core 5 Using SMTP

How to Send Emails ASP.NET Core 5 Using SMTP

In this tutorial, we will learn How to Send Emails ASP.NET core 5 Web API Application using SMTP. If you want to set up a new ASP.NET Core Multi-tier Project click on this link and if want to configure Identity click on this. What is SMTP: SMTP is a "Simple mail transfer protocol" that allows applications to send emails. Like Gmail, office365, live, etc. Tools: Visual Studio Community 2019 Windows OS Create A Email Template Class that will hold the data that we want to send our user. public class EmailTemplate { public string From { get; set; } public…
Read More
Login and Registration Using Identity In ASP.NET Core

Login and Registration Using Identity In ASP.NET Core

In one of the previous tutorials, we have created our project and configured Identity using Entity Framework Core. Now we will create RESTful APIs to perform Login and Registration Using Identity In ASP.NET Core. If you have not implemented Identity Read my previous tutorial to implement it by clicking on the above-attached link. It seems difficult but believe me it’s pretty simple.  Just follow my instructions and practice the code with me. First of all, we have to write services to perform signup/registration, login/sign in, and logout then we will call these services from our controller. I have added a…
Read More