---
title: "ASP.NET MVC - Muhammad Rehan Saeed"
description: "Blog posts authored by Muhammad Rehan Saeed about ASP.NET MVC."
canonical_url: "https://rehansaeed.com/tag/asp-net-mvc/"
meta:
  author: "Muhammad Rehan Saeed"
  "og:description": "Blog posts authored by Muhammad Rehan Saeed about ASP.NET MVC."
  "og:image": "https://rehansaeed.com/_og/s/o_18f972d2f89a13dc.png"
  "og:image:alt": "# ASP.NET MVC - Muhammad Rehan Saeed"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "ASP.NET MVC"
  "twitter:image": "https://rehansaeed.com/_og/s/o_18f972d2f89a13dc.png"
  "twitter:image:alt": "# ASP.NET MVC - Muhammad Rehan Saeed"
---

> Index of every page on this site: [llms.txt](https://rehansaeed.com/llms.txt)

# [# ASP.NET MVC](https://rehansaeed.com/tag/asp-net-mvc/)

## [The Dotnet Watch Tool Revisited](https://rehansaeed.com/the-dotnet-watch-tool-revisited/)

The dotnet watch tool is a file watcher for dotnet that restarts the application when changes in the source code are detected. You can use dotnet watch in Visual Studio by using the launchSettings.json configuration file.

Posted 30 April 2018 - **2 min read**

## [ASP.NET Core Caching in Practice](https://rehansaeed.com/asp-net-core-caching-in-practice/)

How to use and implement Cache-Control, Cache-Control Immutable, E-Tag, Last-Modified and If-Modified-Since Caching HTTP headers in ASP.NET Core.

Posted 20 October 2017 - **5 min read**

## [ASP.NET Core Lazy Command Pattern](https://rehansaeed.com/asp-net-core-lazy-command-pattern/)

Move your ASP.NET Core MVC action method logic into lazily loaded commands using the command pattern, to reduce Controller complexity.

Posted 8 April 2017 - **4 min read**

## [SEO Friendly URL's for ASP.NET Core](https://rehansaeed.com/seo-friendly-urls-asp-net-core/)

An SEO friendly URL is human readable and gives your site a higher page rank. Learn how to implement SEO friendly URL's using ASP.NET Core.

Posted 17 December 2016 - **7 min read**

## [Making Application Insights Fast & Secure](https://rehansaeed.com/making-application-insights-fast-and-secure/)

Implementing Application Insights into your ASP.NET Core application with performance and security as a top priority in this advanced scenario.

Posted 11 December 2016 - **4 min read**

## [The Dotnet Watch Tool](https://rehansaeed.com/the-dotnet-watch-tool/)

The dotnet watch tool is a file watcher for dotnet that restarts the application when changes in the source code are detected.

Posted 10 September 2016 - **2 min read**

## [Social TagHelpers for ASP.NET Core](https://rehansaeed.com/social-taghelpers-for-asp-net-core/)

Enhance the experience of sharing a page from your site through the use of social media meta tags implemented with ASP.NET Core TagHelpers.

Posted 19 March 2016 - **5 min read**

## [Subresource Integrity TagHelper Using ASP.NET Core - Part 2](https://rehansaeed.com/subresource-integrity-taghelper-using-asp-net-core-part-2/)

Use an ASP.NET Core TagHelper to implement Subresource Integrity (SRI) to ensure that external resources have not been tampered with. With is part 2.

Posted 12 March 2016 - **4 min read**

## [Subresource Integrity TagHelper Using ASP.NET Core - Part 1](https://rehansaeed.com/subresource-integrity-taghelper-using-asp-net-core/)

Use an ASP.NET Core TagHelper to implement Subresource Integrity (SRI) to ensure that external resources have not been tampered with.

Posted 6 March 2016 - **3 min read**

## [Dynamically Generating Sitemap.xml for ASP.NET MVC](https://rehansaeed.com/dynamically-generating-sitemap-xml-for-asp-net-mvc/)

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.

Posted 15 September 2015 - **7 min read**

## [Whats New in ASP.NET Core Boilerplate](https://rehansaeed.com/whats-new-in-asp-net-5-mvc-6-boilerplate/)

With the release of ASP.NET Core Boilerplate, this post discusses what's new and what is currently missing due to ASP.NET Core still being in beta.

Posted 23 August 2015 - **2 min read**

## [Minifying HTML for ASP.NET MVC](https://rehansaeed.com/minifying-html-for-asp-net-mvc/)

How much bandwidth does minifying HTML save. Minifying HTML in ASP.NET MVC 5 is hard work. Minifying HTML should be a built in feature of ASP.NET Core.

Posted 6 August 2015 - **4 min read**

## [Dynamically Generating Robots.txt Using ASP.NET MVC](https://rehansaeed.com/dynamically-generating-robots-txt-using-asp-net-mvc/)

How to dynamically generate a robots.txt file using a simple ASP.NET MVC action method and only a few lines of code.

Posted 31 July 2015 - **4 min read**

## [Canonical URL's for ASP.NET MVC](https://rehansaeed.com/canonical-urls-for-asp-net-mvc/)

Use canonical URL's in ASP.NET MVC for better Search Engine Optimization (SEO) using ASP.NET Core Boilerplate and the RedirectToCanonicalUrlAttribute.

Posted 14 July 2015 - **11 min read**

## [Building RSS/Atom Feeds for ASP.NET MVC](https://rehansaeed.com/building-rssatom-feeds-for-asp-net-mvc/)

How to build a fully featured RSS/Atom feed for ASP.NET MVC, including Google's PubSubHubbub and the 'Subscribe to this feed' button.

Posted 26 June 2015 - **19 min read**

## [NWebSec ASP.NET MVC Security Through HTTP Headers](https://rehansaeed.com/nwebsec-asp-net-mvc-security-through-http-headers/)

The NWebSec NuGet packages help secure your ASP.NET MVC site using HTTP headers. The ASP.NET Core Boilerplate project template configures them our of the box.

Posted 5 February 2015 - **6 min read**

## [Securing the ASP.NET MVC Web.config](https://rehansaeed.com/securing-the-aspnet-mvc-web-config/)

The web.config file is insecure in the default ASP.NET MVC project template. This post talks you through securing the ASP.NET MVC Web.config file.

Posted 17 December 2014 - **11 min read**

## [Custom Visual Studio Project Templates](https://rehansaeed.com/custom-visual-studio-project-templates/)

A guide to creating custom Visual Studio project templates in .zip and VSIX form and submitting them to the Visual Studio Gallery, so it can be downloaded.

Posted 10 December 2014 - **7 min read**

## [Internet Favicon Madness (Updated)](https://rehansaeed.com/internet-favicon-madness/)

Add favicon's to your website to support iOS, Android, Windows 7, Windows 8, Windows Phone and more. Find out where icons are used on each platform and how.

Posted 24 November 2014 - **17 min read**

## [ASP.NET Core Boilerplate](https://rehansaeed.com/asp-net-mvc-boilerplate/)

ASP.NET Core Boilerplate is a professional ASP.NET MVC template for building secure, fast, robust and adaptable web applications or sites.

Posted 12 November 2014 - **7 min read**

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://rehansaeed.com/#website","@type":"WebSite","description":"Software Developer at Microsoft, YouTuber, Open Source Contributor and Blogger","inLanguage":"en-GB","name":"Muhammad Rehan Saeed","url":"https://rehansaeed.com/","author":{"@id":"https://rehansaeed.com/#identity"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://rehansaeed.com/?search={search_term_string}"},"query-input":"required name=search_term_string"}],"publisher":{"@id":"https://rehansaeed.com/#publisher"}},{"@id":"https://rehansaeed.com/tag/asp-net-mvc/#webpage","description":"Blog posts authored by Muhammad Rehan Saeed about ASP.NET MVC.","name":"ASP.NET MVC","url":"https://rehansaeed.com/tag/asp-net-mvc/","@type":["WebPage","CollectionPage"],"breadcrumb":{"@id":"https://rehansaeed.com/tag/asp-net-mvc/#breadcrumb"},"isPartOf":{"@id":"https://rehansaeed.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://rehansaeed.com/tag/asp-net-mvc/"]}]},{"@id":"https://rehansaeed.com/#identity","@type":"Person","name":"Muhammad Rehan Saeed","url":"https://rehansaeed.com/about/","image":{"@id":"https://rehansaeed.com/#/schema/image/1"},"sameAs":["https://github.com/RehanSaeed","https://www.linkedin.com/in/muhammad-rehan-saeed","https://stackoverflow.com/users/1212017/muhammad-rehan-saeed","https://www.youtube.com/c/MuhammadRehanSaeed","https://www.twitch.tv/rehansaeeduk"]},{"@id":"https://rehansaeed.com/#publisher","@type":"Organization","logo":"https://rehansaeed.com/images/schema/Publisher-600x60.png","name":"Muhammad Rehan Saeed","url":"https://rehansaeed.com"},{"@id":"https://rehansaeed.com/tag/asp-net-mvc/#/schema/item-list/1","@type":"ItemList","itemListElement":[{"@type":"ListItem","name":"The Dotnet Watch Tool Revisited","url":"https://rehansaeed.com/the-dotnet-watch-tool-revisited/","position":1},{"@type":"ListItem","name":"ASP.NET Core Caching in Practice","url":"https://rehansaeed.com/asp-net-core-caching-in-practice/","position":2},{"@type":"ListItem","name":"ASP.NET Core Lazy Command Pattern","url":"https://rehansaeed.com/asp-net-core-lazy-command-pattern/","position":3},{"@type":"ListItem","name":"SEO Friendly URL's for ASP.NET Core","url":"https://rehansaeed.com/seo-friendly-urls-asp-net-core/","position":4},{"@type":"ListItem","name":"Making Application Insights Fast & Secure","url":"https://rehansaeed.com/making-application-insights-fast-and-secure/","position":5},{"@type":"ListItem","name":"The Dotnet Watch Tool","url":"https://rehansaeed.com/the-dotnet-watch-tool/","position":6},{"@type":"ListItem","name":"Social TagHelpers for ASP.NET Core","url":"https://rehansaeed.com/social-taghelpers-for-asp-net-core/","position":7},{"@type":"ListItem","name":"Subresource Integrity TagHelper Using ASP.NET Core - Part 2","url":"https://rehansaeed.com/subresource-integrity-taghelper-using-asp-net-core-part-2/","position":8},{"@type":"ListItem","name":"Subresource Integrity TagHelper Using ASP.NET Core - Part 1","url":"https://rehansaeed.com/subresource-integrity-taghelper-using-asp-net-core/","position":9},{"@type":"ListItem","name":"Dynamically Generating Sitemap.xml for ASP.NET MVC","url":"https://rehansaeed.com/dynamically-generating-sitemap-xml-for-asp-net-mvc/","position":10},{"@type":"ListItem","name":"Whats New in ASP.NET Core Boilerplate","url":"https://rehansaeed.com/whats-new-in-asp-net-5-mvc-6-boilerplate/","position":11},{"@type":"ListItem","name":"Minifying HTML for ASP.NET MVC","url":"https://rehansaeed.com/minifying-html-for-asp-net-mvc/","position":12},{"@type":"ListItem","name":"Dynamically Generating Robots.txt Using ASP.NET MVC","url":"https://rehansaeed.com/dynamically-generating-robots-txt-using-asp-net-mvc/","position":13},{"@type":"ListItem","name":"Canonical URL's for ASP.NET MVC","url":"https://rehansaeed.com/canonical-urls-for-asp-net-mvc/","position":14},{"@type":"ListItem","name":"Building RSS/Atom Feeds for ASP.NET MVC","url":"https://rehansaeed.com/building-rssatom-feeds-for-asp-net-mvc/","position":15},{"@type":"ListItem","name":"NWebSec ASP.NET MVC Security Through HTTP Headers","url":"https://rehansaeed.com/nwebsec-asp-net-mvc-security-through-http-headers/","position":16},{"@type":"ListItem","name":"Securing the ASP.NET MVC Web.config","url":"https://rehansaeed.com/securing-the-aspnet-mvc-web-config/","position":17},{"@type":"ListItem","name":"Custom Visual Studio Project Templates","url":"https://rehansaeed.com/custom-visual-studio-project-templates/","position":18},{"@type":"ListItem","name":"Internet Favicon Madness (Updated)","url":"https://rehansaeed.com/internet-favicon-madness/","position":19},{"@type":"ListItem","name":"ASP.NET Core Boilerplate","url":"https://rehansaeed.com/asp-net-mvc-boilerplate/","position":20}]},{"@id":"https://rehansaeed.com/tag/asp-net-mvc/#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Blog","item":"https://rehansaeed.com/","position":1},{"@type":"ListItem","name":"ASP.NET MVC","item":"https://rehansaeed.com/tag/asp-net-mvc/","position":2}]},{"@id":"https://rehansaeed.com/#/schema/image/1","@type":"ImageObject","contentUrl":"https://rehansaeed.com/images/author/Muhammad-Rehan-Saeed/Logo-512x512.png","inLanguage":"en-GB","url":"https://rehansaeed.com/images/author/Muhammad-Rehan-Saeed/Logo-512x512.png"}]}
```

## Sitemap

See the full [sitemap](https://rehansaeed.com/sitemap.md) for all pages.
