Search

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

Matching Posts

  • Re: Application_Start firing but break point not being hit

    Are you using IIS7 as the server or the built-in web server? I noticed when using IIS7 that if you start the debugger, let a page come up, then change global.asax (the markup file, not code-behind) while the debugger is still running, then refresh the page, breakpoints in Application_Start will be hit. I think what's happening is that pressing "play", VS just fires up the process, then attaches to it, but by the time it attaches to it the start event has already run. By changing global
  • Debugger dies - please help

    I'm running Vista Ultimate and attaching to the w3wp.exe process for debugging with the Visual Studio 2008 debugger. I am running Visual Studio as administrator and have windows authentication enabled and all that other good stuff. The debugger will attach, but as soon as I make a request to the web application the debugger detaches. No errors in the event log, only thing I see is First-chance exception at 0x778a42eb in w3wp.exe: 0xE0434F4D: 0xe0434f4d. a bunh of times in the Output window as
    Posted to Visual Studio 2008 (Forum) by jdcrutchley on 5/18/2008
  • Re: Problem with "Search/{query}" routing pattern

    Since your form action is "Search/Result", that's what you'll see in the url. The search term is part of the form variables that are submitted. You can set the form's method attribute to "GET" which would put the search terms in the URL, but it would be part of the query string and look something like this: "Search/Result?keyword=value". The only way I can think of to get the URL to look like "Search/keyword" is to use some JavaScript to change
    Posted to ASP.NET MVC (Forum) by jdcrutchley on 4/25/2008
  • Re: MVC and Page LifeCycle

    [quote user="developmentalmadness"] I'm sure it could be argued either way. But IMHO I would put responsibility on the view. The view is where your formatting is, so things like date/time and currency formats should be done in the view. Also wither your page is RTL or LTR. These are all responsibilities of the view because they dictate how to display the output. The controller is responsible for your buisness logic and I don't believe that localization falls under business logic
    Posted to ASP.NET MVC (Forum) by jdcrutchley on 4/25/2008
  • Re: MVC and Page LifeCycle

    [quote user="Haacked"] In order to leverage using the page, we do call ProcessRequest on it which does invoke the lifecycle, but if you don't put any code in there, it shouldn't really be much of a perf hit at all since they would end up being empty method calls. We don't have plans to replace this with an alternative default view engine in the 1.0 time frame. While it might be nice to refactor and pull out the Page logic into a lighter weight MVC specific page, this is more
    Posted to ASP.NET MVC (Forum) by jdcrutchley on 4/24/2008
  • Re: Absolute Url in routes and HtmlHelper.ActionLink

    Did this ever get in? I don't see it in the latest stuff.
    Posted to ASP.NET MVC (Forum) by jdcrutchley on 4/22/2008
  • Re: How to reference System.Web.MVC/Routing from a class library

    Right now it's not in the GAC. You have to do a direct reference to the DLL, which can be found at C:\Program Files\Microsoft ASP.NET MVC Preview 2\Assemblies.
    Posted to ASP.NET MVC (Forum) by jdcrutchley on 4/21/2008
  • Re: IScriptControl

    Have you looked into any other client-side script libraries like jQuery? I could be missing something, but the MS stuff seems heavily geared toward WebForms. I'm finding it easier to just use jQuery to impement AJAX and client-side scripting.
    Posted to ASP.NET MVC (Forum) by jdcrutchley on 4/18/2008
  • Re: Dealing with existing paths

    You can use constraints on the route to exclude certain paths. The constraints use regular expressions. So, you could put in your RouteValueDictionary constraint="regular_expression_to_exclude_registration_directory" and anything under your registration directory should get excluded from matching that route.
    Posted to ASP.NET MVC (Forum) by jdcrutchley on 4/16/2008
  • Re: Previous controller/action

    Is your login control a form? If so, you could add a couple of hidden fields to it containing your current controller and action, then when the form gets posted you can use those values in your RedirectToAction call.
    Posted to ASP.NET MVC (Forum) by jdcrutchley on 4/15/2008
Page 1 of 7 (63 items) 1 2 3 4 5 Next > ... Last »