Skip to content

ASP.NET core hybrid solution for SPA or PWA apps #44331

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
mojtabakaviani opened this issue Oct 3, 2022 · 4 comments
Closed
1 task done

ASP.NET core hybrid solution for SPA or PWA apps #44331

mojtabakaviani opened this issue Oct 3, 2022 · 4 comments
Labels
area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates feature-spa ✔️ Resolution: Answered Resolved because the question asked by the original author has been answered. question Status: Resolved

Comments

@mojtabakaviani
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

I develop asp.net and asp.net core web sites for long times, asp.net is very good for backend but not have solution for new technology such as SPA or PWA for frontend developing and need use Reactjs, Vuejs and others JavaScript frameworks for client side. but these frameworks have some limitation and not integrated with asp.net. for example, just can user asp.net for backend and JavaScript frameworks for frontend or cannot use Razor rendering or server side rendering is slow.

Describe the solution you'd like

I like asp.net core have hybrid solution for SPA or PWA apps not need JavaScript frameworks but have such this solution for client side and can use Razor for SSG and SSR rending and asp.net core instead of node.js for rendering performance.

Additional context

Mybe your suggestion that user Blazor or reactjs.net but l think if have JavaScript micro framework better reception with developers and no need use Reactjs, Vuejs frameworks for many scenarios

@javiercn javiercn added the area-blazor Includes: Blazor, Razor Components label Oct 3, 2022
@javiercn
Copy link
Member

javiercn commented Oct 3, 2022

@mojtabakaviani thanks for contacting us.

Our solution for SPA and PWAs is Blazor. You can use Blazor Server which does all the rendering server-side. We also have this issue #38114 which would enable static site generation if that's what you are looking for.

We do not plan to create any micro-JS framework or similar solution as we believe those scenarios are covered by adding Blazor Server components to the existing MVC app.

@mojtabakaviani
Copy link
Author

mojtabakaviani commented Oct 3, 2022

@javiercn thanks for reply.

I think just see count of developed frontend with popular javascript frameworks vs Blazor, Asp.net core have potential to more favorites if have own javascript solution for SPA and PWAs, because is more usable for full stack developers.

@javiercn
Copy link
Member

javiercn commented Oct 4, 2022

@mojtabakaviani I am not sure I am following through, but I would say that most people use an existing framework like React/Angular/Vue. We already have integration with Angular and React in ASP.NET Core out of the box and we've shown how to integrate other frameworks like Vue or Svelte with ASP.NET Core in a similar way.

At this point we do not plan to offer further integration in this area.

@javiercn javiercn added question area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates feature-spa ✔️ Resolution: Answered Resolved because the question asked by the original author has been answered. and removed area-blazor Includes: Blazor, Razor Components labels Oct 4, 2022
@ghost ghost added the Status: Resolved label Oct 4, 2022
@ghost
Copy link

ghost commented Oct 5, 2022

This issue has been resolved and has not had any activity for 1 day. It will be closed for housekeeping purposes.

See our Issue Management Policies for more information.

@ghost ghost closed this as completed Oct 5, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Nov 4, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates feature-spa ✔️ Resolution: Answered Resolved because the question asked by the original author has been answered. question Status: Resolved
Projects
None yet
Development

No branches or pull requests

2 participants