EN / USD
34 Items
 Home
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 ...
Blog
Create First Web Application in ASP.NET Core
Create First Web Application in ASP.NET Core, Create First Web Application in ASP NET Core, first project in asp core, first project in .net, hello world in asp.net core
Hello friends, I hope you all are having fun. In today's tutorial, we will create our First Web Application in ASP.NET Core. It's our 2nd tutorial in ASP.NET Core series and in our previous tutorial, we have had a detailed Introduction to ASP.NET Core. We have also installed Microsoft Visual Studio Community Edition 2019 in our previous tutorial and today we will create our first web application in it. After creating this web application, we will also have a look at its files and will understand the contents. So, let's create our First Web Application in ASP.NET Core: Creating Web Application in ASP.NET Core First of all, start your Visual Studio which we have installed in previous tutorial. A pop up window will open up, where you can open yo ...
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
URL Routing in ASP.NET MVC
URL Routing in ASP.NET MVC, url routing in asp, routing in mvc, url routing in asp.net, routing in asp.net
Hello friends, I hope you all are doing great. In today's tutorial, we will have a look at URL Routing in ASP.NET MVC. It's the 8th tutorial in this ASP.NET MVC series. Today's tutorial is on a new concept in asp.net and it's essential to understand URL routing before going any further. URL Routing is actually a part of core ASP.NET but MVC applications also use it. URL Routing is implemented by System.Web.Routing and ASP.NET MVC uses System.Web.Routing. So, let's have a look at what's URL Routing in ASP.NET MVC: URL Routing in ASP.NET MVC URL Routing is used for directing the HTTP request (generated by the user) to the respective controller in ASP.NET MVC. Whenever a user types some url in the browser and hit enter then an HTTP request is ge ...
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
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
Setup your First Project in ASP.NET MVC
ASP.NET MVC 1 Setup your First Project, setup first project in asp, asp introduction, asp project basics
Hello friends, I hope you all are doing great. In today's tutorial, I am going to start this new series on ASP.NET MVC Framework. I am gonna start from basics and will slowly move towards professional projects. I will share all the codes during this series and if you got into any trouble then ask in comments and I will help you out. One of our Team Member has already designed videos on ASP.NET MVC and I will keep on embedding the respective videos throughout this tutorial series. In our first tutorial, we are gonna have a look at How to Setup your First Project in ASP.NET MVC Framework. So, let's get started with it: Setup your First Project I will use Microsoft Visual Studio 2015 and I hope that you have already installed it. If you are usin ...
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
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
Create a New View in ASP.NET MVC
Create a New View in ASP.NET MVC, view in asp.net mvc, view in asp, view in mvc
Hello friends, I hope you all are doing great. In today's tutorial, we are gonna have a look at How to Create a New View in ASP.NET MVC. It's 7th tutorial in ASP.NET MVC series and I am hoping you are learning from it. If you have any suggestions, then ask in comments and we will help you out. In our previous tutorial, we have seen How to Create a New Controller in ASP.NET MVC and we have also created the New Model in ASP.NET MVC , so now we are only left with View which we are gonna create today. Both Controller and Model comes under back-end / server side programming while view comes under front-end / client side programming. Here we are gonna create a View for the user to interact. So, let's get started with How to Create a New View in ASP.NET ...