Discussions under Bootstrappers & IoC

Welcome to the Caliburn.Micro forums! These pages are packed with a wealth of information not only on Caliburn.Micro, but also on MVVM, general UI architecture and Xaml techniques. Be sure to search the forums for your question first. If you don't find a meaningful answer, start a new discussion to get help. Most importantly, come back often and share what you learn with others.

Sponsor: Xceed

Bindings Not Working with Custom Content Control

first post: KeithHSV wrote: I need help from you great experts! I have a custom content contro...

latest post: RufusJWB wrote: Hello! There is not much more to explain. The above shown code is ...

A little help with the bootstrapper please (VB)

first post: The_Chaoz wrote: Ok, so I'm quite new in VMMV and completely new on MEF. I've been r...

latest post: The_Chaoz wrote: Well as I didn't how MEF work (In a naive attempt on my part) to si...

caliburn.micro not showing dialog after application install

first post: jonniebigodes wrote: hi. i've got a bit of a problem with caliburn micro 1.4.0 and wpf ...

latest post: McDonnellDean wrote: Hi Jonnie, I have responded on SO. I will keep my responses to tha...

Handle Exception Thrown by Event Aggregator

first post: BishMan wrote: Hello, Part of our Bootstrapper calls IWindowManager to show our ...

latest post: McDonnellDean wrote: Hi BishMan, We do not explicitly handle exceptions in the EventAgg...

Help with app that supports silent mode.

first post: twreid wrote: I am converting a project over to use Caliburn.Micro however this a...

Headless WPF Application that can launch a dialog

first post: floatingfrisbee wrote: I have a WPF application built using Caliburn Micro and we are look...

Non-generic Bootstrapper obsolete?

first post: blah238 wrote: In this changeset, the non-generic Bootstrapper class was marked as...

latest post: LukeNuttall wrote: I've just hit this issue as well. Is there a set of release notes ...

UserControl ImageButton, clickhandler and x:Name

first post: RayGamma wrote: I have created a very simple user control, an ImageButton <User...

UserControls Library with Caliburn.Micro

first post: VOIDY wrote: I used the sample app tutorial to create a basic bootstrapper and i...

latest post: VOIDY wrote: Solved: Modified the constructor to public RibbonControlViewM...

WinRT Caliburn.Micro with tab's and serailization.

first post: AlexanderKa wrote: Hi all! Caliburn micro very cool MVVM framework, and i like it to ...

latest post: NigelSampson wrote: Currently CM doesn't add any support for Platform Lifecycle Managem...

Do ViewModels have to be in the same Namespace?

first post: jasonward wrote: Hi, I'm trying to use a viewmodel stored in a portable class libr...

latest post: jasonward wrote: Interesting, I'll have to take a look and see if it helps.

HelloScreens WPF, closing and transition not working as expected

first post: lighthouse72 wrote: Hello, First of all thanks for Caliburn.Micro. To learn more abou...

latest post: lighthouse72 wrote: I am not able to read my post if someone have the same problem pls ...

How to create an Instance-spcecific bootstrapper?

first post: c_manboy wrote: This question is related to http://caliburnmicro.codeplex.com/discu...

Bootstrapper with Unity Yields Exception

first post: jdp15 wrote: Greetings I am using Unity as my IOC container in the bootstrapper...

Startup Window won't start without StartupUri

first post: CameronGordon wrote: I'm 99.99% sure I have everything setup correctly. For some reason ...

latest post: mvermef wrote: Does your ShellViewModel have an inheritance of IShellViewModel, al...

"TypeInitialization Expected" thrown on Bootstrapper

first post: CameronGordon wrote: When I run my WPF app, I get a "TypeInitialization Expected" error ...

latest post: CameronGordon wrote: Thanks.. I got it to compile by commenting out the "ArgumentNotNul...

Question about SimpleContainer

first post: jradxl wrote: There is a Nuget Package Caliburn.Micro.Container which I've tried ...

Need Help Badly - Silverlight Plugin Crashing after deployment

first post: jaddington wrote: So I went to deploy my application updates last night, just in time...

latest post: jaddington wrote: I resolved my issues finally by starting with a clean bootstrapper ...

Overriding the main window class

first post: paveltarno wrote: Hi! I've been trying to integrate the Fluent Ribbon window (MS-Off...

latest post: Dvor_nik wrote: For additional information: [Using Fluent Ribbon with Caliburn.Micr...

WinRT 1.4 to 1.41 breaking change?

first post: TheDuke2k wrote: I get the following exception while creating a brand new WinRT proj...

latest post: TheDuke2k wrote: Ok cool, lol I see that comment in the code as bight as day now. T...

Namespace Mapping

first post: bdway01 wrote: I am trying to create what I think is a simple namespace mapping, b...

latest post: bdway01 wrote: Thanks, not sure how I missed that documentation originally. I cre...

Clearing the MEF catalog

first post: Leo_PQDT wrote: Hi,i need to knoy whether is possible to clean (or Dispose) the MEF...

latest post: Jaans wrote: I too ran into the issue of needing my "shared" / "singleton" insta...

Windows Phone 8 OnActivate and OnDeactivate

first post: ferenckun wrote: Hey all, I would like to get some information about working of On...

Is it possible to Create different pojects for Views, ViewModels and Models in a single solution

first post: Antonylinish wrote: I am creating an application where ViewModels are kept in differen...

latest post: Richard_Laf wrote: Glad to hear you got your code to work. Off the top of my head, it...

Unit testing in WinRT

first post: jiffy wrote: I am using Caliburn in a WinRT environment and am having a difficu...

latest post: tibel wrote: In your tests you can cast your ViewModel to IActivate and and cal...

SelectAssemblies with an IOC

first post: kwoodhouse wrote: I am wondering what the rationale is for requiring the selection o...

WinRT - Separate ViewModels into different project

first post: jiffy wrote: In WinRT, how do you get the container to resolve ViewModels locat...

latest post: iamdragonwolf wrote: The CaliburnApplication has those methods so you can override them...

WinRTContainer after RegisterPerRequest/RegisterSingleton crashes on object retrieval

first post: PatrykCwiek wrote: Hello everyone! It took me a little while to track this thing down...

latest post: PatrykCwiek wrote: Thanks for the information. Actually, if I drop the " : this(null)...

WP8 InitializeLanguage and CheckForResetNavigation/ClearBackStackAfterReset

first post: ChristophWille wrote: http://caliburnmicro.codeplex.com/wikipage?title=Working%20with%20...

latest post: mvermef wrote: To be honest there wasn't much done to CM to make it ready for use...

Windsor with Caliburn Micro Nuget package

first post: Marwijn wrote: Hello All, I just wanted to let you know that I've created a nuge...

WinRT Launch from Search Charm

first post: kevink wrote: Hi Guys, We're running into an issue when users launch our WinRT a...

latest post: kevink wrote: Thanks. It was actually the call to DisplayRootViewFor that I was ...

ResourceDictionary Cascading

first post: alanbradbury wrote: In a WPF application I have the following application resources de...

latest post: mvermef wrote: that is actually how the second assembly that holds my styles does...

Provide sample project for Winrt/windows 8

first post: rkshnair wrote: Hi, Please provide some working sample of windows 8 project. or...

latest post: miksu wrote: I've updated the getting started sample to work with 1.4: http://m...

Show login dialog then a main form on successful connection

first post: g18c wrote: Hi, I am using Caliburn Micro and have a login view model which is...

CM 1.4: DisplayRootViewFor<MenuViewModel> works but DisplayRootView<MenuView> cannot find MenuViewModel

first post: Piels wrote: In the OnLaunched method of my bootstrapper, I try to load the Men...

latest post: NigelSampson wrote: The Frame Adapter in CM (which handles the View first style approa...

Get ViewModel through IoC isssue

first post: EngineerSpock wrote: I'm newcommer in Caliburn. You can see ViewModel code below. [Ex...

latest post: mvermef wrote: It all boils down to design decisions. We have all been there, bu...

How to use the caliburn.micro in the visual studio extension project(.vsix)?

first post: halftone wrote: I want to use the caliburn.micro in visual studio extension projec...

Convention Based Model to ViewModel conversion injection.

first post: mrsquish wrote: Hi there, short time fan, first time poster! I'm getting started u...

Why MainPage.xaml can't be in the Views Namespace in WP7 Project?

first post: Kingmoon wrote: Excuse me, As the title Asked, if I put the MainPage.xaml Into the...

latest post: mvermef wrote: MainPage was what the application was created with by default... T...

How does IDialogManager in Hello Screens work?

first post: c_manboy wrote: I've been pouring over the Hello Screens sample and am curious how...

latest post: c_manboy wrote: I think i just figured it out (it always happens after posting a qu...

CaliburnMicro + MEF + Unity with MefContrib

first post: dfmartin1972 wrote: I have gotten my proof of concept up and running quite well using ...

Caliburn.Micro + MEF + Bootstrapper + AddExportedValues delegate for all ViewModel implementations

first post: jdbrasco wrote: Hi, I've been brainstorming this one. I am using the Caliburn.Micr...

latest post: mvermef wrote: glad to hear you are headed into the right direction. Morgan

WintRT - MEF

first post: Halloween wrote: How can I use MEF (or do I need to) to do composition with Calibur...

latest post: Halloween wrote: Nice Work, that's what i'm looking for, keep me posted

Error trying to convert Caliburn.Micro.HelloScreens sample to WPF

first post: juansandzeros wrote: I am trying to learning Caliburn Micro and WPF. I have an app tha...

latest post: mvermef wrote: is IShell in the right namespace?

[WinRT] IEnumerable<Assembly> SelectAssemblies() CaliburnApplication

first post: Halloween wrote: This return new [] { GetType().GetTypeInfo().Assembly }; O...

latest post: iamdragonwolf wrote: In the WinRT Caliburn sample, you can make the call in the Configur...

Why Complex View Locator?

first post: vtjdailey wrote: Hi, I'm looking into Caliburn Micro, and I'm a bit confused with t...

latest post: vtjdailey wrote: OK cool. Thank you for your help!

GetNamedElements and Custom ContentControl

first post: KeithHSV wrote: I have created a custom control derived from ContentControl that i...

latest post: KeithHSV wrote: This was my fault. I was trying to implement code that wasn't neces...

Weird View Locator error

first post: hennsa wrote: Hi, I have a project built with Caliburn and MEF. I have excluded ...

latest post: jmellone wrote: I have found that sometimes, closing VS and restarting takes care o...

Windows Phone: Recipe for splitting application into multiple assemblies

first post: Miksu wrote: I've created a small "recipe" which allows to split a Windows Phon...

URGENT - Where is the working example for WinRT and how to use it on WinRT

first post: Nick_A wrote: Hi, I did not find any example in the latest downloaded package wh...

latest post: RunarJ wrote: You might want to read this: http://mikaelkoskinen.net/post/calibur...

ViewLocator Issues..

first post: Petoj87 wrote: Well lets say i have 2 assemblies Core and Core.Gui Core contains ...

latest post: cb55555 wrote: Here's some sample code using the configuration above: var typena...

Does WinRTContainer support dynamic loading from XML?

first post: Mustelidae wrote: Hi, I think my question is in topic already but here it is again: ...

latest post: EisenbergEffect wrote: Nope. It's a really basic container. You would have to write that p...

ViewModel-first WinRT

first post: JontyMC wrote: I'm checking out the new WinRT support (great work by the way). Im...

latest post: NigelSampson wrote: Currently the Caliburn Application follows along with the Microsoft...

Implementing state handling and navigation service in WINRT

first post: stephanronald wrote: I am pretty new to this framework and i wish to use the toolkit fo...

latest post: tibel wrote: Did you checked the Caliburn.Micro sources? I think there is a comp...

How do I handle Login/Logout in Caliburn.Micro?

first post: aKzenT wrote: ** This is a cross-post from http://stackoverflow.com/questions/1...

latest post: kihonkai wrote: Hi, I'm also new to Caliburn.Micro but this is something I've been...

Update on WinRT Support

first post: EisenbergEffect wrote: Thanks to the fantastic work of Nigel Sampson and Keith Patton we...

latest post: tibel wrote: I think a Pre-Release NuGet pacakge 1.4.0 would be great... At fi...

How to use CM without "Application"-Object

first post: Akkarin wrote: I'm referring to this thread and I'm still wondering that there is ...

latest post: rm1337 wrote: I used your solution and works fine for me. Now i have problems wit...

Trying to GetExportedValues before the CompositionContainer is fully constructed?

first post: CurryUSGeorge wrote: I am pretty new to both Caliburn.Micro and MEF. My application was...

latest post: CurryUSGeorge wrote: Herewith I present a valuable piece of code that may help others to...

A Clear, Hard to Miss, WinRT Support Update

first post: EisenbergEffect wrote: First off, let me apologize to anyone who has been floundering aro...

latest post: dbeattie wrote: Don't kid yourself, those play sets can be a pain, obviously the m...

Caliburn-based application embedded as dll?

first post: roblcecil wrote: How does one build an caliburn-based application that is embedded ...

latest post: roblcecil wrote: Thanks! I had already been looking at these points on my own. Which...

How do I active my base Conductor

first post: IngoVals wrote: My Shell at the moment is not a Conductor, I just don't think it f...

Loading modules based on user roles

first post: advapi wrote: Hello, suppose I've got a login form (after the login form I've go...

[Solved] Specifying a specific instance using IoC, possibly with Get(string key)

first post: CuddleBunny wrote: I have a modular project using IoC with a few various assemblies. ...

latest post: CuddleBunny wrote: Thanks, this should suffice. I'll see if I can't reference the ins...

Single Instance Silverlight application

first post: Brett_Dev wrote: I have a WPF application that has a menu structure. Clicking on so...

Login Window

first post: teckerstorfer wrote: I am currently working on a project where I would like to set "sec...

latest post: jpolvora wrote: I'm sure that we can add custom conventions in ConventionManager at...

How to config bootstrapper for Metro App

first post: gaopeng9090 wrote: I wanna use Caliburn to write a Metro app, but I don't know how to...

latest post: mvermef wrote: its work in progress for RT development... due to changes in the Wi...

WinRT RC and Bootstrapper

first post: JimboM wrote: I have been trying to adapt to Caliburn.Micro in the WinRT RC envi...

Windows Phone + Caliburn.Micro + Autofac a proper implementation

first post: Eshva wrote: I love Caliburn.Micro and Autofac. We have Caliburn.Micro.Autofac ...

lack of support for nested user controls?

first post: avinatbezeq wrote: Hello all, I'm taking a lot of worry selecting an MVVM framework t...

latest post: dbeattie wrote: "I'm taking a lot of worry selecting an MVVM framework to convert t...

Sample Application up on github

first post: LOBOMINATOR wrote: Hy guys I put a sample application onto github.com. The applicatio...

latest post: deanvmc wrote: Great Sample! Fair play.

ViewModels communication

first post: henrik6 wrote: I'm new to CM and have some questions for the follwoing scenario: ...

latest post: AndersM wrote: I use the EventAggregator for these kind of scenarios, if your IoC ...

Exception with MefBootstrapper

first post: monkeyfunky wrote: I'm getting the exception that "Could not locate any instances of ...

latest post: monkeyfunky wrote: Ok, I've figured this out after reading up on MEF. It seems my newe...

EventAggregator throwning null exception when publishing event in a different namespace

first post: ramzilla007 wrote: I have been able to customize the BootStrapper as you have describ...

latest post: ramzilla007 wrote: EisenbergEffect wrote: What is null? In the DoConfirm call above...

Nuget install.ps1 remark

first post: rekna wrote: Caliburn.Micro package should not always add an AppBootStrapper, Sh...

latest post: EricCox wrote: I wholeheartedly agree with rekna. The first time I switched over ...

Importing with MEF doesn't work in non-exported ViewModels

first post: araieste wrote: Hello, When I import IEventAggregator using a property in She...

latest post: Akkarin wrote: First of all, you have to export your Class: [Export(typeof(SomeV...

instantiating a MEF ViewModel in UnitTest

first post: RobRolls wrote: What is the preferred method of instantiating new ViewModels that ...

latest post: iamdragonwolf wrote: There's some good info here that helped me when setting up unit tes...

Console application and caliburn micro

first post: advapi wrote: Hello, I've got a problem.. in a WPF application I use Caliburn ...

latest post: iamdragonwolf wrote: I'm not sure if this will help, but to enable a commandline and a U...

WP7 ViewModels in different assembly

first post: sowen69 wrote: I'm having trouble loading a ViewModel from another assembly(projec...

latest post: sowen69 wrote: That's great - thanks for the reply, yours is a bit more tidy :)

One ObjectContext for ViewModel?

first post: Luca7993 wrote: Hi, I'm learning this mvvm framework, and I find it very nice. I...

latest post: Luca7993 wrote: thank you very much for your support. Luca

Loading controls only when needed; achieve better startup performance

first post: timtos wrote: Hello.I think I understood something really wrong! I have a Model ...

latest post: gius wrote: See LazyScreen and LazyConductor here http://coproject.codeplex.com...

Writing under-the-UI acceptance tests with Caliburn

first post: gishu_pillai wrote: First up... I'm a fan! I still haven't wrapped my head around the C...

latest post: gishu_pillai wrote: At work, Prism is pervasive. The prism documentation didn't explici...

Multiple IoC containers

first post: runeflo wrote: Hi, I'm developing an application which contains a shell hosting d...

latest post: runeflo wrote: Okay, I will look into the source code and see if it's possible to ...

Releasing ViewModels from Castle Windsor

first post: pdegenhardt wrote: I'm using Castle-Windsor as my container in a Caliburn-Micro Silv...

Which nuget package for composite-UI plugin?

first post: nbarnwell wrote: I'm building a composite application, where plugins are DLLs loade...

[WP7] Adding page transitions with TransitionFrame

first post: lindsve wrote: Hi, I was looking into adding page transitions to my WP7 app using...

latest post: lindsve wrote: Sweet, worked perfectly :)

Bad Uri Format

first post: Imaji wrote: Hi Guys, I've just started using Caliburn Micro on a new WP7 app I...

latest post: mvermef wrote: did you change were the MainPage.xaml resides as well? Did you cha...

Code Review Request

first post: existent wrote: Hi,I wrote simple application with Caliburn Micro. It is just proof...

EventAggregator in views

first post: maqinfo wrote: HiI want to use the SetSource method of mediaelement control in xam...

latest post: maqinfo wrote: HiThanks for your reply. I was aware of this property but I want to...

MEF bootstrapper exception CM 1.3

first post: madben2000 wrote: With CM 1.3 I get the following exception when trying to design xam...

latest post: dbeattie wrote: Before the 1.3.1 change I use to have to do this to get DD working:...

Implementing marker interface IShell seems redundant and can be removed

first post: buckley wrote: Hello,Im using CM on my second project and it works well. Its still...

latest post: LarsAC wrote: EisenbergEffect wrote: It's really only meaningful if you give you...

Stupid question about IoC

first post: advapi wrote: Hello,Consider this casepublic class Presenter : PresenterBase { ...

latest post: EisenbergEffect wrote: Which example are you referring to?

Passing an Oject from main module to the others

first post: advapi wrote: Hello,I've stared splitting my WPF code into smaller modules... I'v...

latest post: advapi wrote: Hello EisenbergEffect,for now I've fixed using the Manager.Principa...

Register workspace specifics in mef catalog

first post: syggen wrote: Hi,I have been refactoring the Caliburn.Micro.HelloScreens sample t...

latest post: syggen wrote: Hi,Unfortunately I have no suggestions. This was long ago and an ex...

Strange behaviour with MEF-Injection

first post: Akkarin wrote: Hi community, dear Rob, maybe someone can give me some hints...

latest post: Akkarin wrote: /FacepalmProblem solved. A really good hint for any developer is:DO...

Example of using two different assemblies?

first post: RichardJohnKubina wrote: I'd like to break my application into smaller assemblies, so that U...

CompositionHost in WPF?

first post: RichardJohnKubina wrote: I am trying to learn how Caliburn works, trying to replicate the Ga...

latest post: RichardJohnKubina wrote: thank you gregor

Override registrations in SimpleContainer/WP7

first post: roblcecil wrote: How do I register my own customized core services? For instance, ho...

latest post: roblcecil wrote: Fantastic Rob, thanks!

IEventAggregator in View

first post: maqinfo wrote: HiI am using Coding4fun progressoverlay control in my Windows Phone...

latest post: EisenbergEffect wrote: DI doesn't work on views out of the box. I'm sure that someone here...

Re-bootstrapping at runtime?

first post: thatpaulschofield wrote: We are about to implement a logout feature in our Caliburn Micro ap...

latest post: Leo_PQDT wrote: Hi marcoamendola,how do i would implement that? How can i create a ...

non-generic type 'Caliburn.Micro.Bootstrapper' cannot be used with type arguments

first post: sgMarshall wrote: Can't seem to get Caliburn.Micro setup for WP7.1. Error 1 The...

latest post: sgMarshall wrote: Thanks EE, if the NuGet Package is Fubar I'll try the repository. P...