asp.net_mvc_tutorial.pdf

Please download to get full document.

View again

of 305
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Information Report
Category:

Documents

Published:

Views: 10 | Pages: 305

Extension: PDF | Download: 1

Share
Related documents
Description
ASP.NET MVC About the Tutorial ASP.NET MVC is an open-source software from Microsoft. Its web development framework combines the features of MVC (Model-View-Controller) architecture, the most up-to-date ideas and techniques from Agile development and the best parts of the existing ASP.NET platform. This tutorial provides a complete picture of the MVC framework and teaches you how to build an application using t
Transcript
     ASP.NET MVC i About the Tutorial   ASP.NET MVC is an open-source software from Microsoft. Its web development framework combines the features of MVC (Model-View-Controller) architecture, the most up-to-date ideas and techniques from Agile development and the best parts of the existing ASP.NET platform. This tutorial provides a complete picture of the MVC framework and teaches you how to build an application using this tool. Audience   This tutorial is designed for all those developers who are keen on developing best-in-class applications using ASP.NET MVC. The tutorial provides a hands-on approach to the subject with step-by-step program examples that will assist you to learn and put the acquired knowledge into practice. After completing this tutorial, you will have a better understating of Windows apps and learn what you can do with Windows application using XAML and C#. Prerequisites   To gain advantage of this tutorial, you need to be familiar with programming for Windows. You also need to know the basics of C#. Disclaimer & Copyright     Copyright 2016 by Tutorials Point (I) Pvt. Ltd. All the content and graphics published in this e-book are the property of Tutorials Point (I) Pvt. Ltd. The user of this e-book is prohibited to reuse, retain, copy, distribute or republish any contents or a part of contents of this e-book in any manner without written consent of the publisher. We strive to update the contents of our website and tutorials as timely and as precisely as possible, however, the contents may contain inaccuracies or errors. Tutorials Point (I) Pvt. Ltd. provides no guarantee regarding the accuracy, timeliness or completeness of our website or its contents including this tutorial. If you discover any errors on our website or in this tutorial, please notify us at contact@tutorialspoint.com.   ASP.NET MVC ii Table of Contents   About the Tutorial .................................................................................................................................... i   Audience .................................................................................................................................................. i   Prerequisites ............................................................................................................................................ i   Disclaimer & Copyright ............................................................................................................................. i   Table of Contents .................................................................................................................................... ii   1.   ASP.NET MVC OVERVIEW ................................................................................................. 1   History .................................................................................................................................................... 1   Why ASP.NET MVC? ................................................................................................................................ 2   Benefits of ASP.NET MVC ........................................................................................................................ 2   2.   ASP.NET MVC MVC PATTERN............................................................................................ 3   3.   ASP.NET MVC ENVIRONMENT SETUP ............................................................................... 5   Installation .............................................................................................................................................. 5   4.   ASP.NET MVC GETTING STARTED ................................................................................... 10   Create ASP.Net MVC Application .......................................................................................................... 10   Add Controller ....................................................................................................................................... 13   5.   ASP.NET MVC LIFE CYCLE ................................................................................................ 17   The Application Life Cycle ..................................................................................................................... 17   The Request Life Cycle ........................................................................................................................... 17   6.   ASP.NET MVC ROUTING ................................................................................................. 19   Understanding Routes ........................................................................................................................... 21   Custom Convention ............................................................................................................................... 22   7.   ASP.NET MVC CONTROLLERS .......................................................................................... 28   8.   ASP.NET MVC ACTIONS................................................................................................... 35    ASP.NET MVC iii Request Processing ............................................................................................................................... 35   Types of Action ..................................................................................................................................... 36   Add Controller ....................................................................................................................................... 37   9.   ASP.NET MVC FILTERS .................................................................................................... 43   Action Filters ......................................................................................................................................... 43   Types of Filters ...................................................................................................................................... 43   Apply Action Filter ................................................................................................................................. 46   Custom Filters ....................................................................................................................................... 49   10.   ASP.NET MVC SELECTORS ............................................................................................... 54   ActionName .......................................................................................................................................... 54   NonAction ............................................................................................................................................. 56   ActionVerbs .......................................................................................................................................... 58   11.   ASP.NET MVC VIEWS ...................................................................................................... 62   12.   ASP.NET MVC DATA MODEL ........................................................................................... 70   13.   ASP.NET MVC HELPERS ................................................................................................... 83   14.   ASP.NET MVC MODEL BINDING .................................................................................... 104   15.   ASP.NET MVC DATABASES ............................................................................................ 115   16.   ASP.NET MVC VALIDATION ........................................................................................... 128   DRY ..................................................................................................................................................... 128   Adding Validation to Model ................................................................................................................ 128   17.   ASP.NET MVC SECURITY ............................................................................................... 134   Authentication .................................................................................................................................... 134   Authentication Options ....................................................................................................................... 135   Authorization ...................................................................................................................................... 145  
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks
SAVE OUR EARTH

We need your sign to support Project to invent "SMART AND CONTROLLABLE REFLECTIVE BALLOONS" to cover the Sun and Save Our Earth.

More details...

Sign Now!

We are very appreciated for your Prompt Action!

x