Blog First. Ask Questions Later.
Does anyone have any suggestions about where to locate factory classes? I've got a bunch of static factory classes that I use to create other classes. I've put a lot of these into my common tier, in our Common.Util namespace. I just ran across a class that I can't put into my common tier, since it references a business tier object. So I've put it into my Business.UserAuthentication.Util namespace. But, now I'm thinking that a VIT.Business.Factories namespace may be best. Or should I locate these in a Util namespace for each assembly?
Music tip: Check out The Thrills
About Brendan Tompkins
Brendan has been programming with .NET since the first public beta and is owner and operator of Port Technology Services, a consultancy company providing .NET application development services to the Maritime industry. In July, 2007, he was awarded the Microsoft MVP award for ASP.NET.
He's also a proud co-founder of failed .COM startup Intrinsigo, and has had a hand in the failure of numerous other businesses.
He currently runs CodeBetter.Com and Devlicio.us, and lives in Norfolk, Virgina with his wife Tiara and son Ian.