Nested Unity Containers and Singletons
I work on a project that uses Unity dependency injection framework. You get objects from container by calling Container.Resolve<SomeType>(). By default each call to Resolve() will return a new object. […]
I work on a project that uses Unity dependency injection framework. You get objects from container by calling Container.Resolve<SomeType>(). By default each call to Resolve() will return a new object. […]
When you add a view to a region (Region.Add(view)), it could be a real view, or a data template from which the view is created. The region tries to associate […]
Very brief note, so I don’t forget the circumstances: I may write a sample later. When you define Prism region in your view like this: <igDock:TabGroupPane prism:RegionManager.RegionName=”SomeRegion” /> Prism has […]
Eager to fix one thing, Microsoft broke another. In .NET 3.5- OneWayToSource bindings did not require source property to have a getter. After all, it is one way from destination […]
I encountered something that looks like a weird WPF bug. Default style will not be applied to controls if both of following conditions are true: 1. The style is the […]
It is official: Prism regions don’t work for a tab control inside a tab control. The reason is described here: http://stackoverflow.com/questions/8592802/tabcontrol-within-tabitem. Simply put, there is only one instance of the […]
“Any customer can have a car painted any colour that he wants so long as it is black” H. Ford Trying to figure out how scoped region managers would work […]
Just created a Visual Studio Add-in using the wizard. The source files created by the wizard turned out to be UTF-16. The files I create manually are UTF-8. It is […]
As certain other “highly integrated” Microsoft technologies, entity framework seems to be high maintenance when it comes to refactoring and moving things around. To move an .emdx file from one […]
In C# code you can write something like decimal d = 1e-10m; However, decimal.Parse(“1e-10”) throws an exception: “System.FormatException: Input string was not in a correct format”. Not cool.