Search

You searched for the word(s): userid:431170

Matching Posts

  • Re: Preview 4 and Session State DB?

    Thanks, everyone. The separate folder/site for the shared content is working great. It offers some pretty good architectural options as well, as Phil mentions, like the ability to host them at a third party.
    Posted to ASP.NET MVC (Forum) by Kepler on 7/24/2008
  • Re: BeginRequest called many times (for js, css, etc)

    I'm using IIS7. This will be a problem in production as well. After further research, I've discovered that the UrlRoutingModule requires the setting "runAllManagedModulesForAllRequests" to be set to "true" in web.config, and that having the runtime manage every file request is expected behavior for the UrlRoutingModule to work correctly. I'm not pleased with the fact that there isn't an option to exclude static files from being sent to the .NET runtime, but I've
    Posted to HttpHandlers and HttpModules (Forum) by Kepler on 7/24/2008
  • Re: Preview 4 and Session State DB?

    Really? Wow. That's a real problem. This is an app that has webforms and some new MVC pages running side-by-side. Here's an example problem - all the calls to static files are being redirected to the login page if the user isn't logged in. I just saw this in a PreInit overload of our old base page in the debugger: ReturnUrl=%2fReportLibrary%2fpublic%2fstyles%2fapplication.css%3f10&10 That's a css file triggering a redirect to our login page. Needless to say, the Login page looks
    Posted to ASP.NET MVC (Forum) by Kepler on 7/23/2008
  • BeginRequest called many times (for js, css, etc)

    I'm posting this question in this forum because I've received no answer in the IIS or MVC forums. I'm hoping someone here has some insight. I'm using IIS7 and ASP.NET MVC Preview 4. Application_BeginRequest gets called many times during a single request. I'm debugging on my local machine, and I can watch in Fiddler or Firebug each of the files getting requested. I can wait between breakpoints and see that JS files are indeed triggering the breakpoint. It obviously has something
    Posted to HttpHandlers and HttpModules (Forum) by Kepler on 7/23/2008
  • Re: Preview 4 and Session State DB?

    Phil Haack's suggestion isn't helping either. I've heard nothing about this problem online, and I've looked quite a bit. It seems like most people simply don't see it. A co-worker is getting the exact same problem, so it is indeed a problem for some people. So, you guys are saying you don't have any problems with .js files triggering Application_BeginRequest? If that's the case, then it must be a configuration issue with our folders or site or something very difficult
    Posted to ASP.NET MVC (Forum) by Kepler on 7/23/2008
  • Re: Preview 4 and Session State DB?

    That was it. Thanks, Jeremy. It's processing session properly now. I wish this issue were a little more visible somewhere. I actually stumbled across this myself yesterday while comparing new web.configs with old webform web.configs line-by-line. Now, I've got a new problem. Application_BeginRequest is getting triggered A LOT on each request (>15 times). I'm thinking .NET is now processing every sort of file, even if it shouldn't. I've got the routes.IgnoreRoute( "{resource
    Posted to ASP.NET MVC (Forum) by Kepler on 7/23/2008
  • Re: Preview 4 and Session State DB?

    I'm not using any sort of custom MVC Handler. I've debugged into the MVC source, and when Controller.Execute is called and the TempDataProvider constructed, ControllerContext.HttpContext.Session is NULL. I have no idea why it's null. This is an app with both webforms and MVC view pages. If I type in the url of a webform page, I get my Session with no problems. I'm going to debug further, but currently, it doesn't look like the ControllerContext.HttpContext.Session property is
    Posted to ASP.NET MVC (Forum) by Kepler on 7/22/2008
  • Preview 4 and Session State DB?

    Does Preview 4 work with SessionState set to "SqlServer"? Unlike the only other thread concerning Preview 4 and Session I found, we actually want to use Session State, and we don't have it turned off. Our session state is set in machine.config. There is no setting in web.config for this app. When I try to access any page, I get the following: The provider requires SessionState to be enabled. Description: An unhandled exception occurred during the execution of the current web request
    Posted to ASP.NET MVC (Forum) by Kepler on 7/22/2008
  • Re: RenderComponent falls short

    As of now, I wrote my own RenderComponent that works with controllers, like you suggested. It's coded similar to the MvcContrib BlockRenderer method, and I'm up and running again. Here's to hoping they don't break this in the next build :)
    Posted to ASP.NET MVC (Forum) by Kepler on 4/11/2008
  • Re: Bug in MVC life cycle? It's calling the life cycle twice?

    The difference is that I'm using IIS 7. He didn't really get into IIS 7. I can see that it's definitely passing those files through the lifecycle - I just want to know how to manage that :) I can't find any way to turn off what files get passed through ASP.NET in IIS 7. If I can turn it off for my entire Content directory, for instance, I'd be very happy. I just don't know how to do that.
    Posted to ASP.NET MVC (Forum) by Kepler on 4/9/2008
Page 1 of 4 (38 items) 1 2 3 4 Next >