[{"data":1,"prerenderedAt":506},["ShallowReactive",2],{"article-asp-net-4-feature-increase-the-url-character-length-plus-more":3},{"article":4,"tags":85,"previous":100,"next":191},{"id":5,"title":6,"author":7,"body":8,"createdAt":74,"description":75,"extension":76,"img":68,"meta":77,"navigation":78,"path":79,"seo":80,"stem":81,"tags":82,"updatedAt":74,"__hash__":84},"articles\u002Farticles\u002Fasp-net-4-feature-increase-the-url-character-length-plus-more.md","ASP.NET 4 Feature Increase the URL character length plus more","[object Object]",{"type":9,"value":10,"toc":71},"minimark",[11,15,34,49,59,62],[12,13,14],"p",{},"In previous versions of ASP.NET,  URLs were limited to 260 characters in length (based on the NTFS file-path limit).",[12,16,17,18,22,23,26,27,29,30],{},"But in ASP.NET 4.0 developers have the option of increasing or decreasing  the length of URLs by using  the new ",[19,20,21],"b",{},"maxRequestPathLength","\nand ",[19,24,25],{},"maxQueryStringLength",".      ",[19,28,21],{}," - To allow longer or shorter paths (the portion of the URL that does not include protocol,\nserver name, and query string), modify the maxRequestPathLength attribute.     ",[31,32,33],"strong",{},"maxQueryStringLength - ",[12,35,36,37,40,41,44,45,48],{},"To allow longer or shorter query strings\n, modify the value of the maxQueryStringLength attribute.     For example..  \u003ChttpRuntime maxRequestPathLength=\"360\" maxQueryStringLength=\"1024\" \u002F>",[38,39],"br",{},"\nASP.NET 4 also enables you to ",[31,42,43],{},"configure the characters that are used by the URL character check",". When ASP.NET finds an invalid character\nin the path portion of a URL, it rejects the request and issues an HTTP 400 error. In previous versions of ASP.NET, the URL character checks were limited to\na fixed set of characters. In ASP.NET 4, you can ",[31,46,47],{},"customize"," the set of valid characters using the new requestPathInvalidChars attribute of the\nhttpRuntime configuration element, as shown in the following example:",[12,50,51,52,54,55,58],{},"\u003ChttpRuntime requestPathInvalidChars=\"&lt;,&gt;,*,%,&amp;,:,,?\" \u002F>",[38,53],{},"\nBy default, the ",[31,56,57],{},"requestPathInvalidChars"," attribute defines eight characters as invalid.",[12,60,61],{},"(In the string that is assigned to requestPathInvalidChars by default, the less than (\u003C), greater than (>), and ampersand (&)",[12,63,64,65],{},"characters are encoded, because the Web.config file is an XML file.) You can customize the set of invalid characters as needed.",[66,67],"img",{"src":68,"alt":69,"style":70},"\u002Farticles\u002Fimages\u002Fhair.jpg","","display:none;",{"title":69,"searchDepth":72,"depth":72,"links":73},2,[],"2015-04-20T08:07:16.9200000-04:00",null,"md",{},true,"\u002Farticles\u002Fasp-net-4-feature-increase-the-url-character-length-plus-more",{"title":6,"description":75},"articles\u002Fasp-net-4-feature-increase-the-url-character-length-plus-more",[83],"aspnet","7U2QWX4WIEBG_6ySWSM0ozBd780qpK3opjw_To2BOXs",[86],{"id":87,"title":88,"body":89,"description":93,"extension":76,"img":94,"meta":95,"name":83,"navigation":78,"path":96,"seo":97,"stem":98,"__hash__":99},"tags\u002Ftags\u002Faspnet.md","Aspnet",{"type":9,"value":90,"toc":91},[],{"title":69,"searchDepth":72,"depth":72,"links":92},[],"ASP.NET is an open source web framework, created by Microsoft, for building modern web apps and services with .NET.","https:\u002F\u002Fimages.unsplash.com\u002Fphoto-1598313183973-4effcded8d5e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=675&q=80",{},"\u002Ftags\u002Faspnet",{"description":93},"tags\u002Faspnet","SlUGLdZWQy8mYOWC6OetgJkwVulWNURoVHeuESIDleI",{"id":101,"title":102,"author":7,"body":103,"createdAt":183,"description":75,"extension":76,"img":132,"meta":184,"navigation":78,"path":185,"seo":186,"stem":187,"tags":188,"updatedAt":183,"__hash__":190},"articles\u002Farticles\u002Fnet-3-5-sp1-how-to-tell-if-it-is-installed.md",".NET 3.5 SP1 How to tell if it is installed?",{"type":9,"value":104,"toc":181},[105,108,115,119,135,145,148,161,170,173],[12,106,107],{},"Ever want to know if you have 3.5 SP1 installed?  Shown below are two ways to determine.",[12,109,110,111,114],{},"1.) Take a look at ",[31,112,113],{},"HKLM\\SOFTWARE\\MICROSOFT\\NET Framework Setup\\NDP\\v3.5","  ",[116,117,118],"blockquote",{},"   Shown below are two servers.  The top one does not have SP1 installed while the lower one does. ",[116,120,121,123,114],{},[38,122],{},[124,125,127],"a",{"href":126},"\u002Farticles\u002Fimages\u002Fimage_2.png",[66,128],{"title":129,"style":130,"height":131,"alt":129,"src":132,"width":133,"border":134},"image","border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px",224,"\u002Farticles\u002Fimages\u002Fimage_thumb.png",578,0,[12,136,137,138,141],{},"2.) An easy way to see if you have 3.5 SP1 installed is to navigate to ",[124,139],{"title":140,"href":140},"http:\u002F\u002Fwww.hanselman.com\u002Fsmallestdotnet\u002F",[124,142,140],{"href":140,"rel":143},[144],"nofollow",[12,146,147],{},"Near the top of this page you will be given an indication if you have the latest installed.  ",[116,149,150,151,160],{},"   ",[124,152,154],{"href":153},"\u002Farticles\u002Fimages\u002FNET3.5SP1Howtotellifitisinstalled_A860\u002Fimage_4.png",[66,155],{"title":129,"style":156,"height":157,"alt":129,"src":158,"width":159,"border":134},"border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px",174,"\u002Farticles\u002Fimages\u002Fimage_thumb_1.png",362,"       ",[12,162,163,164,169],{},"If you do not have it installed you can use the following link to navigate you to Microsoft Downloads for ",[124,165,168],{"href":166,"target":167},"http:\u002F\u002Fwww.microsoft.com\u002Fdownloads\u002Fdetails.aspx?FamilyId=AB99342F-5D1A-413D-8319-81DA479AB0D7&displaylang=en","_blank","Microsoft .NET Framework 3.5 Service Pack 1",". ",[12,171,172],{},"This link will install a small installer that will need to be executed.  A wizard will step you through the installation and additional downloads.",[12,174,175,176,180],{},"If you prefer a complete download of this SP1 you can use this ",[124,177,179],{"href":178,"target":167},"http:\u002F\u002Fdownload.microsoft.com\u002Fdownload\u002F2\u002F0\u002Fe\u002F20e90413-712f-438c-988e-fdaa79a8ac3d\u002Fdotnetfx35.exe","link",".",{"title":69,"searchDepth":72,"depth":72,"links":182},[],"2015-04-20T08:07:17.0200000-04:00",{},"\u002Farticles\u002Fnet-3-5-sp1-how-to-tell-if-it-is-installed",{"title":102,"description":75},"articles\u002Fnet-3-5-sp1-how-to-tell-if-it-is-installed",[189],"visualstudio","MC9c4Xg0ISnR8LLg7rbn5Q97cgPxY_9Pduqsos6nBgA",{"id":192,"title":193,"author":7,"body":194,"createdAt":74,"description":497,"extension":76,"img":498,"meta":499,"navigation":78,"path":500,"seo":501,"stem":502,"tags":503,"updatedAt":74,"__hash__":505},"articles\u002Farticles\u002Fasp-net-ajax-client-library-global-shortcut-list.md","ASP.NET AJAX Client Library Global Shortcut List",{"type":9,"value":195,"toc":495},[196,205,208,211,221,231,240,279,288,330,339],[12,197,198],{},[199,200,204],"span",{"className":201,"style":203},[202],"Apple-style-span","word-spacing: 0px; font: 13px arial; text-transform: none; color: rgb(0,0,0); text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; text-align: left; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0","Recently, Microsoft released their ASP.NET AJAX Framework which allows developers to build AJAX applications more easily.  ASP.NET AJAX consists of two pieces. ",[12,206,207],{},"1.) Microsoft AJAX Library - contains a set of script files that provide common functions and an OO programming framework",[12,209,210],{},"2.) ASP.NET 2.0 AJAX Extensions - includes a set of server controls that allows developers to add AJAX functionality by dragging and dropping controls onto a page",[12,212,213,214,114],{},"The following are brief descriptions of the javascript extensions made available by the AJAX Client Library by Namespace.  ",[199,215,217,220],{"className":216,"style":203},[202],[31,218,219],{},"Global Namespace"," - contains members and types that extend base JavaScript objects.",[116,222,150,223,230],{},[199,224,226,229],{"className":225,"style":203},[202],[31,227,228],{},"Array Extensions"," (add, addRange, clear, clone, contains, dequeue, enqueue, forEach, indexOf, insert, pars, remove, removeAt)"," ",[116,232,150,233,230],{},[199,234,236,239],{"className":235,"style":203},[202],[31,237,238],{},"Boolean ","Extension (parse - converts a string into a Boolean)",[116,241,150,242],{},[199,243,245,248,249,251,252,254,255],{"className":244,"style":203},[202],[31,246,247],{},"Date ","Extension (format, localeFormat, parseInvariant, parseLocale)",[38,250],{},"\nvar today = new Date();",[38,253],{},"\nalert (today.format('D'));",[12,256,257,258,260,261,263,264,266,267,269,270,272,273,275,276,278],{},"d - Short date pattern (05\u002F10\u002F07)",[38,259],{},"\nD - Long date pattern (Thursday, 10 May 2007)",[38,262],{},"\nt - Short time pattern (18:05)",[38,265],{},"\nT - Long time pattern (18:05:12)",[38,268],{},"\nF- Full date pattern (Thursday, 10 May 2007 18:05:12)",[38,271],{},"\nM - Month and date pattern (May 10)",[38,274],{},"\ns - Sortable date and time pattern (2007-05-10T18:05:12)",[38,277],{},"\nY - Year and month pattern (2007 May) ",[116,280,150,281,230],{},[199,282,284,287],{"className":283,"style":203},[202],[31,285,286],{},"Error Extensions"," (argument, argumentNull, argumentOutOfRange, argumentType, argumentUndefined, create, invalidOperation, notImplemented, parameterCount, popStackFrame)",[116,289,150,290,297,298],{},[199,291,293,296],{"className":292,"style":203},[202],[31,294,295],{},"Number Extension"," (format, localeFormat, parseInvariant, parseLocale)","    ",[199,299,301,302,304,305,307,308,310,311],{"className":300,"style":203},[202],"        p - number is converted to a string that represents a percent",[38,303],{},"\nd - converted to a string of decimal digits",[38,306],{},"\nc - converted to a string that represents a currency",[38,309],{},"\nn - converted to a string of the form \"-d,ddd,dd\"",[12,312,313,314,316,317,230],{},"var num = Number.parseInvariant(\"130.33\");",[38,315],{},"\nalert (num.localeFormat(\"c\")); \u002F\u002F $130.33    ",[199,318,320,323,324,326,327,329],{"className":319,"style":203},[202],[31,321,322],{},"Object Extensions"," (getType, getTypeName)",[38,325],{},"\ngetType - returns the type of specified object",[38,328],{},"\ngetTypeName - returns the type name of an object",[116,331,150,332,230],{},[199,333,335,338],{"className":334,"style":203},[202],[31,336,337],{},"String Extension"," (endsWith, format, localeFormat, startsWith, trim, trimEnd, trimStart)",[199,340,342,348,382,400,401],{"className":341,"style":203},[202],[31,343,344,230],{},[124,345,347],{"href":346,"target":167},"http:\u002F\u002Fmsdn.microsoft.com\u002Fen-us\u002Flibrary\u002Fbb397536.aspx","Sys Namespace",[12,349,350,351,353,354,356,357,359,360,362,363,365,366,368,369,371,372,374,375,377,378],{},"Sys - root namespace containing some base classes such as Sys.CultureInfo",[38,352],{},"\nApplication - objects\u002Fmethods that expose client events and manage client components",[38,355],{},"\nApplicationLoadEventArgs - container object for arguments of the Application Load event",[38,358],{},"\nCancelEventArgs - base class for events that can be canceled",[38,361],{},"\nComponent - base class for all asp.net ajax objects including Control class and Behavior class",[38,364],{},"\nCultureInfo - object that can be used to provide locale specific functionality",[38,367],{},"\nDebug code - debugging and tracing functionality",[38,370],{},"\nEventArgs - used for storing event arguments",[38,373],{},"\nEventHandlerList - collection of client events for a component containing event names and handlers\nPropertyChangedEventArgs - contains event arguments associated with changed properties",[38,376],{},"\nStringBuilder - facilitates more efficient ",[124,379,381],{"href":380,"target":167},"http:\u002F\u002Fmsdn.microsoft.com\u002Fen-us\u002Flibrary\u002Fbb310852.aspx","string concatenation",[12,383,384,385,387,388,390,391,393,394,396,397,399],{},"Sys.Net - provides networking and communication support",[38,386],{},"\nSys.UI - contains set of classes for UI support",[38,389],{},"\nSys.Services - support for asp.net application services such as login\u002Fauthentication",[38,392],{},"\nSys.Serialization - provides support for data serialization\u002FJson",[38,395],{},"\nSys.WebForms - contains classes for async page loading",[38,398],{},"\n  ","                                                                                                                                                                                                                                                                      ",[402,403,406],"table",{"cellSpacing":404,"cellPadding":404,"width":405,"border":134},"0",748,[407,408,409,426,434,442,450,458,466,474,482,489],"tbody",{},[410,411,412,420],"tr",{},[413,414,417],"td",{"vAlign":415,"width":416},"top",145,[31,418,419],{},"Shortcut",[413,421,423],{"vAlign":415,"width":422},601,[31,424,425],{},"Description",[410,427,428,431],{},[413,429,430],{"vAlign":415,"width":416},"$addHandler",[413,432,433],{"vAlign":415,"width":422},"Shortcut to Sys.UI.DomEvent.addHandler method",[410,435,436,439],{},[413,437,438],{"vAlign":415,"width":416},"$addHandlers",[413,440,441],{"vAlign":415,"width":422},"Shortcut to Sys.UI.DomEvent.addHandlers method ",[410,443,444,447],{},[413,445,446],{"vAlign":415,"width":416},"$clearHandlers",[413,448,449],{"vAlign":415,"width":422},"Shortcut to Sys.UI.DomEvent.clearHandlers method",[410,451,452,455],{},[413,453,454],{"vAlign":415,"width":416},"$create",[413,456,457],{"vAlign":415,"width":422},"Shortcut to Sys.Component.create method",[410,459,460,463],{},[413,461,462],{"vAlign":415,"width":416},"$find",[413,464,465],{"vAlign":415,"width":422},"Shortcut to Sys.Application.findComponent method",[410,467,468,471],{},[413,469,470],{"vAlign":415,"width":416},"$get",[413,472,473],{"vAlign":415,"width":422},"Shortcut to Sys.UI.DomElement.getElementId method",[410,475,476,479],{},[413,477,478],{"vAlign":415,"width":416},"$removeHandler",[413,480,481],{"vAlign":415,"width":422},"Shortcut to System.UI.DomEvent.removeHandler method",[410,483,484,487],{},[413,485,486],{"vAlign":415,"width":416}," ",[413,488,486],{"vAlign":415,"width":422},[410,490,491,493],{},[413,492,486],{"vAlign":415,"width":416},[413,494,486],{"vAlign":415,"width":422},{"title":69,"searchDepth":72,"depth":72,"links":496},[],"The following are brief descriptions of the javascript extensions made available by the AJAX Client Library by Namespace","\u002Farticles\u002Fimages\u002FfB5BBkL2by.png",{},"\u002Farticles\u002Fasp-net-ajax-client-library-global-shortcut-list",{"title":193,"description":497},"articles\u002Fasp-net-ajax-client-library-global-shortcut-list",[504],"javascript","WhenAc5IArfx2XOO9yOgZabko6SX3dvPL2yA13Q5O50",1781574761962]