ASP.Net MVC Framework - Create your own IControllerFactory and use Spring.Net

Posted by: Fredrik Norméns Blog, on 17 Nov 2007 | View original | Bookmarked: 0 time(s)

In this post I’m going to show you how we can easy create our own IControllerFactory for the ASP.Net MVC Framework and use Spring.Net to create our Controllers. I will in this post also use the Spring.Net Dependency Injection support to pass a Repository that should be used by our Controller.To create a ControllerFactory we need to implement the IControllerFactory interface. This interface has one method, CreateController. This method takes two arguments a RequestContext and the Type of the...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1098 | Hits: 46

Similar Posts

  • RadElement Lifecycle – a WinForms TPF Story more
  • November's Toolbox Column Now Online more
  • Html Encoding Nuggets With ASP.NET MVC 2 more
  • Using SqlBulkCopy To Perform Efficient Bulk SQL Operations more
  • How do I deploy an application and its prerequisites? (Mary Lee) more
  • ASP.NET MVC2 Preview 2: Areas and Routes more
  • Creating a Filtering User Interface With jQuery In a Web Forms Application: Part 1 more
  • MvcContrib working on Portable Areas more
  • Using Seadragon with ASP.NET MVC more
  • Unit Testing - Do Repeat Yourself 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