Web Client Software Factory and Enterprise Library. I want to Opt-in, not Opt-out.

Posted by: Glavs Blog, on 27 May 2007 | View original | Bookmarked: 0 time(s)

I am a fan of the Web Client Software factory. Its a pretty good implementation of the MVP pattern within ASP.NET. Pretty lean and clean and doesn't involve lots of effort to get the simple stuff done, unlike a lot of other MVC based implementations/frameworks.

One of the things I don't like about it is the automatic inclusion of the Enterprise Library pieces. I know that Entlib integration has been a requested feature of WCSF, but not all of us want it integrated all the time, by default. Ideally I'd like the recipe to prompt whether that support/integration should be included.

Why?

Well Entlib comes with a lot of weight. Its feature heavy but also heavy in complexity and has a large dependency on its myriad of assemblies. Usually migrating from one version to another comes with a degree of pain and in my current crop of projects, not something I wish to entertain. Things like logging and exception management can be better managed by simpler, lightweight implementations specifically designed for my project/solution, in a simpler, leaner way. There is also nothing preventing me from re-adding it back into the solution if I need to.

Its kind of like taking the WCF mantra where you need to "opt-in" for features rather than all the features are there/on by default and you need to remove/disable them (think DataContracts/DataMembers where you need to explicitly include a DataMember before its included as part of the serialization - Opt-in, not just mark a class as Serializable and everything is included - Opt-out).

There has been some discussion around the use and/or recommendation of Entlib on projects, internally on the readify tech lists. A number opposed to its use, others in favor, some on the middle ground in between. The point being, clearly its not for everyone.

I want to Opt-in.

Category: Data | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1029 | Hits: 10

Similar Posts

  • WebResource access in ASP.NET MVC more
  • Using SSL in your application more
  • Teleriks Q2 2009 Release Expands All-in-one .NET Offering more
  • Testability and TDD are not reasons to use the ASP.NET MVC Framework more
  • Testability and TDD are not reasons to use ASP.NET MVC more
  • A Closable jQuery Plug-in more
  • Brokered authentication for REST active clients with SAML more
  • Silverlight Crossdomain Access Workarounds more
  • Intersoft WebUI Studio 2008 R2 SP1 is Now Available more
  • Cross domain request in Silverlight 2.0 beta 2 more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD