Shane Bartholomeusz

Geek and lover of all things tech related

Tag: security

Azure App Service – How to Enable SSL

Overview

Traditionally when setting up SSL for an IIS website, you could generate a CSR using IIS to provide to your relevant certificate authority.

If setting up a website using the Azure App Service, the approach is slightly different. There’s a myriad of ways of can do this, however this is the easiest approach I’ve found.

Continue reading

Resolve “AspNetHostingPermission” error

So what do you do if you come across this error in Visual Studio?

System.Security.SecurityException: Request for the permission of type ‘System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ failed.

The error typically occurs when you download files from an external source into your Visual Studio project. Windows will recognise the file came from an external source and restrict permissions.

Continue reading

© 2024 Shane Bartholomeusz

Theme by Anders NorenUp ↑