Showing posts with label MVC. Show all posts
Showing posts with label MVC. Show all posts

Friday, 5 August 2016

Visual Studio Keyboard Shortcut

Posted by : Manav Pandya

Type of Keyboard Shortcut

Here in this tutorial you can learn basic keyboard shortcut's for Visual Studio IDE .

I have collected some basic and easy to use Keyboard shortcut's that helps programmer to enhance their work within short time limit .

So learn it , I hope you may like this also

[ 1 ] To Format a document


  •  CTRL + K
  •  CTRL + D

[ 2 ]  Code Editor In Full-screen


  •  SHIFT + ALT + ENTER

[ 3 ]  Command Window's


  •  CTRL + ALT + A

[ 4 ] Un-comment code


  •  CTRL + KU

[ 5 ] Auto Code Snippet


  •  [Tab] + [Tab]  (First press "CTRL + SPACE then this command can occur")

[ 6 ] Ring Clipboard


  •  CTRL + SHIFT + V

[ 7 ] Build Solution 

  • CTRL + SHIFT + B

[ 8 ]  Debug

  • CTRL + ALT + Break (Break All)
  • CTRL + F5 (Stop Debugging)

[ 9 ] File Related Shortcut's

  • CTRL + N (New File)
  • CTRL + SHIFT + N (New Project)
  • CTRL + ALT + N (New Website)
  • CTRL + O (Open File)
  • CTRL + SHIFT + O (Open Project)
  • CTRL + ALT + O (Open Website)

[ 10 ] To open any window

  • CTRL + ALT + J  (Object Browser)
  • CTRL + ALT + O (Output)
  • CTRL + ALT + S  (Server Explorer)
  • CTRL + ALT + X  (Tool Box)

Read More

Wednesday, 6 July 2016

ASP.NET MVC 4.0 Internet App Directory Structure

Posted by : Manav Pandya

Here I have displayed all folders within single ASP.NET MVC 4.0 Internet Application





Read More

ASP.NET MVC 4.0 Features

Posted by : Manav Pandya

ASP.NET MVC 4 is built on top of the many features of its previous versions and include new features like:



ASP.NET Web API, a new framework for building HTTP and RESTful services.

A new HTML5-based default template in Visual Studio and a new Mobile Application project template.


Automatic selection of rendered views with Display Modes. This is particularly useful when building applications that will run not only on desktop browsers but on mobile browsers as well. I

t will let the application determine the best view to render based on the browser making the request.

jQuery Mobile and mobile features.

Task support for asynchronous controllers.

Microsoft Windows Azure SDK support for deploying ASP.NET MVC 4 applications to Windows Azure.

Bundling and minification for CSS and JavaScript files to help reduce the amount of HTTP requests as well as the size of those requests.

Facebook, OpenID, and OAuth authentication.


Read More

Benefits of Choosing ASP.NET MVC Over Web Forms

Posted by : Manav Pandya

Compared to Web Forms, ASP.NET MVC applications benefit by including all ASP.NET core features but also by the 

features in the MVC pattern. Some of those benefits are

[ 1 ] The MVC pattern itself makes it easier to manage complexity by clearly separating the functionality of the application into three core parts, the model, the view, and the controller .


[ 2 ] ASP.NET MVC web applications do not use view state or server-based forms. This makes the MVC framework ideal for developers who want full control over the behavior of an application. 

View state can become very large, which is a problem for devices like smartphones running over slow networks (transmitting all that information can be very slow). In a Web Forms page, you could only have one <form> per page. This is quite a major restriction. In MVC, there is no such restriction—that is, you can have as many<form> elements as you like.

[ 3 ] ASP.NET MVC provides better support for test-driven development (TDD).

[ 4 ] ASP.NET MVC works well for web applications that are supported by large teams of developers
and for web designers who need a high degree of control over the HTML.

Read More

Why to Use ASP.NET MVC ?

Posted by : Manav Pandya

A high level of control over the generated HTML


Unlike Web Forms, Views in ASP.NET MVC render HTML exactly as you tell them to. Recently, Web Forms have been improved in this area but still don’t have the level of control MVC has.

Easier unit testing


With ASP.NET MVC, it is very easy to follow testing patterns such as test-driven development (TDD). Because of the complex event lifecycle in Web Forms, on top of a control-based framework, TDD is a lot easier with MVC.


Separation of concerns


This refers to having all aspects of the system clearly separated from one another. Because of the pattern it implements, an MVC application is divided into discrete and loosely bound parts (model, views, and controllers), which makes it easy to maintain.
Read More

ASP.NET MVC Pattern

Posted by : Manav Pandya

ASP.NET MVC is a free and fully supported framework for building web applications that use the model-view-controller pattern. 

Like :  ASP.NET Web Forms,

 ASP.NET MVC is built on top of the ASP.NET Framework. This means you can use
in ASP.NET MVC applications the same APIs for security, state management, membership, caching, and so on that you could use in traditional ASP.NET Web Forms applications.




 [ 1 ]  Model 


The model in the MVC pattern represents the parts of the application that implement the data domain logic.

The operation of the model might come from the generation of classes representing objects in a data store such as a 
database (for example, Entity Framework data classes).


[ 2 ] View


Views are the visible elements in the application. They are the components that typically show users data from 
the model. 



A view page typically receives a view model object from the controller (the view doesn’t care how this data 
was obtained—that’s the controller’s responsibility!). 



The view page contains HTML (and possibly some UI-related 
code) to determine how to render the model data back to the browser .


[ 3 ] Controller



The controllers are classes that collect the user requests, work with the model, and ultimately select a view to 
render the appropriate UI.


Thanks Reader's for reading ....



ASP.NET , MVC , ASP.NET MVC , C# , dotnet , AngularJS , ASP , Sql Server , LINQ , Interview , .NET Core , SQL , LINQ to SQL
Read More

Saturday, 2 July 2016

First Project in ASP.NET MVC 4.0

Posted by : Manav Pandya


Read More

Monday, 27 June 2016

What is ASP.NET MVC

Posted by : Manav Pandya
ASP.NET MVC

Read More

Introduction to Razor View Engine

Posted by : Manav Pandya






Razor , ASP.NET , ASP.NET MVC , MVC , LINQ , AngularJS , Sql Server , .NET , dotnet , Interview Question

Read More

Introduction To Razor

Posted by : Manav Pandya


Read More