WCF service based application design
-
Let me be honest here. I am quite rusty having not done any development work for past year. Now, I am planning to create a WCF service based application. I am planning to go for a basic 3-tier architecture and using LINQ2SQL in the background. I need to know the following: 1. How good is LINQ2SQL provided that I use the objects carefully and dispose them as soon as they are out of use? Is it good enough when we have large number of joins and sometimes, image and file streaming involved? 2. I know I do not need this but how easy or difficult it will be to move to a new database provider if I use LINQ2SQL? Is IOC a better choice? 3. If I go for IOC, has MS done anything good with Enterprise Library recently? I have used V4 and V3 and I didn't quite liked it.
"The worst code you'll come across is code you wrote last year.", wizardzz[^]
-
Let me be honest here. I am quite rusty having not done any development work for past year. Now, I am planning to create a WCF service based application. I am planning to go for a basic 3-tier architecture and using LINQ2SQL in the background. I need to know the following: 1. How good is LINQ2SQL provided that I use the objects carefully and dispose them as soon as they are out of use? Is it good enough when we have large number of joins and sometimes, image and file streaming involved? 2. I know I do not need this but how easy or difficult it will be to move to a new database provider if I use LINQ2SQL? Is IOC a better choice? 3. If I go for IOC, has MS done anything good with Enterprise Library recently? I have used V4 and V3 and I didn't quite liked it.
"The worst code you'll come across is code you wrote last year.", wizardzz[^]
Look at Castle. It provides an excellent container, WcfFacility and ActiveRecord. http://docs.castleproject.org/[^]
ed ~"Watch your thoughts; they become your words. Watch your words they become your actions. Watch your actions; they become your habits. Watch your habits; they become your character. Watch your character; it becomes your destiny." -Frank Outlaw.