Quantcast
Channel: Muhammad Rehan Saeed
Browsing all 138 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

Securing the ASP.NET MVC Web.config

ASP.NET Core Boilerplate Security Securing the ASP.NET MVC Web.config (Updated) NWebSec ASP.NET MVC Security Through HTTP Headers Content Security Policy (CSP) for ASP.NET MVC Search Engine...

View Article


Reactive Extensions (Rx) - Part 7 - Sample Events

Reactive Extensions (Rx) - Part 1 - Replacing C# Events Reactive Extensions (Rx) - Part 2 - Wrapping C# Events Reactive Extensions (Rx) - Part 3 - Naming Conventions Reactive Extensions (Rx) - Part 4...

View Article


Image may be NSFW.
Clik here to view.

NWebSec ASP.NET MVC Security Through HTTP Headers

ASP.NET Core Boilerplate Security Securing the ASP.NET MVC Web.config (Updated) NWebSec ASP.NET MVC Security Through HTTP Headers Content Security Policy (CSP) for ASP.NET MVC Search Engine...

View Article

Image may be NSFW.
Clik here to view.

Content Security Policy (CSP) for ASP.NET MVC

ASP.NET Core Boilerplate Security Securing the ASP.NET MVC Web.config (Updated) NWebSec ASP.NET MVC Security Through HTTP Headers Content Security Policy (CSP) for ASP.NET MVC Search Engine...

View Article

C# 6.0 - Saving Developers From Themselves

What's New in C# 6.0 If you haven't already taken a look at what's new in C# 6.0, you should certainly read this article. This blog post is going to cover how C# 6.0 can help reduce the number of bugs...

View Article


Image may be NSFW.
Clik here to view.

Building RSS/Atom Feeds for ASP.NET MVC

ASP.NET Core Boilerplate Security Securing the ASP.NET MVC Web.config (Updated) NWebSec ASP.NET MVC Security Through HTTP Headers Content Security Policy (CSP) for ASP.NET MVC Search Engine...

View Article

Canonical URL's for ASP.NET MVC

ASP.NET Core Boilerplate Security Securing the ASP.NET MVC Web.config (Updated) NWebSec ASP.NET MVC Security Through HTTP Headers Content Security Policy (CSP) for ASP.NET MVC Search Engine...

View Article

Dynamically Generating Robots.txt Using ASP.NET MVC

ASP.NET Core Boilerplate Security Securing the ASP.NET MVC Web.config (Updated) NWebSec ASP.NET MVC Security Through HTTP Headers Content Security Policy (CSP) for ASP.NET MVC Search Engine...

View Article


Image may be NSFW.
Clik here to view.

Minifying HTML for ASP.NET MVC

Using Razor comments or blocks of code can cause extra carriage returns to appear in the generated HTML. This has been a problem in all versions if ASP.NET MVC for a while now. <p>Paragraph...

View Article


Whats New in ASP.NET Core Boilerplate

I have just updated the ASP.NET Core Boilerplate Visual Studio extension with a new project template targeting ASP.NET Core. This post is just a quick one to talk about what's new and different about...

View Article

Dynamically Generating Sitemap.xml for ASP.NET MVC

What is a sitemap.xml File What is a sitemap.xml file used for? The official sitemaps.org site really does says it best: Sitemaps are an easy way for webmasters to inform search engines about pages on...

View Article

So I've Been Awarded Microsoft MVP Status!

Lucian Wischik contacted me out of the blue one day to update and test one of my NuGet packages using NuGet 3.0. We had a pleasant email exchange and he suggested I nominate myself for becoming a...

View Article

.NET Big-O Algorithm Complexity Cheat Sheet

Credits All credit goes to the creator of the Big-O Algorithm Complexity Cheat Sheet Eric Rowell and the many contributors to it. You can find the original here. I simply added .NET specific bits to it...

View Article


Image may be NSFW.
Clik here to view.

Logging with Serilog.Exceptions

Picking a logging framework for your new .NET project? I've tried all the best known ones, including log4net, NLog and Microsoft's Logging Application Block. All of these logging frameworks basically...

View Article

Make Certificate

Making your own certificate files is quite hard work. You have to use makecert.exe and pvk2pfx.exe, passing in some pretty cryptic arguments which you always have to go back and research. Learning how...

View Article


Image may be NSFW.
Clik here to view.

Colorful.Console

I needed to write a console application a while back and was investigating the best way to do this using the available NuGet packages. I'd seen the DNVM command line tool that Microsoft built for...

View Article

Subresource Integrity TagHelper Using ASP.NET Core - Part 1

Subresource Integrity TagHelper Using ASP.NET Core - Part 1 Subresource Integrity TagHelper Using ASP.NET Core - Part 2 What is Subresource Integrity (SRI) Can you trust your CDN provider? What if...

View Article


Image may be NSFW.
Clik here to view.

Subresource Integrity TagHelper Using ASP.NET Core - Part 2

Subresource Integrity TagHelper Using ASP.NET Core - Part 1 Subresource Integrity TagHelper Using ASP.NET Core - Part 2 Last week I wrote part one of a blog post discussing a Subresource Integrity...

View Article

Image may be NSFW.
Clik here to view.

Social TagHelpers for ASP.NET Core

Social media websites like Facebook, Twitter, Google+, Pintrest etc. provide ways to enhance the experience of sharing a page from your site through the use of meta tags. These provide metadata about...

View Article

Image may be NSFW.
Clik here to view.

Azure Active Directory Versus Identity Server

::: warning Disclaimer I looked into this subject for use by the company I work for, who had existing infrastructure I had to cater to, so the solution I chose is skewed in that direction. Even so I've...

View Article
Browsing all 138 articles
Browse latest View live