EN / USD
34 Items
 Home
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
Views in ASP.NET MVC
Views in ASP.NET MVC, views in asp, views in mvc, views in asp.net , views in asp net
Hello friends, I hope you all are doing great. In today's tutorial, we are gonna have a look at What are Views in ASP.NET MVC. It's our third tutorial in ASP .NET MVC series and in our first tutorial, we have seen How to Setup Your First Project in ASP.NET MVC and in our second tutorial, we have seen What is Model in ASP.NET MVC and I have told you about Views as well in previous tutorial. So, now we are gonna have a look at it in detail: Views in ASP.NET MVC In MVC Framework, we don't have pages or path to some html file as in php. Instead, We have to use Views in ASP.NET MVC for front end designing. We can use Html, Css, Javascript, Jquery or any other front end language in Views. There are two t ...
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
DbContext Class in Entity Framework Core
DbContext Class in Entity Framework Core, DbContext in Entity Framework Core, dbcontext in ef core, DbContext Class in asp.net core
Hello friends, I hope you all are doing great. In today's tutorial, we will have a look at what is DbContext Class in Entity Framework Core. It's our 17th tutorial in ASP.NET Core series. In our previous tutorial, we have discussed Entity Framework Core in detail and have also installed it in our web application. So, now we need understand how to work with Entity Framework Core and for that we have to look at its classes & functions. So, today we will discuss one of its class named DBContext in detail: DbContext Class in Entity Framework Core EF Core contains an important class named DbContext, which is mainly responsible for communication between Database & software objects. We communicate with our database using this DbContext class ...
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
How to handle Static Files in ASP.NET Core
How to handle Static Files in ASP.NET Core, static files in asp.net core, asp.net core static files
Hello friends, I hope you all are having fun. In today's tutorial, we are going to have a look at How to handle Static Files in ASP.NET Core. It's our 4th tutorial in ASP.NET Core series. If you inspect your localhost page displaying Hello World, then you will see that there isn't any HTML code in it. Instead, it's just displaying Hello World in text format. In today's tutorial, we will have a look at How to add HTML, JavaScript, CSS or any other static file in ASP.NET Core. In our previous tutorial, we have discussed Middleware in ASP.NET Core, so if you haven't studied that then have a look at it first, as we are gonna use some new middleware components today. So, let's get started: How to handle Static Files in ASP.NET Core By default, ASP.N ...
Blog
Introduction to ASP.NET Core
Introduction to ASP NET Core, asp.net core, asp core, basics of asp.net core
Hello everyone, I hope you all are doing great. Today, I am going to start this new series on ASP.NET Core and it's our first tutorial in this series. I will start from basics and will slowly move towards complex concepts. So, if you haven't worked on ASP.NET then you don't need to worry about that but you must have some basic knowledge of C# and object oriented programming. I will use Visual Studio 2019 for these tutorials, it's community version is free to use and I will use C# language for developing ASP.NET Core web applications. So, let's first have a look at what is ASP.NET Core: Introduction to ASP.NET Core ASP.NET Core (originally deemed as ASP.NET xNext & was going to named as ASP.NET 5) is ...
Blog
Introduction to Entity Framework Core
Introduction to Entity Framework Core, Entity Framework Core, EF Core in asp.net core, ef core
Hello friends, I hope you all are doing great. In today's tutorial, we will have a look at detailed Introduction to Entity Framework Core. It's our 16th tutorial in ASP.NET Core series. So far, we have covered the the MVC architecture and few concepts related to object oriented programming and now we are ready to get our hands on Databases. So, today we will cover data handling in detail, which is done by Entity Framework Core in .NET Core applications. So, let's first understand this Entity Framework Core: Introduction to Entity Framework Core Entity Framework Core ( normally called EF Core ), designed by Microsoft, is an open source, flexible, extensible, lightweight and cross-platform framework, whic ...
Blog
Filters in ASP.NET MVC
Filters in ASP.NET MVC, filters in asp, filters in asp.net, filters in mvc, outputcache in asp.net
Hello friends, I hope you all are doing great. In today's tutorial, we are gonna have a look at Filters in ASP.NET MVC. It's our 9th tutorial in ASP.NET MVC series. It's also a new concept which is essential to discuss as it's used almost in every form submission. We have already understand Controllers in ASP.NET MVC and we know that Controllers have action methods in it which are directly assigned to respective Views, which are then displayed to the user. But in some cases, we have to place some checks (called Filters) before or after this action method called. So, let's have a look at these Filters in ASP.NET MVC in detail: Filters in ASP.NET MVC Filters are attributes which we can use before or after action method called in a Controller. C ...
Blog
What is a Model in ASP.NET MVC
What is a Model in ASP.NET MVC, model in asp, model in mvc, model in asp.net, model in asp.net mvc
Hello friends, I hope you all are doing great. Today, I am going to share the second tutorial in ASP.NET MVC series and I will explain the concept of Model in ASP.NET MVC. In our previous tutorial, we have seen How to Setup Your First Project in ASP.NET MVC. So, before developing our web app, we first have to discuss some concepts in MVC Framework and Model is one of them, which we will cover in today's tutorial. So, let's get started with it: What is a Model in ASP.NET MVC ? In, ASP.NET MVC Framework structure, we have to understand 3 very simple blocks, which are: Models Controllers Views Model connects our web application with our SQL Database, it takes commands from the Controller and then get or set values in the Database an ...