C
C
coracio2014-05-10 19:20:19
Mobile development
coracio, 2014-05-10 19:20:19

What is the best way to implement an application using Prism?

I'm starting to learn Prism and decided to rewrite my monolithic project using this library.
The existing WPF project consists of 3 forms: "Authorization", "Editor" and "Viewer".
When the application starts, the "Authorization" form is displayed, which, by accessing the WCF service, checks for the existence and receives the role for the entered user. In total, there are 3 roles "User", "Advanced User" and "Administrator".
"Administrator" gets to the "Editor" form and can create projects.
"User" and "Advanced User" go to the "Viewer" form, and can view the project,
Immediately ran into a problem. I don't know how to organize Shell, because Depending on the role, completely different controls with different functionality should be displayed.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question