1-10 of 168 < Previous ... Next >
Discussions for patterns & practices - Unity
Latest post:
Today
12:50 PM
4 Posts
First post: yazidarezki wrote: I looked at the documentation and the only lab I could find was a winodws forms one (StopLight), is there a lab for a web application using Unity? TIA Yaz
Latest post: alexanderQX wrote: Yaz, You may take a look of Prism project at codeplex which uses Unity, Prism is a set of assets for developing Composite WPF applications. If you provide a bit more explanation or sco...
Jump to: First Post    |Latest Post
Latest post:
Today
12:01 PM
2 Posts
First post: hnchan wrote: Hi All If we have unity to do the DI, do we still need to make it to be singleton? Regards Alex
Latest post: alexanderQX wrote: Hey Alex, Not exactly sure what you are asking, but should take a look of following Unity help file sections: System Design When Using a Dependency Injection Container +_Setting up...
Jump to: First Post    |Latest Post
Latest post:
Today
5:21 AM
8 Posts
First post: hnchan wrote: Is the Unity Framework only support Constructor Injection with MVC? I have tried property (setter) injection. It seems not work and following error is occurred. "System.StackOverflowExc...
Latest post: hnchan wrote: {quote} ctavares wrote: Which DependencyAttribute are you using: Microsoft.Practices.Unity.DependencyAttribute or Microsoft.Practices.Objectbuilder2.DependencyAttribute? Please check y...
Jump to: First Post    |Latest Post
Latest post:
Thu
11:04 PM
2 Posts
First post: swalkertdci wrote: I saw <a href="http://www.codeplex.com/unity/Thread/View.aspx?ThreadId=24015">this</a> post a while back about decorator chains and I have tried to follow it to implement similar function...
Latest post: ctavares wrote: Sorry it took so long to get back to you, busy, busy busy. I've repro'ed the issue; I'll let you know when I have more information.
Jump to: First Post    |Latest Post
Latest post:
Thu
10:31 AM
8 Posts
First post: sanchaykulkarni wrote: Hi, I am getting the error "An error occurred creating the configuration section handler for unity: Could not load file or assembly 'Microsoft.Practices.Unity.Configuration, Version=1.0...
Latest post: sanchaykulkarni wrote: Yes, the settings are same as mentioned above. I even tried deleting all Unity dlls and config file from bin folder, and they were again copied when I executed the appilcation. There is ...
Jump to: First Post    |Latest Post
Latest post:
Tue
9:46 AM
9 Posts
First post: ritchiep wrote: Is there anything that sets Unity apart from other IoC containers for .NET, technically?
Latest post: yazidarezki wrote: {quote} DavidHayden wrote: I don't have the full story on that, but up to this point I think of it is as just an alternative to other tools out there, not a replacement. One functional...
Jump to: First Post    |Latest Post
Latest post:
May 2
5:36 PM
4 Posts
First post: yazidarezki wrote: Hello, Has anybody tried to use LINQ to SQL and UNITY? For example, in the dinnernow example, we can have a gateway that is dependendent on MyDatacontext and MyTranslators; where MyDat...
Latest post: ctavares wrote: Ah, I see. Right now, I think the best practice is to isolate most of your code from the DataContext behind a repository interface. You can then reimplement your interface to talk via Lin...
Jump to: First Post    |Latest Post
Latest post:
May 2
5:34 PM
3 Posts
First post: sanchaykulkarni wrote: I have a situation in which a class has three overloaded constructors. Unity's documentation states that it always invokes a constructor with maximum number of parameters. In my case 1st ...
Latest post: ctavares wrote: The documentation you read describes what Unity does in the absence of specific configuration. The above post shows the general form you use to configure calling a specific constructor.
Jump to: First Post    |Latest Post
Latest post:
May 2
12:47 PM
9 Posts
First post: mrudang wrote: In typeConfig I am specifiying Int32 in typeConfig and Unity is complaining cast not valid. Unity config file: <configuration> <configSections> <section name="unity" type="Microso...
Latest post: mrudang wrote: after specifying type=System.Int32 it works. <container name="Unity"> <types> <type type="NameServiceConfiguration" mapTo="NameServiceConfiguration"> <lif...
Jump to: First Post    |Latest Post
Latest post:
May 1
2:05 PM
10 Posts
First post: Korbin wrote: I'm looking at Unity for the first time and i was looking through the documentation and noticed no examples showing the ability to inject value types (strings, int, etc). Is this possible...
Latest post: mrudang wrote: I was just saying cannot specify constructor params in Resolve. It would be clean to specify in Resolve
Jump to: First Post    |Latest Post

Configure View

Sorted by Latest post
Search
Filter
(by tag)
All tags
1-10 of 168 < Previous 1 2 3 4 5 6 7 8 9 10 ... Next >
Updating...