Home > Store > Programming > ASP .NET

ASP.NET Core 1.0 in 24 Hours, Sams Teach Yourself, Rough Cuts

ASP.NET Core 1.0 in 24 Hours, Sams Teach Yourself, Rough Cuts

Rough Cuts

  • Available to Safari Subscribers
  • About Rough Cuts
  • Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.

Also available in other formats.

Description

  • Copyright 2017
  • Dimensions: 7" x 9-1/8"
  • Pages: 600
  • Edition: 1st
  • Rough Cuts
  • ISBN-10: 0-13-439234-5
  • ISBN-13: 978-0-13-439234-9

&>

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!


Sample Content

Table of Contents

Chapter 1: Introduction to ASP.NET Core

Why a new ASP.NET?

Assumptions of this book

Some HTML knowledge

Some C# knowledge

Little to no prior ASP.NET knowledge

Overview of capabilities

Introduction of sample project


Chapter 2: Setup Your Machine

Recommended for Windows

Install VS 2015

Discuss Community, Pro, Enterprise editions

For Linux and Mac OSX

Install framework

Install Omnisharp for your editor

Install optional tools


Chapter 3: Hello World - Reviewing the basic project template

Src folder and static files

Server-side C# files


Chapter 4: Server-side Application Configuration: Project.json - defining the ASP.NET configuration

NuGet Package references

Framework configurations - Core vs. Desktop framework

Command configurations


Chapter 5: Server-side Application Configuration: Startup class - service configuration

Configure dependency injection

Configure web application services

Configure MVC services


Chapter 6: Server-side Configuration: Config.json and configuration environment variables

What to place in Config.json?

How can I use the values stored in config.json?

Why does ASP.NET use environment variables for configuration?

How do I write environment variables that ASP.NET can use?


Chapter 7: Data Access - Entity Framework 7

Configuring data access

Constructing a repository

Connecting to a real database


Chapter 8: Beginning MVC Core - Concepts of the MVC architecture

Models

Views

Controllers


Chapter 9: Beginning MVC Core - Our first controller

Action methods for Search

Action method for GetById


Chapter 10: Beginning MVC Core - Writing a view for Search

Building a grid with HTML

Automating the grid with JavaScript


Chapter 11: Beginning MVC Core - Scaffolding views

Introduction to scaffolding

Scaffolding Add and Edit views

Customizing the scaffolder for future use


Chapter 12: Beginning MVC Core - Writing data from a Controller

Integrating Add and Edit actions with Entity Framework 7

Data Validation


Chapter 13: Beginning MVC Core - Web API Methods

Introduce Web API verbs

Updating with Web API shims


Chapter 14: Single-Page-Application Architecture - Introducing Angular 2

Introduce Angular framework - pros and cons

Basics of adding Angular to ASP.NET MVC

Updating the Add / Edit page for use with Angular to validate content


Chapter 15: Single-Page-Application Architecture - Interacting with server-side methods

Introducing $http and server-side communication

Update the Add / Edit page to submit updates


Chapter 16: Single-Page-Application Architecture - Routing

Introduce Angular routing

Add Search view into the single-page application


Chapter 17: Configuration: Package.json - npm configuration

How to mix node.js components with ASP.NET

Components to consider to make your ASP.NET development easier


Chapter 18: Configuration: bower.json - static file references from Bower

Why is bower needed?

Adding packages to configuration

Configuring Bower to work better for your project

Recommended packages


Chapter 19: Configuration: gulpfile.js - Automating tasks

What does Gulp do? Why Gulp?

Adding packages for Gulp to use

Configuring Gulp tasks

Suggested Gulp configurations


Chapter 20: Security - Authentication configuration

Single-sign-on

Active Directory


Chapter 21: Security - Authorization

Storing authorization information

Working with authorization information


Chapter 22: Advanced MVC Core - Tag Helpers

What is and why should I use Tag Helpers

Build a simple tag helper for Bootstrap alert component

Build a more advanced tag helper for a Bootstrap navbar component


Chapter 23: Deployment to Production

Azure

Window Internet Information Server (IIS)

Linux options


Chapter 24: ASP.NET Core and Docker Containers

Intro to docker for developers

Create an ASP.NET Core image

Build a production-quality set of containers

Scale your containers

Updates

Submit Errata

More Information