ASPNetFAQ.com: What is ASP.NET?

Technology posts on ASP.NET, IIS, Windows (+ a little Linux), Cloud Servers, Hosting, and more!
  • Blog Home
Search the site...

How to set content expiration for your IIS7 site

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 […]

Tweet
Share
0 Shares

Read More

Hosting, IIS, Learning, Windows

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 […]

Tweet
Share
0 Shares

Read More

Hosting, IIS, System Administration, Troubleshooting, Windows

Resolving 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 […]

Tweet
Share
0 Shares

Read More

ASP.NET, cytanium, Development/Coding, Hosting, IIS, OrcsWeb, System Administration, tip, Troubleshooting, Visual Studio, WebMatrix, Windows

Using 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

Tweet
Share
0 Shares

Read More

cytanium, Development/Coding, Hosting, IIS, OrcsWeb, System Administration, Windows

IIS 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 – […]

Tweet
Share
0 Shares

Read More

cytanium, Hosting, IIS, OrcsWeb, System Administration, tip

URL 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>

Tweet
Share
0 Shares

Read More

cytanium, Hosting, IIS, Learning, OrcsWeb, tip

URL 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 […]

Tweet
Share
0 Shares

Read More

cytanium, Development/Coding, Hosting, IIS, OrcsWeb, tip, Windows

Sending 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 […]

Tweet
Share
0 Shares

Read More

ASP.NET, cytanium, Development/Coding, Email, Hosting, OrcsWeb

Managed 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 […]

Tweet
Share
0 Shares

Read More

ASP.NET, Hosting, IIS, OrcsWeb
12345

Proverbs 19:20

"Get all the advice and instruction you can, so you will be wise the rest of your life."

A Note On WordPress Hosting

Our main focus is of course .NET, but with a mix of Linux, virtualization, and other technologies. But if you're really looking for the best WordPress hosting specifically, read my WordPress host review to save yourself hassle AND money!




Recent Posts

  • What makes good web hosting?
  • jQuery Mobile C# ASP.NET and N5 Networks Software Repository
  • Open Source Bug Tracking Software and the Orchard Project
  • ASP.NET Development with Dreamweaver MX: Visual QuickPro Guide
  • Kendo UI Sample, ASP.NET Ajax Tutorial & More

Tags

ASP.NET Automation centos CMS css cytanium Development/Coding Email gmail Hosting htaccess http https IIS javascript Learning Linux logparser MySQL nginx openssl OrcsWeb performance PowerShell redirect RHEL security server SherWeb smtp SQL/Databases ssl System Administration telnet terminal tip Troubleshooting Ubuntu virtualization Visual Studio web farm web hosting Windows windows server Wordpress

Categories

  • ASP.net development
  • Development/Coding
  • Hosting
  • IIS (Internet Information Services)
  • SQL/Databases
  • System Administration
  • Virtualization
(c) ASPNETFAQ.com