[{"data":1,"prerenderedAt":1096},["ShallowReactive",2],{"i-feather:search":3,"i-feather:x":8,"i-feather:moon":10,"i-feather:sun":12,"i-lucide:house-heart":14,"i-fa-brands:youtube":16,"i-fa-brands:twitch":20,"i-fa-brands:github":22,"i-fa-brands:linkedin":25,"i-fa-brands:stack-overflow":28,"i-simple-icons:bluesky":31,"i-fa-brands:mastodon":33,"i-fa-regular:envelope":35,"i-fa-solid:rss":37,"post-\u002Fdynamically-generating-sitemap-xml-for-asp-net-mvc\u002F":39,"post-navigation":700,"i-fa-solid:share-alt":1076,"i-fa-brands:facebook":1078,"i-fa-brands:twitter":1080,"i-fa-brands:reddit":1082,"i-fa-brands:patreon":1084,"i-simple-icons:buymeacoffee":1086,"i-fa-brands:paypal":1088,"i-fa-regular:question-circle":1090,"i-feather:arrow-left":1092,"i-feather:arrow-right":1094},{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":7},0,24,false,"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Ccircle cx=\"11\" cy=\"11\" r=\"8\"\u002F>\u003Cpath d=\"m21 21l-4.35-4.35\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":9},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 6L6 18M6 6l12 12\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":11},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M21 12.79A9 9 0 1 1 11.21 3A7 7 0 0 0 21 12.79\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":13},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Ccircle cx=\"12\" cy=\"12\" r=\"5\"\u002F>\u003Cpath d=\"M12 1v2m0 18v2M4.22 4.22l1.42 1.42m12.72 12.72l1.42 1.42M1 12h2m18 0h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":15},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M8.62 13.8A2.25 2.25 0 1 1 12 10.836a2.25 2.25 0 1 1 3.38 2.966l-2.626 2.856a.998.998 0 0 1-1.507 0z\"\u002F>\u003Cpath d=\"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":17,"height":18,"rotate":4,"vFlip":6,"hFlip":6,"body":19},576,512,"\u003Cpath fill=\"currentColor\" d=\"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597c-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821c11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305m-317.51 213.508V175.185l142.739 81.205z\"\u002F>",{"left":4,"top":4,"width":18,"height":18,"rotate":4,"vFlip":6,"hFlip":6,"body":21},"\u003Cpath fill=\"currentColor\" d=\"M391.17 103.47h-38.63v109.7h38.63ZM285 103h-38.63v109.75H285ZM120.83 0L24.31 91.42v329.16h115.83V512l96.53-91.42h77.25L487.69 256V0Zm328.24 237.75l-77.22 73.12h-77.24l-67.6 64v-64h-86.87V36.58h308.93Z\"\u002F>",{"left":4,"top":4,"width":23,"height":18,"rotate":4,"vFlip":6,"hFlip":6,"body":24},496,"\u003Cpath fill=\"currentColor\" d=\"M165.9 397.4c0 2-2.3 3.6-5.2 3.6c-3.3.3-5.6-1.3-5.6-3.6c0-2 2.3-3.6 5.2-3.6c3-.3 5.6 1.3 5.6 3.6m-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9c2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3m44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9c.3 2 2.9 3.3 5.9 2.6c2.9-.7 4.9-2.6 4.6-4.6c-.3-1.9-3-3.2-5.9-2.9M244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2c12.8 2.3 17.3-5.6 17.3-12.1c0-6.2-.3-40.4-.3-61.4c0 0-70 15-84.7-29.8c0 0-11.4-29.1-27.8-36.6c0 0-22.9-15.7 1.6-15.4c0 0 24.9 2 38.6 25.8c21.9 38.6 58.6 27.5 72.9 20.9c2.3-16 8.8-27.1 16-33.7c-55.9-6.2-112.3-14.3-112.3-110.5c0-27.5 7.6-41.3 23.6-58.9c-2.6-6.5-11.1-33.3 2.6-67.9c20.9-6.5 69 27 69 27c20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27c13.7 34.7 5.2 61.4 2.6 67.9c16 17.7 25.8 31.5 25.8 58.9c0 96.5-58.9 104.2-114.8 110.5c9.2 7.9 17 22.9 17 46.4c0 33.7-.3 75.4-.3 83.6c0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252C496 113.3 383.5 8 244.8 8M97.2 352.9c-1.3 1-1 3.3.7 5.2c1.6 1.6 3.9 2.3 5.2 1c1.3-1 1-3.3-.7-5.2c-1.6-1.6-3.9-2.3-5.2-1m-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9c1.6 1 3.6.7 4.3-.7c.7-1.3-.3-2.9-2.3-3.9c-2-.6-3.6-.3-4.3.7m32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2c2.3 2.3 5.2 2.6 6.5 1c1.3-1.3.7-4.3-1.3-6.2c-2.2-2.3-5.2-2.6-6.5-1m-11.4-14.7c-1.6 1-1.6 3.6 0 5.9s4.3 3.3 5.6 2.3c1.6-1.3 1.6-3.9 0-6.2c-1.4-2.3-4-3.3-5.6-2\"\u002F>",{"left":4,"top":4,"width":26,"height":18,"rotate":4,"vFlip":6,"hFlip":6,"body":27},448,"\u003Cpath fill=\"currentColor\" d=\"M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3M135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5c0 21.3-17.2 38.5-38.5 38.5m282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7c-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5c67.2 0 79.7 44.3 79.7 101.9z\"\u002F>",{"left":4,"top":4,"width":29,"height":18,"rotate":4,"vFlip":6,"hFlip":6,"body":30},384,"\u003Cpath fill=\"currentColor\" d=\"M290.7 311L95 269.7L86.8 309l195.7 41zm51-87L188.2 95.7l-25.5 30.8l153.5 128.3zm-31.2 39.7L129.2 179l-16.7 36.5L293.7 300zM262 32l-32 24l119.3 160.3l32-24zm20.5 328h-200v39.7h200zm39.7 80H42.7V320h-40v160h359.5V320h-40z\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":32},"\u003Cpath fill=\"currentColor\" d=\"M5.202 2.857C7.954 4.922 10.913 9.11 12 11.358c1.087-2.247 4.046-6.436 6.798-8.501C20.783 1.366 24 .213 24 3.883c0 .732-.42 6.156-.667 7.037c-.856 3.061-3.978 3.842-6.755 3.37c4.854.826 6.089 3.562 3.422 6.299c-5.065 5.196-7.28-1.304-7.847-2.97c-.104-.305-.152-.448-.153-.327c0-.121-.05.022-.153.327c-.568 1.666-2.782 8.166-7.847 2.97c-2.667-2.737-1.432-5.473 3.422-6.3c-2.777.473-5.899-.308-6.755-3.369C.42 10.04 0 4.615 0 3.883c0-3.67 3.217-2.517 5.202-1.026\"\u002F>",{"left":4,"top":4,"width":26,"height":18,"rotate":4,"vFlip":6,"hFlip":6,"body":34},"\u003Cpath fill=\"currentColor\" d=\"M433 179.11c0-97.2-63.71-125.7-63.71-125.7c-62.52-28.7-228.56-28.4-290.48 0c0 0-63.72 28.5-63.72 125.7c0 115.7-6.6 259.4 105.63 289.1c40.51 10.7 75.32 13 103.33 11.4c50.81-2.8 79.32-18.1 79.32-18.1l-1.7-36.9s-36.31 11.4-77.12 10.1c-40.41-1.4-83-4.4-89.63-54a102.5 102.5 0 0 1-.9-13.9c85.63 20.9 158.65 9.1 178.75 6.7c56.12-6.7 105-41.3 111.23-72.9c9.8-49.8 9-121.5 9-121.5m-75.12 125.2h-46.63v-114.2c0-49.7-64-51.6-64 6.9v62.5h-46.33V197c0-58.5-64-56.6-64-6.9v114.2H90.19c0-122.1-5.2-147.9 18.41-175c25.9-28.9 79.82-30.8 103.83 6.1l11.6 19.5l11.6-19.5c24.11-37.1 78.12-34.8 103.83-6.1c23.71 27.3 18.4 53 18.4 175z\"\u002F>",{"left":4,"top":4,"width":18,"height":18,"rotate":4,"vFlip":6,"hFlip":6,"body":36},"\u003Cpath fill=\"currentColor\" d=\"M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48m0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49c-16.841 13.247-50.201 45.072-73.413 44.701c-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646c21.857 17.205 60.134 55.186 103.062 54.955c42.717.231 80.509-37.199 103.053-54.947c49.528-38.783 82.032-64.401 104.947-82.653V400z\"\u002F>",{"left":4,"top":4,"width":26,"height":18,"rotate":4,"vFlip":6,"hFlip":6,"body":38},"\u003Cpath fill=\"currentColor\" d=\"M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041s64.04 28.673 64.04 64.041m175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018c111.832 7.284 201.473 96.702 208.772 208.772c.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79m144.249.288C439.596 229.677 251.465 40.445 16.503 32.01C7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999c191.179 7.839 344.627 161.316 352.465 352.465c.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504\"\u002F>",{"id":40,"title":41,"author":42,"body":43,"comments":353,"date":677,"dateModified":678,"description":679,"extension":680,"headings":681,"heroImage":689,"meta":690,"path":691,"permalink":691,"published":692,"stem":693,"tags":694,"timeToRead":699},"posts\u002Fposts\u002F2015\u002Fdynamically-generating-sitemap-xml-for-asp-net-mvc\u002Findex.md","Dynamically Generating Sitemap.xml for ASP.NET MVC","Muhammad Rehan Saeed",{"type":44,"value":45,"toc":350},"minimark",[46,70,89,98,105,108,136,139,150,158,174,185,194,204,210,215,225,232,235,241,244,268,271,274,285,288,291,297,300,303,306,332,343,346],[47,48,50,69],"h1",{"id":49},"what-is-a-sitemapxml-file",[51,52,55],"a",{"href":53,"aria-hidden":54},"#what-is-a-sitemapxml-file","true",[56,57,63],"svg",{"xmlns":58,"xmlns:xlink":59,"viewBox":60,"version":61,"width":62,"height":62,"aria-hidden":54},"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg","http:\u002F\u002Fwww.w3.org\u002F1999\u002Fxlink","0 0 16 16","1.1",22,[64,65],"path",{"fill":66,"fill-rule":67,"d":68},"currentColor","evenodd","M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z","What is a sitemap.xml File",[71,72,73,74,78,79,88],"p",{},"What is a ",[75,76,77],"code",{},"sitemap.xml"," file used for? The official ",[51,80,87],{"href":81,"rel":82,"target":86},"http:\u002F\u002Fwww.sitemaps.org\u002F",[83,84,85],"nofollow","noopener","noreferrer","_blank","sitemaps.org"," site really does says it best:",[90,91,92,95],"blockquote",{},[71,93,94],{},"Sitemaps are an easy way for webmasters to inform search engines about pages on their sites that are available for crawling. In its simplest form, a Sitemap is an XML file that lists URL's for a site along with additional metadata about each URL (when it was last updated, how often it usually changes, and how important it is, relative to other URL's in the site) so that search engines can more intelligently crawl the site.",[71,96,97],{},"Web crawlers usually discover pages from links within the site and from other sites. Sitemaps supplement this data to allow crawlers that support Sitemaps to pick up all URL's in the Sitemap and learn about those URL's using the associated metadata. Using the Sitemap protocol does not guarantee that web pages are included in search engines, but provides hints for web crawlers to do a better job of crawling your site.",[99,100],"pre",{"className":101,"language":102,"meta":103,"style":103,"html":104},"language-xml shiki shiki-themes light-plus monokai","xml","","\u003Cspan class=\"line\">\u003Cspan class=\"sNflI\">&lt;?\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">xml\u003C\u002Fspan>\u003Cspan class=\"snDo4\"> version\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">=\u003C\u002Fspan>\u003Cspan class=\"squEy\">\"1.0\"\u003C\u002Fspan>\u003Cspan class=\"snDo4\"> encoding\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">=\u003C\u002Fspan>\u003Cspan class=\"squEy\">\"UTF-8\"\u003C\u002Fspan>\u003Cspan class=\"sNflI\">?&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sNflI\">&lt;\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">urlset\u003C\u002Fspan>\u003Cspan class=\"snDo4\"> xmlns\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">=\u003C\u002Fspan>\u003Cspan class=\"squEy\">\"http:\u002F\u002Fwww.sitemaps.org\u002Fschemas\u002Fsitemap\u002F0.9\"\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sNflI\">   &lt;\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">url\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sNflI\">      &lt;\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">loc\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">http:\u002F\u002Fwww.example.com\u002F\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&lt;\u002F\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">loc\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sNflI\">      &lt;\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">lastmod\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">2005-01-01\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&lt;\u002F\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">lastmod\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sNflI\">      &lt;\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">changefreq\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">monthly\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&lt;\u002F\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">changefreq\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sNflI\">      &lt;\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">priority\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">0.8\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&lt;\u002F\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">priority\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sNflI\">   &lt;\u002F\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">url\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"s1q82\">   &lt;!-- ... --&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sNflI\">&lt;\u002F\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">urlset\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>",[71,106,107],{},"As you can see each URL in a sitemap contains four pieces of metadata:",[109,110,111,118,124,130],"ul",{},[112,113,114,117],"li",{},[75,115,116],{},"url"," - The URL itself.",[112,119,120,123],{},[75,121,122],{},"lastmod"," (Optional) - A last modified timestamp. This tells search engines whether or not they should re-index the page to reflect any changes that have been made.",[112,125,126,129],{},[75,127,128],{},"changefreq"," (Optional) - A change frequency indicator (This can take the values: always, hourly, daily, weekly, monthly, yearly, never). This gives search engines an indication of how often they should come back and re-index the page.",[112,131,132,135],{},[75,133,134],{},"priority"," (Optional) - A number from zero to one indicating the importance of the page compared to other pages on the site.",[71,137,138],{},"The latter three values only give search engines an indication of when they can or should index or even re-index a page. It is not a guarantee that it will happen, although it makes it more likely.",[47,140,142,149],{"id":141},"is-it-worth-the-effort",[51,143,145],{"href":144,"aria-hidden":54},"#is-it-worth-the-effort",[56,146,147],{"xmlns":58,"xmlns:xlink":59,"viewBox":60,"version":61,"width":62,"height":62,"aria-hidden":54},[64,148],{"fill":66,"fill-rule":67,"d":68},"Is it Worth the Effort?",[71,151,152,153,157],{},"Search engines are black boxes. We only know what goes into them (Our sitemap) and what comes out the other end (The search results). I can make no promises that adding a sitemap will increase your sites search rankings but ",[154,155,156],"strong",{},"Google"," says:",[90,159,160,167],{},[71,161,162,163,166],{},"Using a sitemap doesn't guarantee that all the items in your sitemap will be crawled and indexed, as Google processes rely on complex algorithms to schedule crawling. However, ",[154,164,165],{},"in most cases, your site will benefit from having a sitemap",", and you'll never be penalized for having one.",[168,169,170],"footer",{},[171,172,173],"cite",{},"[Google](https:\u002F\u002Fsupport.google.com\u002Fwebmasters\u002Fanswer\u002F156184?hl=en)",[47,175,177,184],{"id":176},"generating-a-static-sitemapxml-file",[51,178,180],{"href":179,"aria-hidden":54},"#generating-a-static-sitemapxml-file",[56,181,182],{"xmlns":58,"xmlns:xlink":59,"viewBox":60,"version":61,"width":62,"height":62,"aria-hidden":54},[64,183],{"fill":66,"fill-rule":67,"d":68},"Generating a Static sitemap.xml File",[71,186,187,188,190,191,193],{},"There are tools online you can use to generate a static ",[75,189,77],{}," file, which you can dump at the root of your site but you have to manually update these every time your site changes. This may be fine if your site does not change much but adding a dynamically generated ",[75,192,77],{}," file is fairly simple process and worth the effort.",[47,195,197,41],{"id":196},"dynamically-generating-sitemapxml-for-aspnet-mvc",[51,198,200],{"href":199,"aria-hidden":54},"#dynamically-generating-sitemapxml-for-aspnet-mvc",[56,201,202],{"xmlns":58,"xmlns:xlink":59,"viewBox":60,"version":61,"width":62,"height":62,"aria-hidden":54},[64,203],{"fill":66,"fill-rule":67,"d":68},[71,205,206,207,209],{},"Dynamically generating a simple ",[75,208,77],{}," file for ASP.NET MVC is really simple but adding all the bells and whistles requires a bit more work. We start with a SitemapNode and frequency enumeration which represents a single URL in our sitemap:",[99,211],{"className":212,"language":213,"meta":103,"style":103,"html":214},"language-cs shiki shiki-themes light-plus monokai","cs","\u003Cspan class=\"line\">\u003Cspan class=\"sJvqV\">public\u003C\u002Fspan>\u003Cspan class=\"s4J9F\"> class\u003C\u002Fspan>\u003Cspan class=\"sw29p\"> SitemapNode\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">{\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sJvqV\">    public\u003C\u002Fspan>\u003Cspan class=\"sw29p\"> SitemapFrequency\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">? \u003C\u002Fspan>\u003Cspan class=\"sFrd5\">Frequency\u003C\u002Fspan>\u003Cspan class=\"sjLUg\"> { \u003C\u002Fspan>\u003Cspan class=\"s4J9F\">get\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">; \u003C\u002Fspan>\u003Cspan class=\"s4J9F\">set\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">; }\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sJvqV\">    public\u003C\u002Fspan>\u003Cspan class=\"sw29p\"> DateTime\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">? \u003C\u002Fspan>\u003Cspan class=\"sFrd5\">LastModified\u003C\u002Fspan>\u003Cspan class=\"sjLUg\"> { \u003C\u002Fspan>\u003Cspan class=\"s4J9F\">get\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">; \u003C\u002Fspan>\u003Cspan class=\"s4J9F\">set\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">; }\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sJvqV\">    public\u003C\u002Fspan>\u003Cspan class=\"sJvqV\"> double\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">? \u003C\u002Fspan>\u003Cspan class=\"sFrd5\">Priority\u003C\u002Fspan>\u003Cspan class=\"sjLUg\"> { \u003C\u002Fspan>\u003Cspan class=\"s4J9F\">get\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">; \u003C\u002Fspan>\u003Cspan class=\"s4J9F\">set\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">; }\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sJvqV\">    public\u003C\u002Fspan>\u003Cspan class=\"sJvqV\"> string\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> Url\u003C\u002Fspan>\u003Cspan class=\"sjLUg\"> { \u003C\u002Fspan>\u003Cspan class=\"s4J9F\">get\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">; \u003C\u002Fspan>\u003Cspan class=\"s4J9F\">set\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">; }\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">}\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan>\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sJvqV\">public\u003C\u002Fspan>\u003Cspan class=\"s4J9F\"> enum\u003C\u002Fspan>\u003Cspan class=\"sw29p\"> SitemapFrequency\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">{\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">    Never\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">,\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">    Yearly\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">,\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">    Monthly\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">,\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">    Weekly\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">,\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">    Daily\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">,\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">    Hourly\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">,\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">    Always\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">}\n\u003C\u002Fspan>\u003C\u002Fspan>",[71,216,217,218,221,222,224],{},"Now we need to create a collection of ",[75,219,220],{},"SitemapNode","'s. In my example below, I add the three main pages of my site, Home, About and Contact. I then go on to add a collection of product pages. I am getting every product ID from my database and using that to generate a product URL. Note that I'm not using every property on the ",[75,223,220],{}," class since in my case I don't have an easy way to figure out a last changed date but I do specify a priority and frequency for my products.",[71,226,227,228,231],{},"Please note that the URL's must be absolute and I am using an extension method I wrote called ",[75,229,230],{},"AbsoluteRouteUrl"," to generate absolute URL's instead of relative ones. I have included that below too.",[99,233],{"className":212,"language":213,"meta":103,"style":103,"html":234},"\u003Cspan class=\"line\">\u003Cspan class=\"sJvqV\">public\u003C\u002Fspan>\u003Cspan class=\"sw29p\"> IReadOnlyCollection\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">&lt;\u003C\u002Fspan>\u003Cspan class=\"sw29p\">SitemapNode\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">&gt; \u003C\u002Fspan>\u003Cspan class=\"sWm5y\">GetSitemapNodes\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\u003C\u002Fspan>\u003Cspan class=\"sw29p\">UrlHelper\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> urlHelper\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">)\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">{\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sw29p\">    List\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">&lt;\u003C\u002Fspan>\u003Cspan class=\"sw29p\">SitemapNode\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">&gt; \u003C\u002Fspan>\u003Cspan class=\"sFrd5\">nodes\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> =\u003C\u002Fspan>\u003Cspan class=\"sJvqV\"> new\u003C\u002Fspan>\u003Cspan class=\"sw29p\"> List\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">&lt;\u003C\u002Fspan>\u003Cspan class=\"sw29p\">SitemapNode\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">&gt;();\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan>\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">    nodes\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sWm5y\">Add\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sJvqV\">        new\u003C\u002Fspan>\u003Cspan class=\"sw29p\"> SitemapNode\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">()\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">        {\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">            Url\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> =\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> urlHelper\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sWm5y\">AbsoluteRouteUrl\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\u003C\u002Fspan>\u003Cspan class=\"swiDo\">\"HomeGetIndex\"\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">),\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">            Priority\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> =\u003C\u002Fspan>\u003Cspan class=\"s0PsH\"> 1\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">        });\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">    nodes\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sWm5y\">Add\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sJvqV\">       new\u003C\u002Fspan>\u003Cspan class=\"sw29p\"> SitemapNode\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">()\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">       {\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">           Url\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> =\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> urlHelper\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sWm5y\">AbsoluteRouteUrl\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\u003C\u002Fspan>\u003Cspan class=\"swiDo\">\"HomeGetAbout\"\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">),\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">           Priority\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> =\u003C\u002Fspan>\u003Cspan class=\"s0PsH\"> 0.9\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">       });\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">    nodes\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sWm5y\">Add\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sJvqV\">       new\u003C\u002Fspan>\u003Cspan class=\"sw29p\"> SitemapNode\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">()\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">       {\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">           Url\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> =\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> urlHelper\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sWm5y\">AbsoluteRouteUrl\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\u003C\u002Fspan>\u003Cspan class=\"swiDo\">\"HomeGetContact\"\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">),\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">           Priority\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> =\u003C\u002Fspan>\u003Cspan class=\"s0PsH\"> 0.9\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">       });\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan>\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"smL5M\">    foreach\u003C\u002Fspan>\u003Cspan class=\"sjLUg\"> (\u003C\u002Fspan>\u003Cspan class=\"sJvqV\">int\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> productId\u003C\u002Fspan>\u003Cspan class=\"smL5M\"> in\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> productRepository\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sWm5y\">GetProductIds\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">())\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">    {\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">        nodes\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sWm5y\">Add\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sJvqV\">           new\u003C\u002Fspan>\u003Cspan class=\"sw29p\"> SitemapNode\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">()\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">           {\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">               Url\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> =\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> urlHelper\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sWm5y\">AbsoluteRouteUrl\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\u003C\u002Fspan>\u003Cspan class=\"swiDo\">\"ProductGetProduct\"\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">, \u003C\u002Fspan>\u003Cspan class=\"sJvqV\">new\u003C\u002Fspan>\u003Cspan class=\"sjLUg\"> { \u003C\u002Fspan>\u003Cspan class=\"sFrd5\">id\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> =\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> productId\u003C\u002Fspan>\u003Cspan class=\"sjLUg\"> }),\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">               Frequency\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> =\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> SitemapFrequency\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">Weekly\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">,\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">               Priority\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> =\u003C\u002Fspan>\u003Cspan class=\"s0PsH\"> 0.8\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">           });\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">    }\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan>\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"smL5M\">    return\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> nodes\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">}\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan>\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sJvqV\">public\u003C\u002Fspan>\u003Cspan class=\"s4J9F\"> class\u003C\u002Fspan>\u003Cspan class=\"sw29p\"> UrlHelperExtensions\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">{\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sJvqV\">    public\u003C\u002Fspan>\u003Cspan class=\"sJvqV\"> static\u003C\u002Fspan>\u003Cspan class=\"sJvqV\"> string\u003C\u002Fspan>\u003Cspan class=\"sWm5y\"> AbsoluteRouteUrl\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sJvqV\">        this\u003C\u002Fspan>\u003Cspan class=\"sw29p\"> UrlHelper\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> urlHelper\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">,\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sJvqV\">        string\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> routeName\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">,\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sJvqV\">        object\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> routeValues\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> =\u003C\u002Fspan>\u003Cspan class=\"sMc8R\"> null\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">)\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">    {\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sJvqV\">        string\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> scheme\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> =\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> urlHelper\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">RequestContext\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">HttpContext\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">Request\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">Url\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">Scheme\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"smL5M\">        return\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> urlHelper\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sWm5y\">RouteUrl\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">routeName\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">, \u003C\u002Fspan>\u003Cspan class=\"sFrd5\">routeValues\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">, \u003C\u002Fspan>\u003Cspan class=\"sFrd5\">scheme\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">);\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">    }\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">}\n\u003C\u002Fspan>\u003C\u002Fspan>",[71,236,237,238,240],{},"Now all we have to do is turn our collection of ",[75,239,220],{},"'s into XML:",[99,242],{"className":212,"language":213,"meta":103,"style":103,"html":243},"\u003Cspan class=\"line\">\u003Cspan class=\"sJvqV\">public\u003C\u002Fspan>\u003Cspan class=\"sJvqV\"> string\u003C\u002Fspan>\u003Cspan class=\"sWm5y\"> GetSitemapDocument\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\u003C\u002Fspan>\u003Cspan class=\"sw29p\">IEnumerable\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">&lt;\u003C\u002Fspan>\u003Cspan class=\"sw29p\">SitemapNode\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">&gt; \u003C\u002Fspan>\u003Cspan class=\"sFrd5\">sitemapNodes\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">)\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">{\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sw29p\">    XNamespace\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> xmlns\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> =\u003C\u002Fspan>\u003Cspan class=\"swiDo\"> \"http:\u002F\u002Fwww.sitemaps.org\u002Fschemas\u002Fsitemap\u002F0.9\"\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sw29p\">    XElement\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> root\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> =\u003C\u002Fspan>\u003Cspan class=\"sJvqV\"> new\u003C\u002Fspan>\u003Cspan class=\"sw29p\"> XElement\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">xmlns\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> +\u003C\u002Fspan>\u003Cspan class=\"swiDo\"> \"urlset\"\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">);\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan>\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"smL5M\">    foreach\u003C\u002Fspan>\u003Cspan class=\"sjLUg\"> (\u003C\u002Fspan>\u003Cspan class=\"sw29p\">SitemapNode\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> sitemapNode\u003C\u002Fspan>\u003Cspan class=\"smL5M\"> in\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> sitemapNodes\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">)\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">    {\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sw29p\">        XElement\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> urlElement\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> =\u003C\u002Fspan>\u003Cspan class=\"sJvqV\"> new\u003C\u002Fspan>\u003Cspan class=\"sw29p\"> XElement\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">            xmlns\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> +\u003C\u002Fspan>\u003Cspan class=\"swiDo\"> \"url\"\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">,\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sJvqV\">            new\u003C\u002Fspan>\u003Cspan class=\"sw29p\"> XElement\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">xmlns\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> +\u003C\u002Fspan>\u003Cspan class=\"swiDo\"> \"loc\"\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">, \u003C\u002Fspan>\u003Cspan class=\"sFrd5\">Uri\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sWm5y\">EscapeUriString\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">sitemapNode\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">Url\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">)),\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">            sitemapNode\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">LastModified\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> ==\u003C\u002Fspan>\u003Cspan class=\"sMc8R\"> null\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> ?\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> null\u003C\u002Fspan>\u003Cspan class=\"sjLUg\"> : \u003C\u002Fspan>\u003Cspan class=\"sJvqV\">new\u003C\u002Fspan>\u003Cspan class=\"sw29p\"> XElement\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">                xmlns\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> +\u003C\u002Fspan>\u003Cspan class=\"swiDo\"> \"lastmod\"\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">, \n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">                sitemapNode\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">LastModified\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">Value\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sWm5y\">ToLocalTime\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">().\u003C\u002Fspan>\u003Cspan class=\"sWm5y\">ToString\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\u003C\u002Fspan>\u003Cspan class=\"swiDo\">\"yyyy-MM-ddTHH:mm:sszzz\"\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">)),\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">            sitemapNode\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">Frequency\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> ==\u003C\u002Fspan>\u003Cspan class=\"sMc8R\"> null\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> ?\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> null\u003C\u002Fspan>\u003Cspan class=\"sjLUg\"> : \u003C\u002Fspan>\u003Cspan class=\"sJvqV\">new\u003C\u002Fspan>\u003Cspan class=\"sw29p\"> XElement\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">                xmlns\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> +\u003C\u002Fspan>\u003Cspan class=\"swiDo\"> \"changefreq\"\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">, \n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">                sitemapNode\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">Frequency\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">Value\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sWm5y\">ToString\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">().\u003C\u002Fspan>\u003Cspan class=\"sWm5y\">ToLowerInvariant\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">()),\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">            sitemapNode\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">Priority\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> ==\u003C\u002Fspan>\u003Cspan class=\"sMc8R\"> null\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> ?\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> null\u003C\u002Fspan>\u003Cspan class=\"sjLUg\"> : \u003C\u002Fspan>\u003Cspan class=\"sJvqV\">new\u003C\u002Fspan>\u003Cspan class=\"sw29p\"> XElement\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">                xmlns\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> +\u003C\u002Fspan>\u003Cspan class=\"swiDo\"> \"priority\"\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">, \n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">                sitemapNode\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">Priority\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">Value\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sWm5y\">ToString\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\u003C\u002Fspan>\u003Cspan class=\"swiDo\">\"F1\"\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">, \u003C\u002Fspan>\u003Cspan class=\"sFrd5\">CultureInfo\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">InvariantCulture\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">)));\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sFrd5\">        root\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sWm5y\">Add\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">urlElement\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">);\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">    }\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan>\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sw29p\">    XDocument\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> document\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> =\u003C\u002Fspan>\u003Cspan class=\"sJvqV\"> new\u003C\u002Fspan>\u003Cspan class=\"sw29p\"> XDocument\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">root\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">);\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"smL5M\">    return\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> document\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sWm5y\">ToString\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">();\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">}\n\u003C\u002Fspan>\u003C\u002Fspan>",[71,245,246,247,250,251,256,257,259,260,263,264,267],{},"Now we add an action method to our ",[75,248,249],{},"HomeController"," to get to our sitemap. Note the route to get to the sitemap. It is ",[51,252,255],{"href":253,"rel":254,"target":86},"http:\u002F\u002Fwww.sitemaps.org\u002Ffaq.html",[83,84,85],"recommended"," to place your sitemap at the root of your site at ",[75,258,77],{},". Also note that creating a route with a file extension at the end (",[75,261,262],{},".xml",") is not allowed in MVC 5 and below (ASP.NET Core is fine), so you need to add the line below in your ",[75,265,266],{},"Web.config"," file.",[99,269],{"className":212,"language":213,"meta":103,"style":103,"html":270},"\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">[\u003C\u002Fspan>\u003Cspan class=\"sw29p\">RoutePrefix\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\u003C\u002Fspan>\u003Cspan class=\"swiDo\">\"\"\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">)]\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sJvqV\">public\u003C\u002Fspan>\u003Cspan class=\"s4J9F\"> class\u003C\u002Fspan>\u003Cspan class=\"sw29p\"> HomeController\u003C\u002Fspan>\u003Cspan class=\"sjLUg\"> : \u003C\u002Fspan>\u003Cspan class=\"sw29p\">Controller\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">{\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">    [\u003C\u002Fspan>\u003Cspan class=\"sw29p\">Route\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\u003C\u002Fspan>\u003Cspan class=\"swiDo\">\"sitemap.xml\"\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">)]\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sJvqV\">    public\u003C\u002Fspan>\u003Cspan class=\"sw29p\"> ActionResult\u003C\u002Fspan>\u003Cspan class=\"sWm5y\"> SitemapXml\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">()\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">    {\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"s4J9F\">        var\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> sitemapNodes\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> =\u003C\u002Fspan>\u003Cspan class=\"sWm5y\"> GetSitemapNodes\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\u003C\u002Fspan>\u003Cspan class=\"sK46n\">this\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">Url\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">);\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sJvqV\">        string\u003C\u002Fspan>\u003Cspan class=\"sFrd5\"> xml\u003C\u002Fspan>\u003Cspan class=\"snCLD\"> =\u003C\u002Fspan>\u003Cspan class=\"sWm5y\"> GetSitemapDocument\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">sitemapNodes\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">);\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"smL5M\">        return\u003C\u002Fspan>\u003Cspan class=\"sK46n\"> this\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sWm5y\">Content\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">(\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">xml\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">, \u003C\u002Fspan>\u003Cspan class=\"sFrd5\">ContentType\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">Xml\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">, \u003C\u002Fspan>\u003Cspan class=\"sFrd5\">Encoding\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">.\u003C\u002Fspan>\u003Cspan class=\"sFrd5\">UTF8\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">);\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">    }\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sjLUg\">}\n\u003C\u002Fspan>\u003C\u002Fspan>",[99,272],{"className":101,"language":102,"meta":103,"style":103,"html":273},"\u003Cspan class=\"line\">\u003Cspan class=\"sNflI\">&lt;\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">configuration\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sNflI\">  &lt;\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">system.webServer\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sNflI\">    &lt;\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">handlers\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sNflI\">      &lt;\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">add\u003C\u002Fspan>\u003Cspan class=\"snDo4\"> name\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">=\u003C\u002Fspan>\u003Cspan class=\"squEy\">\"SitemapXml\"\u003C\u002Fspan>\u003Cspan class=\"snDo4\"> path\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">=\u003C\u002Fspan>\u003Cspan class=\"squEy\">\"sitemap.xml\"\u003C\u002Fspan>\u003Cspan class=\"snDo4\"> verb\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">=\u003C\u002Fspan>\u003Cspan class=\"squEy\">\"GET\"\u003C\u002Fspan>\u003Cspan class=\"snDo4\"> type\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">=\u003C\u002Fspan>\u003Cspan class=\"squEy\">\"System.Web.Handlers.TransferRequestHandler\"\u003C\u002Fspan>\u003Cspan class=\"snDo4\"> preCondition\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">=\u003C\u002Fspan>\u003Cspan class=\"squEy\">\"integratedMode,runtimeVersionv4.0\"\u003C\u002Fspan>\u003Cspan class=\"sNflI\"> \u002F&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sNflI\">    &lt;\u002F\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">handlers\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sNflI\">  &lt;\u002F\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">system.webServer\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sNflI\">&lt;\u002F\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">configuration\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>",[47,275,277,284],{"id":276},"sitemap-index-files",[51,278,280],{"href":279,"aria-hidden":54},"#sitemap-index-files",[56,281,282],{"xmlns":58,"xmlns:xlink":59,"viewBox":60,"version":61,"width":62,"height":62,"aria-hidden":54},[64,283],{"fill":66,"fill-rule":67,"d":68},"Sitemap Index Files",[71,286,287],{},"For most people the above code will be enough. You can only have a maximum of 50,000 URL's in your sitemap and it must not exceed 10MB in size. I did some testing and if your URL's are fairly long and you supply all of the metadata for each URL, you can easily hit the 10MB mark with 25,000 URL's.",[71,289,290],{},"It's not clear what happens if search engines come across a file that breaches these limits. I would have thought that the likes of Google or Bing would have a margin of error but it's better to be well under the limits than over. Not many sites have that many pages but you'd be surprised at how easy it is to hit these limits.",[71,292,293,294,296],{},"This is where sitemap index files come in. The idea is that you break up your sitemap into pages and list all of these in an index file. When a search engine visits your ",[75,295,77],{}," file, they retrieve the index file and visit each page in turn. Here is an example of an index file:",[99,298],{"className":101,"language":102,"meta":103,"style":103,"html":299},"\u003Cspan class=\"line\">\u003Cspan class=\"sNflI\">&lt;?\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">xml\u003C\u002Fspan>\u003Cspan class=\"snDo4\"> version\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">=\u003C\u002Fspan>\u003Cspan class=\"squEy\">\"1.0\"\u003C\u002Fspan>\u003Cspan class=\"snDo4\"> encoding\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">=\u003C\u002Fspan>\u003Cspan class=\"squEy\">\"UTF-8\"\u003C\u002Fspan>\u003Cspan class=\"sNflI\">?&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sNflI\">&lt;\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">sitemapindex\u003C\u002Fspan>\u003Cspan class=\"snDo4\"> xmlns\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">=\u003C\u002Fspan>\u003Cspan class=\"squEy\">\"http:\u002F\u002Fwww.sitemaps.org\u002Fschemas\u002Fsitemap\u002F0.9\"\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sNflI\">   &lt;\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">sitemap\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sNflI\">      &lt;\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">loc\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">http:\u002F\u002Fwww.example.com\u002Fsitemap1.xml\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&lt;\u002F\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">loc\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sNflI\">      &lt;\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">lastmod\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">2004-10-01T18:23:17+00:00\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&lt;\u002F\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">lastmod\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sNflI\">   &lt;\u002F\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">sitemap\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sNflI\">   &lt;\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">sitemap\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sNflI\">      &lt;\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">loc\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">http:\u002F\u002Fwww.example.com\u002Fsitemap2.xml.gz\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&lt;\u002F\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">loc\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sNflI\">      &lt;\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">lastmod\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\u003C\u002Fspan>\u003Cspan class=\"sjLUg\">2005-01-01\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&lt;\u002F\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">lastmod\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sNflI\">   &lt;\u002F\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">sitemap\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>\u003Cspan class=\"line\">\u003Cspan class=\"sNflI\">&lt;\u002F\u003C\u002Fspan>\u003Cspan class=\"sjbfc\">sitemapindex\u003C\u002Fspan>\u003Cspan class=\"sNflI\">&gt;\n\u003C\u002Fspan>\u003C\u002Fspan>",[71,301,302],{},"As you can see you can optionally add a last modified date to each sitemap URL to tell search engines when a sitemap file has changed. This last modified date can be calculated from it's contents, you just need to take the latest last modified date from that particular page.",[71,304,305],{},"This blog post has started to get a little long and I haven't even covered sitemap pinging yet, so I will not go into too much detail but I will refer you to where you can get at the full source code and worked example. Luckily, all of the code above and the code to generate a sitemap index file is available here:",[109,307,308,323],{},[112,309,310,311,316,317,322],{},"ASP.NET Core Boilerplate Framework NuGet packages for ",[51,312,315],{"href":313,"rel":314,"target":86},"https:\u002F\u002Fwww.nuget.org\u002Fpackages\u002FBoilerplate.Web.Mvc5\u002F",[83,84,85],"MVC 5"," and ",[51,318,321],{"href":319,"rel":320,"target":86},"https:\u002F\u002Fwww.nuget.org\u002Fpackages\u002FBoilerplate.Web.Mvc6\u002F",[83,84,85],"ASP.NET Core",".",[112,324,325,326,331],{},"You can also generate a project using the ",[51,327,330],{"href":328,"rel":329,"target":86},"https:\u002F\u002Fvisualstudiogallery.msdn.microsoft.com\u002F6cf50a48-fc1e-4eaf-9e82-0b2a6705ca7d",[83,84,85],"ASP.NET Core Boilerplate"," project template to see the full code in action.",[47,333,335,342],{"id":334},"conclusions",[51,336,338],{"href":337,"aria-hidden":54},"#conclusions",[56,339,340],{"xmlns":58,"xmlns:xlink":59,"viewBox":60,"version":61,"width":62,"height":62,"aria-hidden":54},[64,341],{"fill":66,"fill-rule":67,"d":68},"Conclusions",[71,344,345],{},"Adding a sitemap is a great Search Engine Optimization (SEO) technique to improve your sites search rankings. With my NuGet package, it makes it a really simple feature to add to your site. In my next blog post, I'll talk about sitemap pinging which can be used to pro-actively notify search engines of a change in your sitemap.",[347,348,349],"style",{},"html pre.shiki code .sNflI, html code.shiki .sNflI{--shiki-default:#800000;--shiki-dark:#F8F8F2}html pre.shiki code .sjbfc, html code.shiki .sjbfc{--shiki-default:#800000;--shiki-dark:#F92672}html pre.shiki code .snDo4, html code.shiki .snDo4{--shiki-default:#E50000;--shiki-dark:#A6E22E}html pre.shiki code .sjLUg, html code.shiki .sjLUg{--shiki-default:#000000;--shiki-dark:#F8F8F2}html pre.shiki code .squEy, html code.shiki .squEy{--shiki-default:#0000FF;--shiki-dark:#E6DB74}html pre.shiki code .s1q82, html code.shiki .s1q82{--shiki-default:#008000;--shiki-dark:#88846F}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sJvqV, html code.shiki .sJvqV{--shiki-default:#0000FF;--shiki-dark:#F92672}html pre.shiki code .s4J9F, html code.shiki .s4J9F{--shiki-default:#0000FF;--shiki-default-font-style:inherit;--shiki-dark:#66D9EF;--shiki-dark-font-style:italic}html pre.shiki code .sw29p, html code.shiki .sw29p{--shiki-default:#267F99;--shiki-default-text-decoration:inherit;--shiki-dark:#A6E22E;--shiki-dark-text-decoration:underline}html pre.shiki code .sFrd5, html code.shiki .sFrd5{--shiki-default:#001080;--shiki-dark:#F8F8F2}html pre.shiki code .sWm5y, html code.shiki .sWm5y{--shiki-default:#795E26;--shiki-dark:#A6E22E}html pre.shiki code .snCLD, html code.shiki .snCLD{--shiki-default:#000000;--shiki-dark:#F92672}html pre.shiki code .swiDo, html code.shiki .swiDo{--shiki-default:#A31515;--shiki-dark:#E6DB74}html pre.shiki code .s0PsH, html code.shiki .s0PsH{--shiki-default:#098658;--shiki-dark:#AE81FF}html pre.shiki code .smL5M, html code.shiki .smL5M{--shiki-default:#AF00DB;--shiki-dark:#F92672}html pre.shiki code .sMc8R, html code.shiki .sMc8R{--shiki-default:#0000FF;--shiki-dark:#AE81FF}html pre.shiki code .sK46n, html code.shiki .sK46n{--shiki-default:#0000FF;--shiki-dark:#FD971F}",{"title":103,"searchDepth":351,"depth":351,"links":352},2,[],{"issue":354,"comments":358},{"number":355,"title":356,"html_url":357},75,"[Comment] Dynamically Generating Sitemap.xml for ASP.NET MVC","https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75",[359,371,379,387,395,403,411,419,427,435,443,451,459,467,475,483,491,499,507,515,523,531,539,547,555,563,571,579,587,596,605,613,621,629,637,645,653,661,669],{"id":360,"html_url":361,"body_html":362,"created_at":363,"updated_at":363,"author_association":364,"user":365,"reactions":369},627255025,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627255025","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002Fffa4e1b31401224588f60b2cee8865188cace1bc7c018da98e73e7f3f1fed507\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f63333632373762633138663036366633343861653166373432633530643965633f733d393626643d6d6d26723d67\">\u003Cimg alt=\"judasegg\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002Fffa4e1b31401224588f60b2cee8865188cace1bc7c018da98e73e7f3f1fed507\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f63333632373762633138663036366633343861653166373432633530643965633f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>judasegg\u003C\u002Fstrong> commented on \u003Cstrong>2015-09-22 15:04:03\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>Regarding this sitemap generator - using your boilerplate, if I go to \u003Ccode>localhost\u002Fsitemap.xml\u003C\u002Fcode> I see the sitemap, but have no physical \u003Ccode>sitemap.xml\u003C\u002Fcode> file in the solution itself. Can you clarify - because this is MVC, that is the reason that we don't have a physical \u003Ccode>sitemap.xml\u003C\u002Fcode> file? Unless I'm missing some generation step to create an actual file at the root. It just seems a bit strange that \u003Ccode>robots.txt\u003C\u002Fcode> is a physical file, but the sitemap appears to simply be a route?\u003C\u002Fp>","2020-05-12T10:26:49Z","OWNER",{"login":366,"avatar_url":367,"html_url":368},"RehanSaeed","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2270364?v=4","https:\u002F\u002Fgithub.com\u002FRehanSaeed",{"url":370,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627255025\u002Freactions",{"id":372,"html_url":373,"body_html":374,"created_at":375,"updated_at":375,"author_association":364,"user":376,"reactions":377},627255084,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627255084","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\">\u003Cimg alt=\"Muhammad Rehan Saeed\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>\u003Ca rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\u002F\u002Frehansaeed.com\u002F\">Muhammad Rehan Saeed\u003C\u002Fa>\u003C\u002Fstrong> commented on \u003Cstrong>2015-09-22 15:13:52\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>Regarding this sitemap generator - using your boilerplate, if I go to \u003Ccode>localhost\u002Fsitemap.xml\u003C\u002Fcode> I see the sitemap, but have no physical \u003Ccode>sitemap.xml\u003C\u002Fcode> file in the solution itself. Can you clarify - because this is MVC, that is the reason that we don't have a physical \u003Ccode>sitemap.xml\u003C\u002Fcode> file? Unless I'm missing some generation step to create an actual file at the root. It just seems a bit strange that \u003Ccode>robots.txt\u003C\u002Fcode> is a physical file, but the sitemap appears to simply be a route?\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>We are dynamically generating the \u003Ccode>sitemap.xml\u003C\u002Fcode> file instead of having to have a physical file. The advantage is that the sitemap is always up to date and we don't need to continually generate a new physical file and replace the old one.\u003C\u002Fp>\n\u003Cp>Actually, if you are using ASP.NET Core Boilerplate, the \u003Ccode>robots.txt\u003C\u002Fcode> file is also generated dynamically. There is no physical \u003Ccode>robots.txt\u003C\u002Fcode> file. There is less of a reason to do this. Mostly it is to create the link to the sitemap, which you would otherwise have to manually add. You can read my other recent blog post about this subject.\u003C\u002Fp>","2020-05-12T10:26:56Z",{"login":366,"avatar_url":367,"html_url":368},{"url":378,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627255084\u002Freactions",{"id":380,"html_url":381,"body_html":382,"created_at":383,"updated_at":383,"author_association":364,"user":384,"reactions":385},627255138,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627255138","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F1446b54ddec236e51c7a00e6b0bbde9df22d8f82974d57e4ec861ee7e64fc305\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f62333838366562366638316232653564663634313335663138613062616439343f733d393626643d6d6d26723d67\">\u003Cimg alt=\"Tobias Oort\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F1446b54ddec236e51c7a00e6b0bbde9df22d8f82974d57e4ec861ee7e64fc305\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f62333838366562366638316232653564663634313335663138613062616439343f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>Tobias Oort\u003C\u002Fstrong> commented on \u003Cstrong>2015-09-28 11:58:47\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>I would suggest adding some caching - even generating the sitemap build time instead of runtime. This greatly reduces impact when your site gets spidered by a few search engine (and Asp.net MVC afaik doesn't really let you change the routing of the app at runtime, so runtime resolution of the sitemap is relatively useless). Also, you might want to use Attributes to annotate ControllerActions to either in\u002Fexclude stuff from the sitemap.\u003C\u002Fp>","2020-05-12T10:27:03Z",{"login":366,"avatar_url":367,"html_url":368},{"url":386,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627255138\u002Freactions",{"id":388,"html_url":389,"body_html":390,"created_at":391,"updated_at":391,"author_association":364,"user":392,"reactions":393},627255204,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627255204","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\">\u003Cimg alt=\"Muhammad Rehan Saeed\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>\u003Ca rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\u002F\u002Frehansaeed.com\u002F\">Muhammad Rehan Saeed\u003C\u002Fa>\u003C\u002Fstrong> commented on \u003Cstrong>2015-09-28 19:18:42\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>I would suggest adding some caching - even generating the sitemap build time instead of runtime. This greatly reduces impact when your site gets spidered by a few search engine (and Asp.net MVC afaik doesn't really let you change the routing of the app at runtime, so runtime resolution of the sitemap is relatively useless). Also, you might want to use Attributes to annotate ControllerActions to either in\u002Fexclude stuff from the sitemap.\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>Agreed! I didn't discuss it in this blog post but I have added caching to the ASP.NET Core Boilerplate project template. The only problem is that you can't use the OutputCache attribute because if you are using sitemap index files, then you want each sitemap to be cache busted at the same time. Instead, I've gone with using a memory cache internally.\u003C\u002Fp>\n\u003Cp>Attributes can't go to the database and get the ID's of all items, which you can then use to generate routes for all of those items, they can only be used for really basic static routes without any database referenced parameters. You could also generate a static sitemap but then you would have to generate this file every time your database changes or have some kind of job running to create the file periodically.\u003C\u002Fp>\n\u003Cp>Unless you have a very high traffic site, generating a sitemap once a day and then caching it, is not going to affect performance that much for most people. If it is, you are probably running a site the size of StackOverflow.\u003C\u002Fp>","2020-05-12T10:27:10Z",{"login":366,"avatar_url":367,"html_url":368},{"url":394,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627255204\u002Freactions",{"id":396,"html_url":397,"body_html":398,"created_at":399,"updated_at":399,"author_association":364,"user":400,"reactions":401},627255274,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627255274","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F712f43367c12b098ed0fcb12790427f90f7a543226eab5b5ef8abc02f1cd85c8\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f36623731386532653033316139663262633963633461643566343736643963363f733d393626643d6d6d26723d67\">\u003Cimg alt=\"Goldenboy\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F712f43367c12b098ed0fcb12790427f90f7a543226eab5b5ef8abc02f1cd85c8\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f36623731386532653033316139663262633963633461643566343736643963363f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>Goldenboy\u003C\u002Fstrong> commented on \u003Cstrong>2015-10-14 12:20:28\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>Wow. Very Nice tutorial. I implemented this and it works fine with attribute routing. But when i tried to use convention based routing, i was getting the error of \"A route named 'Home\u002FIndex' could not be found in the route collection.\".. Please, is there any work around i need to do to get this to work with the convention based routing?\u003C\u002Fp>","2020-05-12T10:27:17Z",{"login":366,"avatar_url":367,"html_url":368},{"url":402,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627255274\u002Freactions",{"id":404,"html_url":405,"body_html":406,"created_at":407,"updated_at":407,"author_association":364,"user":408,"reactions":409},627255326,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627255326","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\">\u003Cimg alt=\"Muhammad Rehan Saeed\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>\u003Ca rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\u002F\u002Frehansaeed.com\u002F\">Muhammad Rehan Saeed\u003C\u002Fa>\u003C\u002Fstrong> commented on \u003Cstrong>2015-10-14 15:08:56\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>Wow. Very Nice tutorial. I implemented this and it works fine with attribute routing. But when i tried to use convention based routing, i was getting the error of \"A route named 'Home\u002FIndex' could not be found in the route collection.\".. Please, is there any work around i need to do to get this to work with the convention based routing?\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>I'm not sure why you are getting an error without taking a look at your code. Can I suggest posting your question along with some code on StackOverflow, it's the best place to get answers quickly.\u003C\u002Fp>\n\u003Cp>By the way, ASP.NET Core has attribute routing turned on by default and it seems to now be the default. I definitely prefer it but everyone has their own preference.\u003C\u002Fp>","2020-05-12T10:27:24Z",{"login":366,"avatar_url":367,"html_url":368},{"url":410,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627255326\u002Freactions",{"id":412,"html_url":413,"body_html":414,"created_at":415,"updated_at":415,"author_association":364,"user":416,"reactions":417},627255397,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627255397","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002Fe363036d0e39f2031dd0b2d27bc583a3971ce6e5554c728819a7c9e8fa79de83\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f61663830666539393335346432353437373837326364616433633139653463343f733d393626643d6d6d26723d67\">\u003Cimg alt=\"Jack Chen\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002Fe363036d0e39f2031dd0b2d27bc583a3971ce6e5554c728819a7c9e8fa79de83\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f61663830666539393335346432353437373837326364616433633139653463343f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>Jack Chen\u003C\u002Fstrong> commented on \u003Cstrong>2015-11-10 10:13:16\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>Thanks. I learned a lot.\u003C\u002Fp>","2020-05-12T10:27:31Z",{"login":366,"avatar_url":367,"html_url":368},{"url":418,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627255397\u002Freactions",{"id":420,"html_url":421,"body_html":422,"created_at":423,"updated_at":423,"author_association":364,"user":424,"reactions":425},627255457,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627255457","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F4ce873088d6676800171ebe204532f4c3cf9a800c76450e155f94e951cf78665\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f30663530656133353661306434386637306537346638396661306430353234333f733d393626643d6d6d26723d67\">\u003Cimg alt=\"luke\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F4ce873088d6676800171ebe204532f4c3cf9a800c76450e155f94e951cf78665\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f30663530656133353661306434386637306537346638396661306430353234333f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>\u003Ca rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"http:\u002F\u002Fwww.my-band.it\u002F\">luke\u003C\u002Fa>\u003C\u002Fstrong> commented on \u003Cstrong>2016-08-05 09:38:59\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>Hi Rehan,\u003Cbr \u002F>\nI'm trying to convert you example in VB. To do that I need a working example, can you help?\u003Cbr \u002F>\nThank you very much.\u003C\u002Fp>","2020-05-12T10:27:38Z",{"login":366,"avatar_url":367,"html_url":368},{"url":426,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627255457\u002Freactions",{"id":428,"html_url":429,"body_html":430,"created_at":431,"updated_at":431,"author_association":364,"user":432,"reactions":433},627255516,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627255516","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\">\u003Cimg alt=\"Muhammad Rehan Saeed\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>\u003Ca rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\u002F\u002Frehansaeed.com\u002F\">Muhammad Rehan Saeed\u003C\u002Fa>\u003C\u002Fstrong> commented on \u003Cstrong>2016-08-05 09:43:44\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>Hi Rehan,\u003Cbr \u002F>\nI'm trying to convert you example in VB. To do that I need a working example, can you help?\u003Cbr \u002F>\nThank you very much.\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>Create a new project using the ASP.NET Core Boilerplate project template. You can get it from the Visual Studio Gallery.\u003C\u002Fp>","2020-05-12T10:27:44Z",{"login":366,"avatar_url":367,"html_url":368},{"url":434,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627255516\u002Freactions",{"id":436,"html_url":437,"body_html":438,"created_at":439,"updated_at":439,"author_association":364,"user":440,"reactions":441},627255583,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627255583","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F49a9982a1e8bb4fad4c03e80293d82bf9565e540662302b5b58564097f6472f2\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f30396664626436333364626465633832353763316436373961633065326462333f733d393626643d6d6d26723d67\">\u003Cimg alt=\"amir\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F49a9982a1e8bb4fad4c03e80293d82bf9565e540662302b5b58564097f6472f2\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f30396664626436333364626465633832353763316436373961633065326462333f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>amir\u003C\u002Fstrong> commented on \u003Cstrong>2016-11-26 15:38:08\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>hello\u003C\u002Fp>\n\u003Cp>I want to generate my all post in site map.\u003C\u002Fp>\n\u003Cp>for example :\u003C\u002Fp>\n\u003Cdiv>\u003Cpre>\u003Ccode>mysite.com\u002Fnews\u002F1\nmysite.com\u002Fnews\u002F2\nmysite.com\u002Fnews\u002Fnewsid\n\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>how should i do ?\u003C\u002Fp>","2020-05-12T10:27:52Z",{"login":366,"avatar_url":367,"html_url":368},{"url":442,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627255583\u002Freactions",{"id":444,"html_url":445,"body_html":446,"created_at":447,"updated_at":447,"author_association":364,"user":448,"reactions":449},627255651,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627255651","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\">\u003Cimg alt=\"Muhammad Rehan Saeed\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>\u003Ca rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\u002F\u002Frehansaeed.com\u002F\">Muhammad Rehan Saeed\u003C\u002Fa>\u003C\u002Fstrong> commented on \u003Cstrong>2016-11-27 07:50:52\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>hello\u003C\u002Fp>\n\u003Cp>I want to generate my all post in site map.\u003C\u002Fp>\n\u003Cp>for example :\u003C\u002Fp>\n\u003Cdiv>\u003Cpre>\u003Ccode>mysite.com\u002Fnews\u002F1\nmysite.com\u002Fnews\u002F2\nmysite.com\u002Fnews\u002Fnewsid\n\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>how should i do ?\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>Does the blog post not help? What is the problem?\u003C\u002Fp>","2020-05-12T10:27:58Z",{"login":366,"avatar_url":367,"html_url":368},{"url":450,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627255651\u002Freactions",{"id":452,"html_url":453,"body_html":454,"created_at":455,"updated_at":455,"author_association":364,"user":456,"reactions":457},627255698,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627255698","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F49a9982a1e8bb4fad4c03e80293d82bf9565e540662302b5b58564097f6472f2\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f30396664626436333364626465633832353763316436373961633065326462333f733d393626643d6d6d26723d67\">\u003Cimg alt=\"amir\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F49a9982a1e8bb4fad4c03e80293d82bf9565e540662302b5b58564097f6472f2\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f30396664626436333364626465633832353763316436373961633065326462333f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>amir\u003C\u002Fstrong> commented on \u003Cstrong>2016-11-29 06:57:13\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>Does the blog post not help? What is the problem?\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>My project is Database First.\u003C\u002Fp>\n\u003Cp>how should I  put my news id in sitemap and punt it in the loop ?\u003C\u002Fp>\n\u003Cp>you just create sitemap for Home, About and Contact\u003C\u002Fp>","2020-05-12T10:28:06Z",{"login":366,"avatar_url":367,"html_url":368},{"url":458,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627255698\u002Freactions",{"id":460,"html_url":461,"body_html":462,"created_at":463,"updated_at":463,"author_association":364,"user":464,"reactions":465},627255743,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627255743","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F49a9982a1e8bb4fad4c03e80293d82bf9565e540662302b5b58564097f6472f2\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f30396664626436333364626465633832353763316436373961633065326462333f733d393626643d6d6d26723d67\">\u003Cimg alt=\"amir\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F49a9982a1e8bb4fad4c03e80293d82bf9565e540662302b5b58564097f6472f2\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f30396664626436333364626465633832353763316436373961633065326462333f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>amir\u003C\u002Fstrong> commented on \u003Cstrong>2016-11-30 16:48:17\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>Hello\u003C\u002Fp>\n\u003Cp>please put project files in your post\u003C\u002Fp>\n\u003Cp>I want to download it\u003C\u002Fp>\n\u003Cp>thanks\u003C\u002Fp>","2020-05-12T10:28:13Z",{"login":366,"avatar_url":367,"html_url":368},{"url":466,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627255743\u002Freactions",{"id":468,"html_url":469,"body_html":470,"created_at":471,"updated_at":471,"author_association":364,"user":472,"reactions":473},627255803,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627255803","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F49a9982a1e8bb4fad4c03e80293d82bf9565e540662302b5b58564097f6472f2\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f30396664626436333364626465633832353763316436373961633065326462333f733d393626643d6d6d26723d67\">\u003Cimg alt=\"amir\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F49a9982a1e8bb4fad4c03e80293d82bf9565e540662302b5b58564097f6472f2\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f30396664626436333364626465633832353763316436373961633065326462333f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>amir\u003C\u002Fstrong> commented on \u003Cstrong>2016-12-03 16:06:46\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>Hello\u003C\u002Fp>\n\u003Cp>please put project files in your post\u003C\u002Fp>\n\u003Cp>I want to download it\u003C\u002Fp>\n\u003Cp>thanks\u003C\u002Fp>","2020-05-12T10:28:20Z",{"login":366,"avatar_url":367,"html_url":368},{"url":474,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627255803\u002Freactions",{"id":476,"html_url":477,"body_html":478,"created_at":479,"updated_at":479,"author_association":364,"user":480,"reactions":481},627255851,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627255851","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\">\u003Cimg alt=\"Muhammad Rehan Saeed\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>\u003Ca rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\u002F\u002Frehansaeed.com\u002F\">Muhammad Rehan Saeed\u003C\u002Fa>\u003C\u002Fstrong> commented on \u003Cstrong>2016-12-05 13:41:57\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>Hello\u003C\u002Fp>\n\u003Cp>please put project files in your post\u003C\u002Fp>\n\u003Cp>I want to download it\u003C\u002Fp>\n\u003Cp>thanks\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>Create a project using the ASP.NET Core Boilerplate project template and you can look at the code there.\u003C\u002Fp>","2020-05-12T10:28:27Z",{"login":366,"avatar_url":367,"html_url":368},{"url":482,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627255851\u002Freactions",{"id":484,"html_url":485,"body_html":486,"created_at":487,"updated_at":487,"author_association":364,"user":488,"reactions":489},627255924,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627255924","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F86fb71638bfcc2518f15ce633fef72860f0bf2ac4c228f6795f8dab3869f8c12\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f33383663613137313466356332303130323131343763643930643265393530663f733d393626643d6d6d26723d67\">\u003Cimg alt=\"amir\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F86fb71638bfcc2518f15ce633fef72860f0bf2ac4c228f6795f8dab3869f8c12\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f33383663613137313466356332303130323131343763643930643265393530663f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>amir\u003C\u002Fstrong> commented on \u003Cstrong>2016-12-13 07:42:02\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>Hello\u003Cbr \u002F>\nI install it and i create GetSitemapNodes function\u003C\u002Fp>\n\u003Cp>but when i pass a url to Url , is show this error :\u003C\u002Fp>\n\u003Cp>Property or indexer \u003Ccode>Url\u003C\u002Fcode> cannot be assigned to \u003Ccode>-\u003C\u002Fcode> it is read only\u003C\u002Fp>\n\u003Cp>for example :\u003C\u002Fp>\n\u003Cdiv>\u003Cpre>\u003Cspan>new\u003C\u002Fspan> \u003Cspan>SitemapNode\u003C\u002Fspan>\u003Cspan>(\u003C\u002Fspan>\u003Cspan>)\u003C\u002Fspan>\n    \u003Cspan>{\u003C\u002Fspan>\n        \u003Cspan>Url\u003C\u002Fspan> \u003Cspan>=\u003C\u002Fspan> \u003Cspan>urlHelper\u003C\u002Fspan>\u003Cspan>.\u003C\u002Fspan>\u003Cspan>AbsoluteRouteUrl\u003C\u002Fspan>\u003Cspan>(\u003C\u002Fspan>\u003Cspan>\"Home\"\u003C\u002Fspan>\u003Cspan>)\u003C\u002Fspan>\u003Cspan>,\u003C\u002Fspan>\n        \u003Cspan>Priority\u003C\u002Fspan> \u003Cspan>=\u003C\u002Fspan> \u003Cspan>1\u003C\u002Fspan>\n    \u003Cspan>}\u003C\u002Fspan>\u003Cspan>)\u003C\u002Fspan>\u003Cspan>;\u003C\u002Fspan>\u003C\u002Fpre>\u003C\u002Fdiv>","2020-05-12T10:28:34Z",{"login":366,"avatar_url":367,"html_url":368},{"url":490,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627255924\u002Freactions",{"id":492,"html_url":493,"body_html":494,"created_at":495,"updated_at":495,"author_association":364,"user":496,"reactions":497},627255989,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627255989","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\">\u003Cimg alt=\"Muhammad Rehan Saeed\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>\u003Ca rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\u002F\u002Frehansaeed.com\u002F\">Muhammad Rehan Saeed\u003C\u002Fa>\u003C\u002Fstrong> commented on \u003Cstrong>2016-12-17 10:44:38\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>Hello\u003Cbr \u002F>\nI install it and i create GetSitemapNodes function\u003C\u002Fp>\n\u003Cp>but when i pass a url to Url , is show this error :\u003C\u002Fp>\n\u003Cp>Property or indexer \u003Ccode>Url\u003C\u002Fcode> cannot be assigned to \u003Ccode>-\u003C\u002Fcode> it is read only\u003C\u002Fp>\n\u003Cp>for example :\u003C\u002Fp>\n\u003Cdiv>\u003Cpre>\u003Cspan>new\u003C\u002Fspan> \u003Cspan>SitemapNode\u003C\u002Fspan>\u003Cspan>(\u003C\u002Fspan>\u003Cspan>)\u003C\u002Fspan>\n\u003Cspan>{\u003C\u002Fspan>\n    \u003Cspan>Url\u003C\u002Fspan> \u003Cspan>=\u003C\u002Fspan> \u003Cspan>urlHelper\u003C\u002Fspan>\u003Cspan>.\u003C\u002Fspan>\u003Cspan>AbsoluteRouteUrl\u003C\u002Fspan>\u003Cspan>(\u003C\u002Fspan>\u003Cspan>\"Home\"\u003C\u002Fspan>\u003Cspan>)\u003C\u002Fspan>\u003Cspan>,\u003C\u002Fspan>\n    \u003Cspan>Priority\u003C\u002Fspan> \u003Cspan>=\u003C\u002Fspan> \u003Cspan>1\u003C\u002Fspan>\n\u003Cspan>}\u003C\u002Fspan>\u003Cspan>)\u003C\u002Fspan>\u003Cspan>;\u003C\u002Fspan>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003C\u002Fblockquote>\n\u003Cp>I think you need to spend some time learning C#. There are really good courses on Pluralsight which are free to view for 30 days.\u003C\u002Fp>","2020-05-12T10:28:42Z",{"login":366,"avatar_url":367,"html_url":368},{"url":498,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627255989\u002Freactions",{"id":500,"html_url":501,"body_html":502,"created_at":503,"updated_at":503,"author_association":364,"user":504,"reactions":505},627256057,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627256057","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002Ffeb2bb7665e6b858eb468e26553223527deccc54cb1ff7999e95f959bbceeb3e\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f35356439643830623538303839636465633062303665303962343063666163623f733d393626643d6d6d26723d67\">\u003Cimg alt=\"Abdulrahman\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002Ffeb2bb7665e6b858eb468e26553223527deccc54cb1ff7999e95f959bbceeb3e\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f35356439643830623538303839636465633062303665303962343063666163623f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>Abdulrahman\u003C\u002Fstrong> commented on \u003Cstrong>2016-12-17 20:45:32\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>Wouldn't it be more dynamic, if you would generate your sitemap through reflection? In your solution you have to update the notes by yourself, if anything changes or will be added.\u003C\u002Fp>","2020-05-12T10:28:49Z",{"login":366,"avatar_url":367,"html_url":368},{"url":506,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627256057\u002Freactions",{"id":508,"html_url":509,"body_html":510,"created_at":511,"updated_at":511,"author_association":364,"user":512,"reactions":513},627256102,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627256102","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\">\u003Cimg alt=\"Muhammad Rehan Saeed\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>\u003Ca rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\u002F\u002Frehansaeed.com\u002F\">Muhammad Rehan Saeed\u003C\u002Fa>\u003C\u002Fstrong> commented on \u003Cstrong>2016-12-21 09:08:00\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>Wouldn't it be more dynamic, if you would generate your sitemap through reflection? In your solution you have to update the notes by yourself, if anything changes or will be added.\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>What if you have products in a database. Each product has an ID. To generate the URL for each product, you need to get all product ID's from the database and iterate over them to get the product URL's. This cannot be done using reflection.\u003C\u002Fp>","2020-05-12T10:28:56Z",{"login":366,"avatar_url":367,"html_url":368},{"url":514,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627256102\u002Freactions",{"id":516,"html_url":517,"body_html":518,"created_at":519,"updated_at":519,"author_association":364,"user":520,"reactions":521},627256158,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627256158","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F225356d0482d9d4ccbeac578b941d52aabc1bf3dc2d971596cbacd16daa29dba\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f30633165343866366234396135353035363664366565313634326638383438303f733d393626643d6d6d26723d67\">\u003Cimg alt=\"John\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F225356d0482d9d4ccbeac578b941d52aabc1bf3dc2d971596cbacd16daa29dba\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f30633165343866366234396135353035363664366565313634326638383438303f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>\u003Ca rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"http:\u002F\u002Fwww.thesari.com\u002F\">John\u003C\u002Fa>\u003C\u002Fstrong> commented on \u003Cstrong>2017-02-16 16:54:47\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>Even though I have added\u003C\u002Fp>\n\u003Cdiv>\u003Cpre>\u003Cspan>new\u003C\u002Fspan> \u003Cspan>XDeclaration\u003C\u002Fspan>\u003Cspan>(\u003C\u002Fspan>\u003Cspan>\"1.0\"\u003C\u002Fspan>\u003Cspan>,\u003C\u002Fspan> \u003Cspan>\"utf-8\"\u003C\u002Fspan>\u003Cspan>,\u003C\u002Fspan> \u003Cspan>\"yes\"\u003C\u002Fspan>\u003Cspan>)\u003C\u002Fspan>\u003Cspan>,\u003C\u002Fspan>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>when calling the \u003Ccode>sitemap.xml\u003C\u002Fcode> I do not see the beginning of the xml as in an xml file\u003C\u002Fp>\n\u003Cp>Is that a problem for search engines\u003C\u002Fp>","2020-05-12T10:29:04Z",{"login":366,"avatar_url":367,"html_url":368},{"url":522,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627256158\u002Freactions",{"id":524,"html_url":525,"body_html":526,"created_at":527,"updated_at":527,"author_association":364,"user":528,"reactions":529},627256215,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627256215","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\">\u003Cimg alt=\"Muhammad Rehan Saeed\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>\u003Ca rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\u002F\u002Frehansaeed.com\u002F\">Muhammad Rehan Saeed\u003C\u002Fa>\u003C\u002Fstrong> commented on \u003Cstrong>2017-02-18 11:41:51\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>Even though I have added\u003C\u002Fp>\n\u003Cdiv>\u003Cpre>\u003Cspan>new\u003C\u002Fspan> \u003Cspan>XDeclaration\u003C\u002Fspan>\u003Cspan>(\u003C\u002Fspan>\u003Cspan>\"1.0\"\u003C\u002Fspan>\u003Cspan>,\u003C\u002Fspan> \u003Cspan>\"utf-8\"\u003C\u002Fspan>\u003Cspan>,\u003C\u002Fspan> \u003Cspan>\"yes\"\u003C\u002Fspan>\u003Cspan>)\u003C\u002Fspan>\u003Cspan>,\u003C\u002Fspan>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>when calling the \u003Ccode>sitemap.xml\u003C\u002Fcode> I do not see the beginning of the xml as in an xml file\u003C\u002Fp>\n\u003Cp>Is that a problem for search engines\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>You are mistaken, the XML declaration is not shown in Firefox but if you save the document and view the content, you will see it.\u003C\u002Fp>","2020-05-12T10:29:12Z",{"login":366,"avatar_url":367,"html_url":368},{"url":530,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627256215\u002Freactions",{"id":532,"html_url":533,"body_html":534,"created_at":535,"updated_at":535,"author_association":364,"user":536,"reactions":537},627256277,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627256277","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F406b1f6e94e0439e526084603e8e1eef53bd6a98af38374bed764e60cee6fedd\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f65303962626162626338316264373666323262373839386263666139616565653f733d393626643d6d6d26723d67\">\u003Cimg alt=\"abdelmonem Mohammad\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F406b1f6e94e0439e526084603e8e1eef53bd6a98af38374bed764e60cee6fedd\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f65303962626162626338316264373666323262373839386263666139616565653f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>abdelmonem Mohammad\u003C\u002Fstrong> commented on \u003Cstrong>2017-03-23 15:20:58\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>What about submitting the sitemap file to google? It asks about the location of the sitemap of your site.\u003C\u002Fp>","2020-05-12T10:29:20Z",{"login":366,"avatar_url":367,"html_url":368},{"url":538,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627256277\u002Freactions",{"id":540,"html_url":541,"body_html":542,"created_at":543,"updated_at":543,"author_association":364,"user":544,"reactions":545},627256317,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627256317","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\">\u003Cimg alt=\"Muhammad Rehan Saeed\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>\u003Ca rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\u002F\u002Frehansaeed.com\u002F\">Muhammad Rehan Saeed\u003C\u002Fa>\u003C\u002Fstrong> commented on \u003Cstrong>2017-03-23 16:27:17\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>What about submitting the sitemap file to google? It asks about the location of the sitemap of your site.\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>That is where the sitemap pinger comes in. \u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fgithub.com\u002FDotnet-Boxed\u002FTemplates\">Here\u003C\u002Fa> is some code that does just that.\u003C\u002Fp>","2020-05-12T10:29:27Z",{"login":366,"avatar_url":367,"html_url":368},{"url":546,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627256317\u002Freactions",{"id":548,"html_url":549,"body_html":550,"created_at":551,"updated_at":551,"author_association":364,"user":552,"reactions":553},627256367,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627256367","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F406b1f6e94e0439e526084603e8e1eef53bd6a98af38374bed764e60cee6fedd\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f65303962626162626338316264373666323262373839386263666139616565653f733d393626643d6d6d26723d67\">\u003Cimg alt=\"abdelmonem Mohammad\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F406b1f6e94e0439e526084603e8e1eef53bd6a98af38374bed764e60cee6fedd\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f65303962626162626338316264373666323262373839386263666139616565653f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>abdelmonem Mohammad\u003C\u002Fstrong> commented on \u003Cstrong>2017-03-24 09:03:34\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>That is where the sitemap pinger comes in. \u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fgithub.com\u002FDotnet-Boxed\u002FTemplates\">Here\u003C\u002Fa> is some code that does just that.\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>Allah bless you. How generous you are! Two years ago you wrote this and still respect people asking you. Forgive me for asking again as I just used boilerplate that you wrote about. Should I submit the sitemap myself or just direct google to the root of the site. I read in google site that it is preferable to google to have that dynamic sitemap as well as a file in the root directory. The dynamic one will notify any update apart from the organic one that has all the URLs. Once again Allah bless you and your family for your kindness.\u003C\u002Fp>","2020-05-12T10:29:33Z",{"login":366,"avatar_url":367,"html_url":368},{"url":554,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627256367\u002Freactions",{"id":556,"html_url":557,"body_html":558,"created_at":559,"updated_at":559,"author_association":364,"user":560,"reactions":561},627256437,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627256437","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\">\u003Cimg alt=\"Muhammad Rehan Saeed\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>\u003Ca rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\u002F\u002Frehansaeed.com\u002F\">Muhammad Rehan Saeed\u003C\u002Fa>\u003C\u002Fstrong> commented on \u003Cstrong>2017-03-27 16:53:13\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>Allah bless you. How generous you are! Two years ago you wrote this and still respect people asking you. Forgive me for asking again as I just used boilerplate that you wrote about. Should I submit the sitemap myself or just direct google to the root of the site. I read in google site that it is preferable to google to have that dynamic sitemap as well as a file in the root directory. The dynamic one will notify any update apart from the organic one that has all the URLs. Once again Allah bless you and your family for your kindness.\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>You don't need a static sitemap if you have a dynamic one. I never got around to writing a blog post about submitting (pinging) your sitemap URL to Google and Bing through code. You could do it manually if it doesn't change very often. Hope that helps!\u003C\u002Fp>","2020-05-12T10:29:40Z",{"login":366,"avatar_url":367,"html_url":368},{"url":562,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627256437\u002Freactions",{"id":564,"html_url":565,"body_html":566,"created_at":567,"updated_at":567,"author_association":364,"user":568,"reactions":569},627256488,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627256488","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002Fb81635edb1cabf764a1a2abab70328dcf13439c4aa0c68f211302d10e5a00e62\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f38303963653066373738613632313232353764333435663036643536313863353f733d393626643d6d6d26723d67\">\u003Cimg alt=\"Sergiu\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002Fb81635edb1cabf764a1a2abab70328dcf13439c4aa0c68f211302d10e5a00e62\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f38303963653066373738613632313232353764333435663036643536313863353f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>Sergiu\u003C\u002Fstrong> commented on \u003Cstrong>2017-05-05 12:02:03\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>Hi Rehan,\u003Cbr \u002F>\nI get an 404 error not found for \u003Ca rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\u002F\u002Fmysite.com\u002Fsitemap.xml\">https:\u002F\u002Fmysite.com\u002Fsitemap.xml\u003C\u002Fa> in MVC5 even if I added the next lines:\u003C\u002Fp>\n\u003Cp>In \u003Ccode>HomeController.cs\u003C\u002Fcode> I have this:\u003C\u002Fp>\n\u003Cdiv>\u003Cpre>\u003Cspan>[\u003C\u002Fspan>\u003Cspan>Route\u003C\u002Fspan>\u003Cspan>(\u003C\u002Fspan>\u003Cspan>\"sitemap.xml\"\u003C\u002Fspan>\u003Cspan>)\u003C\u002Fspan>\u003Cspan>]\u003C\u002Fspan>\n\u003Cspan>public\u003C\u002Fspan> \u003Cspan>ActionResult\u003C\u002Fspan> \u003Cspan>SitemapXml\u003C\u002Fspan>\u003Cspan>(\u003C\u002Fspan>\u003Cspan>int\u003C\u002Fspan>\u003Cspan>?\u003C\u002Fspan> \u003Cspan>index\u003C\u002Fspan> \u003Cspan>=\u003C\u002Fspan> \u003Cspan>null\u003C\u002Fspan>\u003Cspan>)\u003C\u002Fspan>\u003Cspan>\u003C\u002Fspan>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>Can you tell what is wrong?\u003Cbr \u002F>\nThanks,\u003Cbr \u002F>\nSergiu\u003C\u002Fp>","2020-05-12T10:29:47Z",{"login":366,"avatar_url":367,"html_url":368},{"url":570,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627256488\u002Freactions",{"id":572,"html_url":573,"body_html":574,"created_at":575,"updated_at":575,"author_association":364,"user":576,"reactions":577},627256543,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627256543","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002Fb81635edb1cabf764a1a2abab70328dcf13439c4aa0c68f211302d10e5a00e62\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f38303963653066373738613632313232353764333435663036643536313863353f733d393626643d6d6d26723d67\">\u003Cimg alt=\"Sergiu\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002Fb81635edb1cabf764a1a2abab70328dcf13439c4aa0c68f211302d10e5a00e62\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f38303963653066373738613632313232353764333435663036643536313863353f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>Sergiu\u003C\u002Fstrong> commented on \u003Cstrong>2017-05-05 12:04:34\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>I was referring to handler in \u003Ccode>web.config\u003C\u002Fcode> (\u003Ccode>add name=\"SitemapXml\" path=\"sitemap.xml\" verb=\"GET\" type=\"System.Web.Handlers.TransferRequestHandler\" preCondition=\"integratedMode,runtimeVersionv4.0\"\u003C\u002Fcode>)\u003C\u002Fp>","2020-05-12T10:29:54Z",{"login":366,"avatar_url":367,"html_url":368},{"url":578,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627256543\u002Freactions",{"id":580,"html_url":581,"body_html":582,"created_at":583,"updated_at":583,"author_association":364,"user":584,"reactions":585},627256612,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627256612","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\">\u003Cimg alt=\"Muhammad Rehan Saeed\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>\u003Ca rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\u002F\u002Frehansaeed.com\u002F\">Muhammad Rehan Saeed\u003C\u002Fa>\u003C\u002Fstrong> commented on \u003Cstrong>2017-05-05 14:42:47\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>I was referring to handler in \u003Ccode>web.config\u003C\u002Fcode> (\u003Ccode>add name=\"SitemapXml\" path=\"sitemap.xml\" verb=\"GET\" type=\"System.Web.Handlers.TransferRequestHandler\" preCondition=\"integratedMode,runtimeVersionv4.0\"\u003C\u002Fcode>)\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>If you've added the section I describe in the \u003Ccode>web.config\u003C\u002Fcode> correctly, then you should not get a 404. Maybe check for typos?\u003C\u002Fp>","2020-05-12T10:30:02Z",{"login":366,"avatar_url":367,"html_url":368},{"url":586,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627256612\u002Freactions",{"id":588,"html_url":589,"body_html":590,"created_at":591,"updated_at":592,"author_association":364,"user":593,"reactions":594},627256668,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627256668","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F17a58b5dc713c6353732fb43c86e3e387c54cb91b0027c8c517e3c965e25063c\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f66643164623033326463333134323561356430643239663731306532353531303f733d393626643d6d6d26723d67\">\u003Cimg alt=\"Kemal Can ÖZÇELİK\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F17a58b5dc713c6353732fb43c86e3e387c54cb91b0027c8c517e3c965e25063c\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f66643164623033326463333134323561356430643239663731306532353531303f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>Kemal Can ÖZÇELİK\u003C\u002Fstrong> commented on \u003Cstrong>2017-05-20 20:11:33\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>You saved my day. Thank you.\u003C\u002Fp>","2020-05-12T10:30:09Z","2020-05-12T12:02:01Z",{"login":366,"avatar_url":367,"html_url":368},{"url":595,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627256668\u002Freactions",{"id":597,"html_url":598,"body_html":599,"created_at":600,"updated_at":601,"author_association":364,"user":602,"reactions":603},627256717,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627256717","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F216ab58ab22a5a2aed13cf0bd7fe5652df15d6a25eb0a79133d17179c3f01077\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f31633164366436343966323864323065396333313635383565613535653630313f733d393626643d6d6d26723d67\">\u003Cimg alt=\"Erdem Köşk\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F216ab58ab22a5a2aed13cf0bd7fe5652df15d6a25eb0a79133d17179c3f01077\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f31633164366436343966323864323065396333313635383565613535653630313f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>\u003Ca rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"http:\u002F\u002Fwww.erdemkosk.com\u002F\">Erdem Köşk\u003C\u002Fa>\u003C\u002Fstrong> commented on \u003Cstrong>2017-06-02 14:02:52\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>I want to say that thanks for amazing tutorial. You saved my day.\u003C\u002Fp>","2020-05-12T10:30:16Z","2020-05-12T12:02:21Z",{"login":366,"avatar_url":367,"html_url":368},{"url":604,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627256717\u002Freactions",{"id":606,"html_url":607,"body_html":608,"created_at":609,"updated_at":609,"author_association":364,"user":610,"reactions":611},627256762,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627256762","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F6bd65ffd0a3fa00588638c859676f7fdd71eaedfcea1e1f7ca162b2b70c8cfc1\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f34633630623037356436323131396336666538653462383432326339326561613f733d393626643d6d6d26723d67\">\u003Cimg alt=\"Anthony\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F6bd65ffd0a3fa00588638c859676f7fdd71eaedfcea1e1f7ca162b2b70c8cfc1\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f34633630623037356436323131396336666538653462383432326339326561613f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>Anthony\u003C\u002Fstrong> commented on \u003Cstrong>2017-07-22 00:15:04\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>how about multi-language sitemap\u003C\u002Fp>\n\u003Cp>\u003Ca rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"http:\u002F\u002Fwww.example.com\u002Fdeutsch\u002F\">http:\u002F\u002Fwww.example.com\u002Fdeutsch\u002F\u003C\u002Fa>\u003C\u002Fp>","2020-05-12T10:30:23Z",{"login":366,"avatar_url":367,"html_url":368},{"url":612,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627256762\u002Freactions",{"id":614,"html_url":615,"body_html":616,"created_at":617,"updated_at":617,"author_association":364,"user":618,"reactions":619},627256812,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627256812","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\">\u003Cimg alt=\"Muhammad Rehan Saeed\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>\u003Ca rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\u002F\u002Frehansaeed.com\u002F\">Muhammad Rehan Saeed\u003C\u002Fa>\u003C\u002Fstrong> commented on \u003Cstrong>2017-07-23 12:42:21\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>how about multi-language sitemap\u003C\u002Fp>\n\u003Cp>\u003Ca rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"http:\u002F\u002Fwww.example.com\u002Fdeutsch\u002F\">http:\u002F\u002Fwww.example.com\u002Fdeutsch\u002F\u003C\u002Fa>\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>Is there some special consideration for multi-language sitemaps? The \u003Ca rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\u002F\u002Fwww.sitemaps.org\u002F\">sitemaps.org\u003C\u002Fa> doesn't list anything.\u003C\u002Fp>","2020-05-12T10:30:30Z",{"login":366,"avatar_url":367,"html_url":368},{"url":620,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627256812\u002Freactions",{"id":622,"html_url":623,"body_html":624,"created_at":625,"updated_at":625,"author_association":364,"user":626,"reactions":627},627256886,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627256886","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002Fbe5da4fc661d71439752612e695a09fc36379d1af7a5ba04a734d3604b93a47d\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f31333630656265633030353461363034383339626661656630336534353634343f733d393626643d6d6d26723d67\">\u003Cimg alt=\"Robert Swilley\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002Fbe5da4fc661d71439752612e695a09fc36379d1af7a5ba04a734d3604b93a47d\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f31333630656265633030353461363034383339626661656630336534353634343f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>\u003Ca rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"http:\u002F\u002Fwww.rswilley.com\u002F\">Robert Swilley\u003C\u002Fa>\u003C\u002Fstrong> commented on \u003Cstrong>2017-07-28 20:46:11\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>This was very helpful to me. Thanks!\u003C\u002Fp>","2020-05-12T10:30:38Z",{"login":366,"avatar_url":367,"html_url":368},{"url":628,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627256886\u002Freactions",{"id":630,"html_url":631,"body_html":632,"created_at":633,"updated_at":633,"author_association":364,"user":634,"reactions":635},627256950,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627256950","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002Fb1cc11be2c416e3060f60f08ffc8a9fb14cdd9dec45c2771a60d8dccb11445c1\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f63396535643266313165373064636538663033386461326361306338393365303f733d393626643d6d6d26723d67\">\u003Cimg alt=\"MrNams\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002Fb1cc11be2c416e3060f60f08ffc8a9fb14cdd9dec45c2771a60d8dccb11445c1\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f63396535643266313165373064636538663033386461326361306338393365303f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>\u003Ca rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\u002F\u002Fmrnams.com\u002F\">MrNams\u003C\u002Fa>\u003C\u002Fstrong> commented on \u003Cstrong>2018-12-01 07:18:16\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>How to write sitemap at location \u003Ccode>\\wwwroot\\sitemap.xml\u003C\u002Fcode>?\u003Cbr \u002F>\nI have developed utility to generate sitemap for my website mrnams.com\u003Cbr \u002F>\nProblem I have is, when code generate \u003Ccode>sitemap.xml\u003C\u002Fcode> and try to save in \u003Ccode>\\wwwroot\\sitemap.xml\u003C\u002Fcode>,then its fails with access denied.\u003Cbr \u002F>\nAs I am using plesk, I can't access IIS, also I don't want to give write permissions to all other static files.\u003Cbr \u002F>\nPlease help.\u003C\u002Fp>","2020-05-12T10:30:44Z",{"login":366,"avatar_url":367,"html_url":368},{"url":636,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627256950\u002Freactions",{"id":638,"html_url":639,"body_html":640,"created_at":641,"updated_at":641,"author_association":364,"user":642,"reactions":643},627257029,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627257029","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\">\u003Cimg alt=\"Muhammad Rehan Saeed\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F8a07049df41b8a3839a3f4342f09ea8e6e7fa0065667687f04beca2d088a1dca\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f32623266393030653361633066353535316462646537323864336262343935343f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>\u003Ca rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\u002F\u002Frehansaeed.com\u002F\">Muhammad Rehan Saeed\u003C\u002Fa>\u003C\u002Fstrong> commented on \u003Cstrong>2018-12-01 11:01:50\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>How to write sitemap at location \u003Ccode>\\wwwroot\\sitemap.xml\u003C\u002Fcode>?\u003Cbr \u002F>\nI have developed utility to generate sitemap for my website mrnams.com\u003Cbr \u002F>\nProblem I have is, when code generate \u003Ccode>sitemap.xml\u003C\u002Fcode> and try to save in \u003Ccode>\\wwwroot\\sitemap.xml\u003C\u002Fcode>,then its fails with access denied.\u003Cbr \u002F>\nAs I am using plesk, I can't access IIS, also I don't want to give write permissions to all other static files.\u003Cbr \u002F>\nPlease help.\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>Why are you trying to save the sitemap to the \u003Ccode>wwwroot\u003C\u002Fcode> folder? Just serve it in the response body.\u003C\u002Fp>","2020-05-12T10:30:52Z",{"login":366,"avatar_url":367,"html_url":368},{"url":644,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627257029\u002Freactions",{"id":646,"html_url":647,"body_html":648,"created_at":649,"updated_at":649,"author_association":364,"user":650,"reactions":651},627257074,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627257074","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002Fb1cc11be2c416e3060f60f08ffc8a9fb14cdd9dec45c2771a60d8dccb11445c1\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f63396535643266313165373064636538663033386461326361306338393365303f733d393626643d6d6d26723d67\">\u003Cimg alt=\"MrNams\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002Fb1cc11be2c416e3060f60f08ffc8a9fb14cdd9dec45c2771a60d8dccb11445c1\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f63396535643266313165373064636538663033386461326361306338393365303f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>\u003Ca rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\u002F\u002Faasud.com\u002F\">MrNams\u003C\u002Fa>\u003C\u002Fstrong> commented on \u003Cstrong>2019-01-22 13:51:29\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>Why are you trying to save the sitemap to the \u003Ccode>wwwroot\u003C\u002Fcode> folder? Just serve it in the response body.\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>Thank you for valuable reply\u003Cbr \u002F>\nIs it ok for Search Engine to serve dynamically.\u003Cbr \u002F>\nalso how to prevent hackers who programatically call sitemap and keep servers busy.\u003Cbr \u002F>\nGenerally we use captcha to avoid robotics filling forms.\u003Cbr \u002F>\nBut here we can't use captcha.\u003C\u002Fp>\n\u003Cp>Thanks in advance.\u003C\u002Fp>","2020-05-12T10:30:58Z",{"login":366,"avatar_url":367,"html_url":368},{"url":652,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627257074\u002Freactions",{"id":654,"html_url":655,"body_html":656,"created_at":657,"updated_at":657,"author_association":364,"user":658,"reactions":659},627257146,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627257146","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002Ffb1a75d24d9faef9ccd4348caba31d228636cb12283a3875c7b21a8e961e1654\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f34303165303337393439613238623065323634646164616462326435633139383f733d393626643d6d6d26723d67\">\u003Cimg alt=\"Mesut\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002Ffb1a75d24d9faef9ccd4348caba31d228636cb12283a3875c7b21a8e961e1654\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f34303165303337393439613238623065323634646164616462326435633139383f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>Mesut\u003C\u002Fstrong> commented on \u003Cstrong>2019-10-07 18:37:14\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>Hi Rehan,\u003Cbr \u002F>\nI get an 404 error not found for \u003Ca rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\u002F\u002Fmysite.com\u002Fsitemap.xml\">https:\u002F\u002Fmysite.com\u002Fsitemap.xml\u003C\u002Fa> in MVC5 even if I added the next lines:\u003C\u002Fp>\n\u003Cp>In \u003Ccode>HomeController.cs\u003C\u002Fcode> I have this:\u003C\u002Fp>\n\u003Cdiv>\u003Cpre>\u003Cspan>[\u003C\u002Fspan>\u003Cspan>Route\u003C\u002Fspan>\u003Cspan>(\u003C\u002Fspan>\u003Cspan>\"sitemap.xml\"\u003C\u002Fspan>\u003Cspan>)\u003C\u002Fspan>\u003Cspan>]\u003C\u002Fspan>\n\u003Cspan>public\u003C\u002Fspan> \u003Cspan>ActionResult\u003C\u002Fspan> \u003Cspan>SitemapXml\u003C\u002Fspan>\u003Cspan>(\u003C\u002Fspan>\u003Cspan>int\u003C\u002Fspan>\u003Cspan>?\u003C\u002Fspan> \u003Cspan>index\u003C\u002Fspan> \u003Cspan>=\u003C\u002Fspan> \u003Cspan>null\u003C\u002Fspan>\u003Cspan>)\u003C\u002Fspan>\u003Cspan>\u003C\u002Fspan>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>Can you tell what is wrong?\u003Cbr \u002F>\nThanks,\u003Cbr \u002F>\nSergiu\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>you should check your webconfig file. He had told, you should add \"\"\u003C\u002Fp>","2020-05-12T10:31:05Z",{"login":366,"avatar_url":367,"html_url":368},{"url":660,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627257146\u002Freactions",{"id":662,"html_url":663,"body_html":664,"created_at":665,"updated_at":665,"author_association":364,"user":666,"reactions":667},627257226,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627257226","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F9787f69276c3053e3a94595e760a2893759ed32baaf9120a4dc85edba2c8104b\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f36633866613530353031333764613566616664343566343038393631363730303f733d393626643d6d6d26723d67\">\u003Cimg alt=\"larrybud\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F9787f69276c3053e3a94595e760a2893759ed32baaf9120a4dc85edba2c8104b\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f36633866613530353031333764613566616664343566343038393631363730303f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>larrybud\u003C\u002Fstrong> commented on \u003Cstrong>2020-03-28 13:58:35\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>this really isn't creating a \"dynamic\" sitemap in that the pages aren't automatically detected. You still need to manually add the path to the page into the code.\u003C\u002Fp>","2020-05-12T10:31:14Z",{"login":366,"avatar_url":367,"html_url":368},{"url":668,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627257226\u002Freactions",{"id":670,"html_url":671,"body_html":672,"created_at":673,"updated_at":673,"author_association":364,"user":674,"reactions":675},627257296,"https:\u002F\u002Fgithub.com\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002F75#issuecomment-627257296","\n\u003Cp>\u003Ca target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F41ba8c50f1f941c54470168d766f91f9bb20781206fa570869cf6c19ef1222f9\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f66666364386135376436633236326462346533376638613839343966323938633f733d393626643d6d6d26723d67\">\u003Cimg alt=\"Rashmi\" height=\"40\" width=\"40\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F41ba8c50f1f941c54470168d766f91f9bb20781206fa570869cf6c19ef1222f9\u002F68747470733a2f2f7777772e67726176617461722e636f6d2f6176617461722f66666364386135376436633236326462346533376638613839343966323938633f733d393626643d6d6d26723d67\" \u002F>\u003C\u002Fa> \u003Cstrong>Rashmi\u003C\u002Fstrong> commented on \u003Cstrong>2020-04-09 16:09:18\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>Our site is multilingual website. We have almost 15 languages.\u003Cbr \u002F>\nFor eg: \u003Ca rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"http:\u002F\u002Fwww.xxx.com\u002Fen-us\">www.xxx.com\u002Fen-us\u003C\u002Fa>\u003Cbr \u002F>\n\u003Ca rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"http:\u002F\u002Fwww.xxx.com\u002Ffr-fr\">www.xxx.com\u002Ffr-fr\u003C\u002Fa>\u003Cbr \u002F>\nand so on..\u003Cbr \u002F>\nHow do I generate sitemap files dynamically for different language urls?\u003C\u002Fp>","2020-05-12T10:31:20Z",{"login":366,"avatar_url":367,"html_url":368},{"url":676,"total_count":4,"+1":4,"-1":4,"laugh":4,"hooray":4,"confused":4,"heart":4,"rocket":4,"eyes":4},"https:\u002F\u002Fapi.github.com\u002Frepos\u002FRehanSaeed\u002Frehansaeed.github.io\u002Fissues\u002Fcomments\u002F627257296\u002Freactions","2015-09-15T00:00:00+00:00",null,"How to dynamically generate a sitemap.xml file using ASP.NET MVC to improve the Search Engine Optimization (SEO) of your site and get better search rankings.","md",[682,684,685,686,687,688],{"depth":683,"value":69},1,{"depth":683,"value":149},{"depth":683,"value":184},{"depth":683,"value":41},{"depth":683,"value":284},{"depth":683,"value":342},"\u002Fimages\u002Fhero\u002FSitemaps-1366x768.png",{},"\u002Fdynamically-generating-sitemap-xml-for-asp-net-mvc\u002F",true,"posts\u002F2015\u002Fdynamically-generating-sitemap-xml-for-asp-net-mvc\u002Findex",[695,696,330,697,698],".NET","ASP.NET MVC","Search Engine Optimization (SEO)","Sitemap",7,[701,705,709,714,719,722,725,729,733,737,740,744,749,752,755,759,763,767,770,774,778,782,785,788,793,797,800,803,806,811,815,818,823,827,831,835,838,839,843,847,851,855,859,863,866,870,874,878,882,885,889,893,896,899,903,907,912,916,920,924,928,932,936,939,942,945,949,953,956,960,963,966,969,972,976,980,983,986,990,994,997,1000,1003,1007,1011,1015,1019,1022,1025,1030,1033,1036,1040,1043,1047,1051,1054,1058,1061,1064,1068,1072],{"title":702,"permalink":703,"heroImage":704,"timeToRead":683},"Just Start - The First Blog Post","\u002Fjust-start-the-first-blog-post\u002F","\u002Fimages\u002Fhero\u002FJust-Start-1366x768.png",{"title":706,"permalink":707,"heroImage":708,"timeToRead":351},"ConfigureAwait in Task Parallel Library (TPL)","\u002Fconfigureawait-task-parallel-library\u002F","\u002Fimages\u002Fhero\u002FMicrosoft-.NET-1366x768.png",{"title":710,"permalink":711,"heroImage":712,"timeToRead":713},"Stop The Brace Wars, Use StyleCop","\u002Fstop-brace-wars-use-stylecop\u002F","\u002Fimages\u002Fhero\u002FStyleCop-1366x768.png",3,{"title":715,"permalink":716,"heroImage":717,"timeToRead":718},"Reactive Extensions (Rx) - Part 1 - Replacing C# Events","\u002Freactive-extensions-part1-replacing-events\u002F","\u002Fimages\u002Fhero\u002FReactive-Extensions-1366x768.png",4,{"title":720,"permalink":721,"heroImage":717,"timeToRead":713},"Reactive Extensions (Rx) - Part 2 - Wrapping C# Events","\u002Freactive-extensions-part2-wrapping-events\u002F",{"title":723,"permalink":724,"heroImage":717,"timeToRead":351},"Reactive Extensions (Rx) - Part 3 - Naming Conventions","\u002Freactive-extensions-part3-naming-conventions\u002F",{"title":726,"permalink":727,"heroImage":728,"timeToRead":713},"WPF Metro Part 1 - Modern UI for WPF","\u002Fwpf-metro-part1-modern-ui-for-wpf\u002F","\u002Fimages\u002Fhero\u002FModern-UI-for-WPF-1366x768.png",{"title":730,"permalink":731,"heroImage":732,"timeToRead":713},"WPF Metro Part 2 - MahApps Metro","\u002Fwpf-metro-part2-mahapps-metro\u002F","\u002Fimages\u002Fhero\u002FMahApps-Metro-1366x768.png",{"title":734,"permalink":735,"heroImage":736,"timeToRead":713},"Windows 8.1 TouchScreen Gaming Laptops","\u002Fwindows-8-touchscreen-gaming-laptops\u002F","\u002Fimages\u002Fhero\u002FFry-Shutup-And-Take-My-Money-1366x768.png",{"title":738,"permalink":739,"heroImage":717,"timeToRead":713},"Reactive Extensions (Rx) - Part 4 - Replacing Timers","\u002Freactive-extensions-part4-replacing-timers\u002F",{"title":741,"permalink":742,"heroImage":743,"timeToRead":351},"WPF Metro Part 3 - Elysium","\u002Fwpf-metro-part3-elysium\u002F","\u002Fimages\u002Fhero\u002FElysium-1366x768.png",{"title":745,"permalink":746,"heroImage":747,"timeToRead":748},"WPF Metro Part 4 - Elysium Extra","\u002Fwpf-metro-part4-elysium-extra\u002F","\u002Fimages\u002Fhero\u002FElysium-Extra-1366x768.png",8,{"title":750,"permalink":751,"heroImage":717,"timeToRead":718},"Reactive Extensions (Rx) - Part 5 - Awaiting Observables","\u002Freactive-extensions-part5-awaiting-observables\u002F",{"title":753,"permalink":754,"heroImage":708,"timeToRead":748},"GetHashCode Made Easy","\u002Fgethashcode-made-easy\u002F",{"title":756,"permalink":757,"heroImage":717,"timeToRead":758},"Reactive Extensions (Rx) - Part 6 - Task ToObservable","\u002Freactive-extensions-part6-task-toobservable\u002F",5,{"title":760,"permalink":761,"heroImage":762,"timeToRead":683},"Portable Class Library (PCL) version of NotificationsExtensions NuGet package","\u002Fportable-class-library-version-of-notificationsextensions-nuget-package\u002F","\u002Fimages\u002Fhero\u002FNuGet-1366x768.png",{"title":764,"permalink":765,"heroImage":766,"timeToRead":758},"Model-View-ViewModel (MVVM) - Part 1 - Overview","\u002Fmodel-view-viewmodel-mvvm-part1-overview\u002F","\u002Fimages\u002Fhero\u002FMVVM-1366x768.png",{"title":768,"permalink":769,"heroImage":766,"timeToRead":718},"Model-View-ViewModel (MVVM) - Part 2 - IDisposable","\u002Fmodel-view-viewmodel-mvvm-part2-idisposable\u002F",{"title":771,"permalink":772,"heroImage":766,"timeToRead":773},"Model-View-ViewModel (MVVM) - Part 3 - INotifyPropertyChanged","\u002Fmodel-view-viewmodel-mvvm-part3-inotifypropertychanged\u002F",11,{"title":775,"permalink":776,"heroImage":777,"timeToRead":713},"Naming Conventions","\u002Fnaming-conventions\u002F","\u002Fimages\u002Fhero\u002FNaming-Conventions-1366x768.png",{"title":779,"permalink":780,"heroImage":766,"timeToRead":781},"Model-View-ViewModel (MVVM) - Part 4 - INotifyDataErrorInfo","\u002Fmodel-view-viewmodel-mvvm-part4-inotifydataerrorinfo\u002F",12,{"title":783,"permalink":784,"heroImage":747,"timeToRead":718},"Elysium Extra 1.1 Released","\u002Felysium-extra-1-1-released\u002F",{"title":330,"permalink":786,"heroImage":787,"timeToRead":699},"\u002Fasp-net-mvc-boilerplate\u002F","\u002Fimages\u002Fhero\u002FASP.NET-Core-Boilerplate-1366x768.png",{"title":789,"permalink":790,"heroImage":791,"timeToRead":792},"Internet Favicon Madness (Updated)","\u002Finternet-favicon-madness\u002F","\u002Fimages\u002Fhero\u002FFavicons-1366x768.png",17,{"title":794,"permalink":795,"heroImage":796,"timeToRead":699},"Custom Visual Studio Project Templates","\u002Fcustom-visual-studio-project-templates\u002F","\u002Fimages\u002Fhero\u002FVisual-Studio-1366x768.png",{"title":798,"permalink":799,"heroImage":796,"timeToRead":713},"Configuration File Transforms In Visual Studio Should Be Built In","\u002Fconfiguration-file-transforms-in-visual-studio-should-be-built-in\u002F",{"title":801,"permalink":802,"heroImage":787,"timeToRead":773},"Securing the ASP.NET MVC Web.config","\u002Fsecuring-the-aspnet-mvc-web-config\u002F",{"title":804,"permalink":805,"heroImage":717,"timeToRead":351},"Reactive Extensions (Rx) - Part 7 - Sample Events","\u002Freactive-extensions-part7-sample-events\u002F",{"title":807,"permalink":808,"heroImage":809,"timeToRead":810},"NWebSec ASP.NET MVC Security Through HTTP Headers","\u002Fnwebsec-asp-net-mvc-security-through-http-headers\u002F","\u002Fimages\u002Fhero\u002FNWebSec-1366x768.png",6,{"title":812,"permalink":813,"heroImage":814,"timeToRead":62},"Content Security Policy (CSP) for ASP.NET MVC","\u002Fcontent-security-policy-for-asp-net-mvc\u002F","\u002Fimages\u002Fhero\u002FContent-Security-Policy-CSP-for-ASP.NET-MVC-1366x768.png",{"title":816,"permalink":817,"heroImage":708,"timeToRead":758},"C# 6.0 - Saving Developers From Themselves","\u002Fc-6-0-saving-developers-from-themselves\u002F",{"title":819,"permalink":820,"heroImage":821,"timeToRead":822},"Building RSS\u002FAtom Feeds for ASP.NET MVC","\u002Fbuilding-rssatom-feeds-for-asp-net-mvc\u002F","\u002Fimages\u002Fhero\u002FRSS-And-Atom-1366x768.png",19,{"title":824,"permalink":825,"heroImage":826,"timeToRead":773},"Canonical URL's for ASP.NET MVC","\u002Fcanonical-urls-for-asp-net-mvc\u002F","\u002Fimages\u002Fhero\u002FLink-Juice-1366x768.png",{"title":828,"permalink":829,"heroImage":830,"timeToRead":718},"Dynamically Generating Robots.txt Using ASP.NET MVC","\u002Fdynamically-generating-robots-txt-using-asp-net-mvc\u002F","\u002Fimages\u002Fhero\u002FRobots.txt-1366x768.jpg",{"title":832,"permalink":833,"heroImage":834,"timeToRead":718},"Minifying HTML for ASP.NET MVC","\u002Fminifying-html-for-asp-net-mvc\u002F","\u002Fimages\u002Fhero\u002FThe-Internet-Is-A-Series-Of-Tubes-1366x768.jpg",{"title":836,"permalink":837,"heroImage":787,"timeToRead":351},"Whats New in ASP.NET Core Boilerplate","\u002Fwhats-new-in-asp-net-5-mvc-6-boilerplate\u002F",{"title":41,"permalink":691,"heroImage":689,"timeToRead":699},{"title":840,"permalink":841,"heroImage":842,"timeToRead":351},"So I've Been Awarded Microsoft MVP Status!","\u002Fso-ive-been-awarded-microsoft-mvp-status\u002F","\u002Fimages\u002Fhero\u002FMicrosoft-MVP-1366x768.png",{"title":844,"permalink":845,"heroImage":846,"timeToRead":683},".NET Big-O Algorithm Complexity Cheat Sheet","\u002Fnet-big-o-algorithm-complexity-cheat-sheet\u002F","\u002Fimages\u002Fhero\u002FNET-Big-O-Algorithm-Complexity-Cheat-Sheet-1366x768.jpg",{"title":848,"permalink":849,"heroImage":850,"timeToRead":713},"Logging with Serilog.Exceptions","\u002Flogging-with-serilog-exceptions\u002F","\u002Fimages\u002Fhero\u002FSerilog.Exceptions-1366x768.png",{"title":852,"permalink":853,"heroImage":854,"timeToRead":683},"Make Certificate","\u002Fmake-certificate\u002F","\u002Fimages\u002Fhero\u002FMake-Certificate-1366x768.png",{"title":856,"permalink":857,"heroImage":858,"timeToRead":351},"Colorful.Console","\u002Fcolorful-console\u002F","\u002Fimages\u002Fhero\u002FColorful.Console-1366x768.png",{"title":860,"permalink":861,"heroImage":862,"timeToRead":713},"Subresource Integrity TagHelper Using ASP.NET Core - Part 1","\u002Fsubresource-integrity-taghelper-using-asp-net-core\u002F","\u002Fimages\u002Fhero\u002FMake-Security-Easy-1366x768.png",{"title":864,"permalink":865,"heroImage":862,"timeToRead":718},"Subresource Integrity TagHelper Using ASP.NET Core - Part 2","\u002Fsubresource-integrity-taghelper-using-asp-net-core-part-2\u002F",{"title":867,"permalink":868,"heroImage":869,"timeToRead":758},"Social TagHelpers for ASP.NET Core","\u002Fsocial-taghelpers-for-asp-net-core\u002F","\u002Fimages\u002Fhero\u002FSocial-Media-1366x768.png",{"title":871,"permalink":872,"heroImage":873,"timeToRead":810},"Azure Active Directory Versus Identity Server","\u002Fazure-active-directory-versus-identity-server\u002F","\u002Fimages\u002Fhero\u002FAzure-Active-Directory-Versus-Identity-Server-1366x768.png",{"title":875,"permalink":876,"heroImage":877,"timeToRead":351},"ASP.NET Core Fluent Interface Extensions","\u002Fasp-net-core-fluent-interface-extensions\u002F","\u002Fimages\u002Fhero\u002FFluent-Interface-All-The-Things-1366x768.png",{"title":879,"permalink":880,"heroImage":881,"timeToRead":773},"NGINX for ASP.NET Core In-Depth","\u002Fnginx-asp-net-core-depth\u002F","\u002Fimages\u002Fhero\u002FNGINX-1366x768.png",{"title":883,"permalink":884,"heroImage":708,"timeToRead":351},"The Dotnet Watch Tool","\u002Fthe-dotnet-watch-tool\u002F",{"title":886,"permalink":887,"heroImage":888,"timeToRead":718},"Making Application Insights Fast & Secure","\u002Fmaking-application-insights-fast-and-secure\u002F","\u002Fimages\u002Fhero\u002FApplication-Insights-1366x768.png",{"title":890,"permalink":891,"heroImage":892,"timeToRead":699},"SEO Friendly URL's for ASP.NET Core","\u002Fseo-friendly-urls-asp-net-core\u002F","\u002Fimages\u002Fhero\u002FSearch-Engine-Optimization-SEO-1366x768.png",{"title":894,"permalink":895,"heroImage":717,"timeToRead":683},"Reactive Extensions (Rx) - Part 8 - Timeouts","\u002Freactive-extensions-rx-part-8-timeouts\u002F",{"title":897,"permalink":898,"heroImage":708,"timeToRead":718},"Custom Project Templates Using dotnet new","\u002Fcustom-project-templates-using-dotnet-new\u002F",{"title":900,"permalink":901,"heroImage":902,"timeToRead":748},"Cross-Platform DevOps for .NET Core","\u002Fcross-platform-devops-net-core\u002F","\u002Fimages\u002Fhero\u002FDotnet-Cake-AppVeyor-Travis-1366x768.png",{"title":904,"permalink":905,"heroImage":906,"timeToRead":699},"Cleaning Up CSPROJ","\u002Fcleaning-up-csproj\u002F","\u002Fimages\u002Fhero\u002FCleaning-Up-CSPROJ-1366x768.png",{"title":908,"permalink":909,"heroImage":910,"timeToRead":911},"dotnet new Feature Selection","\u002Fdotnet-new-feature-selection\u002F","\u002Fimages\u002Fhero\u002FWho-Wants-To-Be-A-Millionaire-1366x768.png",9,{"title":913,"permalink":914,"heroImage":915,"timeToRead":718},"ASP.NET Core Lazy Command Pattern","\u002Fasp-net-core-lazy-command-pattern\u002F","\u002Fimages\u002Fhero\u002FASP.NET-Core-Lazy-Command-Pattern-1366x768.png",{"title":917,"permalink":918,"heroImage":919,"timeToRead":351},"Structured Data using Schema.NET","\u002Fstructured-data-using-schema-net\u002F","\u002Fimages\u002Fhero\u002FSchema.NET-1366x768.png",{"title":921,"permalink":922,"heroImage":923,"timeToRead":810},"Keeping Up With Software Development","\u002Fkeeping-software-development\u002F","\u002Fimages\u002Fhero\u002FKeeping-up-with-Software-Development-1366x768.png",{"title":925,"permalink":926,"heroImage":927,"timeToRead":351},"A Very Generic .editorconfig File (Updated)","\u002Fgeneric-editorconfig-file\u002F","\u002Fimages\u002Fhero\u002FA-Very-Generic-Editorconfig-File-1366x768.png",{"title":929,"permalink":930,"heroImage":931,"timeToRead":758},"ASP.NET Core Caching in Practice","\u002Fasp-net-core-caching-in-practice\u002F","\u002Fimages\u002Fhero\u002FASP.NET-Core-Caching-in-Practice-1366x768.png",{"title":933,"permalink":934,"heroImage":935,"timeToRead":683},"Docker Read-Only File Systems","\u002Fdocker-read-file-systems\u002F","\u002Fimages\u002Fhero\u002FDocker-1366x768.png",{"title":937,"permalink":938,"heroImage":935,"timeToRead":713},"Docker Labels in Depth","\u002Fdocker-labels-depth\u002F",{"title":940,"permalink":941,"heroImage":935,"timeToRead":718},"Useful Docker Images - Part 1","\u002Fuseful-docker-images-part1\u002F",{"title":943,"permalink":944,"heroImage":935,"timeToRead":758},"Useful Docker Images - Part 2","\u002Fuseful-docker-images-part2\u002F",{"title":946,"permalink":947,"heroImage":948,"timeToRead":718},"Writing your Webpack configuration in TypeScript","\u002Fwriting-your-webpack-configuration-in-typescript\u002F","\u002Fimages\u002Fhero\u002FTypeScript-1366x768.png",{"title":950,"permalink":951,"heroImage":952,"timeToRead":758},"Writing Code while Asleep","\u002Fwriting-code-asleep\u002F","\u002Fimages\u002Fhero\u002FWhile-Alive-Eat-Sleep-Code-Repeat-1366x768.png",{"title":954,"permalink":955,"heroImage":708,"timeToRead":351},"The Dotnet Watch Tool Revisited","\u002Fthe-dotnet-watch-tool-revisited\u002F",{"title":957,"permalink":958,"heroImage":959,"timeToRead":351},".NET Boxed","\u002Fnet-boxed\u002F","\u002Fimages\u002Fhero\u002FDotnet-Boxed-1366x768.png",{"title":961,"permalink":962,"heroImage":708,"timeToRead":351},"Migrating to Entity Framework Core Seed Data","\u002Fmigrating-to-entity-framework-core-seed-data\u002F",{"title":964,"permalink":965,"heroImage":708,"timeToRead":713},"Optimally Configuring Entity Framework Core","\u002Foptimally-configuring-entity-framework-core\u002F",{"title":967,"permalink":968,"heroImage":708,"timeToRead":683},"ASP.NET Core Hidden Gem - QueryHelpers","\u002Fasp-net-core-hidden-gem-queryhelpers\u002F",{"title":970,"permalink":971,"heroImage":708,"timeToRead":911},"Optimally Configuring ASP.NET Core HttpClientFactory","\u002Foptimally-configuring-asp-net-core-httpclientfactory\u002F",{"title":973,"permalink":974,"heroImage":975,"timeToRead":699},"PluralSight vs LinkedIn Learning vs FrontendMasters vs Egghead.io vs YouTube","\u002Fpluralsight-vs-linkedin-learning-vs-frontendmasters-vs-egghead-io-vs-youtube\u002F","\u002Fimages\u002Fhero\u002FOnline-Learning-1366x768.png",{"title":977,"permalink":978,"heroImage":979,"timeToRead":911},"Is ASP.NET Core now a Mature Platform?","\u002Fis-asp-net-core-now-a-mature-platform\u002F","\u002Fimages\u002Fhero\u002FRocket-1366x768.jpg",{"title":981,"permalink":982,"heroImage":959,"timeToRead":911},"A Simple and Fast Object Mapper","\u002Fa-simple-and-fast-object-mapper\u002F",{"title":984,"permalink":985,"heroImage":935,"timeToRead":683},"Securing ASP.NET Core in Docker","\u002Fsecuring-asp-net-core-in-docker\u002F",{"title":987,"permalink":988,"heroImage":989,"timeToRead":718},"Git Cloning the Windows OS Repo","\u002Fgit-cloning-the-windows-os-repo\u002F","\u002Fimages\u002Fhero\u002FWindows-1366x768.png",{"title":991,"permalink":992,"heroImage":993,"timeToRead":699},".gitattributes Best Practices","\u002Fgitattributes-best-practices\u002F","\u002Fimages\u002Fhero\u002FGit-1366x768.png",{"title":995,"permalink":996,"heroImage":708,"timeToRead":713},"Unit Testing dotnet new Templates","\u002Funit-testing-dotnet-new-templates\u002F",{"title":998,"permalink":999,"heroImage":959,"timeToRead":758},"What dotnet new Could Be","\u002Fwhat-dotnet-new-could-be\u002F",{"title":1001,"permalink":1002,"heroImage":708,"timeToRead":718},"ASP.NET Core Integration Testing & Mocking using Moq","\u002Fasp-net-core-integration-testing-mocking-using-moq\u002F",{"title":1004,"permalink":1005,"heroImage":1006,"timeToRead":699},"Choosing a Static Site Generator","\u002Fchoosing-a-static-site-generator\u002F","\u002Fimages\u002Fhero\u002FStatic-Site-Generators-1600x900.png",{"title":1008,"permalink":1009,"heroImage":1010,"timeToRead":351},"Spicing up your Browser Console","\u002Fspicing-up-your-browser-console\u002F","\u002Fimages\u002Fhero\u002FFiglet-Fonts-1600x900.png",{"title":1012,"permalink":1013,"heroImage":1014,"timeToRead":758},"Racism in Software Development & Beyond","\u002Fracism-in-software-development-and-beyond\u002F","\u002Fimages\u002Fhero\u002FBlack-Glowing-Fist-1600x900.png",{"title":1016,"permalink":1017,"heroImage":1018,"timeToRead":758},"The Easiest Way to Version NuGet Packages","\u002Fthe-easiest-way-to-version-nuget-packages\u002F","\u002Fimages\u002Fhero\u002FSemantic-Versioning-1600x900.png",{"title":1020,"permalink":1021,"heroImage":762,"timeToRead":810},"The Fastest NuGet Package Ever Published (Probably)","\u002Fthe-fastest-nuget-package-ever-published-probably\u002F",{"title":1023,"permalink":1024,"heroImage":708,"timeToRead":713},"Automating .NET Security Updates","\u002Fautomating-dotnet-security-updates\u002F",{"title":1026,"permalink":1027,"heroImage":1028,"timeToRead":1029},"Deep Dive into Open Telemetry for .NET","\u002Fdeep-dive-into-open-telemetry-for-net\u002F","\u002Fimages\u002Fhero\u002FOpen-Telemetry-1600x900.png",10,{"title":1031,"permalink":1032,"heroImage":1028,"timeToRead":713},"Open Telemetry for ASP.NET Core","\u002Fopen-telemetry-for-asp-net-core\u002F",{"title":1034,"permalink":1035,"heroImage":1028,"timeToRead":713},"Exporting Open Telemetry Data to Jaeger","\u002Fexporting-open-telemetry-data-to-jaeger\u002F",{"title":1037,"permalink":1038,"heroImage":1039,"timeToRead":713},"A System for Grouping & Sorting CSS Properties","\u002Fsystem-for-grouping-and-sorting-css-properties\u002F","\u002Fimages\u002Fhero\u002FCSS-1600x900.png",{"title":1041,"permalink":1042,"heroImage":1039,"timeToRead":810},"CSS General Rules of Thumb","\u002Fcss-general-rules-of-thumb\u002F",{"title":1044,"permalink":1045,"heroImage":1046,"timeToRead":718},"Web Component Custom Element Gotchas","\u002Fweb-component-custom-element-gotchas\u002F","\u002Fimages\u002Fhero\u002FWeb-Components-1600x900.png",{"title":1048,"permalink":1049,"heroImage":1050,"timeToRead":351},"Code Coverage & Frontend Testing","\u002Fcode-coverage-and-frontend-testing\u002F","\u002Fimages\u002Fhero\u002FJest-Cypress-1600x900.png",{"title":1052,"permalink":1053,"heroImage":796,"timeToRead":683},".NET Boxed Visual Studio Integration","\u002Fdotnet-boxed-visual-studio-integration\u002F",{"title":1055,"permalink":1056,"heroImage":1057,"timeToRead":713},"The Windows Package Manager","\u002Fwindows-package-manager\u002F","\u002Fimages\u002Fhero\u002FWinget-1600x900.png",{"title":1059,"permalink":1060,"heroImage":708,"timeToRead":713},"The Problem with C# 10 Implicit Usings","\u002Fthe-problem-with-csharp-10-implicit-usings\u002F",{"title":1062,"permalink":1063,"heroImage":1028,"timeToRead":718},"Optimally Configuring Open Telemetry Tracing for ASP.NET Core","\u002Foptimally-configuring-open-telemetry-tracing-for-asp-net-core\u002F",{"title":1065,"permalink":1066,"heroImage":1067,"timeToRead":351},"Live Streaming .NET","\u002Flive-streaming-dotnet\u002F","\u002Fimages\u002Fhero\u002FMy-YouTube-1920x1080.jpg",{"title":1069,"permalink":1070,"heroImage":1071,"timeToRead":351},"I Was Awarded as an Open UK Honouree","\u002Fopen-uk-honouree\u002F","\u002Fimages\u002Fhero\u002FOpen-UK-Honours-1366x768.jpg",{"title":1073,"permalink":1074,"heroImage":1075,"timeToRead":718},"On the Etiquette of Pull Request Comments","\u002Fon-the-etiquette-of-pull-request-comments\u002F","\u002Fimages\u002Fhero\u002FPrecious-PR-1600x900.jpg",{"left":4,"top":4,"width":26,"height":18,"rotate":4,"vFlip":6,"hFlip":6,"body":1077},"\u003Cpath fill=\"currentColor\" d=\"M352 320c-22.608 0-43.387 7.819-59.79 20.895l-102.486-64.054a96.55 96.55 0 0 0 0-41.683l102.486-64.054C308.613 184.181 329.392 192 352 192c53.019 0 96-42.981 96-96S405.019 0 352 0s-96 42.981-96 96c0 7.158.79 14.13 2.276 20.841L155.79 180.895C139.387 167.819 118.608 160 96 160c-53.019 0-96 42.981-96 96s42.981 96 96 96c22.608 0 43.387-7.819 59.79-20.895l102.486 64.054A96.3 96.3 0 0 0 256 416c0 53.019 42.981 96 96 96s96-42.981 96-96s-42.981-96-96-96\"\u002F>",{"left":4,"top":4,"width":18,"height":18,"rotate":4,"vFlip":6,"hFlip":6,"body":1079},"\u003Cpath fill=\"currentColor\" d=\"M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48c27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256\"\u002F>",{"left":4,"top":4,"width":18,"height":18,"rotate":4,"vFlip":6,"hFlip":6,"body":1081},"\u003Cpath fill=\"currentColor\" d=\"M459.37 151.716c.325 4.548.325 9.097.325 13.645c0 138.72-105.583 298.558-298.558 298.558c-59.452 0-114.68-17.219-161.137-47.106c8.447.974 16.568 1.299 25.34 1.299c49.055 0 94.213-16.568 130.274-44.832c-46.132-.975-84.792-31.188-98.112-72.772c6.498.974 12.995 1.624 19.818 1.624c9.421 0 18.843-1.3 27.614-3.573c-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319c-28.264-18.843-46.781-51.005-46.781-87.391c0-19.492 5.197-37.36 14.294-52.954c51.655 63.675 129.3 105.258 216.365 109.807c-1.624-7.797-2.599-15.918-2.599-24.04c0-57.828 46.782-104.934 104.934-104.934c30.213 0 57.502 12.67 76.67 33.137c23.715-4.548 46.456-13.32 66.599-25.34c-7.798 24.366-24.366 44.833-46.132 57.827c21.117-2.273 41.584-8.122 60.426-16.243c-14.292 20.791-32.161 39.308-52.628 54.253\"\u002F>",{"left":4,"top":4,"width":18,"height":18,"rotate":4,"vFlip":6,"hFlip":6,"body":1083},"\u003Cpath fill=\"currentColor\" d=\"M201.5 305.5c-13.8 0-24.9-11.1-24.9-24.6c0-13.8 11.1-24.9 24.9-24.9c13.6 0 24.6 11.1 24.6 24.9c0 13.6-11.1 24.6-24.6 24.6M504 256c0 137-111 248-248 248S8 393 8 256S119 8 256 8s248 111 248 248m-132.3-41.2c-9.4 0-17.7 3.9-23.8 10c-22.4-15.5-52.6-25.5-86.1-26.6l17.4-78.3l55.4 12.5c0 13.6 11.1 24.6 24.6 24.6c13.8 0 24.9-11.3 24.9-24.9s-11.1-24.9-24.9-24.9c-9.7 0-18 5.8-22.1 13.8l-61.2-13.6c-3-.8-6.1 1.4-6.9 4.4l-19.1 86.4c-33.2 1.4-63.1 11.3-85.5 26.8c-6.1-6.4-14.7-10.2-24.1-10.2c-34.9 0-46.3 46.9-14.4 62.8c-1.1 5-1.7 10.2-1.7 15.5c0 52.6 59.2 95.2 132 95.2c73.1 0 132.3-42.6 132.3-95.2c0-5.3-.6-10.8-1.9-15.8c31.3-16 19.8-62.5-14.9-62.5M302.8 331c-18.2 18.2-76.1 17.9-93.6 0c-2.2-2.2-6.1-2.2-8.3 0c-2.5 2.5-2.5 6.4 0 8.6c22.8 22.8 87.3 22.8 110.2 0c2.5-2.2 2.5-6.1 0-8.6c-2.2-2.2-6.1-2.2-8.3 0m7.7-75c-13.6 0-24.6 11.1-24.6 24.9c0 13.6 11.1 24.6 24.6 24.6c13.8 0 24.9-11.1 24.9-24.6c0-13.8-11-24.9-24.9-24.9\"\u002F>",{"left":4,"top":4,"width":18,"height":18,"rotate":4,"vFlip":6,"hFlip":6,"body":1085},"\u003Cpath fill=\"currentColor\" d=\"M512 194.8c0 101.3-82.4 183.8-183.8 183.8c-101.7 0-184.4-82.4-184.4-183.8c0-101.6 82.7-184.3 184.4-184.3C429.6 10.5 512 93.2 512 194.8M0 501.5h90v-491H0z\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":1087},"\u003Cpath fill=\"currentColor\" d=\"m20.216 6.415l-.132-.666c-.119-.598-.388-1.163-1.001-1.379c-.197-.069-.42-.098-.57-.241c-.152-.143-.196-.366-.231-.572c-.065-.378-.125-.756-.192-1.133c-.057-.325-.102-.69-.25-.987c-.195-.4-.597-.634-.996-.788a6 6 0 0 0-.626-.194c-1-.263-2.05-.36-3.077-.416a26 26 0 0 0-3.7.062c-.915.083-1.88.184-2.75.5c-.318.116-.646.256-.888.501c-.297.302-.393.77-.177 1.146c.154.267.415.456.692.58c.36.162.737.284 1.123.366c1.075.238 2.189.331 3.287.37q1.829.074 3.65-.118q.449-.05.896-.119c.352-.054.578-.513.474-.834c-.124-.383-.457-.531-.834-.473c-.466.074-.96.108-1.382.146q-1.767.12-3.536.006a22 22 0 0 1-1.157-.107c-.086-.01-.18-.025-.258-.036q-.364-.055-.724-.13c-.111-.027-.111-.185 0-.212h.005q.416-.09.838-.147h.002c.131-.009.263-.032.394-.048a25 25 0 0 1 3.426-.12q1.011.029 2.017.144l.228.031q.4.06.798.145c.392.085.895.113 1.07.542c.055.137.08.288.111.431l.319 1.484a.237.237 0 0 1-.199.284h-.003l-.112.015a37 37 0 0 1-4.743.295a37 37 0 0 1-4.699-.304c-.14-.017-.293-.042-.417-.06c-.326-.048-.649-.108-.973-.161c-.393-.065-.768-.032-1.123.161c-.29.16-.527.404-.675.701c-.154.316-.199.66-.267 1c-.069.34-.176.707-.135 1.056c.087.753.613 1.365 1.37 1.502a39.7 39.7 0 0 0 11.343.376a.483.483 0 0 1 .535.53l-.071.697l-1.018 9.907c-.041.41-.047.832-.125 1.237c-.122.637-.553 1.028-1.182 1.171q-.868.197-1.756.205c-.656.004-1.31-.025-1.966-.022c-.699.004-1.556-.06-2.095-.58c-.475-.458-.54-1.174-.605-1.793l-.731-7.013l-.322-3.094c-.037-.351-.286-.695-.678-.678c-.336.015-.718.3-.678.679l.228 2.185l.949 9.112c.147 1.344 1.174 2.068 2.446 2.272c.742.12 1.503.144 2.257.156c.966.016 1.942.053 2.892-.122c1.408-.258 2.465-1.198 2.616-2.657l1.024-9.995l.215-2.087a.48.48 0 0 1 .39-.426c.402-.078.787-.212 1.074-.518c.455-.488.546-1.124.385-1.766zm-1.478.772c-.145.137-.363.201-.578.233c-2.416.359-4.866.54-7.308.46c-1.748-.06-3.477-.254-5.207-.498c-.17-.024-.353-.055-.47-.18c-.22-.236-.111-.71-.054-.995c.052-.26.152-.609.463-.646c.484-.057 1.046.148 1.526.22q.865.132 1.737.212c2.48.226 5.002.19 7.472-.14q.675-.09 1.345-.21c.399-.072.84-.206 1.08.206c.166.281.188.657.162.974a.54.54 0 0 1-.169.364zm-6.159 3.9c-.862.37-1.84.788-3.109.788a6 6 0 0 1-1.569-.217l.877 9.004c.065.78.717 1.38 1.5 1.38c0 0 1.243.065 1.658.065c.447 0 1.786-.065 1.786-.065c.783 0 1.434-.6 1.499-1.38l.94-9.95a4 4 0 0 0-1.322-.238c-.826 0-1.491.284-2.26.613\"\u002F>",{"left":4,"top":4,"width":29,"height":18,"rotate":4,"vFlip":6,"hFlip":6,"body":1089},"\u003Cpath fill=\"currentColor\" d=\"M111.4 295.9c-3.5 19.2-17.4 108.7-21.5 134c-.3 1.8-1 2.5-3 2.5H12.3c-7.6 0-13.1-6.6-12.1-13.9L58.8 46.6c1.5-9.6 10.1-16.9 20-16.9c152.3 0 165.1-3.7 204 11.4c60.1 23.3 65.6 79.5 44 140.3c-21.5 62.6-72.5 89.5-140.1 90.3c-43.4.7-69.5-7-75.3 24.2M357.1 152c-1.8-1.3-2.5-1.8-3 1.3c-2 11.4-5.1 22.5-8.8 33.6c-39.9 113.8-150.5 103.9-204.5 103.9c-6.1 0-10.1 3.3-10.9 9.4c-22.6 140.4-27.1 169.7-27.1 169.7c-1 7.1 3.5 12.9 10.6 12.9h63.5c8.6 0 15.7-6.3 17.4-14.9c.7-5.4-1.1 6.1 14.4-91.3c4.6-22 14.3-19.7 29.3-19.7c71 0 126.4-28.8 142.9-112.3c6.5-34.8 4.6-71.4-23.8-92.6\"\u002F>",{"left":4,"top":4,"width":18,"height":18,"rotate":4,"vFlip":6,"hFlip":6,"body":1091},"\u003Cpath fill=\"currentColor\" d=\"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8m0 448c-110.532 0-200-89.431-200-200c0-110.495 89.472-200 200-200c110.491 0 200 89.471 200 200c0 110.53-89.431 200-200 200m107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516c17.561-9.845 28.324-16.541 28.324-29.579c0-17.246-21.999-28.693-39.784-28.693c-23.189 0-33.894 10.977-48.942 29.969c-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8M298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42s18.841-42 42-42s42 18.841 42 42\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":1093},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m7 7l-7-7l7-7\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":1095},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7-7l7 7l-7 7\"\u002F>",1793046461520]