Questions tagged [prism-6]

Prism 6 is a fully open source version of the Prism guidance originally produced by Microsoft patterns & practices. The core team members were all part of the p&p team that developed Prism 1 through 5, and the effort has now been turned over to the open source community to keep it alive and thriving to support the .NET community.

Prism is a framework for building loosely coupled, maintainable, and testable XAML applications in WPF, Windows 10 UWP, and Xamarin Forms. Separate releases are available for each platform and those will be developed on independent timelines. Prism provides an implementation of a collection of design patterns that are helpful in writing well-structured and maintainable XAML applications, including MVVM, dependency injection, commands, EventAggregator, and others. Prism's core functionality is a shared code base in a Portable Class Library targeting these platforms. Those things that need to be platform specific are implemented in the respective libraries for the target platform. Prism also provides great integration of these patterns with the target platform. For example, Prism for UWP and Xamarin Forms allows you to use an abstraction for navigation that is unit testable, but that layers on top of the platform concepts and APIs for navigation so that you can fully leverage what the platform itself has to offer, but done in the MVVM way.

Prism 6 is a fully open source version of the Prism guidance originally produced by Microsoft patterns & practices. The core team members were all part of the p&p team that developed Prism 1 through 5, and the effort has now been turned over to the open source community to keep it alive and thriving to support the .NET community.

148 questions
3
votes
2 answers

Initialize Shell with ViewModel after all modules loaded in Prism 6

The ViewModel (set via AutoWireViewModel="True") of my Shell / MainWindow requests a dependency which gets loaded in a module at startup using the ConfigurationModuleCatalog. Because the Shell is initialzed before the modules, the DI container…
user5856424
3
votes
2 answers

Prism 6 with Unity - resolving view models for views without naming convention

I am trying to have view models resolved using DI with Prism 6 and Unity in my WPF app and this works. However I don't know how to tell the framework which view should be merged with which view model. If I use the convention, i.e. have ViewModels,…
Łukasz
  • 8,555
  • 2
  • 28
  • 51
3
votes
1 answer

How to test region manager navigation with Unit tests and Prism 6 (WPF & MVVM)

I have a view model that contains a list of algorithms. The list is displayed in the View as a ListBox and the user can select one of the algorithms. After an algorithm is selected, the user can click on a button that should execute a command in the…
melculetz
  • 1,961
  • 8
  • 38
  • 51
3
votes
0 answers

login screen to show before shell in prism 6

Im working on wpf sample app with Prim 6...I have login window and Main Screen(Shell)...Im using unity as BootStrapper. I want to show login screen before shell loading...Im doing this way... protected override DependencyObject CreateShell() …
user1641519
  • 377
  • 1
  • 4
  • 17
3
votes
1 answer

UWP navigation causing Access Viloation

I am converting my WP 8.1 app to UWP and as I was interested in using prism I thought I would build my app from the ground up. I have created a page with a button the navigates to another page, deployed the app and gave it a go. When I click the…
Gaz83
  • 2,293
  • 4
  • 32
  • 57
3
votes
4 answers

Prism: How to load Default View in Shell Region with Unity Bootstrapper

When I look Prism Navigation QuickStart demo, it uses Mef Bootstrapper and use IPartImportsSatisfiedNotification interface in Shell.xaml.cs file to load default view into the Shell Region as following. [Export] public partial class Shell :…
Steve.NayLinAung
  • 5,086
  • 2
  • 25
  • 49
2
votes
0 answers

Prism Migration from version 6.3 to 8.1

I have a WPF Prism application in 6.3 need to upgrade it to Prism 8.1, there are lots of changes on levels of bootstrapper class, Prism Logger being depreciated in 8.1, I'm using PrismApplication class from Prism.WPF in place of bootstrapper, Am I…
Deepak HN
  • 21
  • 2
2
votes
0 answers

Is this the right way of doing and displaying validation on WPF, Prism, MVVM?

I'm new to WPF, Prism, and MVVM and I'm finding very little information out there. When it comes to validation and displaying validation errors, I read quite a few blog posts and articles and none seemed to work anymore. What I'm trying to achieve…
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
2
votes
1 answer

Prism : Register region in another window than shell

I'm building a project with Prism and I was wondering if there is a way to have region from another window than the shell registred in the region manager. The control i try to build has to be in a separate window, and it would be nice to have region…
NyrOne
  • 21
  • 2
2
votes
0 answers

Postsharp get "Ambiguous assembly binding policies" error

When I add Postsharp (5.0.44) to one of my project, I get this error when compile it, after checking I see Postsharp has problem with Unity (v4.0.30319), updated Unity to version 5 and problem solved, but another problem is my other project using…
kvuong
  • 485
  • 3
  • 20
2
votes
1 answer

WPF - PRISM: How to close CustomPopupWindow with button click

This one is playing with me, and I cannot seem to figure it out - I need some external help here bro's! I want a popup window that does not have the title, minimize, maximize, and close buttons, because we want to style it ourselves and add a custom…
Fred
  • 2,402
  • 4
  • 31
  • 58
2
votes
1 answer

ServiceLocator Current GetInstance?

I have assemblies discovered in a directory using MEF and they are loaded when needed during runtime when a user selects a menu. After a assembly is loaded each has its own UI and views can be added to it as the user needs them, but when I use…
VcDeveloper
  • 393
  • 4
  • 12
2
votes
1 answer

Upgrading from PRISM 5 to 6

We have an application which currently uses PRISM 5 which we migrated from PRISM 4 using the upgrade notes: https://msdn.microsoft.com/en-us/library/ff921144(v=pandp.40).aspx Are there similar upgrade notes from PRISM 5 to 6? I am interested in the…
Ranjith Venkatesh
  • 1,322
  • 3
  • 20
  • 57
2
votes
3 answers

hamburger menu prism xamarin forms?

I am trying to create an app using Prism in Xamarin Forms. Xamarin Forms Version: 2.3.3.175 Prism Version: 6.2.0 The hamburger menu works in Android but when I run it UWP it won't display the icon and also when I navigate through menu, the menu…
Ajit Hegde
  • 542
  • 1
  • 15
  • 33
2
votes
1 answer

Is ValidatableBindableBase not implemented in Prism.Wpf? why?

Trying to incorporate ValidatableBindableBase for easy validation implementation, I've noticed that it's not available in Prism.Wpf. It is available in Prism.Windows (Windows 10 UWP) however... So could I have missed it (where is it then)? Or is it…
Tar
  • 8,529
  • 9
  • 56
  • 127
1
2
3
9 10