{"id":970,"date":"2015-01-02T20:57:03","date_gmt":"2015-01-02T20:57:03","guid":{"rendered":"http:\/\/elbsolutions.com\/projects\/?p=970"},"modified":"2022-02-03T11:24:59","modified_gmt":"2022-02-03T17:24:59","slug":"large-corps-love-using-asp-net-using-dont-web-config-gets-cached-asp-net-not-necessarily-pick-change","status":"publish","type":"post","link":"https:\/\/elbsolutions.com\/projects\/large-corps-love-using-asp-net-using-dont-web-config-gets-cached-asp-net-not-necessarily-pick-change\/","title":{"rendered":"Large Corps love using ASP.NET &#8211; if you are using for yourself &#8211; don&#8217;t as it will cost you $$ in wasted time. Web.Config gets cached and ASP.NET does NOT necessarily pick up on the change"},"content":{"rendered":"<p>So, I was debugging things for over an hour and &#8230; like often in Microsoft things, nothing was wrong or amiss. I changed the web.config file to point to another appConfig file. It didn&#8217;t care! It just used the old web.config file from over an hour ago. Ideally ASP.NET picks up on the change, but every so oftern (I have noticed over 2+ years, one gets caught in believing that things are working OK. <a href=\"http:\/\/stackoverflow.com\/questions\/3567022\/is-web-config-or-app-config-cached-in-memory\" target=\"_blank\" rel=\"noopener noreferrer\">Yes the config\u00a0settings ARE CACHED<\/a>.<\/p>\n<p><!--more-->I was using web.config with all appSettings\u00a0settings in there. Then I used a new web.config that abstracted it to Config\/appSettings_myNewFile.config. I DID restart the IIS App Pool for the app and many other things. What finally got to me listen was just renaming the new .config files &#8211; nothing made a difference.<\/p>\n<p>What a waste of time. My advice has always been<\/p>\n<p>a) if companies want Microsoft &#8211; great for you the designer. $$. Bill hourly.<\/p>\n<p>b) if you want something done &#8211; AVOID\u00a0USING IT (except Excel and SQL Server) as so much time gets\u00a0wasted solving issues that almost never exist. \u00a0That is why I personally use Macs (aka LINUX!!!!!!) and Linux servers for my own work.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, I was debugging things for over an hour and &#8230; like often in Microsoft things, nothing was wrong or amiss. I changed the web.config file to point to another appConfig file. It didn&#8217;t care! It just used the old web.config file from over an hour ago. Ideally ASP.NET picks up on the change, but [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-970","post","type-post","status-publish","format-standard","hentry","category-general"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Large Corps love using ASP.NET - if you are using for yourself - don&#039;t as it will cost you $$ in wasted time. Web.Config gets cached and ASP.NET does NOT necessarily pick up on the change - ELB Solutions.com Inc.<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/elbsolutions.com\/projects\/large-corps-love-using-asp-net-using-dont-web-config-gets-cached-asp-net-not-necessarily-pick-change\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Large Corps love using ASP.NET - if you are using for yourself - don&#039;t as it will cost you $$ in wasted time. Web.Config gets cached and ASP.NET does NOT necessarily pick up on the change - ELB Solutions.com Inc.\" \/>\n<meta property=\"og:description\" content=\"So, I was debugging things for over an hour and &#8230; like often in Microsoft things, nothing was wrong or amiss. I changed the web.config file to point to another appConfig file. It didn&#8217;t care! It just used the old web.config file from over an hour ago. Ideally ASP.NET picks up on the change, but [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/elbsolutions.com\/projects\/large-corps-love-using-asp-net-using-dont-web-config-gets-cached-asp-net-not-necessarily-pick-change\/\" \/>\n<meta property=\"og:site_name\" content=\"ELB Solutions.com Inc.\" \/>\n<meta property=\"article:published_time\" content=\"2015-01-02T20:57:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-03T17:24:59+00:00\" \/>\n<meta name=\"author\" content=\"Etienne Bley\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Etienne Bley\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/large-corps-love-using-asp-net-using-dont-web-config-gets-cached-asp-net-not-necessarily-pick-change\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/large-corps-love-using-asp-net-using-dont-web-config-gets-cached-asp-net-not-necessarily-pick-change\\\/\"},\"author\":{\"name\":\"Etienne Bley\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\"},\"headline\":\"Large Corps love using ASP.NET &#8211; if you are using for yourself &#8211; don&#8217;t as it will cost you $$ in wasted time. Web.Config gets cached and ASP.NET does NOT necessarily pick up on the change\",\"datePublished\":\"2015-01-02T20:57:03+00:00\",\"dateModified\":\"2022-02-03T17:24:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/large-corps-love-using-asp-net-using-dont-web-config-gets-cached-asp-net-not-necessarily-pick-change\\\/\"},\"wordCount\":245,\"articleSection\":[\"General\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/large-corps-love-using-asp-net-using-dont-web-config-gets-cached-asp-net-not-necessarily-pick-change\\\/\",\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/large-corps-love-using-asp-net-using-dont-web-config-gets-cached-asp-net-not-necessarily-pick-change\\\/\",\"name\":\"Large Corps love using ASP.NET - if you are using for yourself - don't as it will cost you $$ in wasted time. Web.Config gets cached and ASP.NET does NOT necessarily pick up on the change - ELB Solutions.com Inc.\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#website\"},\"datePublished\":\"2015-01-02T20:57:03+00:00\",\"dateModified\":\"2022-02-03T17:24:59+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/large-corps-love-using-asp-net-using-dont-web-config-gets-cached-asp-net-not-necessarily-pick-change\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/large-corps-love-using-asp-net-using-dont-web-config-gets-cached-asp-net-not-necessarily-pick-change\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/large-corps-love-using-asp-net-using-dont-web-config-gets-cached-asp-net-not-necessarily-pick-change\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Large Corps love using ASP.NET &#8211; if you are using for yourself &#8211; don&#8217;t as it will cost you $$ in wasted time. Web.Config gets cached and ASP.NET does NOT necessarily pick up on the change\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#website\",\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/\",\"name\":\"ELB Solutions.com Inc.\",\"description\":\"Bringing all your IT Pieces together\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\",\"name\":\"Etienne Bley\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"caption\":\"Etienne Bley\"},\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/author\\\/etienne-bley\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Large Corps love using ASP.NET - if you are using for yourself - don't as it will cost you $$ in wasted time. Web.Config gets cached and ASP.NET does NOT necessarily pick up on the change - ELB Solutions.com Inc.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/elbsolutions.com\/projects\/large-corps-love-using-asp-net-using-dont-web-config-gets-cached-asp-net-not-necessarily-pick-change\/","og_locale":"en_US","og_type":"article","og_title":"Large Corps love using ASP.NET - if you are using for yourself - don't as it will cost you $$ in wasted time. Web.Config gets cached and ASP.NET does NOT necessarily pick up on the change - ELB Solutions.com Inc.","og_description":"So, I was debugging things for over an hour and &#8230; like often in Microsoft things, nothing was wrong or amiss. I changed the web.config file to point to another appConfig file. It didn&#8217;t care! It just used the old web.config file from over an hour ago. Ideally ASP.NET picks up on the change, but [&hellip;]","og_url":"https:\/\/elbsolutions.com\/projects\/large-corps-love-using-asp-net-using-dont-web-config-gets-cached-asp-net-not-necessarily-pick-change\/","og_site_name":"ELB Solutions.com Inc.","article_published_time":"2015-01-02T20:57:03+00:00","article_modified_time":"2022-02-03T17:24:59+00:00","author":"Etienne Bley","twitter_misc":{"Written by":"Etienne Bley","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/elbsolutions.com\/projects\/large-corps-love-using-asp-net-using-dont-web-config-gets-cached-asp-net-not-necessarily-pick-change\/#article","isPartOf":{"@id":"https:\/\/elbsolutions.com\/projects\/large-corps-love-using-asp-net-using-dont-web-config-gets-cached-asp-net-not-necessarily-pick-change\/"},"author":{"name":"Etienne Bley","@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39"},"headline":"Large Corps love using ASP.NET &#8211; if you are using for yourself &#8211; don&#8217;t as it will cost you $$ in wasted time. Web.Config gets cached and ASP.NET does NOT necessarily pick up on the change","datePublished":"2015-01-02T20:57:03+00:00","dateModified":"2022-02-03T17:24:59+00:00","mainEntityOfPage":{"@id":"https:\/\/elbsolutions.com\/projects\/large-corps-love-using-asp-net-using-dont-web-config-gets-cached-asp-net-not-necessarily-pick-change\/"},"wordCount":245,"articleSection":["General"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/elbsolutions.com\/projects\/large-corps-love-using-asp-net-using-dont-web-config-gets-cached-asp-net-not-necessarily-pick-change\/","url":"https:\/\/elbsolutions.com\/projects\/large-corps-love-using-asp-net-using-dont-web-config-gets-cached-asp-net-not-necessarily-pick-change\/","name":"Large Corps love using ASP.NET - if you are using for yourself - don't as it will cost you $$ in wasted time. Web.Config gets cached and ASP.NET does NOT necessarily pick up on the change - ELB Solutions.com Inc.","isPartOf":{"@id":"https:\/\/elbsolutions.com\/projects\/#website"},"datePublished":"2015-01-02T20:57:03+00:00","dateModified":"2022-02-03T17:24:59+00:00","author":{"@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39"},"breadcrumb":{"@id":"https:\/\/elbsolutions.com\/projects\/large-corps-love-using-asp-net-using-dont-web-config-gets-cached-asp-net-not-necessarily-pick-change\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/elbsolutions.com\/projects\/large-corps-love-using-asp-net-using-dont-web-config-gets-cached-asp-net-not-necessarily-pick-change\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/elbsolutions.com\/projects\/large-corps-love-using-asp-net-using-dont-web-config-gets-cached-asp-net-not-necessarily-pick-change\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/elbsolutions.com\/projects\/"},{"@type":"ListItem","position":2,"name":"Large Corps love using ASP.NET &#8211; if you are using for yourself &#8211; don&#8217;t as it will cost you $$ in wasted time. Web.Config gets cached and ASP.NET does NOT necessarily pick up on the change"}]},{"@type":"WebSite","@id":"https:\/\/elbsolutions.com\/projects\/#website","url":"https:\/\/elbsolutions.com\/projects\/","name":"ELB Solutions.com Inc.","description":"Bringing all your IT Pieces together","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/elbsolutions.com\/projects\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39","name":"Etienne Bley","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","caption":"Etienne Bley"},"url":"https:\/\/elbsolutions.com\/projects\/author\/etienne-bley\/"}]}},"_links":{"self":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/970","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/comments?post=970"}],"version-history":[{"count":4,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/970\/revisions"}],"predecessor-version":[{"id":2769,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/970\/revisions\/2769"}],"wp:attachment":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/media?parent=970"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/categories?post=970"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/tags?post=970"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}