I need to learn prism (for evaluation to use at my work).
I am confused on the version I should be using to learn with. I see from the site that there is a version 4.0 that is having active drops. I also see that the previous version is 2.2.
Which version should I learn on? I don't want to learn 2.2 if 4.0 is a drastic change. Howe...
I am developing the framework for what will be a large data-driven Silverlight application using Prism. I am creating multiple modules for different pieces of the application, but all modules need to access data from the same REST webservice. So my initial plan was to create a separate module for the data retrieval and use EventAggregato...
Are the prism dll's the same for both platforms?
If so, im assuming them to be Silverlight assemblies since Silverlight (the last i checked) can not reference non-silverlight assemblies.
...
I am watching Mike Tautly's awesome intro to Prism. It was all making sense, but I got a bit confused in the sixth video.
He has his view class's constructor take a parameter of the ViewModel. He then says that unity will fill this in for us (ie construct it).
In the past he has had to register this kind of thing (ie IMyClass registe...
Are there any good books that explains Rx, MVVM, PRISM/CAL from ground up? I googled, but could not find anything that covers all these three.
...
Hi all,
I've Prism App with some regions.
In one specific region there are some views from different modules. By default the views appears in region according to registration order. I want to change the order appearance of views so that view from module c will appear first and not last.
I know it's possible to tell the module to depe...
I have a a WPF prism desktop app with a few modules. In the past I've put all my localized resources in common resource files in the infrastructure assembly and referenced it in all modules.
But lately I have been wondering if that is indeed the right approach from a maintainence perspective. In essence it also sort of breaks modularit...
We have an application generated using the Sculpture software package. That means the project is roughly equivalent to the code in a Prism application.
Part of their model is that all WCF Service calls are performed synchronously, but on background threads (actually they are async calls as well, but the Sculpture background thread metho...
I have a series of views that are to be displayed depending on the currently selected item in a tree within a parent view. These views are created and registered with the region during the initialization method of the parent view and are being correctly deactivated/activated, therefore giving the effect of swapping in/out the correct vie...
First of all I would like to remark I am new with the concept of prism, DI and containers. I am looking on one of the code samples provided with the Prism Library:
The code simply injects a view with the "Hello World" string (in a TextBlock element) to a region in the shell.
When the application starts-up, it creates a new BootStrapper ...
Hello,
is it possible to develop with Prism under .NET 3.5 using EntLib 5? According to documentation, Prism 2.1 targets .NET 3.5, but it works with EntLib 4. And Prism 4 works with EntLib 5, but in requirements section of documentation said that .NET 4 is required. The question is: can I develop with Prism using EntLib 5? I already use...
Hi, I'm experiencing some reliability issues with Prism/Silverlight. I got couple of modules one publishing events and other subscribing.
Every time when I run the application from VS on debug mode by pressing "F5", the events are published and subscribed as expected. However, when I run the application from visual studio by pressing "...
I'm using MVVM in my project and here is my question. I have a View and corresponding view-model with service reference. This view contains UserControl, which have another UserControl and it also contains nested UserControl. Last UserControl have a method which creates a popup. And in this popup i need service reference from view model. ...
Hello folk,
I'm writing an application using DevExpress controls and Prism. I have a BarManager in the shell with the main menu bar and marked this bar as a region.
<dxb:BarManager Name="barManager">
<dxb:BarManager.Bars>
<dxb:Bar Caption="Main" IsMainMenu="True" UseWholeRow="True" cal:RegionManager.RegionName="{x:Static in...
We are trying to pick a modular programming solution at my work. The choice right now is Prism or ASP.NET Web Parts.
One Boss person asked if you could wrap a Prism Module in an ASP.NET Web Part so they can be used anywhere (kind of a "can I have my cake and eat it too" kind of question.)
While I don't think this is a feasible solutio...
In my bootstrapper I have the following code to create my Directory ModuleCatalog
protected override IModuleCatalog CreateModuleCatalog()
{
DirectoryModuleCatalog catalog = new DirectoryModuleCatalog();
catalog.ModulePath = @".\Modules";
return catalog;
}
but all my modules seem to be loading when the shell gets created. H...
Hello!
I have a Shell class with one region. I created a module which shows,for example, a list of offices. When I choose one of offices I want to show another module where I want to transfer information about chosen office.
Questions:
what is better: to create another module or maybe to create just another view in existing?
(if I sti...
We have a Silverlight Prism project with complex state information stored in the browser bookmark. This allows us to share bookmarks/links which will restore the application to the exact same visual state.
We do not however want trivial bookmark changes (i.e. non-navigation changes) to result in a browser history entry. Otherwise the br...
Hi
I am using an Oracle Stored procedure that returns ref cursor. Then fill a datatable with that cursor and then iterate datatable and create my model objects. That seems a bit lame and time consuming. What would be a better aproach without using ORM tools of Entity Framework.
The other problem with using datatable is that I cant reuse...
I am trying to add a tracing interceptor to all the components of my Prism application using an interface interceptor. I almost have this working however the interceptor is having problems with interfaces that declare an event. Has anyone successfully implemented aop tracing for all components without the need for attributes?
Here is ...