Sunday, March 3, 2019

Razor Pages Vs MVC speed comparison

Hi all,

So I'm developing a web app that mostly makes API calls via a Swagger C# client (generated), and it's set up using the ASP.NET Core MVC approach.

Well, I started looking into Razor Pages, and spent the last 2 or so hours rewriting it all in a separate branch, converting the MVC approach to Razor Pages. Now that it's all done, I have some mixed feelings.

My main question, is there any speed benefit to using Razor Pages over MVC? At first glance it seems faster, but I don't know how to effectively benchmark that. I do enjoy how much cleaner the codebase is (one Pages folder), but editing the code behind can be a bit annoying when everything is named almost the same thing.

Anyone have any reason to stick with Pages over MVC? Or any ideas on speed benefits? Thank you!

Razor Pages Vs MVC speed comparison Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team