Do you want to assure that client browsers will always download the latest copy of your page(s) rather than potentially pulling an outdated page from their local cache? You can enable and manage content expiration in IIS7 to control this at the server-side. Below is a walk-through of enabling this using the IIS7 Remote Management […]
Installing and configuring Bonobo GIT Server for Windows (IIS7) for remote IIS push capability (Guest Post)
A co-worker – Terri Donahue – was helping a client the other day with some troubleshooting for GIT’s remote push capabilities on Window Server (IIS7). She had zero previous experience with GIT but after some research and testing she got it working. I thought it might be useful to others so asked that she do […]
Hosting, IIS, System Administration, Troubleshooting, WindowsResolving a “There is a duplicate ‘system.web.extensions/scripting/scriptResourceHandler’ section defined” Error
People get this error a lot when upgrading an ASP.NET 2.0 application to ASP.NET 4.0. Here is a link to common ASP.NET 4 Breaking Changes: http://www.asp.net/learn/whitepapers/aspnet4/breaking-changes#0.1__Toc256770149 And here is the section that applies to this error: “The workaround for the second scenario is to delete or comment out all the system.web.extensions configuration section definitions and […]
ASP.NET, cytanium, Development/Coding, Hosting, IIS, OrcsWeb, System Administration, tip, Troubleshooting, Visual Studio, WebMatrix, WindowsUsing URL ReWrite to host multiple sites/domains under a single site
Scott Forsyth has a couple of good blog posts with pointers on using URL ReWrite to host multiple sites/domains under a single site: http://weblogs.asp.net/owscott/archive/2010/01/26/iis-url-rewrite-hosting-multiple-domains-under-one-site.aspx http://weblogs.asp.net/owscott/archive/2010/05/26/url-rewrite-multiple-domains-under-one-site-part-ii.aspx
cytanium, Development/Coding, Hosting, IIS, OrcsWeb, System Administration, WindowsIIS Compression
Do you want to both save money and speed the load time of your web pages? Then check out IIS’s built-in compression feature. You can access it from the IIS management console: Then make sure both of these boxes are checked. There are some very rare situations where the compression conflicts with an application – […]
cytanium, Hosting, IIS, OrcsWeb, System Administration, tipURL Rewrite Sample to Add www to the URL
Here is a sample web.config file to redirect any requests to http://site.com to http://www.site.com. <?xml version=”1.0″ encoding=”UTF-8″?> <configuration> <system.webServer> <rewrite> <rules> <rule name=”Add www” patternSyntax=”Wildcard” stopProcessing=”true”> <match url=”*” /> <conditions> <add input=”{HTTP_HOST}” pattern=”www.site.com” negate=”true” /> </conditions> <action type=”Redirect” url=”http://www.site.com/{R:1}” /> </rule> </rules> </rewrite> </system.webServer> </configuration>
cytanium, Hosting, IIS, Learning, OrcsWeb, tipURL Rewrite 301 Redirect For a Single Page
Want to set up a 301 redirect for a certain single page on your site to send users to a different URL? Below is a very simple web.config file I created on an IIS7 server to demonstrate performing this action. The rule looks for a URL of http://<yourdomain.com>/folder1/default.aspx and, if found, returns an HTTP Status code […]
cytanium, Development/Coding, Hosting, IIS, OrcsWeb, tip, WindowsSending Authenticated Email from ASP.NET C#
I previously wrote an article on what code you can use to send email using ASP.NET C#. That article assumed that the local SMTP service was allowing anonymous relay for code on the local server (i.e. 127.0.0.1). Below is a slightly revised code sample allowing for authentication against an SMTP server in case your server […]
ASP.NET, cytanium, Development/Coding, Email, Hosting, OrcsWebManaged Hosting Tip: Securing Your Site With ASP.NET
Since we perform managed shared hosting, managed dedicated hosting, and managed cloud hosting at OrcsWeb, we sometimes get involved assisting clients with certain situations related to their site’s code, and we try to assist (within reason) even if the situation has nothing to do with the servers or hosting services. A fairly regular need that […]
ASP.NET, Hosting, IIS, OrcsWeb