helper Archive

  • Thursday, June 16, 2011  What’s new in ASP .NET MVC 3.0 Subject: You must register athttps://www.clicktoattend.com/invitation.aspx?code=155683 in order to be admitted to the building and attend.  Whether you are contemplating adding ASP .NET...

    NYC .NET Developers User Group-> Next Meeting June 16

    Thursday, June 16, 2011  What’s new in ASP .NET MVC 3.0 Subject: You must register athttps://www.clicktoattend.com/invitation.aspx?code=155683 in order to be admitted to the building and attend.  Whether you are contemplating adding ASP .NET...

    Continue Reading...

  • ASP.NET MVC 3 supports a new view-engine option called “Razor” (in addition to continuing to support/enhance the existing .aspx view engine).  Razor minimizes the number of characters and keystrokes required...

    ASP.NET MVC 3 and the @helper syntax within Razor

    ASP.NET MVC 3 supports a new view-engine option called “Razor” (in addition to continuing to support/enhance the existing .aspx view engine).  Razor minimizes the number of characters and keystrokes required...

    Continue Reading...

  • I’ve recently added to my UriHelper class the function RemoveQueryStringFromUrl    public static string RemoveQueryStringFromUrl(string url)   {    //similar to string qs = QueryStringHelper.QueryStringFromUrl(url);    string urlPath = url.LeftBefore(“?”);    return urlPath;   } It...

    RemoveQueryStringFromUrl helper function

    I’ve recently added to my UriHelper class the function RemoveQueryStringFromUrl    public static string RemoveQueryStringFromUrl(string url)   {    //similar to string qs = QueryStringHelper.QueryStringFromUrl(url);    string urlPath = url.LeftBefore(“?”);    return urlPath;   } It...

    Continue Reading...

  • // <summary>        ///if sToFind not found, then original string should be returned        /// Otherwise removeBefore        /// </summary>        /// <param name=”str”></param>        /// <param name=”sToFind”></param>        ///...

    string RemoveBefore helper function

    // <summary>        ///if sToFind not found, then original string should be returned        /// Otherwise removeBefore        /// </summary>        /// <param name=”str”></param>        /// <param name=”sToFind”></param>        ///...

    Continue Reading...

  • /// <summary>        /// Returns true, if  string contains any of substring from the list (case insensitive)        /// See similar (with SqlLikeMatch support) in ResponseMessagePatternsCache        /// </summary>      ...

    IsStringContainsAnyFromList helper function

    /// <summary>        /// Returns true, if  string contains any of substring from the list (case insensitive)        /// See similar (with SqlLikeMatch support) in ResponseMessagePatternsCache        /// </summary>      ...

    Continue Reading...