You are previewing Sams Teach Yourself ASP.NET 5.0 in 24 Hours.
O'Reilly logo
Sams Teach Yourself ASP.NET 5.0 in 24 Hours

Book Description

&>

When ASP.NET first shipped as part of the.NET Framework in 2002, it was designed to make it easy for developers used to writing desktop applications to build Web applications with ASP.NET Web Forms. As the Web evolved, new frameworks were added to ASP.NET, including MVC in 2008, Web Pages in 2010, and Web API and SignalR in 2012.

This version of ASP.NET is a huge departure from its predecessors.  Microsoft has rewritten ASP.NET from the ground up with modern framework techniques.  The goal of this dramatic change is to improve the foundation of ASP.NET and make it cross-platform capable.  The new stack is significantly smaller, lightning quick and open source for the world to review and contribute to.

ASP.NET 5 is a landmark release in many ways. It's full open source from the start, cross-platform and supported on Windows, Mac, and Linux. It includes contributions from the community and is being developed in the open on GitHub. ASP.NET 5 includes lots of great updates as well like TagHelpers, the unification of MVC and Web API, the componentization of the .NET Framework, dependency injection built in, an all-new project system, and deep client-side tooling for things like Bower, Gulp, and Grunt. This is an exciting time for the Microsoft web platform!


Table of Contents

  1. Contents
  2. Hour 1. Introduction to ASP.NET 5
    1. What is ASP.NET
    2. Assumptions and Definitions
    3. The Sample Project
    4. Summary
    5. Workshop
    6. Exercise
  3. Hour 2. Getting Started – Set up your work environment for ASP.NET 5
    1. Four Versions of Visual Studio, where do I start?
    2. Installing on non-Windows Operating Systems
    3. Introducing dnvm, dnx, dnu
    4. Summary
    5. Workshop
    6. Exercise
  4. Hour 3. Hello World! – Exploring the New Project Templates
    1. Getting Started with Visual Studio 2015
    2. Summary
    3. Exercise
  5. Hour 4. Server-Side Project Configuration
    1. Introducing our Sample Application
    2. Getting Started with Server-Side Configuration
    3. NuGet Packages
    4. .NET Configuration for your project
    5. Application Commands
    6. Summary
    7. Exercise
  6. Hour 5. Service Configuration with the Startup Class
    1. Introducing the Startup Class
    2. Summary
    3. Workshop
    4. Exercise
  7. Hour 6. Application Configuration
    1. Configuration File Options
    2. Summary
    3. Workshop
    4. Exercise
  8. Hour 7. Data Access – Entity Framework 7 [This content is currently in development.]
  9. Hour 8. Introduction to MVC Architecture
    1. Definition of MVC Architecture
    2. Summary
    3. Workshop
  10. Hour 9. Beginning MVC 6 – Our First Controller
    1. MVC Folder Structure
    2. Summary
    3. Workshop
    4. Exercise
  11. Hour 10. Beginning MVC – Writing our first view
    1. Introducing Razor Templates
    2. Summary
    3. Workshop
    4. Exercise
  12. Hour 11. Beginning MVC 6 – Scaffolding views [This content is currently in development.]
  13. Hour 12. Beginning MVC 6 – Writing data from a Controller [This content is currently in development.]
  14. Hour 13. Beginning MVC 6 – Web API Methods [This content is currently in development.]
  15. Hour 14. Single-Page-Application Architecture – Introducing Angular 1.3 [This content is currently in development.]
  16. Hour 15. Single-Page-Application Architecture – Interacting with server-side methods [This content is currently in development.]
  17. Hour 16. Single-Page-Application Architecture – Routing [This content is currently in development.]
  18. Hour 17. Configuration: Package.json – npm configuration [This content is currently in development.]
  19. Hour 18. Configuration: bower.json – static file references from Bower [This content is currently in development.]
  20. Hour 19. Configuration: gulpfile.js – Automating tasks [This content is currently in development.]
  21. Hour 20. Security – Authentication configuration [This content is currently in development.]
  22. Hour 21. Security – Authorization [This content is currently in development.]
  23. Hour 22. Advanced MVC 6 – Tag Helpers [This content is currently in development.]
  24. Hour 23. Live Updates with SignalR [This content is currently in development.]
  25. Hour 24. Deployment to Production [This content is currently in development.]