Data Validation and Annotation in .NET MVC

Data Validation in .NET MVC

Data Validation is one of the most important parts of any application. .NET MVC provides special classes to apply validation and data annotation. In this article, we will learn how to apply Data Validation and Annotation in .NET MVC. Previous Chapter: .NET MVC with SQL Server Database What Are Data Annotations? Data annotations are a … Read more

How to Add Serial Numbers to a List of Records in MVC

MVC View Page Logic

Adding serial numbers to a list of records in an MVC application is a common requirement. It helps users to easily reference and identify records. In this article, we will walk you through how to achieve this in an ASP.NET MVC application. Before we proceed further If you want to go through with the MVC … Read more

.NET MVC with SQL Server Database

.NET MVC Tutorial

In this article, we will learn .NET MVC with SQL Server database and entity framework. Previous Chapter: Routing in MVC The .NET MVC (Model-View-Controller) framework is a popular framework for building web applications. It promotes a clean separation of concerns by dividing the application into three main components: When working with an SQL Server database … Read more

Introduction to Routing in .NET MVC

.NET MVC Tutorial

Routing is the backbone of the .NET MVC web application, determining how URLs map to controller actions. In this article, we will explore the different routing approaches available, from default routing to more advanced attribute-based routing, equipping you with the knowledge to create intuitive and flexible URL structures. Previous Chapter: Temp Data, View Bag, and … Read more

Temp Data, View Bag, and View Data in .NET MVC

.NET MVC Tutorial

In the previous article, we created the first MVC application in Visual Studio 2022. In this article, we will learn the mechanism available in ASP.NET MVC for managing and passing data between your controller and views – Temp Data, View Bag, and View Data. Understand their purpose, scope, and best practices for effective implementation. Previous … Read more

First .NET MVC Application using Visual Studio

.NET MVC Tutorial

MVC is a widely adopted software design pattern that separates an application’s data, user interface, and control logic into three interconnected components: the Model, the View, and the Controller. This architectural pattern promotes code organization, scalability, and maintainability. In our previous article, we saw the fundamentals of .NET MVC. Setting up a New MVC Project … Read more

.NET MVC Tutorial For Beginners and Professionals

.NET MVC Tutorial

This is the first article of the .NET MVC Tutorial series. We will cover every topic of .NET MVC in our MVC Tutorial series. Introduction to the Model-View-Controller (MVC) Architecture The Model-View-Controller (MVC) architecture is a widely adopted software design pattern that separates an application’s data, user interface, and control logic into three interconnected components: … Read more

Filters in .NET MVC with Example

Filters in .NET MVC

In this article, we will see about Filters in .NET MVC. We will learn what are filters in MVC and where can we use them in our application. So let’s start and learn .NET MVC filters. Previous Chapter: Data Validation and Annotation in .NET MVC What are Filters in .NET MVC? Suppose you have to … Read more

RSS
YouTube
YouTube
Instagram