[{"data":1,"prerenderedAt":256},["ShallowReactive",2],{"article-json-know-more":3},{"article":4,"tags":93,"previous":122,"next":179},{"id":5,"title":6,"author":7,"body":8,"createdAt":81,"description":82,"extension":83,"img":72,"meta":84,"navigation":85,"path":86,"seo":87,"stem":88,"tags":89,"updatedAt":81,"__hash__":92},"articles\u002Farticles\u002Fjson-know-more.md","Json–know more","[object Object]",{"type":9,"value":10,"toc":75},"minimark",[11,31,36,40,45,48,52,55,69],[12,13,14,15,18,22,23,25,26,28,30],"p",{},"{“People”:{",[16,17],"br",{},[19,20,21],"span",{},"\n{“name”:”frank”, “age”:”21”},\n{“name”:”joe”,”age”:44”}\n",",",[16,24],{},"\n“Markeing”:",[19,27,21],{},[16,29],{},"\n} }",[32,33,35],"h4",{"id":34},"squiggles-squares-colons-and-commas","Squiggles, Squares, Colons and Commas",[37,38,39],"ol",{},"  \n* Squiggly brackets act as 'containers'   \n* Square brackets holds arrays   \n* Names and values are separated by a colon.   \n* Array elements are separated by commas  \n",[41,42,44],"h3",{"id":43},"json-is-like-xml-because","\nJSON is like XML because:",[37,46,47],{},"  \n* They are both 'self-describing' meaning that values are named, and thus 'human readable'   \n* Both are hierarchical. (i.e. You can have values within values.)   \n* Both can be parsed and used by lots of programming languages   \n* Both can be passed around using AJAX (i.e. httpWebRequest)  \n",[41,49,51],{"id":50},"json-is-unlike-xml-because","JSON is UNlike XML because:",[37,53,54],{},"  \n* XML uses angle brackets, with a tag name at the start and end of an element: JSON uses squiggly brackets with the name only at the beginning of the element.   \n* JSON is less verbose so it's definitely quicker for humans to write, and probably quicker for us to read.   \n* JSON can be parsed trivially using the eval() procedure in JavaScript   \n* JSON includes arrays {where each element doesn't have a name of its own}   \n* In XML you can use any name you want for an element, in JSON you can't use reserved words from javascript  \n",[12,56,57,58,62,63,68],{},"On the server-side you can easily serialize\u002Fdeserialize your objects to\u002Ffrom JSON. For ",[59,60,61],"code",{},".net"," programmers you can use libraries like ",[64,65,67],"a",{"href":66},"http:\u002F\u002Fwww.newtonsoft.com\u002Fproducts\u002Fjson\u002F","Json.net"," to do this automatically for you (using reflection i assume), or you can generate your own custom code to perform it even faster on a case by case basis.",[70,71],"img",{"src":72,"alt":73,"style":74},"\u002Farticles\u002Fimages\u002FJSON.gif","","display:none;",{"title":73,"searchDepth":76,"depth":76,"links":77},2,[78,80],{"id":43,"depth":79,"text":44},3,{"id":50,"depth":79,"text":51},"2015-04-20T08:07:13.6000000-04:00","{“People”:{\n{“name”:”frank”, “age”:”21”},\n{“name”:”joe”,”age”:44”}\n,\n“Markeing”:\n{“name”:”frank”, “age”:”21”},\n{“name”:”joe”,”age”:44”}\n\n} }","md",{},true,"\u002Farticles\u002Fjson-know-more",{"title":6,"description":82},"articles\u002Fjson-know-more",[90,91],"aspnet","javascript","OoXmULq_Ve1WX5OVc1z-FhmnTNctKTJ7RjuIMoBl31Q",[94,108],{"id":95,"title":96,"body":97,"description":101,"extension":83,"img":102,"meta":103,"name":90,"navigation":85,"path":104,"seo":105,"stem":106,"__hash__":107},"tags\u002Ftags\u002Faspnet.md","Aspnet",{"type":9,"value":98,"toc":99},[],{"title":73,"searchDepth":76,"depth":76,"links":100},[],"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":101},"tags\u002Faspnet","SlUGLdZWQy8mYOWC6OetgJkwVulWNURoVHeuESIDleI",{"id":109,"title":110,"body":111,"description":115,"extension":83,"img":116,"meta":117,"name":91,"navigation":85,"path":118,"seo":119,"stem":120,"__hash__":121},"tags\u002Ftags\u002Fjavascript.md","Javascript",{"type":9,"value":112,"toc":113},[],{"title":73,"searchDepth":76,"depth":76,"links":114},[],"JavaScript is a programming language adhering to the ECMAScript spec.","https:\u002F\u002Fimages.unsplash.com\u002Fphoto-1598425237654-4fc758e50a93?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=675&q=80",{},"\u002Ftags\u002Fjavascript",{"description":115},"tags\u002Fjavascript","wqzmOtgcvcAeeB0QinMxw2OqnSglrJN0TeWQ-fulunM",{"id":123,"title":124,"author":7,"body":125,"createdAt":171,"description":172,"extension":83,"img":168,"meta":173,"navigation":85,"path":174,"seo":175,"stem":176,"tags":177,"updatedAt":171,"__hash__":178},"articles\u002Farticles\u002Fnamespace-your-javascript.md","Namespace your JavaScript",{"type":9,"value":126,"toc":169},[127,136,140,143,147,166],[12,128,129,130,132,133,135],{},"There are a couple of ways to create namespaces for your code.  This format allows you to intentionally expose functions as public or keep them internal\u002Fprivate.  I like the following version…",[16,131],{},"\n ",[16,134],{},"\nvar mynamespace = new function () {",[137,138,139],"blockquote",{},"  \nvar internalFunction = function() { \n     \u002F\u002FTODO: code \n};  \n",[137,141,142],{},"  \nthis.publicFunction = function() { \n    \u002F\u002FTODO: code \n};  \n",[144,145,146],"strong",{},"Simple, now why the heck do this?",[148,149,150,154,157,160,163],"ul",{},[151,152,153],"li",{},"A namespace is a container and allows you to bundle up all your functionality using a unique name",[151,155,156],{},"In JavaScript a namespace is really just an object that you have attached all further methods, properties and objects",[151,158,159],{},"Without the usage of namespaces every function will be in the global (aka window) namespace (this occurs by default if you do not use a namespace).  It is a good practice not to clutter the global namespace",[151,161,162],{},"Using namespaces prevents the overwriting of existing function names",[151,164,165],{},"Using namespaces is one step in the direction of object-oriented which promotes modularity and code re-use",[70,167],{"src":168,"alt":73,"style":74},"\u002Farticles\u002Fimages\u002Fns.png",{"title":73,"searchDepth":76,"depth":76,"links":170},[],"2015-04-20T08:07:13.6900000-04:00","How to use namespaces within your JavaScript",{},"\u002Farticles\u002Fnamespace-your-javascript",{"title":124,"description":172},"articles\u002Fnamespace-your-javascript",[91],"hpUwRZUyAy5HzKNcCB4a57Dnyk7v34btaAKN8B18S4o",{"id":180,"title":181,"author":7,"body":182,"createdAt":248,"description":249,"extension":83,"img":249,"meta":250,"navigation":85,"path":251,"seo":252,"stem":253,"tags":254,"updatedAt":248,"__hash__":255},"articles\u002Farticles\u002Fdiagnosing-404-errors-on-iis-7-and-asp-net-mvc.md","Diagnosing 404 errors on IIS 7 and ASP.NET MVC",{"type":9,"value":183,"toc":246},[184,212,218,223,228,235,242],[12,185,186,187,190,191,193,194,197,198,200,201,204,205,208,209,211],{},"Are you running in IIS7 ",[144,188,189],{},"integrated mode","?",[16,192],{},"\nClassic mode of IIS7 does ",[144,195,196],{},"not"," automatically map extensionless URLs to ASP.NET (much like IIS6).",[16,199],{},"\nAlso make sure your ",[59,202,203],{},"Web.config"," ",[59,206,207],{},"\u003Csystem.webServer>"," tag is configured correctly.",[16,210],{},"\ni.e.",[213,214,215],"pre",{},[59,216,217],{},"\u003Csystem.webServer>\n    \u003Cvalidation validateIntegratedModeConfiguration=\"false\"\u002F>\n    \u003Cmodules runAllManagedModulesForAllRequests=\"true\"\u002F>\n\u003C\u002Fsystem.webServer>",[213,219,220,222],{},[59,221],{}," ",[213,224,225],{},[59,226,227],{},"On my workstation windows 7, 64 bit I had set my app pool to classic and \nadded a \"Wildcard Script Map\" \nto C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\aspnet_isapi.dll (32bit dll). \nThe end result was my \nweb.confi webServer section looked like",[213,229,230,232],{},[59,231],{},[59,233,234],{},"  \u003Csystem.webServer>\n    \u003Cvalidation validateIntegratedModeConfiguration=\"false\" \u002F>\n    \u003Cmodules runAllManagedModulesForAllRequests=\"true\" \u002F>\n        \u003Chandlers>\n            \u003Cadd name=\"_wildcard 32\" path=\"*\" verb=\"*\" modules=\"IsapiModule\" \n scriptProcessor=\"C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\aspnet_isapi.dll\" \n resourceType=\"Unspecified\" requireAccess=\"None\" \n preCondition=\"classicMode,runtimeVersionv4.0,bitness32\" \u002F>\n        \u003C\u002Fhandlers>\n  \u003C\u002Fsystem.webServer>\n\n\n",[213,236,238],{"style":237},"font-family: Consolas; background: white; color: black; font-size: 13px;",[19,239,241],{"style":240},"color: blue;","  \n",[213,243,244,222],{},[59,245],{},{"title":73,"searchDepth":76,"depth":76,"links":247},[],"2015-04-20T08:07:13.5000000-04:00",null,{},"\u002Farticles\u002Fdiagnosing-404-errors-on-iis-7-and-asp-net-mvc",{"title":181,"description":249},"articles\u002Fdiagnosing-404-errors-on-iis-7-and-asp-net-mvc",[90],"0t4kM0oaMXwUEwZbS3PO_145nI_leMJKlGcHa5tKNIQ",1781574762481]