<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Leandro Díaz Guerra&#039;s Blog &#187; ASP .NET</title>
	<atom:link href="http://www.leandrodg.com.ar/blog/tag/asp-net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.leandrodg.com.ar/blog</link>
	<description>Yet another developer blog</description>
	<lastBuildDate>Wed, 28 Jul 2010 13:45:37 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>.NET C#: Recycle current Application Pool programmatically (for IIS 6+)</title>
		<link>http://www.leandrodg.com.ar/blog/2008/02/find-and-recycle-current-application-pool-programmatically-for-iis-6/</link>
		<comments>http://www.leandrodg.com.ar/blog/2008/02/find-and-recycle-current-application-pool-programmatically-for-iis-6/#comments</comments>
		<pubDate>Tue, 12 Feb 2008 13:42:39 +0000</pubDate>
		<dc:creator>leandrodg</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Application Pools]]></category>
		<category><![CDATA[ASP .NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Webforms]]></category>

		<guid isPermaLink="false">http://leandrodg.wordpress.com/?p=7</guid>
		<description><![CDATA[I&#8217;ve been working on how to recycle the current application pool for my ASP .NET application.
There are 3 steps for doing this:


Verify if application is running on IIS that supports application pools (if not, there&#8217;s nothing to recycle).
Get application pool name (obtained from the DirectoryServices entry corresponding to our virtual directory).
Invoke Recycle method in the [...]]]></description>
		<wfw:commentRss>http://www.leandrodg.com.ar/blog/2008/02/find-and-recycle-current-application-pool-programmatically-for-iis-6/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Cassini &amp; SerializationException: Type is not resolved for member&#8230;</title>
		<link>http://www.leandrodg.com.ar/blog/2007/12/cassini-serializationexception-type-is-not-resolved-for-member/</link>
		<comments>http://www.leandrodg.com.ar/blog/2007/12/cassini-serializationexception-type-is-not-resolved-for-member/#comments</comments>
		<pubDate>Tue, 18 Dec 2007 17:24:39 +0000</pubDate>
		<dc:creator>leandrodg</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP .NET]]></category>
		<category><![CDATA[Cassini]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Webforms]]></category>

		<guid isPermaLink="false">http://leandrodg.wordpress.com/2007/12/18/cassini-serializationexception-type-is-not-resolved-for-member/</guid>
		<description><![CDATA[I&#8217;m working on an architecture project now, and I needed to create an HttpModule which would measure the request time for pages.
So I needed to save information (the time and some other data) in the Begin_Request event and then read it in the End_Request event. I could have used Request.Context, but part of the idea [...]]]></description>
		<wfw:commentRss>http://www.leandrodg.com.ar/blog/2007/12/cassini-serializationexception-type-is-not-resolved-for-member/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Performance Counter InstanceName issue</title>
		<link>http://www.leandrodg.com.ar/blog/2007/11/performance-counter-instancename-issue/</link>
		<comments>http://www.leandrodg.com.ar/blog/2007/11/performance-counter-instancename-issue/#comments</comments>
		<pubDate>Wed, 21 Nov 2007 16:56:12 +0000</pubDate>
		<dc:creator>leandrodg</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP .NET]]></category>
		<category><![CDATA[Instrumentation]]></category>
		<category><![CDATA[Performance Counters]]></category>
		<category><![CDATA[Webforms]]></category>

		<guid isPermaLink="false">http://leandrodg.wordpress.com/2007/11/21/performance-counter-instancename-issue/</guid>
		<description><![CDATA[I was creating a performance counter collection to register the processing time for ASP.NET requests, and I decided the best way to name instances was to use Request.Url.Authority + Request.Url.PathAndQuery. This counters would allow me to check average response time, total requests and requests per second, for each Request.Url.Authority + Request.Url.PathAndQuery.
I built the counters and [...]]]></description>
		<wfw:commentRss>http://www.leandrodg.com.ar/blog/2007/11/performance-counter-instancename-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Determine current execution context (ASP.NET or Winforms)</title>
		<link>http://www.leandrodg.com.ar/blog/2007/10/determine-current-execution-context-webforms-or-winforms/</link>
		<comments>http://www.leandrodg.com.ar/blog/2007/10/determine-current-execution-context-webforms-or-winforms/#comments</comments>
		<pubDate>Fri, 05 Oct 2007 15:06:55 +0000</pubDate>
		<dc:creator>leandrodg</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP .NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Reflection]]></category>
		<category><![CDATA[Webforms]]></category>
		<category><![CDATA[Winforms]]></category>

		<guid isPermaLink="false">http://leandrodg.wordpress.com/2007/10/05/determine-current-execution-context-webforms-or-winforms/</guid>
		<description><![CDATA[I&#8217;ve searched over the internet for this and couldn&#8217;t find anything.
A method I&#8217;m working on should have a different behavior when called in a Web Application (Webforms) and a Windows Application (Winforms).
This is what I came up with, using Reflection:
	if (Assembly.GetEntryAssembly() != null)
	{
		// Running on Winforms context
	}
	else
	{
		// Running on ASP.NET context
	}

There are probably other ways [...]]]></description>
		<wfw:commentRss>http://www.leandrodg.com.ar/blog/2007/10/determine-current-execution-context-webforms-or-winforms/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
