Prism For WPF Login dialog is one of the simple and reasonable solutions
This is a minimalist short essay.
This is a minimalist short essay.
Let's not talk about the advantages of using Prism to make MVVM. It mainly uses container injection, messages and DI, which saves a lot of work than writing it yourself. There are many standard ways to use MVVM online, but there is no system-level framework. This framework has been built from login to specific business use, as well as automatic upgrades
Some netizens asked for a request. How to pop up a dialogue box in Prism Module? Like the About dialog box popped up on the main interface?
The general operation process for general client projects is: popup login window ="account verification successful =" close login window ="popup main window =" work in main window.
The previous article briefly introduced the internationalization of the main project, which was implemented using the Resource Dictionary (XAML). I have added several Prism modules (Modules) in the past few days, and found that it is difficult to achieve internationalization and localization of sub-modules by using resource dictionaries. I couldn't find a better reference article, so I changed the method and used resource files to achieve it.
This project applies the Prism MVVM framework. The project shows that the data comes from other service programs and uses WebAPI communication. If you want to run this program normally, you need to make your own WebAPI program, which is driven by the API interface. In fact, it is the most direct to directly view the code. If you need it, you can easily extract it yourself, even if the project cannot run.