infuerno.github.io

ASP.NET Core Application Development: Building an application in four sprints

Part 1: Alpine Ski House

References

Chapter 1: How we got here

ASP.NET MVC

Editor and View templates

The power of user controls not initially available in MVC, but rectified by the introduction of editor and view templates. Fantasic and underused. Allows you to assign a template to a view in a model. When Razor needs to show an editor or view for a particular field, checks for a special template.

@Html.DisplayFor(model => model.StartDate)
@Html.EditorFor(model => model.StartDate)

Either defined by convention OR by annotating a field in the model with a UIHint

Filters

A filter is an annotation either to a controller or an action method and can intercept and change any request, adding or updating data or changing the flow of the request. Often used by security e.g. [Authorize].

Middleware

Middleware, built on the OWIN standard, largely replaces custom IIS modules.

Web API

ASP.NET Core

Chapter 2: Influences

Rails

Node.js

Angular and React

Open source

OWIN