Sanderson | Pro ASP.NET MVC Framework | E-Book | www2.sack.de
E-Book

E-Book, Englisch, 550 Seiten

Sanderson Pro ASP.NET MVC Framework


1. ed
ISBN: 978-1-4302-1008-5
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark

E-Book, Englisch, 550 Seiten

ISBN: 978-1-4302-1008-5
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark



Steven Sanderson has seen the ASP.NET MVC framework mature from the start, so his experience, combined with comprehensive coverage of all its features, including those in the official MVC development toolkit, offers the clearest understanding of how this exciting framework could improve your coding efficiency-and you'll gain invaluable awareness of security, deployment, and interoperability challenges. The ASP.NET MVC Framework is the evolution of Microsoft's ASP.NET web platform. It introduced a radical high-productivity programming model that promotes cleaner code architecture, test-driven development, and powerful extensibility, combined with all the benefits of ASP.NET 3.5. An integral benefit of this book is that the core Model-View-Controller architectural concepts are not simply explained or discussed in isolation, but demonstrated in action. You'll work through an extended tutorial to create a working e-commerce web application that combines ASP.NET MVC with the latest C# 3.0 language features and unit-testing best practices. By gaining this invaluable, practical experience, you can discover MVCs strengths and weaknesses for yourself-and put your best learned theory into practice.

After a childhood spent at the computer, Steven Sanderson started web development in 1996, first using Perl and later adopting PHP. His last five years of professional experience have focused on ASP.NET, learning what works and what works better, and experiencing a developer's life everywhere from an investment bank to a five-person Internet startup. Steven has led Red Gate's web development team, and spends his free time blogging and keeping up to speed with the latest technology developments. He's followed the ASP.NET MVC framework since its inception and frequently participates in online discussions with its core developers at Microsoft.

Sanderson Pro ASP.NET MVC Framework jetzt bestellen!

Autoren/Hrsg.


Weitere Infos & Material


1;Contents at a Glance;5
2;Contents;6
3;About the Author;17
4;About the Technical Reviewer;18
5;Acknowledgments;19
6;Introduction;20
6.1;Who This Book Is For;20
6.2;How This Book Is Structured;21
6.3;Sample Code;21
6.4;Errata;21
6.5;Customer Support;21
6.6;Contacting the Author;22
7;Part 1 Introducing ASP.NET MVC;23
7.1;Chapter 1 What’s the Big Idea?;24
7.1.1;A Brief History of Web Development;24
7.1.2;Web Development Today;26
7.1.3;Key Benefits of ASP.NET MVC;28
7.1.4;Who Should Use ASP.NET MVC?;31
7.1.5;Summary;34
7.2;Chapter 2 Your First ASP.NET MVC Application;35
7.2.1;Preparing Your Workstation;35
7.2.2;Creating a New ASP.NET MVC Project;36
7.2.3;Rendering Web Pages;40
7.2.4;A Starter Application;43
7.2.5;Summary;55
7.3;Chapter 3 Prerequisites;56
7.3.1;Understanding Model-View-Controller Architecture;56
7.3.2;Domain Modeling;63
7.3.3;Building Loosely Coupled Components;75
7.3.4;Getting Started with Automated Testing;80
7.3.5;New C# 3 Language Features;87
7.3.6;Summary;99
7.4;Chapter 4 SportsStore: A Real Application;100
7.4.1;Getting Started;101
7.4.2;Starting Your Domain Model;104
7.4.3;Displaying a List of Products;106
7.4.4;Connecting to a Database;111
7.4.5;Setting Up Inversion of Control;116
7.4.6;Creating Automated Tests;121
7.4.7;Configuring a Custom URL Schema;125
7.4.8;Styling It Up;133
7.4.9;Summary;138
7.5;Chapter 5 SportsStore: Navigation and Shopping Cart;139
7.5.1;Adding Navigation Controls;139
7.5.2;Building the Shopping Cart;158
7.5.3;Submitting Orders;174
7.5.4;Summary;187
7.6;Chapter 6 SportsStore: Administration and Final Enhancements;188
7.6.1;Adding Catalog Management;189
7.6.2;Securing the Administration Features;205
7.6.3;Image Uploads;212
8;Part 2 ASP.NET MVC in Detail;218
8.1;Chapter 7 Overview of ASP.NET MVC Projects;219
8.1.1;Developing MVC Applications in Visual Studio;219
8.1.2;The Request Processing Pipeline;229
8.1.3;Summary;235
8.2;Chapter 8 URLs and Routing;236
8.2.1;Putting the Programmer Back in Control;236
8.2.2;Setting Up Routes;237
8.2.3;Generating Outgoing URLs;251
8.2.4;Unit Testing Your Routes;260
8.2.5;Further Customization;266
8.2.6;URL Schema Best Practices;268
8.2.7;Summary;273
8.3;Chapter 9 Controllers and Actions;274
8.3.1;An Overview;274
8.3.2;Receiving Input;277
8.3.3;Producing Output;281
8.3.4;Using Filters to Attach Reusable Behaviors;301
8.3.5;Controllers As Part of the Request Processing Pipeline;318
8.3.6;Testing Controllers and Actions;327
8.3.7;Summary;335
8.4;Chapter 10 Views;336
8.4.1;How Views Fit into ASP.NET MVC;336
8.4.2;WebForms View Engine Basics;338
8.4.3;Using Inline Code;339
8.4.4;Understanding How MVC Views Actually Work;341
8.4.5;Using HTML Helper Methods;347
8.4.6;Using Partial Views;359
8.4.7;Using Html.RenderAction to Create Reusable Widgets with Application Logic;366
8.4.8;Sharing Page Layouts Using Master Pages;370
8.4.9;Implementing a Custom View Engine;373
8.4.10;Summary;383
8.5;Chapter 11 Data Entry;384
8.5.1;Model Binding;384
8.5.2;Validation;398
8.5.3;Wizards and Multistep Forms;411
8.5.4;Verification;421
8.5.5;Summary;433
8.6;Chapter 12 Ajax and Client Scripting;434
8.6.1;Why You Should Use a JavaScript Toolkit;434
8.6.2;ASP.NET MVC’s Ajax Helpers;435
8.6.3;Using jQuery with ASP.NET MVC;446
8.6.4;Summary;473
8.7;Chapter 13 Security and Vulnerability;474
8.7.1;All Input Can Be Forged;474
8.7.2;Cross-Site Scripting and HTML Injection;478
8.7.3;Session Hijacking;483
8.7.4;Cross-Site Request Forgery;485
8.7.5;SQL Injection;488
8.7.6;Using the MVC Framework Securely;490
8.7.7;Summary;491
8.8;Chapter 14 Deployment;492
8.8.1;Server Requirements;492
8.8.2;IIS Basics;493
8.8.3;Deploying Your Application;498
8.8.4;Making Your Application Behave Well in Production;512
8.8.5;Summary;518
8.9;Chapter 15 ASP.NET Platform Features;519
8.9.1;Windows Authentication;520
8.9.2;Forms Authentication;523
8.9.3;Membership, Roles, and Profiles;528
8.9.4;URL-Based Authorization;543
8.9.5;Data Caching;544
8.9.6;Site Maps;548
8.9.7;Internationalization;554
8.9.8;Performance;560
8.9.9;Summary;568
8.10;Chapter 16 Combining MVC and WebForms;569
8.10.1;Using WebForms Technologies in an MVC Application;569
8.10.2;Using ASP.NET MVC in a WebForms Application;577
8.10.3;Summary;585
9;Index;586



Ihre Fragen, Wünsche oder Anmerkungen
Vorname*
Nachname*
Ihre E-Mail-Adresse*
Kundennr.
Ihre Nachricht*
Lediglich mit * gekennzeichnete Felder sind Pflichtfelder.
Wenn Sie die im Kontaktformular eingegebenen Daten durch Klick auf den nachfolgenden Button übersenden, erklären Sie sich damit einverstanden, dass wir Ihr Angaben für die Beantwortung Ihrer Anfrage verwenden. Selbstverständlich werden Ihre Daten vertraulich behandelt und nicht an Dritte weitergegeben. Sie können der Verwendung Ihrer Daten jederzeit widersprechen. Das Datenhandling bei Sack Fachmedien erklären wir Ihnen in unserer Datenschutzerklärung.