Is Blazor suitable for e-commerce?

Cenk 1,021 Reputation points
2024-10-03T08:44:53.54+00:00

Hello,

I have some experience developing applications (including an e-commerce app for learning purposes) with Blazor and a new real project with more requirements is underway. I need your advice on whether using Blazor for an e-commerce app is a good choice. The project requirements are listed and I would be glad if you could share your experiences, pros, and cons regarding performance and user experience.

Thank you.

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,584 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 65,576 Reputation points
    2024-10-03T16:10:36.0766667+00:00

    it depends on the e-comm site requirements. generally SPA solutions are not popular for e-comm sites during to:

    • crawler requirements. if the SPA is behind authentication or paywall, then its not crawl-able anyway.
    • slower initial page startup
    • support mobile network connectivity losses

    in general SPA's are more useful when you want a mobile or desktop experience, and are less concerned with search results. an ecomm site might use SPA pages for sections of the site, that are more special purpose (say purchase, preferences, etc).

    take for instance this site, you could maybe build a better experience with a SPA, but search and discoverability are more important. Only the editor is client code.

    note: for an e-comm SPA site, probably only Blazor WASM makes sense, as mobile access is generally required, and the network is not reliable.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.