没有合适的资源?快使用搜索试试~ 我知道了~
首页ASP.NET+MVC4+教程(完整版)
《ASP.NET MVC4Web编程》介绍了微软最新的ASP.NET MVC 4框架,包括如何使用ASP.NET MVC 4框架构建Web应用程序,ASP.NETMVC 4框架的运行原理,如何在真实开发场景中使用ASP.NET MVC4框架新特性来解决不同的需求,如何使用HTML、JavaScript、EntityFramework以及其他Web相关的技术。同时,分享了许多实际项目开发的最佳实践经验,包括如何使用jQery、jQuery、EntityFramework、ASP.NET WebAPI进行应用程序开发。而且还深入阐述了许多高级知识点,如网站SEO、性能优化、日志、缓存等。对于想要学习ASP.NET MVC Web编程的开发人员来说,《ASP.NET MVC4Web编程》无疑是最佳选择。
资源详情
资源评论
资源推荐



Programming ASP.NET MVC 4
Jess Chadwick, Todd Snyder, and Hrusikesh Panda
Beijing
•
Cambridge
•
Farnham
•
Köln
•
Sebastopol
•
Tokyo

Programming ASP.NET MVC 4
by Jess Chadwick, Todd Snyder, and Hrusikesh Panda
Copyright © 2012 Jess Chadwick, Todd Synder, Hrusikesh Panda. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly
books may be purchased for educational, business, or sales promotional use. Online editions
are also available for most titles (http://my.safaribooksonline.com). For more information, contact our
corporate/institutional sales department: 800-998-9938 or corporate@oreilly.com.
Editor: Rachel Roumeliotis
Production Editor: Rachel Steely
Copyeditor: Rachel Head
Proofreader: Leslie Graham, nSight
Indexer: Lucie Haskins
Cover Designer: Karen Montgomery
Interior Designer: David Futato
Illustrators: Robert Romano and Rebecca Demarest
October 2012: First Edition.
Revision History for the First Edition:
2012-09-14
First release
See http://oreilly.com/catalog/errata.csp?isbn=9781449320317 for release details.
Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of
O’Reilly
Media, Inc. Programming ASP.NET MVC 4, the image of a scabbardfish, and related trade dress
are trademarks of O’Reilly Media, Inc.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as
trademarks. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a
trademark claim, the designations have been printed in caps or initial caps.
While every precaution has been taken in the preparation of this book, the publisher and authors assume
no responsibility for errors or omissions, or for damages resulting from the use of the information con-
tained herein.
ISBN: 978-1-449-32031-7
[LSI]
1347629749

Table of Contents
Preface .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Part I. Up and Running
1. Fundamentals of ASP.NET MVC .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Microsoft’s Web Development Platforms 3
Active Server Pages (ASP) 3
ASP.NET Web Forms 4
ASP.NET MVC 4
The Model-View-Controller Architecture 4
The Model 5
The View 6
The Controller 6
What’s New in ASP.NET MVC 4? 6
Introduction to EBuy 8
Installing ASP.NET MVC 9
Creating an ASP.NET MVC Application 9
Project Templates 10
Convention over Configuration 13
Running the Application 15
Routing 15
Configuring Routes 16
Controllers 18
Controller Actions 19
Action Results 19
Action Parameters 21
Action Filters 23
Views 24
Locating Views 24
Hello, Razor! 26
Differentiating Code and Markup 27
iii
剩余491页未读,继续阅读










安全验证
文档复制为VIP权益,开通VIP直接复制

评论14