Geeks With Blogs
Blake Caraway Design Patterns
Decouple Your Code For Testability
I've received a handful of comments/questions surrounding part of the code sample from my previous post. The comments I received have to do with the few lines of code in the Authentication WebService that included a custom interface and a call to a third party tool. Here's the code in question: public class Authentication : WebService{ private IWebContext _webContext = ObjectFactory.GetInstance&l... [WebMethod] public bool IsLoggedIn() { return this._webContext.IsUserAuth... ......

Posted On Sunday, August 12, 2007 11:30 AM

Copyright © Blake Caraway | Powered by: