Anybody found yet a good web site architecture using linq to sql? Any help will be very helpful!
We just finished up an internal IT project banking heavily on Linq2Sql and it paid off. I was a bit skeptical at first, but I think it worked out great in the end. Just remember, the fundamentals don't change.
1) try to stay as stateless as possible 2) keep clean lines between your services and data access 3) don't fight linq, use it. If it isn't helping you, you are probably doing something wrong
Our implementation ended up being a hybrid of the Andrew Siemer and Beth Massi approach (a bit heavier on the Andrew side) and in C#
Remember Linq is a technology that sits atop the typical data access structures. Therefore all rules that have applied thus far still hold. Just because you can get to data a little easier in the client app doesnt mean you throw out the architecture best practices for data access.
As others have said, linq-to-sql is no different to any other ORM so the architecture is the same as you would use for NHibernate and others.