ASP.Net has a built-in feature named Forms Authentication that allows a developer to easily secure certain areas of a web site. In this post I’m going to build a simple authentication sample using C# and ASP.Net 4.0.
IIS7 Mime Mappings
For very good reasons, not all extensions are recognized by IIS by default and may return a 404 error when trying to access them from your site. If you have need to add more extensions to be “allowed” – for example if you have embedded font files – you have a few different options. One […]
ASP.NET, cytanium, Development/Coding, Hosting, IIS, OrcsWeb, System Administration, tipGreat Pointers For Analyzing Memory Crash Dumps
This is an older article (2006) but still an excellent resource for anyone who has to do deep troubleshooting and research to determine the cause of a crash in a .NET application. With these tips, and perhaps just a little luck, you can even trace the issue down to the exact line of code that’s […]
.NET, Hosting, IIS, System Administration, Troubleshooting, WindowsResolving the error: ~/Telerik.Web.UI.WebResource.axd is missing in web.config.
When attempting to run an application that uses certain Telerik controls, you may run into the error below: System.InvalidOperationException: ‘~/Telerik.Web.UI.WebResource.axd’ is missing in web.config. RadStyleSheetManager requires a HttpHandler registration in web.config. Please, use the control Smart Tag to add the handler automatically, or see the help for more information: Controls > RadStyleSheetManager at Telerik.Web.UI.RadStyleSheetManager.OnPreRender(EventArgs e) […]
ASP.NET, blog, CMS, Hosting, IIS, TroubleshootingTroubleshooting SSL in IIS
Terri Donahue @ OrcsWeb was helping a client with an SSL problem recently and wrote up this nice guest post below to help anyone else who may be in a similar troubleshooting situation. ————————————————————- I encountered a very interesting SSL issue while resolving a problem for a client this week. An SSL certificate was installed […]
Hosting, IIS, System Administration, Troubleshooting, WindowsHow 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 […]
Hosting, IIS, Learning, WindowsInstalling 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, tip