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
1
vote
0 answers

Error CS0012 The type 'IUnityContainer' is defined in an assembly that is not referenced

The IUnityContainer property "Container" exist in intellisense but the implementation reference is not found. The fix is pointing to an earlier version of Unity, (4.0.0.0). I'm using version 5.3.2. Is there an additional reference I can Add to fix…
King Coffee
  • 47
  • 4
  • 9
1
vote
1 answer

Error CS0012: The type 'Enum' is defined in an assembly that is not referenced

I'm using the VS For Mac Community (v7.2.2) and my Xamarin Project have as target .NET Standard 2.0. I'm having this error while trying to build the project. Error CS0012: The type 'Enum' is defined in an assembly that is not referenced. You must…
1
vote
1 answer

WPF MVVM/Prism (6.2)/Unity - PopupWindowAction losing Owner across threads

I've been working almost exclusively in WPF/Prism using Unity and the MVVM pattern for about a year now. I've had pretty good success in establishing a shell, several modules, and lots of cool stuff like scoped RegionManagers and shell-hosted…
wimpSquad
  • 31
  • 3
1
vote
2 answers

How to set a DataContext of multiple Views to one instance of ViewModel

I'm using a ViewModelLocator for my Views, it is configured in Bootstrapper with following method: protected override void ConfigureViewModelLocator() { base.ConfigureViewModelLocator(); ViewModelLocationProvider.Register
SyntaxTerror
  • 23
  • 1
  • 3
1
vote
1 answer

Xamarin Forms View Does Not Update With Custom Class

I'm using Prism.Unity.Forms with Xamarin for this project. How can I get the view to update when the Client.Id property changes? The view updates when I change the XAML from {Binding Client.Id} (a Guid object) to {Binding Client.Name}(a…
user1007817
1
vote
1 answer

Prism 6 Region Manager RequestNavigate fails to navigate for some regions

I have a user control where I have multiple Prism regions defined for injecting views. I decided to use the Prism view navigation for dealing with switching my "SelectedMenuContentRegion" based on user actions (as shown below) and I have run into…
Rob Goodwin
  • 2,676
  • 2
  • 27
  • 47
1
vote
1 answer

How do I bind a button in a Shell, to a Command defined in a loaded module's viewmodel?

The scenario is this: I have an application developed in WPF, MVVM, Prism 6.3.0. This app considers Shell.xaml (the shell) UserControl1.xaml (inside a module, independient Class Library) When I click on the Button defined in the Shell, I expect…
Gonza Romero
  • 81
  • 2
  • 6
1
vote
0 answers

dotmemory snapshot crashing application

Resharper Ultimate: 2016.3.2 DotMemory: 2016.3.2 Visual studio 2017 Windows 7 Prism 6.3.0 Ninject This is a bit of a strange one, so I'm not sure exactly how to describe it, but i'll give it a shot. Originally, I had pages set up to register with…
user3265613
  • 355
  • 2
  • 14
1
vote
0 answers

How do I change the values of variables within one class, from another?

Please excuse my ignorance for I am new to C#. I am currently working on an MVVM project in which a viewmodel has multiple instantiated public variables that are data-bound to elements in a view (WPF). When these variables are changed they…
Tesnich
  • 37
  • 4
1
vote
0 answers

Prism 5 to 6.2 - InteractionRequest - InvocationList not null anymore when navigate to new object

PRISM 6.2 / EntityFramework 6.3.1 / StockTrader UI / UnityContainer I acutally having a project with PRISM 5.0.0 and want to update to PRISM 6.2. The project runs fine on 5.0.0, but when I'm updating to 6.2 I got the following problem with the…
1
vote
1 answer

MoveCurrentTo DataGrid

After I load the list of customers at a location, I want to select a particular customer as the current item. When I try to move to the current item, no item is selected. I have verified (through debugging) that the item I want to move to…
Ken
  • 57
  • 1
  • 11
1
vote
1 answer

Best place to load data when navigating XamarinForms Prism 6?

One of the cool features in Prism 6 is the deep linking and passing parameters. In a lot of cases, you'd want to use this parameter to look up data from a web service. Ideally this would be using async/await to get the data. Where is the best place…
1
vote
2 answers

Activate DevExpress DocumentPanel in DocumentGroup region when Navigating with PRISM

I am using DevExpress's DocumentGroup and DocumentGroupAdapter (described in E3339 on their site) for a WPF application with PRISM 6. I am using scoped regions and INavigationAware and everything works as expected, I can navigate to new documents…
Aktaeon
  • 189
  • 2
  • 14
1
vote
1 answer

INavigation not working with Prism in Xamarin.Forms

I am new to prism with xamarin form. To implement prism with xamarin I have installed three packages: Prism.Core Prism.Forms Prism.Unity.Forms and inherits App from PrismApplication like this: public partial class App : PrismApplication { } I…
user2797910
  • 61
  • 2
  • 11
1
vote
0 answers

How to add internal dependencies from Modules in Prism using Autofac?

Using the instructions from http://www.milosev.com/98-c/wpf/373-autofac-and-prism-together#dependencyInjection I tried to setup my module's dependencies (eg. ViewModel requires some IServices to be constructed). The only thing I haven't used is that…
Janusz-kun
  • 89
  • 2
  • 11