Fellow Csla developers and Desktop apps #3770
Replies: 8 comments 9 replies
-
I must say @Chicagoan2016, that I've been almost entirely focused on Blazor for quite some time. And combining Blazor with MAUI allows you to create native Windows apps with (what I think is) the best UI framework Microsoft has created thus far. On the other hand, if you are willing to use "modern" DI concepts with Windows Forms or WPF, those UI frameworks are quite compelling (imo) if you use DI instead of an MVVM framework. The thing about DI is that it replaces at least one of the major reasons for needing an MVVM framework, in that it allows a "page" (form?) to have a constructor that requires a viewmodel as a service. And that viewmodel can instantiate a domain object. I haven't spent extensive time doing this, but enough that I'm convinced that if a winforms or wpf app were to embrace DI (and CLSA 6+), it would be a pretty nice experience to build a Windows app using DI+CSLA. All that said, I still think Blazor is too good to ignore, and so I'd explore the Blazor Hybrid (MAUI) idea of creating a Windows-only MAUI Hybrid app. |
Beta Was this translation helpful? Give feedback.
-
@rockfordlhotka Thank you Sir. One big consideration for our team is the SSRS Reporting services and how we use reports in winforms inside reportviewer control. Do we have something similar for Blazor Hybrid applications? |
Beta Was this translation helpful? Give feedback.
-
We are very slowing moving to WPF from WinForms, but using MVVM. All new screens are WPF and we convert older ones. I think WPF has a reportviewer control built in. |
Beta Was this translation helpful? Give feedback.
-
+1 for Blazor (server side interactive for LOB apps) - You get 'stateful app dev on the web'. Very productive. Obviously, there are many questions, but two most important to know if Blazor (as a web-ized desktop app) could work for you would be:
If it works for you, I agree with Rocky...Blazor interactive server has taken everything we've thrown at it and it just keeps delivering. Very complex UIs, barcode stuff, multi-tab collaboration for user, dynamic user interfaces created by users, integrating 3rd party HTML5 and js apps. We translated a ~400 screen WebForms app and man what a dream compared to WebForms (rest in peace). That said we have also made 3 different .net 6 side apps using Windows Forms using dependency injection as Rocky says. They work great. Personally I've never used WPF (TBH avoiding having to learn XAML). |
Beta Was this translation helpful? Give feedback.
-
Our app still uses Crystal Reports for our reporting. We offloaded that to a hybrid web api / web app since it requires .Net Framework legacy. But our Blazor app talks to the web api to prepare everything on the report side...and then opens a popup window which navigates the user to the crystal report viewer. Maybe that helps you see one possible way to offload that piece. HTH |
Beta Was this translation helpful? Give feedback.
-
Great responses 👍👍 Kind Regards |
Beta Was this translation helpful? Give feedback.
-
That word "extremely" gives me pause. If a user types VERY fast, and they are on a connection with some latency, it is possible they might bump up against a perceived lag in Blazor Server Interactive. Every keypress needs to be sent to the server over a web sockets connection. Tool vendors like Telerik expose a DebounceDelay property that can make a difference in user experience. I'm on Starlink internet and I type about ~50 wpm and I have not yet bumped against the lag but our customers enter data kind of "pulsed" with thinking giving time delays between typing. I guess what I am saying is if your use of the word "extremely" is not exaggerated, then you might be right to get the UI (and thus the input speed) as close to the user as possible which then leads you toward:
|
Beta Was this translation helpful? Give feedback.
-
I've used csla for many many years wehave WinForms vb6 & .net 4.8 apps , WPF, Blazor Server and now trying .net 9 Blazor Web App with csla 9 preview 3. I love WinForms and WPF but have to say switching back between my WPF app and Blazor I really prefer Blazor (even though I still struggle with the rendermodes) . Thats how I found this post looking for rendermode answers. Just discovered the new .net 9 RenderModes and just about to dive in. We went from Crystal reports to DevExpress on WPF Our users get used to the lagy webapps. They are used to their accounts packages etc and forget how quick WPF was and prefer the convienance over a webapp. Happy to help if I can. |
Beta Was this translation helpful? Give feedback.
-
We have a few Winforms applications. In the past one of the developers tried WPF but he didn't use any MVVM framework and the code (behind the forms) is even 'worse' than Winforms.
What do fellow Csla developers recommend for Desktop development?
We only target windows machines.
Regards
Beta Was this translation helpful? Give feedback.
All reactions