<<Home

What Microsoft's Scott Hanselman Does Not Tell You About His Work

By
Posted on 10/27/2021

Broader Topic: Microsoft
Sentiment: Negative
Post # 6066 posted in:
Rant & Rave - Business - Technology

Scott Hanselman of Microsoft won't tell you that his Contoso Crafts demo will break if forced to process a large amount of data. This means that new developers are likely to get suckered into using ASP.net Core thinking it will be easy because of how easy he makes it look in his demo. Then they will copy his methods as close as possible thinking that surely a Microsoft employee would lead them down the right path. Everything will seem fine for awhile until they have a lot of data in their posts table at which point the dataset is too big to work with Scott's get all data method. Don't believe me? Just look at how slow this site is and how often error messages are displayed instead of posts.

Other developers are recommending the use of something called a ViewModel which Hanselman never discussed in Contoso Crafts. They say using the ViewModel to compute properties would be preferable to doing it the GetPosts() method of the PostsService class. I thought everything needed to be computed in a service class since that is how it was done in Contoso Crafts and other examples from either Microsoft or other so called ASP.Net experts.

Scott Hanselman Claims .Net Core is Easy

Login to Comment and Rate

Already a PostAlmostAnything.com member?Login Here

Register to Comment and Rate

If you are not yet a PostAlmostAnything.com member Sign Up Here.


By
Posted on 10/27/2021

Don't use ASP.Net or any Microsoft framework for that matter. There is a reason why most of the world uses Linux servers. They are faster and the LAMP environment (Linux, Apache, MySQL, PHP) is way better supported than Windows Server, IIS, SQL Server, and C#. Plus you can use WordPress to build almost any type of site. I wish the business school at Oregon had taught me to build e-commerce sites with WordPress and Woo Commerce instead.