<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://aspadvice.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Eric Madariaga's Blog</title><link>http://aspadvice.com/blogs/ericm/default.aspx</link><description>Building ASP.NET solutions with reusable software components</description><dc:language>en</dc:language><generator>CommunityServer 2.1 (Build: 60809.935)</generator><item><title>Free Google WiFi</title><link>http://aspadvice.com/blogs/ericm/archive/2005/09/20/12796.aspx</link><pubDate>Tue, 20 Sep 2005 19:51:00 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:12796</guid><dc:creator>ericm</dc:creator><slash:comments>0</slash:comments><comments>http://aspadvice.com/blogs/ericm/comments/12796.aspx</comments><wfw:commentRss>http://aspadvice.com/blogs/ericm/commentrss.aspx?PostID=12796</wfw:commentRss><description>&lt;P&gt;Looks like Google is getting ready to announce free WiFi access (&lt;A href="http://wifi.google.com/faq.html"&gt;http://wifi.google.com/faq.html&lt;/A&gt;).&amp;nbsp;Very Cool.&lt;/P&gt;
&lt;P&gt;It looks like it&amp;nbsp;will only be available in the San Francisco area initially.&amp;nbsp; I wonder how long until they make it to Raleigh/Durham NC :)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://aspadvice.com/blogs/ericm/archive/2005/09/20/12796.aspx&amp;amp;;subject=Free+Google+WiFi" target="_blank" title = "Post http://aspadvice.com/blogs/ericm/archive/2005/09/20/12796.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://aspadvice.com/blogs/ericm/archive/2005/09/20/12796.aspx&amp;amp;;title=Free+Google+WiFi" target="_blank" title = "Post http://aspadvice.com/blogs/ericm/archive/2005/09/20/12796.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://aspadvice.com/blogs/ericm/archive/2005/09/20/12796.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://aspadvice.com/blogs/ericm/archive/2005/09/20/12796.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://aspadvice.com/blogs/ericm/archive/2005/09/20/12796.aspx&amp;amp;title=Free+Google+WiFi" target="_blank" title = "Post http://aspadvice.com/blogs/ericm/archive/2005/09/20/12796.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://aspadvice.com/blogs/ericm/archive/2005/09/20/12796.aspx&amp;amp;;title=Free+Google+WiFi" target="_blank" title = "Post http://aspadvice.com/blogs/ericm/archive/2005/09/20/12796.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://aspadvice.com/blogs/ericm/archive/2005/09/20/12796.aspx&amp;amp;;title=Free+Google+WiFi&amp;amp;;top=1" target="_blank" title = "Post http://aspadvice.com/blogs/ericm/archive/2005/09/20/12796.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://aspadvice.com/aggbug.aspx?PostID=12796" width="1" height="1"&gt;</description><category domain="http://aspadvice.com/blogs/ericm/archive/tags/General/default.aspx">General</category></item><item><title>Google Talk</title><link>http://aspadvice.com/blogs/ericm/archive/2005/08/24/2707.aspx</link><pubDate>Wed, 24 Aug 2005 14:09:00 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:2707</guid><dc:creator>ericm</dc:creator><slash:comments>0</slash:comments><comments>http://aspadvice.com/blogs/ericm/comments/2707.aspx</comments><wfw:commentRss>http://aspadvice.com/blogs/ericm/commentrss.aspx?PostID=2707</wfw:commentRss><description>&lt;P&gt;Google has released Google Talk (Beta) - &lt;A href="http://www.google.com/talk/"&gt;http://www.google.com/talk/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I am very excited to see that Google has released their communications platform on open Internet standards.&amp;nbsp; Currently Google Talk is based on &lt;A href="http://www.nsoftware.com/products/component/xmpp.aspx"&gt;Jabber / XMPP&lt;/A&gt;, an XML based messaging protocol.&amp;nbsp; According to their website, support for SIP will be available in the near future as well.&lt;/P&gt;
&lt;P&gt;Open standards mean a lot of new possibilities for software developers interested in integrating IM and VOIP capabilities.&amp;nbsp; &lt;BR&gt;&lt;/P&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://aspadvice.com/blogs/ericm/archive/2005/08/24/2707.aspx&amp;amp;;subject=Google+Talk" target="_blank" title = "Post http://aspadvice.com/blogs/ericm/archive/2005/08/24/2707.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://aspadvice.com/blogs/ericm/archive/2005/08/24/2707.aspx&amp;amp;;title=Google+Talk" target="_blank" title = "Post http://aspadvice.com/blogs/ericm/archive/2005/08/24/2707.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://aspadvice.com/blogs/ericm/archive/2005/08/24/2707.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://aspadvice.com/blogs/ericm/archive/2005/08/24/2707.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://aspadvice.com/blogs/ericm/archive/2005/08/24/2707.aspx&amp;amp;title=Google+Talk" target="_blank" title = "Post http://aspadvice.com/blogs/ericm/archive/2005/08/24/2707.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://aspadvice.com/blogs/ericm/archive/2005/08/24/2707.aspx&amp;amp;;title=Google+Talk" target="_blank" title = "Post http://aspadvice.com/blogs/ericm/archive/2005/08/24/2707.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://aspadvice.com/blogs/ericm/archive/2005/08/24/2707.aspx&amp;amp;;title=Google+Talk&amp;amp;;top=1" target="_blank" title = "Post http://aspadvice.com/blogs/ericm/archive/2005/08/24/2707.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://aspadvice.com/aggbug.aspx?PostID=2707" width="1" height="1"&gt;</description><category domain="http://aspadvice.com/blogs/ericm/archive/tags/General/default.aspx">General</category></item><item><title>Using the FileSystemWatcher from ASP.NET</title><link>http://aspadvice.com/blogs/ericm/archive/2005/08/05/2706.aspx</link><pubDate>Fri, 05 Aug 2005 14:40:00 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:2706</guid><dc:creator>ericm</dc:creator><slash:comments>2</slash:comments><comments>http://aspadvice.com/blogs/ericm/comments/2706.aspx</comments><wfw:commentRss>http://aspadvice.com/blogs/ericm/commentrss.aspx?PostID=2706</wfw:commentRss><description>&lt;P&gt;A recent ASP.NET project that I am working on requires that the web application monitor a directory for new files, and if new files are found, process them in some way.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Unfortunately the application is not accessed through its web interface very often and as a result it cannot poll the directory when pages are requested, sessions are created, etc. The web interface is actually used mostly for configuration of the application. &lt;/P&gt;
&lt;P&gt;We have decided to keep a FileSystemWatcher object alive by adding it to the ASP.NET application object. In the global.asax we do the following:&lt;/P&gt;&lt;PRE style="COLOR: #000000"&gt;&lt;SPAN style="COLOR: #0000ff"&gt;private&lt;/SPAN&gt; FileSystemWatcher fsw;

&lt;SPAN style="COLOR: #0000ff"&gt;protected&lt;/SPAN&gt; &lt;SPAN style="COLOR: #0000ff"&gt;void&lt;/SPAN&gt; Application_Start(Object sender, EventArgs e)
{
	&lt;SPAN style="COLOR: #0000ff"&gt;string&lt;/SPAN&gt; monitorPath = &lt;SPAN style="COLOR: #0000ff"&gt;this&lt;/SPAN&gt;.Context.Server.MapPath(&lt;SPAN style="COLOR: #848284"&gt;"incomming/"&lt;/SPAN&gt;);

	Application.Add(&lt;SPAN style="COLOR: #848284"&gt;"watcher"&lt;/SPAN&gt;, &lt;SPAN style="COLOR: #0000ff"&gt;new&lt;/SPAN&gt; System.IO.FileSystemWatcher(monitorPath));
	fsw  = (FileSystemWatcher)Application[&lt;SPAN style="COLOR: #848284"&gt;"watcher"&lt;/SPAN&gt;];
	fsw.EnableRaisingEvents = &lt;SPAN style="COLOR: #0000ff"&gt;true&lt;/SPAN&gt;;
	fsw.IncludeSubdirectories = &lt;SPAN style="COLOR: #0000ff"&gt;false&lt;/SPAN&gt;;

	fsw.Changed += &lt;SPAN style="COLOR: #0000ff"&gt;new&lt;/SPAN&gt; System.IO.FileSystemEventHandler(fsw_Changed);
	fsw.Created += &lt;SPAN style="COLOR: #0000ff"&gt;new&lt;/SPAN&gt; System.IO.FileSystemEventHandler(fsw_Created);
}&lt;/PRE&gt;
&lt;P&gt;&lt;BR&gt;This seems to work so far.&amp;nbsp; Whenever a new file is dropped into the &lt;FONT color=#808080&gt;incoming/&lt;/FONT&gt; directory, the FileSystemWatcher events fire and we are able to process incoming files.&lt;/P&gt;
&lt;P&gt;A colleague of mine said that he tried this on another web application and that events from the FileSystemWatcher stopped firing at some point. Has anyone run into any problems using the FileSystemWatcher this way from an ASP.NET application?&lt;/P&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://aspadvice.com/blogs/ericm/archive/2005/08/05/2706.aspx&amp;amp;;subject=Using+the+FileSystemWatcher+from+ASP.NET" target="_blank" title = "Post http://aspadvice.com/blogs/ericm/archive/2005/08/05/2706.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://aspadvice.com/blogs/ericm/archive/2005/08/05/2706.aspx&amp;amp;;title=Using+the+FileSystemWatcher+from+ASP.NET" target="_blank" title = "Post http://aspadvice.com/blogs/ericm/archive/2005/08/05/2706.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://aspadvice.com/blogs/ericm/archive/2005/08/05/2706.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://aspadvice.com/blogs/ericm/archive/2005/08/05/2706.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://aspadvice.com/blogs/ericm/archive/2005/08/05/2706.aspx&amp;amp;title=Using+the+FileSystemWatcher+from+ASP.NET" target="_blank" title = "Post http://aspadvice.com/blogs/ericm/archive/2005/08/05/2706.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://aspadvice.com/blogs/ericm/archive/2005/08/05/2706.aspx&amp;amp;;title=Using+the+FileSystemWatcher+from+ASP.NET" target="_blank" title = "Post http://aspadvice.com/blogs/ericm/archive/2005/08/05/2706.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://aspadvice.com/blogs/ericm/archive/2005/08/05/2706.aspx&amp;amp;;title=Using+the+FileSystemWatcher+from+ASP.NET&amp;amp;;top=1" target="_blank" title = "Post http://aspadvice.com/blogs/ericm/archive/2005/08/05/2706.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://aspadvice.com/aggbug.aspx?PostID=2706" width="1" height="1"&gt;</description><category domain="http://aspadvice.com/blogs/ericm/archive/tags/General/default.aspx">General</category><category domain="http://aspadvice.com/blogs/ericm/archive/tags/ASP.NET+Development/default.aspx">ASP.NET Development</category></item><item><title>Introduction</title><link>http://aspadvice.com/blogs/ericm/archive/2005/08/02/2705.aspx</link><pubDate>Tue, 02 Aug 2005 19:51:00 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:2705</guid><dc:creator>ericm</dc:creator><slash:comments>0</slash:comments><comments>http://aspadvice.com/blogs/ericm/comments/2705.aspx</comments><wfw:commentRss>http://aspadvice.com/blogs/ericm/commentrss.aspx?PostID=2705</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;Finally.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;After years of finding help in blog entries and online articles I am finally able to get out in the community and try to give back.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;A little background on who I am - I have been working at &lt;A title="/n software" href="http://www.nsoftware.com/?aspadvice" target=_blank&gt;/n software&lt;/A&gt; since 1999 marketing, supporting, evangelizing, and writing code where needed. If nothing else, my experience with Internet protocols and technologies has made me a master with acronyms. &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;While /n software works with many development technologies from Java to COM, I work primarily with C# on web development projects. I am forced to occasionally switch gears and write code for &lt;?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /&gt;&lt;st1:place w:st="on"&gt;Delphi&lt;/st1:place&gt;, VB6, or classic ASP, but ASP.NET feels like home.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;I intend to focus primarily on ASP.NET and .NET development across a range of topics from building web controls to e-commerce development. As a member of a .NET component company I am sure that some of these entries will focus around the technologies that we are currently working with.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;Outside of ASP.NET development I am an avid mountain biker. That's not to say that I'm any good - In fact, I am usually cut up and badly bruised after every ride. In spite of all of my injuries I still love hitting the trails after a long day at work.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;That&amp;#8217;s enough about me.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Welcome to my blog!&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;EM&gt;&lt;FONT size=2&gt;Disclaimer: This blog is completely independent of and unaffiliated with /n software itself.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;All opinions included here are mine and do not represent the opinions of my employer or any of its other employees.&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://aspadvice.com/blogs/ericm/archive/2005/08/02/2705.aspx&amp;amp;;subject=Introduction" target="_blank" title = "Post http://aspadvice.com/blogs/ericm/archive/2005/08/02/2705.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://aspadvice.com/blogs/ericm/archive/2005/08/02/2705.aspx&amp;amp;;title=Introduction" target="_blank" title = "Post http://aspadvice.com/blogs/ericm/archive/2005/08/02/2705.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://aspadvice.com/blogs/ericm/archive/2005/08/02/2705.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://aspadvice.com/blogs/ericm/archive/2005/08/02/2705.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://aspadvice.com/blogs/ericm/archive/2005/08/02/2705.aspx&amp;amp;title=Introduction" target="_blank" title = "Post http://aspadvice.com/blogs/ericm/archive/2005/08/02/2705.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://aspadvice.com/blogs/ericm/archive/2005/08/02/2705.aspx&amp;amp;;title=Introduction" target="_blank" title = "Post http://aspadvice.com/blogs/ericm/archive/2005/08/02/2705.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://aspadvice.com/blogs/ericm/archive/2005/08/02/2705.aspx&amp;amp;;title=Introduction&amp;amp;;top=1" target="_blank" title = "Post http://aspadvice.com/blogs/ericm/archive/2005/08/02/2705.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://aspadvice.com/aggbug.aspx?PostID=2705" width="1" height="1"&gt;</description><category domain="http://aspadvice.com/blogs/ericm/archive/tags/General/default.aspx">General</category></item></channel></rss>