Future of Spark #24
Replies: 9 comments 19 replies
-
Can you elaborate? I take you are not as excited for the new Blazor as you were before? |
Beta Was this translation helpful? Give feedback.
-
|
Is there an inertia.js adapter for dotnet 6+? |
Beta Was this translation helpful? Give feedback.
-
|
I would say finishing the first stable and complete version of Spark first, especially the back-end so that we can really start building something on it without concerns. Blazor server is okay for small scale application in anyway. Or you would move away from Blazor in the future? |
Beta Was this translation helpful? Give feedback.
-
|
I am sad to hear that they might be bailing on the idea. If that is the
case I am not sure where blazor’s place is in the SPA space, and if not
there then in general. I love blazor but the hot reload is a mess compared
to the various js frameworks and vite for example. I love the syntax for
most concepts and the barrier to entry for concepts like state vs react is
lower. But I must have missed that take about blazor united being bailed
on.
…On Sat, Aug 12, 2023 at 9:52 AM Weston Walker ***@***.***> wrote:
That is the selling point. I haven't seen any proof of those claims though
and am very skeptical of how it will work in real world scenarios. There
was also a talk done recently by Microsoft where they stated they would be
splitting WASM project types back out to it's own thing. So it would seem
like they are bailing on this idea.
—
Reply to this email directly, view it on GitHub
<#24 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABYGFAKFFYI746TXKGCQOS3XU6KD7ANCNFSM6AAAAAA2CFWMR4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
|
Don’t sleep on blazor hybrid with Maui or WinForms. It is legit.
…On Sat, Aug 12, 2023 at 11:51 AM Sturla Thorvaldsson < ***@***.***> wrote:
So it would seem like they are bailing on this idea.
Do you have a link/info?
Maybe we can try to get some feedback on this from MS? Ticket og Twitter
😅
—
Reply to this email directly, view it on GitHub
<#24 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABYGFAO2H33PW4T7T734NRTXU6X75ANCNFSM6AAAAAA2CFWMR4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
After taking in some feedback from the community and talking with some Microsoft devs about Blazor in .NET 8, I've made a final decision about the future of Spark. Starting in .NET 8, Spark's main project type will be Blazor SSR. Any component within Blazor SSR can be tweaked to use Blazor Server, which gives you rich UI interactivity. This to me is a nice sweet spot. Spark will continue to support the API, Razor and MVC templates. However, Blazor will see new Spark features first. I will also have to rely on community contributions more to help keep those other project templates up to date as it's hard to do all of them myself. I'm sure some are wondering, what about WASM? Well, the recent news is WASM will not fit right in with Blazor SSR and Blazor Server as previously proposed by Microsoft in .NET 8. It will be it's own separate project type. That is unfortunate but understandable, as implementing Auth and other things in WASM are completely different from Blazor SSR and Blazor Server. Because of this, Spark will not have first class support for WASM projects. |
Beta Was this translation helpful? Give feedback.
-
|
Would it be wise, then, to have your new template contain a Blazor Server
project and also a Microsoft.NET.Sdk.Razor client library project type by
default? This project would contain all of the Pages, Components, and
Services. This way, if, down the road, someone wanted to add WASM, they
just reference the shared project?
You wouldn't need to have WASM out of the box, but should anyone add it,
they aren't moving a bunch of stuff into something that is accessible by
both.
I might still be thinking too much in .NET 6/7 terms, as I haven't explored
the .NET 8 features or proposed features, so maybe this shared UI (for lack
of a better term) project isn't necessary, but it feels like it would be.
…On Wed, Aug 16, 2023 at 10:31 AM Weston Walker ***@***.***> wrote:
After taking in some feedback from the community and talking with some
Microsoft devs about Blazor in .NET 8, I've made a final decision about the
future of Spark.
Starting in .NET 8, Spark's main project type will be Blazor SSR. Any
component within Blazor SSR can be tweaked to use Blazor Server, which
gives you rich UI interactivity. This to me is a nice sweet spot.
Spark will continue to support the API, Razor and MVC templates. However,
Blazor will see new Spark features first. I will also have to rely on
community contributions more to help keep those other project templates up
to date as it's hard to do all of them myself.
I'm sure some are wondering, what about WASM?
Well, the recent news is WASM will not fit right in with Blazor SSR and
Blazor Server as previously proposed by Microsoft in .NET 8. It will be
it's own separate project type. That is unfortunate but understandable, as
implementing Auth and other things in WASM are completely different from
Blazor SSR and Blazor Server. Because of this, Spark will not have first
class support for WASM projects.
—
Reply to this email directly, view it on GitHub
<#24 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABYGFANMOYOUBUDYGKFC6DLXVTKVLANCNFSM6AAAAAA2CFWMR4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Oh, I love working with Blazor, particularly in web assembly. Your observation is accurate, though – the application size is exceptionally large, and it demands a robust machine for smooth operation. Have you considered the possibility of incorporating it with Angular or React? |
Beta Was this translation helpful? Give feedback.
-
|
Hi @westonwalker! Spark looks super interesting. Are there any plans for adding multi tenant support? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I wanted to share my thoughts on the future of spark and also get feedback/opinions from all of you.
Blazor in .NET 8
Over the past week, I've played around with .NET 8 and the Blazor changes. My hope was I could use Blazor the same way Blazor Server works in .NET 7 but without the web socket dependency. Unfortunately, things like interactivity won't work unless you opt-in to Blazor Server (Websockets) or WASM.
This is a big deal because both of those have big problems. SignalR uses websockets. Servers can only handle so many websocket connections at a time.
WASM has a large download size and quite frankly, does not give a good user experience.
So I was left thinking, what should the future of Spark be knowing Blazor in .NET 8 isn't what I was hoping.
Where to go from here
I'm thinking of make Spark a web project for .NET in general, not just Blazor.
This would mean 3 different project templates. All with the same backend and 3 choices for frontend.
The 3 frontend choices would be:
If you haven't used InertiaJS, check it out here https://inertiajs.com/
The quick explanation is it's a small library to integrate React, Vue, or Svelte into your backend app while keeping the monolith architecture. All routing is done server side. So your MVC controllers would do some logic and return the frontend component that should render while maintaining all the benefits of using the frontend frameworks. It also means you can use all of the middleware provided by .NET, like authorization.
Providing the MVC option also gives devs who just want an API the ability to use all the Spark goodies like mailers, scheduled jobs, etc...
Let me know what you all think
Beta Was this translation helpful? Give feedback.
All reactions