ASP.Net Core

List of published courses

Available Courses
Select your sort preferences
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.

Seed Data in Entity Framework Core
ASP.Net Core MVC

Seed Data in Entity Framework Core – Session 49

lso we will show you how you can remove a migration that was already synced with the database. During this session, we implement seeding data with two methods. First, we seed data inside the DB context, and then we use the ModelBuilder extension.

CRUD Repository & .NET Framework Upgrade - Session48
ASP.Net Core MVC

CRUD Operations in .NET Core & .NET Framework Upgrade – Session 48

In this session, we are going to implement CRUD operations in ASP.NET Core MVC Web app, also we upgrade our web app .NET framework to use the latest released version. During this session, we complete the Cost model Interface and repository to handle CRUD operations. CRUD stands for Create, Read, Update and Delete operations that are four basic operations of storage which could be memory or database. Thus, for creating, reading, updating and deleting data from storage we need a repository that handles all the mentioned verbs.

EF Core Relationship
ASP.Net Core MVC

Entity Framework Core Relationships – Session 47

During this session, we are going to talk about the relationship between entities in Entity Framework Core, and demonstrate different types of relationships. Generally, there are three types of relationships which are one-to-one/zero, one-to-many, and many-to-many that we discuss all of them in this session.

SQL Server & MySQL EF Core - EF Core Migration - Session 46
ASP.Net Core MVC

SQL Server & MySQL with EF Core & EF Core Migration – Session 46

During this session of ASP.NET Core Tutorial, we discuss connecting SQL Server with EF Core and MySQL with EF Core, also we will talk about EF Core Migration. In Session 45 we make our Web App ready to work with Entity Framework Core. Moreover, we installed the EF Core required NuGet Packages, and created the DBContext class. In this session, we add DbSet to the DBContext and connect EF Core with SQL Server and MySQL database engine.

Entity Framework Core - Session 45
ASP.Net Core MVC

Entity Framework Core – Session 45

In this session of the ASP.NET Core tutorial, we introduce Entity Framework Core (EF Core) and make our Web App ready to work with EF Core by installing required NuGet Packages. EF Core is a version of Microsoft Entity Framework that is lightweight, Open Source, Cross-functional and extensible. This data access framework is an Object Relational Mapper (ORM) that helps developers to work with DB through .NET objects.

ASP.Net Core MVC

Creating Form & Form Validation with Tag Helper – Session 44

In this session of ASP.NET Core tutorial we are going to create a form with Tag Helpers, then we are going to validate the create form with Tag Helpers. During previous session we discussed about creating form with Html Helpers, also we introduced several type of Data Annotation for model validation. Moreover, in Session 38 we already discussed about form validation with detail. During this session, we will show you how to create form and validate it with Tag Helpers.

Environment Tag Helper & Dynamic Library Loading - Session43-min
ASP.Net Core MVC

Environment Tag Helper & Loading Libraries from CDN with Callback – Session 43

During this session, we introduce Environment Tag Helper and will show you how we can load libraries from their CDN with fallback capacity in ASP.NET. IN Session 6, we discussed about environment in ASP.NET in detail and introduced different environments. In this session we call the minified and none minified libraries dynamically in different environments with the mentioned Tag Helper.

Image Tag Helper & Responsive Menu - Session42
ASP.Net Core MVC

Image Tag Helper & Responsive Menu – Session 42

In this session of ASP.NET Core / 5.0 tutorial we introduce Image Tag Helper and talk about its benefits, also we show you how you can create a Responsive Menu for your web application. In session 37, we use img Html tag in the Detail View, also we created a custom Html Helper that render img tag. In this session we review Tag Helper for img Html tag and show you the way that you can use it.

Tag Helpers - Anchor Element - Session 41-min
ASP.Net Core MVC

Tag Helper in Anchor Element – Session 41

In this session of ASP.NET 5.0 / Core we introduce Tag Helpers, also we show you the way that you can use Tag Helpers in Anchor element . Tag Helper are server side component that process in server side and render Html tags. Their functionality are same as Html Helpers. Moreover the most part, Razor markup using Tag Helpers looks like standard HTML and this feature make the job easier for developers. There is several built-in Tag Helper in ASP.NET that we can use in developing our Views and we introduce some of them in this session and upcoming sessions. Furthermore, for using Tag Helpers in Views we should add it there that we discussed about it earlier in Session 23.

ASP.Net Core MVC

RegularExpression Attribute & Compare Attribute – Session 40

In this session of ASP.NET 5.0 / Core tutorial we will talk about RegularExpression Attribute and Compare Attribute as well. If you are not familiar with Regular Expression in C#, you can find more about it in Document part of Microsoft website which is accessible form here. Also, you can find common and useful regular expression patterns in Regular Expression Library website and use them in your code. Moreover, you can test your selected regular expression to check whether your requirement is meet or not through Rubular web tool.