Articles and information about the ASP.NET MVC Pattern. Model View Controller (MVC) is a design pattern built on the Microsoft .NET Framework, whose architecture creates a clear code separation between the UI, data, and application logic. You can learn from the latest MVC articles on building Web apps with ASP.NET Core.

Remove Hashtag from a URL: A User-Friendly ASP.NET MVC Solution

This article provides a brief explanation and example of how to remove a hashtag (#) from a URL while creating a user-friendly one without the hashtag.

C# Programming ASP.NET Version: 6.0 Tutorial Articles

Redirect All Non-WWW Requests to WWW in ASP.NET Core 6 MVC

Redirect to WWW in ASP.NET Core 6 MVC. This article will show you how to redirect all non-www requests to www in ASP.NET Core 6 MVC.

ASP.NET Core ASP.NET Version: 6.0 Tutorial Articles

Output Caching in ASP.NET Core 6 MVC

How to perform output caching when it is not available in ASP.NET Core 6. There is a middleware workaround so that you can use output caching in your ASP.NET Core 6.0 MVC web applications.

ASP.NET Core ASP.NET Version: 6.0 Tutorial Articles

Using SQL Server Stored Procedures and ASP.NET Core 6 MVC

ASP.NET Core and MVC provide an easy way to use store procedures. Here is one straightforward way. Create a LINQ Query based on an interpolated string representing the stored procedure query.

Microsoft SQL Server ASP.NET Version: 6.0 Tutorial Articles

Rel=Canonical: An Elegant Approach To Using the Canonical Tags in Razor Pages and MVC

Rel=Canonical: An Elegant Approach To Using the Canonical Tags in Razor Pages and MVC. How ASP.NET Core MVC is structured provides web developers an elegant way to set canonical tags in Razor Pages.

HTML ASP.NET Version: 6.0 General Information

What is TempData is ASP.NET MVC?

What is TempData is ASP.NET MVC? TempData is a storage mechanism provided by ASP.NET that is used to send data from the controller to the view or the view to the controller.

MVC ASP.NET Version: 6.0 General Information

Automatic Model Binding in Razor Pages Using ASP.NET Core MVC

How can we do the automatic model binding in Razor pages? When the value of an Input Tag Helper's 'for' attribute matches the name of the property in the associated model, binding automatically occurs. Razor Pages and Tag Helpers are very powerful. 

Razor ASP.NET Version: 6.0 Tutorial Articles

What are Razor Pages in ASP.NET Core 6 MVC?

Razor Pages in the ASP.NET Core 6 MVC is a web application programming model that simplifies the web application programming and development process by incorporating technology that would otherwise need to be coded separately in controllers or views.

Razor ASP.NET Version: 6.0 General Information

Implement reCAPTCHA in ASP.NET Core MVC and Razor Pages

This tutorial will show you have to implement reCAPTCHA in ASP.NET Core MVC and Razor pages. Google reCAPTCHA is a free service that protects your website from abuse by creating challenges.

MVC ASP.NET Version: 6.0 Tutorial Articles

Tutorial: Create a Microsoft SQL Server Database and Connect it to an ASP.NET Core MVC Project

This tutorial will show you how to create a Microsoft SQL Server database and incorporate it into an ASP.NET Core MVC project. This tutorial will show you how to access the database file created by Visual Studio and Entity Framework and replace it with a database you create and manage.

Microsoft SQL Server ASP.NET Version: 6.0 Tutorial Articles

Tutorial: Create an ASP.NET Core MVC Website with Login and a Custom SQL Server Database

This tutorial will show you how to create an ASP.NET Core MVC Website with a Custom SQL Server Database in about 10 minutes. This ASP.NET Core MVC website-building tutorial will be used as a starting point for many of the tutorials on LearnASPNET.com.

MVC ASP.NET Version: 6.0 Tutorial Articles

What is Entity Framework in ASP.NET Core?

Entity Framework (EF) is an Object Relational Mapping (ORM, O/RM, and O/R mapping) framework. It converts data between a relational database like Microsoft SQL Server and an object-oriented programming language like ASP.NET C#.

MVC ASP.NET Version: 6.0 General Information

What is MVC or Model View Controller? ASP.NET Basics

What is MVC or Model View Controller? A Model View Controller is a software architectural design pattern that organizes your application’s code into three distinct elements.

MVC General Information

ASP.NET Core MVC Image Upload (File Upload) Tutorial

This simple tutorial will show you how to build a file or image upload interface using ASP.NET Core 6 MVC. The files will be uploaded to a folder that is unique to the user.

MVC ASP.NET Version: 6.0 Tutorial Articles

Creating Models and Database Tables Manually? A Few Things to Keep in Mind When Using Entity Framework

Here are a few things to keep in mind if you are a full-stack developer who likes to manually create database tables and ASP.NET MVC models while using Entity Framework to scaffold your controllers and CRUD views.

MVC ASP.NET Version: 6.0 General Information