MarimerLLC / cslaforum

Discussion forum for CSLA .NET
https://cslanet.com
Other
31 stars 6 forks source link

Blazor ProjectTracker app #836

Open rockfordlhotka opened 4 years ago

rockfordlhotka commented 4 years ago

For those interested in watching the sausage being made, I've started working on a Blazor UI for ProjectTracker in this working branch.

Right now I'm doing a server-side Blazor project, then I'll do a client-side project. The two should be fundamentally identical, except for some project dependencies and the Startup code.

BlagoCuljak commented 4 years ago

Hey @rockfordlhotka that's great. Hope that authentication will be included.

I was thinking what type of Blazor side should I choose for my project to work with CSLA. More than I think about it, seems that client side is far better choice for some let's say, enterprise app.

If all the logic is on the server side (Dataportal), then all the "dumb" UI code can be downloaded to client and worries about reversing our app, are not that important. That's way CSLA + Blazor Client are unmatched imo.

SignalR can be tricky with connections, latency, etc, but it is safer, if your entire logic is in ViewModel.

Hopefully we should have client side support in May next year and that we won't have much of changes until official client-side release.

rockfordlhotka commented 4 years ago

Today was a roller coaster. I got some stuff working, had other stuff unexpectedly fail. Finally figured out that failure, which just revealed another failure, and then another.

In the end though - at 12:30 am - I have a ProjectEdit form that actually creates/edits projects, honoring business rules (authz, validation, etc.) as one would expect.

Next step is to display, assign, and remove resources from the project.