Click here to Skip to main content
15,881,600 members
Articles / Web Development / ASP.NET

PixelDragonsMVC.NET - An open source MVC framework

Rate me:
Please Sign up or sign in to vote.
4.58/5 (8 votes)
29 Jun 200710 min read 84.8K   811   73  
An MVC framework with built-in NHibernate support that makes creating ASP.NET 2 applications easier by minimizing code and configuration
/***********************************************************
 * 
 * Copyright 2007 Pixel Dragons Ltd. All rights reserved.
 * 
 * http://www.codeplex.com/PixelDragonsMVC for licence, more
 * information and latest source code. 
 * 
 * Check out our other stuff at http://www.pixeldragons.com
 * 
 ***********************************************************/

using System;
using System.Collections.Generic;
using System.Text;
using System.Web;
using System.Web.SessionState;

using PixelDragons.MVC.Persistence;

using log4net;

namespace PixelDragons.MVC.Interfaces
{
    public interface IController
    {
        //Some time saving properties
        HttpContext Context { get; set; }
        HttpRequest Request { get; set; }
        HttpServerUtility Server { get; set; }
        HttpResponse Response { get; set; }
        HttpSessionState Session { get; set; }

        Command Command { get; set; }

        string ViewName { get; set; }
        object Model { get; set; }
        string AjaxViewPart { get; set; }

        ILog Logger { get; set; }

        SessionManager SessionManager { get; set; }
        TransactionManager TransactionManager { get; set; }
        PersistenceManager PersistenceManager { get; set; }

        //Actions
        void BeforeAction();
        void DefaultAction();
        void AfterAction();
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions