How to do URL Rewrites with ASP.NET 2.0 3.0 3.5 on IIS6 and IIS7 and What is Wild Card Mapping

The Problem Over the past several years I've found myself running into the same problem over and over so I thought I'd blog the solution so at least I don't waste time figuring it out again.  So, when do you need this?  The answer for me is that I want to be able reference a web site without having to expose the underlying site structure.  For example, on the home page of my business, I want people to be able to type http://73rdstreet.com/Home and be taken to http://www.73rdstreet.com/HomeSite/Home.aspx. The Symptom You may see errors that say something like: Server Error in Application ... HTTP Error 404.0 - Not Found … Continue Reading

How to find your temporary asp.net executing assemblies location

Seems, I keep forgetting where the temporary files asp.net uses. The reason it's nice to know is sometimes you may want to open them with Reflector to see the generated code.  Also, sometimes, you want to delete those files because asp.net is confused and is reusing old ones.  So, here is the magic lines of code you need. … Continue Reading

Using MapPath with WCF Service, Setting aspNetCompatibilityEnabled to true

I'm just starting out using WCF in an application for the first time.  I'm using Visual Studio 2008 sp1 and created an asp.net web site from the standard create project wizard.  I then created a simple AJAX--enabled WCF Service as follows: I then added some code to the service that looks like the following (using MapPath): … Continue Reading

Convert Garmin 705 Navigator TCX Format using LINQ to XML and Data Objects – Article 1

Solution File For VisualStudio 2008 GarminWebConversionOnly.zip Several months ago, I bought a Garmin 705 Navigator for my bike.  As a gadget junkie, I always want to have the latest stuff.  For years, I've used Polar Heartrate monitors, but the idea of having maps on my handle bars was just to much to pass up.  Since the Garmin's output is an XML file I figure I have an obligation to unravel it, and what better tool to do this than Microsoft's LINQ to XML.  Many months ago I posted a similar article using LINQ to XML for showing the amount of space that was used on my TIVO by category.  This article is not quite an end to end solution like that one.  It's just a first step.  What we will show is the … Continue Reading

Follow

Get every new post delivered to your Inbox

Join other followers: