DEV Community

Zoltan Halasz
Zoltan Halasz

Posted on

1 1

Razor Pages - Not For Shaving!

This is absolutely fantastic! Easier to understand than MVC, and some additional features vs old .net Razor pages! Using Entity Framework Core.

(article appeared on my blog https://mydev-journey.blogspot.com/2019/11/razor-pages-not-for-shaving.html)

What is Razor pages?

a. ASP.NET Core Razor Pages is a page-focused framework for building dynamic, data-driven web sites with clean separation of concerns.

b. Razor Pages can make coding page-focused scenarios easier and more productive than using controllers and views.

Best tutorials, I did them all:

  1. https://www.learnrazorpages.com/razor-pages/tutorial/bakery
  2. https://docs.microsoft.com/en-us/aspnet/core/razor-pages/?view=aspnetcore-2.2&tabs=visual-studio
  3. https://kenhaggerty.com/
  4. https://www.codeproject.com/Articles/1263791/ASP-NET-Core-Razor-Pages-Using-EntityFramework-Cor 5.https://www.youtube.com/watch?v=vh0UqlnM0Jw

Currently I build a small project, using EF core, which connects to an Azure database.It has aprox 15 pages, and uses a lot of Linq expressions.
Guys, did any of you have contact with this technology?
Do you have any tips?

Image of Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit

Top comments (1)

Collapse
 
zoltanhalasz profile image
Zoltan Halasz

Thank you. For now, my project is in .Net core 2.2, I leave it as it is. But clearly in 2020 will train myself for .Net core 3.0.

If you still have something for 2.2, in respect of Razor pages, let me know. :)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more