Browsing the archives for the ASP.NET tag

Allow or Deny by IP in IIS Cloud Sites

The steps: Add the following entry into your web.config file and then place a SecurityHttpModule.cs file within a folder named App_Code with the code given. Replace 127.0.0.1 with the IP address that you would like to allow for your domain. Any questions? Feel free to ask! But be sure to be specific so I can […]

No Comments Posted in ASP.NET
Tagged , ,
Sample ASP.NET code that works in Cloud Sites

Uploading the following 3 files will result in a bare bones ASP.NET site that functions within Rackspace Cloud Sites. It would be possible to trim these down further, especially the web.config, however this is what I came up with through Visual Studio with minimal editing to the resultant files. web.config: 1 2 3 4 5 […]

No Comments Posted in ASP.NET
Tagged , ,