Answered by:
where is asp.net best practice projects

Question
-
User-1172851113 posted
Hello
I remembered that there were a web page with bunch of asp.net best practice projects where I can download different projects for learning.
I am looking for best practices for design razor page with msSql. I don't need 101 tutorial that so boring.
Thank you for help.Wednesday, February 19, 2020 6:00 AM
Answers
-
User-821857111 posted
There is an application called eshoponweb: https://github.com/dotnet-architecture/eShopOnWeb which is supposed to illustrate best practice for .NET Core, but it seems to have morphed into a confusion of approaches with some UI being generated via Razor Pages and other parts being generated as MVC views. Some of it uses Mediatr and some doesn't.
You might be better off reading the first few chapters of the companion book: https://docs.microsoft.com/en-us/dotnet/architecture/modern-web-apps-azure/ and taking the general points about loose coupling from that.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, February 19, 2020 7:38 AM -
User-821857111 posted
Microsoft stopped support asp.net frameworkNo they haven't. If you want to continue to use Web Forms, it is still supported. It will be supported for as long as .NET framework is supported. Even Classic ASP (using VBScript) is still supported. .NET 4.5.2 and later are part of Windows and enjoy the same support as the operating system.There is a lot of difference between learning how to use a framework and how to use it well (best practice). Standard tutorials teach you how to use the framework. Most best practice is framework-agnostic - it applies whether you use Web Forms, Razor Pages or Python.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, February 21, 2020 9:49 AM
All replies
-
User-821857111 posted
There is an application called eshoponweb: https://github.com/dotnet-architecture/eShopOnWeb which is supposed to illustrate best practice for .NET Core, but it seems to have morphed into a confusion of approaches with some UI being generated via Razor Pages and other parts being generated as MVC views. Some of it uses Mediatr and some doesn't.
You might be better off reading the first few chapters of the companion book: https://docs.microsoft.com/en-us/dotnet/architecture/modern-web-apps-azure/ and taking the general points about loose coupling from that.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, February 19, 2020 7:38 AM -
User288213138 posted
Hi garydon,
I am looking for best practices for design razor page with msSql.There is also an official document about Create a Razor Pages web app with ASP.NET Core for your reference.
https://docs.microsoft.com/en-us/aspnet/core/tutorials/razor-pages/?view=aspnetcore-3.1
I think the official documentation is the best practice projects.
Best regards,
Sam
Thursday, February 20, 2020 1:54 AM -
User-821857111 posted
I think the official documentation is the best practice projects.All the official documentation shows is the basics of building a Razor Pages web app. It doesn't give any guidance on best practice.Thursday, February 20, 2020 9:58 AM -
User-1172851113 posted
Thank you Mike.
May be eShopOnWeb best practice from Microsoft but I cannot to run it. Very poor documentation. There are no info about SQL scripts how to create database and so on.
I do not understand why there is no good videos for the eShopOnWeb how it install and run .It seems nobody can use Razor page for production development.
Microsoft just created some commercial Razor Pages video with bla...bla...cool...we good and so on. Nothing for real best practice.
Microsoft stopped support asp.net framework so we looking for next technology for development.
Our company use good old asp.net web framework that much easy and convenient for new developers that the new technologies from Microsoft.
We have being worked with Windows for 15 years and have a lot of projects on .net web forms. (personally I do not like MVC... too many files)
So may be it time to go with Python with Google who is lead on developers market. What do you think?
ThanksFriday, February 21, 2020 5:55 AM -
User-821857111 posted
Microsoft stopped support asp.net frameworkNo they haven't. If you want to continue to use Web Forms, it is still supported. It will be supported for as long as .NET framework is supported. Even Classic ASP (using VBScript) is still supported. .NET 4.5.2 and later are part of Windows and enjoy the same support as the operating system.There is a lot of difference between learning how to use a framework and how to use it well (best practice). Standard tutorials teach you how to use the framework. Most best practice is framework-agnostic - it applies whether you use Web Forms, Razor Pages or Python.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, February 21, 2020 9:49 AM