---
title: "Blog - Page 8 - Muhammad Rehan Saeed"
description: "Page 8 of blog posts authored by Muhammad Rehan Saeed."
canonical_url: "https://rehansaeed.com/8/"
meta:
  author: "Muhammad Rehan Saeed"
  "og:description": "Page 8 of blog posts authored by Muhammad Rehan Saeed."
  "og:image": "https://rehansaeed.com/_og/s/o_f4755228b017313f.png"
  "og:image:alt": "Blog - Page 8 - Muhammad Rehan Saeed"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Blog - Page 8"
  "twitter:image": "https://rehansaeed.com/_og/s/o_f4755228b017313f.png"
  "twitter:image:alt": "Blog - Page 8 - Muhammad Rehan Saeed"
---

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

![Muhammad Rehan Saeed](https://rehansaeed.com/_ipx/f_png&s_240x240/images/author/Muhammad-Rehan-Saeed/Logo-192x192.png)

# [Muhammad Rehan Saeed](https://rehansaeed.com)

Software Developer at Microsoft, YouTuber, Open Source Contributor and Blogger

[Youtube](https://www.youtube.com/c/MuhammadRehanSaeed) [Twitch](https://www.twitch.tv/rehansaeeduk) [GitHub](https://github.com/RehanSaeed) [LinkedIn](https://www.linkedin.com/in/muhammad-rehan-saeed) [Stack Overflow](https://stackoverflow.com/users/1212017/muhammad-rehan-saeed) [Bluesky](https://bsky.app/profile/rehansaeed.bsky.social) [Mastodon](https://hachyderm.io/@RehanSaeed) Email [RSS](https://rehansaeed.com/rss.xml)

![Robots.txt](https://rehansaeed.com/_ipx/f_jpg&s_2560x1440/images/hero/Robots.txt-1366x768.jpg)

## [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**

[.NET](https://rehansaeed.com/tag/net/) [ASP.NET MVC](https://rehansaeed.com/tag/asp-net-mvc/) [ASP.NET Core Boilerplate](https://rehansaeed.com/tag/asp-net-core-boilerplate/) [C#](https://rehansaeed.com/tag/c/) [Robots](https://rehansaeed.com/tag/robots/) [Search Engine Optimization (SEO)](https://rehansaeed.com/tag/search-engine-optimization-seo/) [Search Engines](https://rehansaeed.com/tag/search-engines/) [Web Crawlers](https://rehansaeed.com/tag/web-crawlers/)

![Link Juice](https://rehansaeed.com/_ipx/f_png&s_2560x1440/images/hero/Link-Juice-1366x768.png)

## [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**

[.NET](https://rehansaeed.com/tag/net/) [ASP.NET Core](https://rehansaeed.com/tag/asp-net-core/) [ASP.NET MVC](https://rehansaeed.com/tag/asp-net-mvc/) [ASP.NET Core Boilerplate](https://rehansaeed.com/tag/asp-net-core-boilerplate/) [C#](https://rehansaeed.com/tag/c/) [Search Engine Optimization (SEO)](https://rehansaeed.com/tag/search-engine-optimization-seo/)

![RSS And-Atom](https://rehansaeed.com/_ipx/f_png&s_2560x1440/images/hero/RSS-And-Atom-1366x768.png)

## [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**

[.NET](https://rehansaeed.com/tag/net/) [ASP.NET MVC](https://rehansaeed.com/tag/asp-net-mvc/) [ASP.NET Core Boilerplate](https://rehansaeed.com/tag/asp-net-core-boilerplate/) [Atom](https://rehansaeed.com/tag/atom/) [C#](https://rehansaeed.com/tag/c/) [RSS](https://rehansaeed.com/tag/rss/) [SyndicationFeed](https://rehansaeed.com/tag/syndication-feed/)

![Microsoft .NET](https://rehansaeed.com/_ipx/f_png&s_2560x1440/images/hero/Microsoft-.NET-1366x768.png)

## [C# 6.0 - Saving Developers From Themselves](https://rehansaeed.com/c-6-0-saving-developers-from-themselves/)

C# 6.0 helps reduce human error and save developers from themselves using the nameof operator, string interpolation and the null-conditional operator.

Posted 10 May 2015 - **5 min read**

[.NET](https://rehansaeed.com/tag/net/) [C#](https://rehansaeed.com/tag/c/) [C# 6.0](https://rehansaeed.com/tag/c-6-0/) [INotifyPropertyChanged](https://rehansaeed.com/tag/i-notify-property-changed/) [nameof](https://rehansaeed.com/tag/nameof/)

![Content Security-Policy-CSP-for-ASP.NET-MVC](https://rehansaeed.com/_ipx/f_png&s_2560x1440/images/hero/Content-Security-Policy-CSP-for-ASP.NET-MVC-1366x768.png)

## [Content Security Policy (CSP) for ASP.NET MVC](https://rehansaeed.com/content-security-policy-for-asp-net-mvc/)

Content Security Policy (CSP) is a HTTP header which white-lists content the browser is allowed to load. This post discusses its application in ASP.NET MVC.

Posted 17 March 2015 - **22 min read**

[.NET](https://rehansaeed.com/tag/net/) [ASP.NET](https://rehansaeed.com/tag/asp-net/) [ASP.NET Core Boilerplate](https://rehansaeed.com/tag/asp-net-core-boilerplate/) [C#](https://rehansaeed.com/tag/c/) [Content Security Policy](https://rehansaeed.com/tag/content-security-policy/) [Cross Site Scripting](https://rehansaeed.com/tag/cross-site-scripting/) [CSP](https://rehansaeed.com/tag/csp/) [Fiddler](https://rehansaeed.com/tag/fiddler/) [MVC](https://rehansaeed.com/tag/mvc/) [NWebSec](https://rehansaeed.com/tag/n-web-sec/)

![NWebSec](https://rehansaeed.com/_ipx/f_png&s_2560x1440/images/hero/NWebSec-1366x768.png)

## [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**

[.NET](https://rehansaeed.com/tag/net/) [ASP.NET MVC](https://rehansaeed.com/tag/asp-net-mvc/) [ASP.NET Core Boilerplate](https://rehansaeed.com/tag/asp-net-core-boilerplate/) [C#](https://rehansaeed.com/tag/c/) [Cache-Control](https://rehansaeed.com/tag/cache-control/) [Content Security Policy](https://rehansaeed.com/tag/content-security-policy/) [CSP](https://rehansaeed.com/tag/csp/) [GitHub](https://rehansaeed.com/tag/git-hub/) [HTTP](https://rehansaeed.com/tag/http/) [HTTP Headers](https://rehansaeed.com/tag/http-headers/)

![Reactive Extensions](https://rehansaeed.com/_ipx/f_png&s_2560x1440/images/hero/Reactive-Extensions-1366x768.png)

## [Reactive Extensions (Rx) - Part 7 - Sample Events](https://rehansaeed.com/reactive-extensions-part7-sample-events/)

Shows how to use the Reactive Extensions (Rx) Sample method to reduce the number of subscribed events by taking a sample from them over a given time period.

Posted 24 December 2014 - **2 min read**

[.NET](https://rehansaeed.com/tag/net/) [C#](https://rehansaeed.com/tag/c/) [Reactive Extensions](https://rehansaeed.com/tag/reactive-extensions/) [Rx](https://rehansaeed.com/tag/rx/)

![ASP.NET Core-Boilerplate](https://rehansaeed.com/_ipx/f_png&s_2560x1440/images/hero/ASP.NET-Core-Boilerplate-1366x768.png)

## [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**

[.NET](https://rehansaeed.com/tag/net/) [ASP.NET MVC](https://rehansaeed.com/tag/asp-net-mvc/) [ASP.NET Core Boilerplate](https://rehansaeed.com/tag/asp-net-core-boilerplate/) [C#](https://rehansaeed.com/tag/c/) [GitHub](https://rehansaeed.com/tag/git-hub/) [HTTP Headers](https://rehansaeed.com/tag/http-headers/) [Project Template](https://rehansaeed.com/tag/project-template/) [Security](https://rehansaeed.com/tag/security/) [Visual Studio](https://rehansaeed.com/tag/visual-studio/) [Web.config](https://rehansaeed.com/tag/web-config/)

![Visual Studio](https://rehansaeed.com/_ipx/f_png&s_2560x1440/images/hero/Visual-Studio-1366x768.png)

## [Configuration File Transforms In Visual Studio Should Be Built In](https://rehansaeed.com/configuration-file-transforms-in-visual-studio-should-be-built-in/)

Configuration File Transforms can be done with the Slow Cheetah Visual Studio extension by Sayed Hashimi. This feature should be built into Visual Studio.

Posted 15 December 2014 - **3 min read**

[App.config](https://rehansaeed.com/tag/app-config/) [Config](https://rehansaeed.com/tag/config/) [Configuration](https://rehansaeed.com/tag/configuration/) [Microsoft](https://rehansaeed.com/tag/microsoft/) [Sayed Ibrahim Hashimi](https://rehansaeed.com/tag/sayed-ibrahim-hashimi/) [Slow Cheetah](https://rehansaeed.com/tag/slow-cheetah/) [Visual Studio](https://rehansaeed.com/tag/visual-studio/) [Web.config](https://rehansaeed.com/tag/web-config/)

![Visual Studio](https://rehansaeed.com/_ipx/f_png&s_2560x1440/images/hero/Visual-Studio-1366x768.png)

## [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**

[.NET](https://rehansaeed.com/tag/net/) [ASP.NET MVC](https://rehansaeed.com/tag/asp-net-mvc/) [ASP.NET Core Boilerplate](https://rehansaeed.com/tag/asp-net-core-boilerplate/) [C#](https://rehansaeed.com/tag/c/) [Project Template](https://rehansaeed.com/tag/project-template/) [VSIX](https://rehansaeed.com/tag/vsix/)

[Previous](https://rehansaeed.com/7/)

**Page 8 of 11**

[Next](https://rehansaeed.com/9/)

```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/8/#webpage","description":"Page 8 of blog posts authored by Muhammad Rehan Saeed.","name":"Blog - Page 8","url":"https://rehansaeed.com/8/","@type":["WebPage","CollectionPage"],"breadcrumb":{"@id":"https://rehansaeed.com/8/#breadcrumb"},"isPartOf":{"@id":"https://rehansaeed.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://rehansaeed.com/8/"]}]},{"@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/8/#/schema/item-list/1","@type":"ItemList","itemListElement":[{"@type":"ListItem","name":"Dynamically Generating Robots.txt Using ASP.NET MVC","url":"https://rehansaeed.com/dynamically-generating-robots-txt-using-asp-net-mvc/","position":1},{"@type":"ListItem","name":"Canonical URL's for ASP.NET MVC","url":"https://rehansaeed.com/canonical-urls-for-asp-net-mvc/","position":2},{"@type":"ListItem","name":"Building RSS/Atom Feeds for ASP.NET MVC","url":"https://rehansaeed.com/building-rssatom-feeds-for-asp-net-mvc/","position":3},{"@type":"ListItem","name":"C# 6.0 - Saving Developers From Themselves","url":"https://rehansaeed.com/c-6-0-saving-developers-from-themselves/","position":4},{"@type":"ListItem","name":"Content Security Policy (CSP) for ASP.NET MVC","url":"https://rehansaeed.com/content-security-policy-for-asp-net-mvc/","position":5},{"@type":"ListItem","name":"NWebSec ASP.NET MVC Security Through HTTP Headers","url":"https://rehansaeed.com/nwebsec-asp-net-mvc-security-through-http-headers/","position":6},{"@type":"ListItem","name":"Reactive Extensions (Rx) - Part 7 - Sample Events","url":"https://rehansaeed.com/reactive-extensions-part7-sample-events/","position":7},{"@type":"ListItem","name":"Securing the ASP.NET MVC Web.config","url":"https://rehansaeed.com/securing-the-aspnet-mvc-web-config/","position":8},{"@type":"ListItem","name":"Configuration File Transforms In Visual Studio Should Be Built In","url":"https://rehansaeed.com/configuration-file-transforms-in-visual-studio-should-be-built-in/","position":9},{"@type":"ListItem","name":"Custom Visual Studio Project Templates","url":"https://rehansaeed.com/custom-visual-studio-project-templates/","position":10}]},{"@id":"https://rehansaeed.com/8/#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Blog","item":"https://rehansaeed.com/","position":1},{"@type":"ListItem","name":"Page 8","item":"https://rehansaeed.com/8/","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.
