Please enable Javascript to correctly display the contents on Dot Net Tricks!

ASP.NET MVC Tutorial - For Beginners & Professionals

asp.net mvc tutorial step by step,asp.net mvc5 tutorial for beginners,asp.net mvc4 tutorial for beginners,asp.net mvc3 tutorial for beginners, asp.net mvc4 razor,asp.net mvc recipes,asp.net mvc tips, asp.net mvc
 
Author : Shailendra Chauhan
updated on 15 Feb 2017

In this article you will learn how to use the repository pattern for CRUD operations and how to combine it with unit of work patterns. Before goining to write the code, let's understand repository and unit of work patterns separately.

 

 

Author : Shailendra Chauhan
updated on 23 Nov 2016

Internationalization is abbreviated to i18n, where 18 stands for the number of letters in word Internationalization between the first i and last n. Internationalization is the process of developing products/softwares in such a way that they can be localized for languages and cultures easily. It involves Globalization and Localization.

 

 

Author : Shailendra Chauhan
updated on 26 Sep 2016

ASP.NET MVC5 and WEB API 2 supports a new type of routing, called attribute routing. In this routing, attributes are used to define routes. Attribute routing provides you more control over the URIs by defining routes directly on actions and controllers in your ASP.NET MVC application and WEB API.

 

 

Author : Shailendra Chauhan
updated on 26 Sep 2016

Layouts are used to maintain a consistent look and feel across multiple views within ASP.NET MVC application. As compared to Web Forms, layouts serve the same purpose as master pages, but offer a simple syntax and greater flexibility.

 

 

Author : Shailendra Chauhan
updated on 26 Sep 2016

Scaffolding is a technique used by many MVC frameworks like ASP.NET MVC, Ruby on Rails, Cake PHP and Node.JS etc., to generate code for basic CRUD (create, read, update, and delete) operations against your database effectively. Further you can edit or customize this auto generated code according to your need.

 

 

Author : Shailendra Chauhan
updated on 12 Jun 2014

AJAX Helpers are used to create AJAX enabled elements like as Ajax enabled forms and links which performs request asynchronously. AJAX Helpers are extension methods of AJAXHelper class which exist in System.Web.Mvc.Ajax namespace.

 

 

Author : Shailendra Chauhan
updated on 05 Mar 2014

An HTML Helper is just a method that returns a HTML string. The string can represent any type of content that you want. For example, you can use HTML Helpers to render standard HTML tags like HTML <input>, <button> and <img> tags etc.

 

 

Author : Shailendra Chauhan
updated on 25 Feb 2014

TempData is used to pass data from current request to subsequent request (means redirecting from one page to another). It’s life is very short and lies only till the target view is fully loaded. But you can persist data in TempData by calling Keep() method.

 

 

Author : Shailendra Chauhan
updated on 14 Feb 2017

ASP.NET MVC provides a simple way to inject your piece of code or logic either before or after an action is executed. This is achieved by decorating the controllers or actions with ASP.NET MVC attributes or custom attributes. An attribute or custom attribute implements the ASP.NET MVC filters(filter interface) and can contain your piece of code or logic.

 

 

Author : Shailendra Chauhan
updated on 26 Sep 2016

ASP.NET MVC is an open source framework built on the top of Microsoft .NET Framework to develop web application that enables a clean separation of code. ASP.NET MVC framework is the most customizable and extensible platform shipped by Microsoft. In this article, you will learn the detail pipeline of ASP.NET MVC.

 

 

Author : Shailendra Chauhan
updated on 23 Nov 2016

When standard types of authentication do not meet your requirements, you need to modify an authentication mechanism to create a custom solution. A user context has principal which represents the identity and roles for that user. A user is authenticated by its identity and assigned roles to a user determine about authorization or permission to access resources.

 

 

Author : Shailendra Chauhan
updated on 22 Nov 2013

Like Asp.Net MVC, jQuery mobile based MVC5 or MVC4 application does not update the browser URL with the current controller or action or id. Since jQuery mobile treats each request as an AJAX request. Hence when you navigate to new page or redirect to new action or page, then the browser URL would be same for all the navigation and redirection.

 

 

Author : Shailendra Chauhan
updated on 26 Sep 2016

Yesterday, I was trying to get the values of TextBoxes created by jQuery. I was expecting to get the value of each Textbox created by jQuery by the Id attribute of the TextBox, but I was getting NULL. I tried to find out the reason behind this reason and finally I got the solution. Let's understand the ID and Name attribute of Html controls.

 

 

Author : Shailendra Chauhan
updated on 25 Feb 2014

Asp.Net MVC is a new Framework built on the top of Microsoft .Net Framework to develop web application. This framework implements the MVC pattern which helps to provides separation of code and also provide better support for test-driven development (TDD).

 

 

Author : Shailendra Chauhan
updated on 26 Sep 2016

In Asp.Net MVC, Layouts are like as Master Pages in Asp.Net Web Forms. These helps us to maintain consistent look and feel across all the views within your Asp.Net MVC application. Like Master Pages, Layout may contains common CSS, jQuery files across the multiple Views and one or more placeholders for which Views provide content.

 

 

 
6 JUL
ASP.NET Core with Angular4 Development (Online)

7:00 AM-9:00AM IST(+5:30 GMT)

Know More
5 JUL
NodeJS with Angular4 Development (Online)

08:00 PM-09:30 PM IST(+5.30 GMT)

Know More
1 JUL
ASP.NET MVC with Angular4 Development (Online)

03:30 PM-05:30 PM IST(+5.30 GMT)

Know More
1 JUL
ASP.NET MVC with Angular4 Development (Classroom)

8:00 AM-10:00 AM IST(+5:30 GMT)

Know More
1 JUL
ASP.NET Core with Angular4 Development (Classroom)

3:00PM-5:00PM IST(+5:30 GMT)

Know More
1 JUL
Xamarin Forms : Build Cross-platform Apps (Classroom)

3:00 PM-5:00 PM IST(+5:30 GMT)

Know More
1 JUL
MEAN Stack 2 Development (Classroom)

11:00 AM-12:30 PM IST(+5:30 GMT)

Know More
30 JUN
ASP.NET MVC with Angular4 Development (Online)

07:00 AM-09:00 AM IST(+5.30 GMT)

Know More
29 JUN
Hadoop Development cum Administration (Online)

7:00 AM-9:00AM IST(+5:30 GMT)

Know More
26 JUN
Xamarin Forms : Build Cross-platform Apps (Online)

9:30PM- 11:00PM IST(+5:30GMT)

6 JUN
ASP.NET MVC with Angular4 Development (Online)

09:00 PM-11:00 PM IST(+5.30 GMT)

3 JUN
ASP.NET MVC with Angular4 Development (Classroom)

4:00 PM-5:30 PM

20 MAY
Angular2 and Angular4 Development (Online)

08:00 AM-10:00 AM IST(+5.30 GMT)

20 MAY
NodeJS with Angular4 Development (Classroom)

5:30 PM-7:00 PM

8 MAY
ASP.NET MVC with Angular4 Development (Online)

07:00 AM-09:00 AM IST(+5:30 GMT)

2 MAY
ASP.NET Core Development (Online)

07:00 AM - 09:00 AM IST

29 APR
ASP.NET MVC with Angular2 Development (Classroom)

9:30 AM-11:00 AM

BROWSE BY CATEGORY
 
 
LIKE US ON FACEBOOK
 
+