razor-pages

Opinion Time: Should Razor Pages Be the Default for ASP.NET Core Apps?

A few days ago I published the latest ASP.NET Core Demystified post which was all about Razor Pages and demonstrated how to build an app using them. In the process of writing that post, I realized that I had a deep, pervasive problem with one of Microsoft's decisions regarding Razor Pages, and I need your help to convince me either that I'm right, I'm wrong, or I'm making a mountain out of a molehill (or even all three). Let's... Read more >

ASP.NET Core Demystified - Razor Pages

ASP.NET Core 2.0 was released just a few weeks ago, and included a new feature that may be the biggest single addition to ASP.NET Core since it was announced: Razor Pages! Come along with me as we figure out what Razor Pages are for, how they are used, and why they might be a helpful addition to our development toolbox. What are Razor Pages? Razor Pages are a new feature in ASP.NET Core 2.0, and... Read more >

Setting a Custom Default Page in ASP.NET Core Razor Pages

I've been messing around with ASP.NET Core 2.0 since its release, and in particular the new Razor Pages feature which seems like WebForms done right. I'm not totally convinced that Razor Pages is a good idea for my apps, but for now it's been quite interesting to learn. There was, however, one particular thing that bugged me while I was trying to set up a sample project for a forthcoming post: how in the heck do you change... Read more >