dotnet-architecture / eShopOnContainers

Cross-platform .NET sample microservices and container based application that runs on Linux Windows and macOS. Powered by .NET 7, Docker Containers and Azure Kubernetes Services. Supports Visual Studio, VS for Mac and CLI based environments with Docker CLI, dotnet CLI, VS Code or any other code editor. Moved to https://github.com/dotnet/eShop.
https://dot.net/architecture
24.53k stars 10.35k forks source link

[Feedback] Support for .NET Core 2.0 Razor Pages (replacement for MVC) #315

Closed ghd258 closed 7 years ago

ghd258 commented 7 years ago

Support for .NET Core 2.0 Razor Pages (replacement for MVC)

CESARDELATORRE commented 7 years ago

The focus for this project is currently most of all about the microservices, not so much about the client apps. So, this is a good idea but for now we cannot prioritize it as we have many other priorities in the backlog. However, if you want to see an "eShop sample" with .NET Core 2.0 Razor Pages, we'll be building it for the plain-vanilla eShopOnWeb (no Docker Containers, here): https://github.com/dotnet-architecture/eShopOnWeb/tree/netcore2.0 Still not started, though, but it'll be done in a few weeks.

SychevIgor commented 7 years ago

I'm not part of dev team for this project, but from my name I can say - in a dev community we have some concerns against Razor Pages and investing time in it. Primary argument is- that razor pages are not giving us anything extra over normal mvc controllers in one hand, but limiting development in another hand. 100% sure, that asp.net core product team have some good reason to invest their time in razor pages, but some part of the community think it as a one more reincarnation of web forms...

Once again, it's my personal opinion and opinion of some people I know from community. It's not the official position of Microsoft or any product group.

ardalis commented 7 years ago

@SychevIgor have you read this and associated MSDN article? https://ardalis.com/aspnet-core-razor-pages-worth-checking-out

SychevIgor commented 7 years ago

@ardalis only after you give me this link. It didn't change my opinion, but it give me some time think about my opinion and type it here.

In a one sentence my position is "One ring/framework to rule them all". I'm not sure that I will tell you something you never heard before about it, but let's try:

CESARDELATORRE commented 7 years ago

Closing this one. I'm setting Razor pages as a possible update in eShopOnContainers, with not very high priority, though, for now, as that is focusing more on a client application.