Search

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

Matching Posts

  • New site using asp.net mvc

    relaunched my flight simulator site http://www.fsxaddons.com . Technologies used. asp.net mvc spark view engine sql server 2008 nhibernate windsor. using spark to render email messages as well and some custom like to render a body for a news post about downloads. I am also using a modified version of the Sparks.Modules but mainly I use it to split up the sections of the sites and to take advantage of the block / widget system. I plane to eventually modify it further so I can install and uninstall
    Posted to Announcements (Forum) by Mike343 on 4/5/2009
  • Re: MVC Standard Tag Library, does it exist yet?

    you do know that there is a template engine very similar to this called spark, http://dev.dejardin.org/
    Posted to ASP.NET MVC (Forum) by Mike343 on 3/2/2009
  • Re: Friendly URL without Id

    that is exactly how I do it. I add a TitleUrl column to my table and then create a unique key when inserting the record. [AcceptVerbs(HttpVerbs.Get)] public ActionResult Detail( string title) { var article = ArticleRepository.Fetch( new ArticleSpecification { TitleUrl = title }); return View( "Detail" , article); }
    Posted to ASP.NET MVC (Forum) by Mike343 on 1/17/2009
  • Re: "Special" url encoding

    this is how I do it with a string extension but I also do like ShadowChaser suggested and save it to a seperate column in the db row. public static string ToUrlFriendly( this string value ) { var item = value .Trim().ToLower(); var builder = new StringBuilder(); foreach (var c in item) { if (c == ' ' ) { builder.Append( "-" ); } else if (c == '&' ) { builder.Append( "and" ); } else { if ((c >= '0' && c <= '9' ) || (c >= 'a'
    Posted to ASP.NET MVC (Forum) by Mike343 on 1/7/2009
  • Re: Simple delete example?

    How about one action instead but with a boolean flag? public ActionResult Delete( int id, bool confirmed) { // do work }
    Posted to ASP.NET MVC (Forum) by Mike343 on 12/18/2008
  • Re: Validation in MVC

    The way I do it is I create seperate entities for each form. Example. MemberCreate - Name, - Email, - VerifyEmail, - Captcha and then validate against that and grab the value from it.
    Posted to ASP.NET MVC (Forum) by Mike343 on 12/8/2008
  • Re: Quirky Parameters

    ya I had this same problem when I first started using windsor a while back :)
    Posted to ASP.NET MVC (Forum) by Mike343 on 11/25/2008
  • Re: Quirky Parameters

    Are you sure your controller lifestyle is transient? I use xml configuration for windsor and it looks something like this. < configuration > < components > <!-- Controllers --> < component id= "home.controller" type= "Falcon.Web.Controllers.HomeController, Falcon.Web" lifestyle= "transient" /> </ components > </ configuration >
    Posted to ASP.NET MVC (Forum) by Mike343 on 11/25/2008
  • Re: Biggest ASP.NET MVC portal is now online

    I don't see how he is being rude, He has pointed something out to the OP and is making a suggestion.
    Posted to ASP.NET MVC (Forum) by Mike343 on 11/19/2008
  • Re: The provider requires SessionState to be enabled

    I figured it out and it was basically just a configuration problem. Windsor creates components by default as a singleton, setting the component lifestyle to transient fixes the problem atleast for my case.
    Posted to ASP.NET MVC (Forum) by Mike343 on 7/26/2008
Page 1 of 5 (43 items) 1 2 3 4 5 Next >