Techbubbles

Posts Tagged ‘ASP.NET MVC’

jQuery UI autocomplete in ASP.NET MVC

jQuery UI is a jQuery plug-in which contains widgets and it is tightly integrate with jQuery API. To include jQuery UI across your MVC application refer the below scripts in layout view.
<script src=”~/Scripts/jquery-1.8.2.min.js”></script>
<script src=”~/Scripts/jquery.unobtrusive-ajax.min.js”></script>
<script src=”~/Scripts/jquery-ui-1.10.2.min.js”></script>

jQuery UI can be added to your MVC application using Nuget. […]

Validation Components in ASP.NET MVC

Validating the user input and showing a user-friendly error message is an important step in Web Application development. ASP.NET MVC framework provides validation features which helps developer to validate model values. The validation features in MVC allows you to write the validation using attributes which is called data annotations. This post outlines the data annotation […]

Seeding a Database in Entity Framework

The code-first approach of Entity Framework creates the database in LocalDB instance of SQL Server Express. The Entity Framework uses the model’s property names and data types to create the tables.Entity Framework uses EdmMetadata table to synchronize model classes with the database schema. To keep the database in sync with the model you need to […]

Scaffolding in ASP.NET MVC4

What is Scaffolding?
Scaffolding in ASP.NET MVC generates the code for create, read, update and delete operations in your application. This post outlines the different Scaffolding templates available in MVC4. If you do not like the default scaffolding then you can customise the code generation.You need a model to start working with scaffolding so build a […]

ASP.NET MVC 4 Application Templates explained

When you create a new MVC 4 project in Visual Studio 2012, you will be presented with different option as shown in the below picture, Each project template sets up different folders in your application. This post explains the each project template purpose

Empty Template
The new Empty Template has got assemblies, web.config and basic folder structure. […]

ASP.NET MVC Release History

ASP.NET MVC is a framework for developing web applications and first version was released on year 2009. Thanks to ScootGu who introduced this framework for ASP.NET Web Development. If you wonder why Microsoft released another framework when there is Web Forms then read this post. This post outlines the ASP.NET MVC release history and their […]

CRUD operations using ASP.NET MVC 1

This post explains how to write ASP.NET MVC application which supports create, read, update and delete operations on sample database table. We build a product catalogue application using ASP.NET MVC Web application template.
Download ASP.NET MVC 1 to create the following application
To get the overview on ASP.NET MVC you can read ASP.NET 3.5 MVC Application post
1. […]