Search

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

Matching Posts

  • Re: extending a current helper method

    As has been mentioned, you cannot extend the helper because it is just a method, not a class. But, Microsoft has released the MVC source code under the MS-PL license, so you can download the source, grab their code for the helper, then modify it and put the code into your own new helper method. http://www.microsoft.com/downloads/details.aspx?FamilyID=53289097-73ce-43bf-b6a6-35e00103cb4b&displaylang=en
    Posted to ASP.NET MVC (Forum) by Redd on 4/2/2009
  • Re: Visual Studio Express and MVC

    You can open solution files in either. Some project types will not load in VWD though. You can still open the solution in VWD, but it will project types that VWD do not support will be listed as unloaded (you will also get a pop-up message about this when you open the solution). VWD SP1 added support for Class Library projects, which used to be a major problem for some people before. I'm not sure about the database projects you refer to though, but I doubt those are supported in VWD. The lack
    Posted to ASP.NET MVC (Forum) by Redd on 3/30/2009
  • Re: Visual Studio Express and MVC

    Using the installer may downgrade you back to pre-SP1. That's not a problem. Give the installer access to the original disc if it needs it. Once the installer is done, re-run SP1 again to upgrade everything.
    Posted to ASP.NET MVC (Forum) by Redd on 3/30/2009
  • Re: Visual Studio Express and MVC

    If you have access to VS 2008 Professional, I highly recommend that you use that instead of VWD. I can think of no advantages to using VWD instead of VS 2008 pro other than the price tag. If you are concerned about keeping your install light-weight and clean, just do a custom install of VS 2008 pro and install only the features you plan to use.
    Posted to ASP.NET MVC (Forum) by Redd on 3/30/2009
  • Re: Unit testing Issue

    My advice, if you are going to test an event handler, is to just write a separate test that invokes the event handler directly as if it were just a normal method (mocking the ActionExecutingContext parameter), or you can factor out the code that performs the relevant work that you need to test into a different method and invoke that from a test directly.
    Posted to ASP.NET MVC (Forum) by Redd on 3/29/2009
  • Re: how good is ASP.NET MVC performance?

    In general, asp.net MVC apps are just like asp.net web form apps seeing as both run on the same underlying platform. Asp.net have always had a pretty good performance story overall, though you could get into trouble with large pages and inflated viewstate if you didn't know how to optimize them. MVC apps will trend towards being even faster than most web forms apps for the simple reason that MVC doesn't do all that viewstate stuff, doesn't use server controls, and the nature of the pattern
    Posted to ASP.NET MVC (Forum) by Redd on 3/29/2009
  • Re: RedirectToAction + IsAjaxRequest problem with Firefox

    This is a known problem, and I've written about it before . Some browsers just don't correctly send the necessary values to the server on the subsequent call after a redirect. The work around that I'm using is to explicitly put a value in TempData in Action A, then check both IsAjaxRequest AND the TempData values in Action B.
    Posted to ASP.NET MVC (Forum) by Redd on 3/27/2009
  • Re: ASP.NET MVC Road Map versus "wish list"

    When the RTM released, they put up the documentation at MSDN at the same time. The docuementation is really good and covers high level concepts, architecture, and the MVC reference documentation (the meat). As a general rule, Microsoft doesn't release any "formal" documentation until the final release of the product (there are exceptions sometimes, but not in MVC's case). When they do release a product though, they almost always release it with some of the best documentation you'll
    Posted to ASP.NET MVC (Forum) by Redd on 3/26/2009
  • Re: How to access server control in a view from controller

    There have been several similar questions from people new to MVC. The thinking of is very different for MVC than it is for web forms. For example, you shouldn't be using server controls in MVC (though technically you "can" use them, it defeats the whole philosophy of MVC). You have to re-think how pages are build using MVC. Check out this post for a decent explaination (keep in mind the code examples are a little dated now): ASP.net MVC Vs ASP.net Web Form
    Posted to ASP.NET MVC (Forum) by Redd on 3/26/2009
  • Re: ListView Control without Codebehind

    You'll probably be a little surprised. You can keep a reasonably clean view even with all the inline code, especially if you use helpers to reduce some of the clutter and partial views to break up the UI into smaller pieces of related functionality. Still, it is a tad messier than web forms but not quite as crazy as classic asp or php. As for the question of progress... I could write a whole book on the topic. In short I would say that it is NOT progress exactly. MVC is a 1.0 release, and there
    Posted to ASP.NET MVC (Forum) by Redd on 3/25/2009
Page 1 of 106 (1057 items) 1 2 3 4 5 Next > ... Last »