Amin Seifoori

List of published courses

Available Courses
Select your sort preferences
ASP.Net Core MVC

Sign-in and Sign-out process in ASP.NET Core MVC – Session 61

Signing in and Signing out of an ASP.NET Core MVC web app can seem like a daunting task, but it doesn’t have to be! This blog post is here to make the process easier by walking through step-by-step how to implement this feature. Through this post, you’ll not only learn the necessary coding techniques but also understand more about the Sign-in and Sign-out process overall. By the end, you should have all of the knowledge and confidence to implement Sign-in and Sign-out into your web apps!

Create-User-ASPNET-Core-Session 60
ASP.Net Core MVC

Create User in ASP.NET Core – Session 60

During this session, we are going to create a user in ASP.NET Core with Identity Entity Framework Core. For this purpose, we use UserManager Class from Microsoft.AspNetCore.Identity. In Session 59, we added Microsoft.AspNetCore.Identity.EntityFrameworkCore to our project and added the Identity entities to our project. Now we start the authentication process by creating a user that can log in (authenticate) to our web app.

ASP.Net Core MVC

Cross-Site Attacks in ASP.NET Core – Session 58

During this session, we explain the Cross-Site attacks or XSRF/CSRF attacks and will show you how to manage Cross-Site attacks in ASP.NET Core. This type of attack is also known as XSRF/CSRF attacks. Cross-Site or XSRF/CSRF is an attack against web-hosted apps in which a malicious web app can affect how a client browser interacts with a web app that relies on that browser. As various forms of authentication tokens are sent by web browsers automatically with each request to a website, these attacks are made possible. This type of exploit makes use of the user’s previously authenticated session, it is also known as a one-click attack or session riding.

Error and Exception Handling - Session57
ASP.Net Core MVC

Exception Handling in ASP.NET Core – Session 57

During this session, we discuss Exception Handling in ASP.NET Core in detail, also we will show you how to implement the changes on your web app to display your customized message when some exceptions happen. In session 56 we discussed exception handling a little bit, but in this session, we talk about it in depth.

Multi Record Deleting & On Delete Action - Session56
ASP.Net Core MVC

Delete Multi Records in ASP.NET Core – Session 56

In this session, we are going to talk about how we can delete multi records in ASP.NET Core and implement this feature in this tutorial web app. During session 48 and session 50 we explain the Delete operation for a single record. Now, we will show you the way that you can delete multi-selected records in a single action.

Sort List ASPNET Core MVC - Session55
ASP.Net Core MVC

Sort in ASP.NET Core -Session 55

During this session, we talk about Sort in ASP.NET Core and implementing this feature on the Web App that we developed until this session for this tutorial. Generally, we can sort a list in Ascending or Descending format. Thus, in this session, we implement both formats to cover more detail about this topic. Also in this session, we use switch case structure to avoid using several If else structures.

Paging in ASPNET Core - Session54
ASP.Net Core MVC

Paging in ASP.NET Core MVC – Session 54

During this session, we are going to talk about Paging in ASP.NET Core MVC and implement pagination on the list. If we have a list of records that exceed a limited number of records, we are facing some difficulties when we try to display the list. In this situation, loading time is increased, and browsing the page needs long scrolling depending on the number of the records. Moreover, the user does not have any estimation regarding the number of records. To solve the mentioned issues, we can implement paging on the available lists.

Join Entities & Search in EF Core - Session 53-min
ASP.Net Core MVC

Join Entities in EF Core & Search in EF Core – Session 53

During this session, we explain Join Entities in EF Core and talk about Search in EF Core and work with lambda expressions (LINQ) for this purpose. Also, we implement these features on the ASP.NET Core Web App that we developed until now. Based on the added entities to the Web App that we developed for this tutorial. Now we can create a proper join view with them to deliver a better user experience to the end-user. Also, we will add the Search feature to the Web App and show you the way that you can use LINQ.

upload file and delete file in ASP.NET Core MVC - Session 52
ASP.Net Core MVC

Upload File and Delete File in ASP.NET Core – Session 52

During this session, we will discuss Upload File in ASP.NET Core and Delete File in ASP.NET Core and implement these features on our Web App. Also, we use the GUID class to assign a unique file name for the uploaded file. Then, we are going to store the file name inside the respective field for further use.

ASP.Net Core MVC

Differences between AddSingleton, AddTransient & AddScoped – Session 51

In this session of ASP.NET Core MVC Tutorial, we are going to distinguish differences between AddSingleton, AddTransient, and AddScoped in practice, Also we will implement Form Validation for the DropDownList element. We already mentioned the differences between these methods in theory during Session 16. But now, we are going to show you the distinction between them in practice. Moreover, we will present they way that you can implement validation for the DropDownLists.

CRUD Operations in ASP.NET Core MVC with EF Core - Session50
ASP.Net Core MVC

CRUD Operations in Controller and View – Session 50

During this session, we are focusing on the implementation of CRUD operations in Controller and View in our ASP.NET Core MVC Web App. As I have already mentioned in session 48 CRUD stands for Create, Read, Update and Delete are four basic operations that should be implemented in each persistent storage application. Also during that session, we developed our CRUD repositories for both static and SQL Server data storage. Hence, now we are developing these operations on the Controllers and Views of our Web App.