EN / USD
34 Items
 Home
Blog
Pros and Cons of using Windows VPS for your Projects
Pros and Cons of Using Windows VPS for Your Projects 1
The choice of operating system for a virtual private server depends on the needs of a particular company. But if you are looking for a reliable, efficient, and flexible solution to host your web projects, in most cases it will be Windows VPS. In this article, we'll analyze why many people prefer Microsoft solutions, and what benefits and limitations you can expect if you decide to buy a Windows VPS . What is a Windows VPS and what it is used for? Windows VPS is a virtual private server that uses Windows Server as the underlying operating system. Windows VPS functions effectively as a cloud server with elastic scalability. This means that you get a dedicated server resource that you can use as you see fit, and you can easily add resources as ...
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
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
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
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
HTML Helpers in ASP.NET MVC
HTML Helpers in ASP.NET MVC, helpers in asp.net mvc, html helpers in asp, helpers in mvc
Hello friends, I hope you all are doing great. In today's tutorial, we are gonna have a look at HTML Helpers in ASP.NET MVC. It's our 12th tutorial in ASP.NET MVC series. I know every tutorial is a new concept for you to understand but we have to cover all of them before starting working on our project in ASP.NET MVC. If you have worked on ASP.NET web forms or C# / Visual Basic projects then you must be aware of toolboxes, from where we can drag and drop our visual components like textbox, editbox, button etc. But in ASP.NET MVC applications, we don't have this luxury of drag and drop. Instead we have HTML Helper classes which are used to created these html components in ASP.NET MVC. So, let's have a look at How to use HTML Helpers in ASP.NET MVC: ...
Blog
Create a New Controller in ASP.NET MVC
Create a New Controller in ASP.NET MVC, controller in asp.net mvc, add controller in mvc, new controllers in asp, asp controllers add
Hello friends, I hope you all are doing great. In today's tutorial, we are gonna Create a New Controller in ASP.NET MVC. It's 6th tutorial in our ASP.Net MVC series. We have already had a look at basic Introduction to Controllers in ASP.NET MVC and they are used to communicate between Views & Models. So, now we are gonna have a look at How to Create a New Controller in ASP.NET MVC. It's a very quick tutorial, as there's not much to do with Controller rite now, we will just create one. So, let's get started with it: Create a New Controller in ASP.NET MVC In order to Create a New Controller in ASP.NET MVC, you have to right click on the Controllers folder in Solution Explorer. Now click on the Add and then click on Controllers as shown in ...
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
How to Increase EF Core Performance for Saving Multiple Entities?
How to Increase EF Core Performance for Saving Multiple Entities, savechanges vs bulksavechanges, bulksavechanges method, bulksavechanges ef core, ef core multiple data, ef multiple entities
Hello friends, I hope you all are doing great. In today's tutorial, we will have a look at How to Increase EF Core Performance for Saving Multiple Entities? EF Core works well for simple CRUD operations but for saving multiple entities EF Core provides poor performance. So, today we will use a third-party EF Core extension named "Z.EntityFramework.Extensions.EFCore", designed by ZZZ Projects, which will increase the EF Core performance significantly. I will be using a BulkSaveChanges Method of this library which is specifically designed for saving bulk data in an SQL database. ZZZ Projects is a trusted company and has designed numerous .NET libraries, a few having downloads in millions. So, you can completely trust this extension library. Here' ...