EN / USD
2068 Items
 Home
Blog
Create a Registration Form in ASP.NET Core
Create a Registration Form in ASP.NET Core, Registration Form in ASP.NET Core, sign up form in asp.net core, asp.net core sign up form, sign up form asp.net core
Hello friends, I hope you all are doing great. In today's tutorial, we will have a look at How to Create a Registration Form in ASP.NET Core. It's our 13th tutorial in ASP.NET Core series. In our previous lecture, we have seen How to use Tag Helpers in ASP.NET Core and have also discussed link, image & environment Tag Helpers. Today, we will have a look at Form Tag Helpers and with their help we will design a simple Registration Form in ASP.NET Core. It will be a quite lengthy tutorial so if you got into any trouble, then ask in comments. So, let's create our Registration Form: Create a Registration Form in ASP.NET Core Let's create a new action method named Registration, in our Home Controller clas ...
Blog
HTML Tag Helpers in ASP.NET Core
HTML Tag Helpers in ASP.NET Core, HTML Tag Helpers in ASP NET Core, Tag Helpers in ASP.NET Core
Hello friends, I hope you all are doing great. In today's lecture, we will have a look at HTML Tag Helpers in ASP.NET Core. It's our 12th tutorial in ASP.NET Core series. If you have worked on ASP.NET then you must have been familiar with HTML Helpers. Tag Helpers are quite similar to HTML Helpers with slightest difference in its syntax. Tag Helpers are new in ASP.NET Core and were not part of ASP.NET. So, let's first understand what are Tag Helpers & why we need to use them and at the end we will also discuss few common tag helpers in detail. So, let's get started with HTML Tag Helpers in ASP.NET Core: HTML Tag Helpers in ASP.NET Core HTML Tag Helpers in ASP.NET Core are server side components and thus executed on the server to create HTML ...
Blog
How to include Bootstrap in ASP.NET Core
How to include Bootstrap in ASP.NET Core, How to include Bootstrap in ASP NET Core, bootsrap in asp.net core, bootsrap asp core
Hello friends, I hope you all are doing great. In today's tutorial, we will have a look at How to include & use Bootstrap in ASP.NET Core. It's our 12th tutorial in ASP.NET Core series. As it's ASP.NET Core tutorial so I am not going to explain bootstrap much. But you must have the basic idea of Bootstrap, its a client side package of CSS libraries, designed by twitter and these days you can't design a responsive site with Bootstrap as it follows symmetry and is too easy to use. So, let's get started with How to include Bootstrap in ASP.NET Core: How to include Bootstrap in ASP.NET Core There are many third party tools ( Bower, NPM, WebPack etc. ) available in Visual Studio for installing client side applications like Bootstrap, JavaScript, ...
Blog
URL Routing in ASP.NET Core
URL Routing in ASP.NET Core, URL Routing in ASP NET Core, URL Routing ASP.NET Core, asp net core URL Routing, attribute routing in asp core
Hello friends, I hope you all are doing great. In today's tutorial, we will have a look at URL Routing in ASP.NET Core. It's our 11th tutorial in ASP.NET Core series and it's an important but quite easy concept to understand. You must be wondering how we are routing rite now as we haven't added any routing codes yet. But if you remember, we have used MVC with default route middleware in our pipeline and this middleware automatically sets up this default URL routing for our web application.  So, let's understand how this URL Routing works in ASP.NET Core: URL Routing in ASP.NET Core URL Routing in ASP.NET Core is used to provide the controller's action method to the incoming HTTP request. In simple words, when a user enters an HTTP URL in its ...
Blog
Razor Layout Views in ASP.NET Core
Layout View in ASP.NET Core, Layout View in ASP NET Core, Layout View ASP.NET Core, Layout View in ASP Core
Hello friends, I hope you all are doing great. In today's tutorial, we will have a look at different Razor Layout Views in ASP.NET Core. It's our 10th tutorial in ASP.NET Core series. You must have noticed in websites that they have common sections, which remains the same throughout the website i.e. Header Section, Footer Section, Sidebar etc. In today's lecture, we will have a look at how to design these default layouts of a website. We have already discussed the MVC architecture in detail so now it's time to start building our site's layout or basic structure. Today we will just discuss different files available in ASP.NET Core for default layout designing. So, let's get started with Layout View in ASP.NET Core: Razor Layout View in ASP.NET Core ...
Blog
ViewModels in ASP.NET Core
ViewModels in ASP.NET Core,ViewModels ASP.NET Core, asp.net core ViewModels, ViewModels in ASP NET Core
Hello friends, I hope you all are doing great. In today's tutorial, we will have a look at How to Create ViewModels in ASP.NET Core. It's our 9th tutorial in ASP.Net Core series. We have already covered Controllers, Models & Views in our previous lectures and now it's time to understand this fourth pillar of MVC architecture. ViewModel is not an integral part of MVC architecture and can be ignored in simple projects but in complex applications, we have to use ViewModel as it adds flexibility in the project. So, let's have a look at ViewModels in ASP.NET Core: ViewModels in ASP.NET Core ViewModels in ASP.NET Core ( also called Data Transfer Objects [DTO] ) are used to send Models data from Controll ...
Blog
Views in ASP.NET Core MVC
Views in ASP.NET Core MVC, Views in ASP.NET Core, Views in ASP NET Core, view in asp core, view asp net core
Hello friends, I hope you all are doing great. In today's tutorial, we will have a look at How to Create Views in ASP.NET Core MVC. It's our 8th tutorial in ASP.NET Core series. In our 6th lecture, where we have set up MVC architecture, we have also created Controller & Model, but we haven't yet created any View to display this data properly. We have also seen Dependency Injection and have successfully injected Model Interface in our Home Controller.  So, now it's time to add a View in our project and communicate it with Controller & Model. So, let's get started with Views in ASP.NET Core MVC: Views in ASP.NET Core MVC View in ASP.NET Core ( File Extension: .cshtml ) is a simple HTTP template, which displays the Model data, provided by ...
Blog
How to setup MVC in ASP.NET Core
How to setup MVC in ASP.NET Core, MVC in asp net core, asp net core mvc, mvc asp.net core
Hello friends, I hope you all are doing great. In today's tutorial, we will have a look at How to setup MVC in ASP.NET Core. It's our 6th tutorial in ASP.NET Core series. So far, we have covered all the basic concepts in ASP.NET Core and are now ready to get our hands on MVC. If you remember, when we were creating this project in Introduction to ASP.NET Core, we have selected Empty Template as we want to build our application from scratch. But if you want, you can also select MVC template and all these files, which we are going to create, will automatically be created in it. So, let's see How to setup MVC in ASP.NET Core: How to setup MVC in ASP.NET Core ??? MVC in ASP.NET Core is an architectural design pattern, implemented by Microsoft.AspNet ...
Blog
Dependency Injection in ASP.NET Core
Dependency Injection in ASP.NET Core, Dependency Injection in ASP NET Core, Dependency Injection ASP.NET Core, ASP.NET Core Dependency Injection
Hello friends, I hope you all are doing great. In today's tutorial, we will have a look at Dependency Injection in ASP.NET Core. It's our 7th tutorial in ASP.NET Core series. In previous versions of ASP.NET, dependency injection was not its core element, although we could have achieved it using third party packages i.e. Ninject, StructureMap etc. As ASP.NET Core is built from scratch so it was made sure that Dependency Injection should become its essential part. In our previous lecture, we have created Controller & Model for our core project. Now there's a need to connect them together and that will be done by Dependency Injection. So, let's get started with Dependency Injection in ASP.NET Core: Dependency Injection in ASP.NET Core Dependen ...
Blog
Environment Variables in ASP.NET Core
Environment Variables in ASP.NET Core, Environment Variables in ASP NET Core, Environment Variables ASP.NET Core
Hello friends, I hope you all are doing great. In today's tutorial, we will have a look at How to use Environment Variables in ASP.NET Core. It's our 5th tutorial in ASP.NET Core series. In our Startup.cs file, you must have seen that we have an IF Condition at the start and this IF Condition has IsDevelopment in it. This condition is actually checking the environment of our web application. So, here we will first discuss them and then will see why we need them. So, let's get started: Environment Variables in ASP.NET Core ASP.NET Core has 3 builtin Environments, which decides the Run-time operating environment of the web application, which are: Development. Staging. Production. In order to set this Environment Variable, we need to ...