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

image.png

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

xxx.png

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

Assigning a Custom Label Value in a ASP.NET GridView Using ObjectDataSource

x2.png

In my previous post, Assigning a DropDownList Value in a ASP.NET GridView Using ObjectDataSource, I discussed how to put a DropDownList value in a GridView.  As I explained, my motivation was to answer a common question that appears on often on the forums.  If you are wondering what my process is for deciding what to answer, there really is no process besides I see yet another question on the forum about this, and rather than answer it again, I write a post explaining it, then point my answer to the question at the post.  This is what I did yesterday and below is the response to this forum post. … Continue Reading

Follow

Get every new post delivered to your Inbox

Join other followers: