Cutting Edge - Guidelines for ASP.NET MVC Core Views RRS feed

  • General discussion

  • Razor Views in ASP.NET Core are helping change the game around HTML delivery. Dino Esposito offers an exploration of the options you have with Razor views.

    Read this article in the November 2017 issue of MSDN Magazine

    Wednesday, November 1, 2017 8:44 PM

All replies

  • Wrapping Up

    While these are all compelling resources, it’s important not to use them blindly, as they have natural drawbacks that can produce some bad outcomes if you’re not careful.

    This article tells me all the problems with the various techniques and why one shouldn't use them.

    But left me confused as to how I would produce "good outcomes" by being "careful". Reading the article:

    • Middleware looks awful even though it technically "works" 
    • Razor pages are fundamentally pointless.
    • Tag Helpers represent a trade-off between expressivity and cost of server-side rendering
    • View components might end up with poorly optimized query logic.

    Friday, November 24, 2017 6:49 PM