Pro ASP.NET MVC 4 4th Edition V413HAV.pdf

(23617 KB) Pobierz
THE EXPERT’S VOICE ® IN .NET
1158145782.034.png 1158145782.045.png 1158145782.050.png 1158145782.051.png
 
 
 
 
 
1158145782.001.png 1158145782.002.png 1158145782.003.png
 
 
 
 
 
 
 
 
1158145782.004.png 1158145782.005.png 1158145782.006.png 1158145782.007.png 1158145782.008.png 1158145782.009.png 1158145782.010.png 1158145782.011.png 1158145782.012.png 1158145782.013.png 1158145782.014.png 1158145782.015.png 1158145782.016.png 1158145782.017.png 1158145782.018.png 1158145782.019.png 1158145782.020.png 1158145782.021.png 1158145782.022.png 1158145782.023.png 1158145782.024.png 1158145782.025.png 1158145782.026.png 1158145782.027.png 1158145782.028.png 1158145782.029.png 1158145782.030.png 1158145782.031.png
 
For your convenience Apress has placed some of the front
matter material after the index. Please use the Bookmarks
and Contents at a Glance links to access them.
1158145782.032.png 1158145782.033.png 1158145782.035.png 1158145782.036.png 1158145782.037.png 1158145782.038.png 1158145782.039.png 1158145782.040.png
Contents at a Glance
Contents ................................................................................................................... vii
About the Author ..................................................................................................... xxi
About the Technical Reviewer................................................................................ xxii
Acknowledgments ................................................................................................. xxiii
Part 1: Introducing ASP.NET MVC 4 ............................................................................. 1
Chapter 1: What’s the Big Idea? ................................................................................. 3
Chapter 2: Your First MVC Application ..................................................................... 15
Chapter 3: The MVC Pattern ..................................................................................... 47
Chapter 4: Essential Language Features .................................................................. 73
Chapter 5: Working with Razor .............................................................................. 101
Chapter 6: Essential Tools for MVC ........................................................................ 125
Chapter 7: SportsStore—A Real Application.......................................................... 161
Chapter 8: SportsStore: Navigation ........................................................................ 201
Chapter 9: SportsStore: Completing the Cart ......................................................... 231
Chapter 10: SportsStore: Administration ............................................................... 255
Chapter 11: SportsStore: Security & Finishing Touches ........................................ 283
Part 2: ASP.NET MVC 4 in Detail............................................................................. 301
Chapter 12: Overview of MVC Projects................................................................... 303
Chapter 13: URL Routing ........................................................................................ 323
v
1158145782.041.png 1158145782.042.png 1158145782.043.png 1158145782.044.png 1158145782.046.png 1158145782.047.png
CONTENTS AT A GLANCE
Chapter 14: Advanced Routing Features ................................................................ 363
Chapter 15: Controllers and Actions ...................................................................... 391
Chapter 16: Filters.................................................................................................. 419
Chapter 17: Controller Extensibility ....................................................................... 455
Chapter 18: Views .................................................................................................. 485
Chapter 19: Helper Methods................................................................................... 511
Chapter 20: Templated Helper Methods ................................................................. 541
Chapter 21: URL and Ajax Helper Methods............................................................. 569
Chapter 22: Model Binding ..................................................................................... 599
Chapter 23: Model Validation ................................................................................. 629
Chapter 24: Bundles and Display Modes................................................................ 657
Chapter 25: Web API............................................................................................... 679
Chapter 26: Deployment ......................................................................................... 699
Index ....................................................................................................................... 717
vi
1158145782.048.png
P A R T 1
Introducing ASP.NET MVC 4
ASP.NET MVC is a radical shift for web developers using the Microsoft platform. It emphasizes clean
architecture, design patterns, and testability, and it doesn’t try to conceal how the Web works.
The first part of this book is designed to help you understand broadly the foundational ideas of ASP.NET
MVC, including the new features in ASP.NET MVC 4, and to experience in practice what the framework is
like to use.
1158145782.049.png
Zgłoś jeśli naruszono regulamin