by Yogesh | Apr 21, 2015 | Asp .net MVC
Auto-implemented properties is the new feature of C# 3.0 new feature to create property-declaration more concise. What is Property: Property is a way to initialize the private member variables of class. We use get and set accessor to add data into variables...
by Yogesh | Apr 18, 2015 | Asp .net MVC
What is Routing: Routes maps controllers names and their actions names. It is used to create user friendly URL.To setup startup page just like web forms. The routing system lets you create any pattern of URLs you desire and express them in a clear and concise manner....
by Yogesh | Mar 25, 2015 | Asp .net MVC
What is Extension Methods By using Extension Methods we can extend class method without using inheritance For Example we can extend seal class. This keyword is used as default parameter in extension method . Static methods in static class are used to create extension...
by Yogesh | Mar 19, 2015 | Asp .net MVC
Partial Views in asp.net mvc are just like web user controls in asp.net web form. There are two types of views we have at any web page. 1. Static Views:Views whose layout not changed i.e header, footer, navigation bar etc. 2. Dynamic Views: Views whose contents can...
by Yogesh | Mar 19, 2015 | Asp .net MVC
Data annotations are used to perform client side and server side validations on a page. It’s a mechanism, Atrrributeswe can use it to feed metadata into application and framework will display and render HTML markup. Data Annotations are Attributes which are used to...