I'm Not Writing A Book On Razor Pages

That's right - despite a number of questions, I am not writing a book on Razor Pages, the new page-based web development framework released as part of ASP.NET Core 2.0. But I have launched a web site for people who want to learn how to use ASP.NET Core Razor Pages.


I am now writing a book for Manning, called Razor Pages In Action

The site is called learnrazorpages.com, and it provides a Razor Pages flavoured view of working with ASP.NET Core. I've been working on content for the site over the last few months and have enough to go live. The great thing about providing content in this way is that I am not subject to the deadlines of a book publisher, and can easily add more content and update existing content as and when I have time.

The current site content covers the basics of Razor Pages - what it is and where to get it. It also looks at the content and structure of a Razor Pages site along with taking a closer look at the following topics:

  • PageModels
  • Handler Methods
  • Tag Helpers
  • View Components
  • Configuration
  • Routing
  • Middleware
  • Working with forms
  • Model Binding
  • Validation
  • Working with Identity
  • Dependency injection
  • and more.

I plan to add many more articles covering a wide range of other topics, including working with data - cross referencing content at another site that I launched last year, learnentityframeworkcore.com. I am close to finishing the first of a series of walkthroughs which does this, and also covers some other more advanced topics including working with ViewModels and incorporating AutoMapper within a project.

Over time, the site will hopefully become a useful resource for anyone interested in migrating to ASP.NET Core who doesn't want to use MVC. The site itself is built using Razor Pages, and the content is stored in MarkDown files. I plan to release the source code for the site at some stage. In the meantime, if there is anything in particular that you would like to see the site cover, let me know by using the comments form at the bottom of this page.