Take Razor for a test drive and discover first hand how this scripting syntax simplifies the way you create dynamic, data-driven websites. With this concise guide, you’ll work with Razor syntax by building example websites with Microsoft WebMatrix and ASP.NET MVC. You'll quickly learn how Razor lets you combine code and content in a fluid and expressive manner on Windows-based servers. Programming Razor also explores components of the Razor API, and shows you how Razor templates are turned into rendered HTML. By the end of this book, you'll be able to create Razor-based websites with custom…mehr
Take Razor for a test drive and discover first hand how this scripting syntax simplifies the way you create dynamic, data-driven websites. With this concise guide, you’ll work with Razor syntax by building example websites with Microsoft WebMatrix and ASP.NET MVC. You'll quickly learn how Razor lets you combine code and content in a fluid and expressive manner on Windows-based servers. Programming Razor also explores components of the Razor API, and shows you how Razor templates are turned into rendered HTML. By the end of this book, you'll be able to create Razor-based websites with custom extensions that meet the specific needs of your projects. * Use Razor with Microsoft WebMatrix to build a working blog, complete with data * Organize and manage your web application, using Razor features for layouts, sections, and partial views * Create clean and effective ASP.NET MVC views with the Razor View Engine * Learn how the Razor API interprets Razor templates and turns them into executable .NET code * Implement advanced techniques for exposing reusable code and sharing ASP.NET MVC views across projects
Jess Chadwick is an independent software consultant specializing in web technologies. He has over a decade of development experience ranging from embedded devices in start-ups to enterprise-scale web farms at Fortune 500s. He is an ASPInsider, Microsoft MVP in ASP.NET and is an avid community member, frequently delivering technical presentations as well as leading the NJDOTNET Central New Jersey .NET user group. Jess lives in the Philadelphia, PA area with his wonderful wife, baby daughter, and black lab.
Inhaltsangabe
Preface RazorPad: A Lightweight Razor Editor Conventions Used in This Book Using Code Examples Safari® Books Online How to Contact Us Chapter 1: Introduction 1.1 A Brief History of Microsoft's Web Development Platforms 1.2 Hello, Razor! 1.3 Differentiating Code and Markup 1.4 Comments Chapter 2: Razor and Microsoft WebMatrix 2.1 Introducing ASP.NET Web Pages 2.2 Installing WebMatrix 2.3 Your First WebMatrix Website 2.4 Data Access with WebMatrix Chapter 3: Organizing Razor Templates 3.1 Layouts 3.2 Partial Views 3.3 Razor Helpers 3.4 Razor Helper Packages 3.5 Razor Helpers versus Partial Views 3.6 Executing Common Code Chapter 4: Razor and ASP.NET MVC 4.1 Installing ASP.NET MVC 4.2 ASP.NET MVC View Engines 4.3 Implementing a Blog Site Using ASP.NET MVC 4.4 Authoring ASP.NET MVC Views with the Razor Syntax 4.5 Changing the Base Class 4.6 Layouts and Content Pages 4.7 Razor View File Locations 4.8 Html and Url Helper Classes 4.9 ASP.NET MVC's Razor View Page Rendering Life Cycle Chapter 5: The Razor API 5.1 Razor Templates: From Markup to .NET Code 5.2 Meet the Players 5.3 Advanced Templating Logic Chapter 6: Advanced Techniques 6.1 Inline Templates and Templated Delegates 6.2 Sharing Views Between Projects 6.3 Unit Testing Razor Views 6.4 Applying Razor to Text-Based Scenarios Chapter 7: Conclusion
Preface RazorPad: A Lightweight Razor Editor Conventions Used in This Book Using Code Examples Safari® Books Online How to Contact Us Chapter 1: Introduction 1.1 A Brief History of Microsoft's Web Development Platforms 1.2 Hello, Razor! 1.3 Differentiating Code and Markup 1.4 Comments Chapter 2: Razor and Microsoft WebMatrix 2.1 Introducing ASP.NET Web Pages 2.2 Installing WebMatrix 2.3 Your First WebMatrix Website 2.4 Data Access with WebMatrix Chapter 3: Organizing Razor Templates 3.1 Layouts 3.2 Partial Views 3.3 Razor Helpers 3.4 Razor Helper Packages 3.5 Razor Helpers versus Partial Views 3.6 Executing Common Code Chapter 4: Razor and ASP.NET MVC 4.1 Installing ASP.NET MVC 4.2 ASP.NET MVC View Engines 4.3 Implementing a Blog Site Using ASP.NET MVC 4.4 Authoring ASP.NET MVC Views with the Razor Syntax 4.5 Changing the Base Class 4.6 Layouts and Content Pages 4.7 Razor View File Locations 4.8 Html and Url Helper Classes 4.9 ASP.NET MVC's Razor View Page Rendering Life Cycle Chapter 5: The Razor API 5.1 Razor Templates: From Markup to .NET Code 5.2 Meet the Players 5.3 Advanced Templating Logic Chapter 6: Advanced Techniques 6.1 Inline Templates and Templated Delegates 6.2 Sharing Views Between Projects 6.3 Unit Testing Razor Views 6.4 Applying Razor to Text-Based Scenarios Chapter 7: Conclusion
Es gelten unsere Allgemeinen Geschäftsbedingungen: www.buecher.de/agb
Impressum
www.buecher.de ist ein Internetauftritt der buecher.de internetstores GmbH
Geschäftsführung: Monica Sawhney | Roland Kölbl | Günter Hilger
Sitz der Gesellschaft: Batheyer Straße 115 - 117, 58099 Hagen
Postanschrift: Bürgermeister-Wegele-Str. 12, 86167 Augsburg
Amtsgericht Hagen HRB 13257
Steuernummer: 321/5800/1497
USt-IdNr: DE450055826