ASP.net like form based authentication in WPF MVVM prism [closed]

て烟熏妆下的殇ゞ 提交于 2019-12-04 10:54:48

Assuming you are using Regions to navigate within your application, then your viewModels can implement the IConfirmNavigationRequest interface.

There, you can use ConfirmNavigationRequest which takes a callback, to determine if the user has access to the view, and if not, deny it.

Samples can be found here

Check out this link to learn more about this

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!