Tag: MVC
MVC Pattern in C Sharp
Introduction MVC stands for Model View Controller. It is a software architectural pattern that splits the application into three parts: model, view, and controller. The model is the data, the view is the user interface, and the controller connects the
Mvc c# : Exclude Enum values from DropDownListFor Html helper on .cshtml Page
Suppose we have some enum type in c# as follows : enum Performance { None=-1, Dissatisfied=0, Below Average=1, Average =2, Good = 3, Excellent=4, } Consider some employee model with a given enum type property. public class EmployeePerformance{ public int
Introduction to MVC
What is MVC? The MVC is a very frequent web development architectural framework or application designing model which contains three main components the Model, the View and the Controller each of them performs different functions assigned to them. It helps
Pass the Data to Custom Validation attribute in MVC C#
How to Pass the Data to Custom Validation attribute in MVC C#? Introduction .Net provides the capability of validating model data with validation attributes like Required, Compare, Regular Expression, and user-defined custom attributes (also known as data annotations C#). MVC
Partial View in ASP.NET MVC
The partial view is a special view used to render a portion of view content. It is a reusable view. It reduces code duplication. We can say that a partial view enables us to render a view within the parent
Bundle in ASP.NET MVC
Bundle in ASP.NET MVC Bundling is a process that allows us to load a bunch of static files from the server into one HTTP request. We can load multiple CSS and Javascript files using bundles. Let’s take an example :
ASP.Net MVC Quick Introduction
ASP.Net MVC Quick Introduction ASP.Net MVC – In MVC, the architecture of an application is divided into three parts – Model, View and Controller. Model – Model represents the shape of data. It is basically used to connect to the
Some important features in Laravel Framework
Some important features in Laravel Framework 1. Artisan: Artisan is a command-line interface tool which is provided by laravel. By using this tool, users can create database structure. It is also used for creating the MVC files right away which