Search results for query: *

  1. R

    Get Session from IRouteHandler

    Is there anyway of accessing the session from the GetHttpHandler method in the IRouteHandler? I have seen many solutions like Implement IRequiresSessionState or adding things the web config, but nothing seems to work. I always get null. Any help would be great. /r3plica
  2. R

    The controller for path '/Guidelines' was not found or does not implement IController

    So, after a lot of looking. I can simplify my question. Is there anyway to stop my db files from being processed by the DefaultControllerFactory? Basically I want it to load it like a static file instead of a view with a controller....
  3. R

    The controller for path '/Guidelines' was not found or does not implement IController

    I don't know why I am posting this here :) The last 5 questions I have asked have gone unanswered :( but here is to hoping. My views are stored in the database, this is the error I get when requesting any of them.... Can someone tell me what it means/show me how to fix it? /r3plica
  4. R

    Views from the database

    Hi all, I am trying to create a CMS using the MVC framework. All was going well, I created my tables to store my ViewData, ViewTitle and virtualPath. I use VirthPathProvider and it looks like this: using System; using System.Collections.Generic; using System.Linq; using...
  5. R

    Views from the database

    So, I have managed to pull my content for a view from the database. Now my issue is that they are being pulled back only as the HTML in the table (without it's layout). Can anyone explain to me why? here is my Controller: using System; using System.Collections.Generic; using System.Linq...
  6. R

    URL Rewriting

    I have solved this now. I will post my solution in a bit to see if there is any improvements that can be made...
  7. R

    Strategy Design

    Hi, I have used the Strategy Design Pattern for part of my application. But I have come across a problem. Here goes: I have a BasePage class set up which looks like this: using System; using System.Collections.Generic; using System.Linq; using System.Text; using...
  8. R

    URL Rewriting

    I think my last post confused a few people, so I will ask the question in an easier way. I need to rewrite the URL, so if someone came to my site whatever.com it will direct them to whatever.com, but the URL will stay with the original URL (whatever.com). There must be an easy way to do this...
  9. R

    Mvc 3 & cms

    Not really. What I have is basically a database that holds the information for the pages (i.e. the content and it's virtual path). So a menu is created on the template (Layout.cshtml) which links to where these pages would be if they existed. For example /Guides/Test/. What I need is for the...
  10. R

    Mvc 3 & cms

    Hey all, I have searched the internet and have found no solution. I have downloaded loads of CMS's created using the MVC framework to no avail. So, in desperation, I come here. I am currently creating a CMS using the MVC framework and so far everything is working out fine. I have now gotten to...
  11. R

    FFMPeg

    I am posting this out of desperation. I have a class which I use to pass arguments to the command line and execute. This works perfectly for execute my command line stuff, but I have come across a problem. I have this line set up: string fileName = Guid.NewGuid() + ".jpg"...
Back
Top Bottom