<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>OSBlues &#187; .Net</title>
	<atom:link href="http://osblues.com/category/net/feed/" rel="self" type="application/rss+xml" />
	<link>http://osblues.com</link>
	<description>Life, technology and anything else that crops up..</description>
	<lastBuildDate>Tue, 14 Jun 2011 14:28:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='osblues.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>OSBlues &#187; .Net</title>
		<link>http://osblues.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://osblues.com/osd.xml" title="OSBlues" />
	<atom:link rel='hub' href='http://osblues.com/?pushpress=hub'/>
		<item>
		<title>SPF compliant .net system.net.mail .mailmessage</title>
		<link>http://osblues.com/2008/06/11/spf-compliant-dotnet-system-net-mail-mailmessage/</link>
		<comments>http://osblues.com/2008/06/11/spf-compliant-dotnet-system-net-mail-mailmessage/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 17:08:18 +0000</pubDate>
		<dc:creator>osblues</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[dotnet]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[spf]]></category>
		<category><![CDATA[vb]]></category>

		<guid isPermaLink="false">http://osblues.wordpress.com/?p=93</guid>
		<description><![CDATA[As a follow up to my post SPF compliant CDO message, here is the equivalent (well, not quite, but similar) vb.net version that I use - Public Sub Send(ByVal strTo As String, ByVal strFrom As String, _ ByVal strSender As String, ByVal strCC As String, _ ByVal strBCC As String, ByVal strSubject As String, _ [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=osblues.com&amp;blog=3608927&amp;post=93&amp;subd=osblues&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As a follow up to my post <a href="/2005/02/22/spf-compliant-cdo-message/">SPF compliant CDO message</a>, here is the equivalent (well, not quite, but similar) vb.net version that I use -</p>
<blockquote>
<pre>Public Sub Send(ByVal strTo As String, ByVal strFrom As String, _
   ByVal strSender As String, ByVal strCC As String, _
   ByVal strBCC As String, ByVal strSubject As String, _
   ByVal strBody As String)

Dim MailObj As New System.Net.Mail.MailMessage(strFrom, _
   strTo, strSubject, strBody)

'SPF Stuff
If Not String.IsNullOrEmpty(strSender) And strSender &lt;&gt; strFrom Then
   MailObj.Headers.Add("return-path", strSender)
   MailObj.Headers.Add("reply-to", strFrom)
   MailObj.Sender = New Net.Mail.MailAddress(strSender)
End If

If Not strCC = String.Empty Then
   For Each cc As String In strCC.Split(";")
      MailObj.CC.Add(cc)
   Next
End If

If Not strBCC = String.Empty Then
   For Each bcc As String In strBCC.Split(";")
      MailObj.Bcc.Add(bcc)
   Next
End If

Dim MailClient As New System.Net.Mail.SmtpClient
MailClient.Host = "mailserver"
MailClient.Send(MailObj)

End Sub</pre>
</blockquote>
<p>Again, as before, this is generally useful for web generated emails (like send a friend forms etc.), simply specify the users address as strFrom and a generic local address (noreply@mydomain.com) as strSender.</p>
<p>I hope it proves useful.</p>
<p><a title="add to del.icio.us" rel="nofollow" href="http://del.icio.us/post?url=http://osblues.com/2008/06/11/spf-compliant-dotnet-system-net-mail-mailmessage/;title=SPF+compliant+.net+system.net.mail+.mailmessage"><img title="SPF+compliant+.net+system.net.mail+.mailmessage" src="http://osblues.files.wordpress.com/2008/07/delicious.gif?w=780" alt="add to del.icio.us" /></a> :: <a title="add to Technorati" rel="nofollow" href="http://technorati.com/faves/?add=http://osblues.com/2008/06/11/spf-compliant-dotnet-system-net-mail-mailmessage/;title=SPF+compliant+.net+system.net.mail+.mailmessage"><img title="SPF+compliant+.net+system.net.mail+.mailmessage" src="http://osblues.files.wordpress.com/2008/07/technorati.gif?w=780" alt="Bookmark Post in Technorati" /></a> :: <a title="add to Blinkslist" rel="nofollow" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Description=&amp;Url=http://osblues.com/2008/06/11/spf-compliant-dotnet-system-net-mail-mailmessage/;Title=SPF+compliant+.net+system.net.mail+.mailmessage"><img title="SPF+compliant+.net+system.net.mail+.mailmessage" src="http://osblues.files.wordpress.com/2008/07/blinklist.gif?w=780" alt="Add to Blinkslist" /></a> :: <a title="add to Furl" rel="nofollow" href="http://www.furl.net/storeIt.jsp?u=http://osblues.com/2008/06/11/spf-compliant-dotnet-system-net-mail-mailmessage/;t=SPF+compliant+.net+system.net.mail+.mailmessage"><img title="SPF+compliant+.net+system.net.mail+.mailmessage" src="http://osblues.files.wordpress.com/2008/07/furl.gif?w=780" alt="add to furl" /></a> :: <a title="Digg it" rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http://osblues.com/2008/06/11/spf-compliant-dotnet-system-net-mail-mailmessage/"><img title="SPF+compliant+.net+system.net.mail+.mailmessage" src="http://osblues.files.wordpress.com/2008/07/digg.gif?w=780" alt="Digg it" /></a> :: <a title="add to ma.gnolia" rel="nofollow" href="http://ma.gnolia.com/bookmarklet/add?url=http://osblues.com/2008/06/11/spf-compliant-dotnet-system-net-mail-mailmessage/;title=SPF+compliant+.net+system.net.mail+.mailmessage"><img title="SPF+compliant+.net+system.net.mail+.mailmessage" src="http://osblues.files.wordpress.com/2008/07/magnolia.gif?w=780" alt="add to ma.gnolia" /></a> :: <a title="Stumble it!" rel="nofollow" href="http://www.stumbleupon.com/submit?url=http://osblues.com/2008/06/11/spf-compliant-dotnet-system-net-mail-mailmessage/&amp;title=SPF+compliant+.net+system.net.mail+.mailmessage"><img title="SPF+compliant+.net+system.net.mail+.mailmessage" src="http://osblues.files.wordpress.com/2008/07/stumbleit.gif?w=780" alt="Stumble It!" /></a> :: <a title="add to Simpy" rel="nofollow" href="http://www.simpy.com/simpy/LinkAdd.do?url=http://osblues.com/2008/06/11/spf-compliant-dotnet-system-net-mail-mailmessage/;title=SPF+compliant+.net+system.net.mail+.mailmessage"><img title="SPF+compliant+.net+system.net.mail+.mailmessage" src="http://osblues.files.wordpress.com/2008/07/simpy.png?w=780" alt="add to simpy" /></a> :: <a title="seed the vine" rel="nofollow" href="http://www.newsvine.com/_tools/seed&amp;save?url=http://osblues.com/2008/06/11/spf-compliant-dotnet-system-net-mail-mailmessage/;title=SPF+compliant+.net+system.net.mail+.mailmessage"><img title="SPF+compliant+.net+system.net.mail+.mailmessage" src="http://osblues.files.wordpress.com/2008/07/newsvine.gif?w=780" alt="seed the vine" /></a> :: <a title="add to Reddit" rel="nofollow" href="http://reddit.com/submit?url=http://osblues.com/2008/06/11/spf-compliant-dotnet-system-net-mail-mailmessage/;title=SPF+compliant+.net+system.net.mail+.mailmessage"><img title="SPF+compliant+.net+system.net.mail+.mailmessage" src="http://osblues.files.wordpress.com/2008/07/reddit.gif?w=780" alt="" /></a> :: <a title="add to Fark" rel="nofollow" href="http://cgi.fark.com/cgi/fark/edit.pl?new_url=http://osblues.com/2008/06/11/spf-compliant-dotnet-system-net-mail-mailmessage/;new_comment=SPF+compliant+.net+system.net.mail+.mailmessage"><img title="SPF+compliant+.net+system.net.mail+.mailmessage" src="http://osblues.files.wordpress.com/2008/07/fark.png?w=780" alt="" /></a> :: <a title="add to TailRank" rel="nofollow" href="http://tailrank.com/share/?text=&amp;link_href=http://osblues.com/2008/06/11/spf-compliant-dotnet-system-net-mail-mailmessage/&amp;title=SPF+compliant+.net+system.net.mail+.mailmessage"><img src="http://osblues.files.wordpress.com/2008/07/tailrank.gif?w=780" alt="TailRank" /></a> :: <a title="post to FaceBook" rel="nofollow" href="http://www.facebook.com/sharer.php?u=http://osblues.com/2008/06/11/spf-compliant-dotnet-system-net-mail-mailmessage/&amp;t=SPF+compliant+.net+system.net.mail+.mailmessage"><img title="SPF+compliant+.net+system.net.mail+.mailmessage" src="http://sunburntkamel.files.wordpress.com/2008/02/facebookcom.gif?w=780" alt="post to facebook" /></a> :: <a title="bookmark on Google" rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http://osblues.com/2008/06/11/spf-compliant-dotnet-system-net-mail-mailmessage/;title=SPF+compliant+.net+system.net.mail+.mailmessage"><img title="SPF+compliant+.net+system.net.mail+.mailmessage" src="http://osblues.files.wordpress.com/2008/07/google_bmarks.gif?w=780" alt="Bookmark on Google" /></a> :: <a title="add to Netscape" rel="nofollow" href="http://www.netscape.com/submit/?U=http://osblues.com/2008/06/11/spf-compliant-dotnet-system-net-mail-mailmessage/;title=SPF+compliant+.net+system.net.mail+.mailmessage"><img title="SPF+compliant+.net+system.net.mail+.mailmessage" src="http://osblues.files.wordpress.com/2008/07/netscape.gif?w=780" alt="Add to Netscape" /></a> :: <a title="share on Yahoo!" rel="nofollow" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://osblues.com/2008/06/11/spf-compliant-dotnet-system-net-mail-mailmessage/;title=SPF+compliant+.net+system.net.mail+.mailmessage"><img title="SPF+compliant+.net+system.net.mail+.mailmessage" src="http://osblues.files.wordpress.com/2008/07/yahoo_myweb.gif?w=780" alt="Share on Yahoo" /></a> :: <a title="add this to Live" rel="nofollow" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;mkt=en-us&amp;url=http://osblues.com/2008/06/11/spf-compliant-dotnet-system-net-mail-mailmessage/;title=SPF+compliant+.net+system.net.mail+.mailmessage"><img title="SPF+compliant+.net+system.net.mail+.mailmessage" src="http://osblues.files.wordpress.com/2008/07/windows_live.gif?w=780" alt="Add this to Live" /></a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/osblues.wordpress.com/93/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/osblues.wordpress.com/93/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/osblues.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/osblues.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/osblues.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/osblues.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/osblues.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/osblues.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/osblues.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/osblues.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/osblues.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/osblues.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/osblues.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/osblues.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/osblues.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/osblues.wordpress.com/93/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=osblues.com&amp;blog=3608927&amp;post=93&amp;subd=osblues&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://osblues.com/2008/06/11/spf-compliant-dotnet-system-net-mail-mailmessage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f9d46f966c5a85f3238a4543f6ae3979?s=96&#38;d=wavatar&#38;r=R" medium="image">
			<media:title type="html">osblues</media:title>
		</media:content>

		<media:content url="http://osblues.files.wordpress.com/2008/07/delicious.gif" medium="image">
			<media:title type="html">SPF+compliant+.net+system.net.mail+.mailmessage</media:title>
		</media:content>

		<media:content url="http://osblues.files.wordpress.com/2008/07/technorati.gif" medium="image">
			<media:title type="html">SPF+compliant+.net+system.net.mail+.mailmessage</media:title>
		</media:content>

		<media:content url="http://osblues.files.wordpress.com/2008/07/blinklist.gif" medium="image">
			<media:title type="html">SPF+compliant+.net+system.net.mail+.mailmessage</media:title>
		</media:content>

		<media:content url="http://osblues.files.wordpress.com/2008/07/furl.gif" medium="image">
			<media:title type="html">SPF+compliant+.net+system.net.mail+.mailmessage</media:title>
		</media:content>

		<media:content url="http://osblues.files.wordpress.com/2008/07/digg.gif" medium="image">
			<media:title type="html">SPF+compliant+.net+system.net.mail+.mailmessage</media:title>
		</media:content>

		<media:content url="http://osblues.files.wordpress.com/2008/07/magnolia.gif" medium="image">
			<media:title type="html">SPF+compliant+.net+system.net.mail+.mailmessage</media:title>
		</media:content>

		<media:content url="http://osblues.files.wordpress.com/2008/07/stumbleit.gif" medium="image">
			<media:title type="html">SPF+compliant+.net+system.net.mail+.mailmessage</media:title>
		</media:content>

		<media:content url="http://osblues.files.wordpress.com/2008/07/simpy.png" medium="image">
			<media:title type="html">SPF+compliant+.net+system.net.mail+.mailmessage</media:title>
		</media:content>

		<media:content url="http://osblues.files.wordpress.com/2008/07/newsvine.gif" medium="image">
			<media:title type="html">SPF+compliant+.net+system.net.mail+.mailmessage</media:title>
		</media:content>

		<media:content url="http://osblues.files.wordpress.com/2008/07/reddit.gif" medium="image">
			<media:title type="html">SPF+compliant+.net+system.net.mail+.mailmessage</media:title>
		</media:content>

		<media:content url="http://osblues.files.wordpress.com/2008/07/fark.png" medium="image">
			<media:title type="html">SPF+compliant+.net+system.net.mail+.mailmessage</media:title>
		</media:content>

		<media:content url="http://osblues.files.wordpress.com/2008/07/tailrank.gif" medium="image">
			<media:title type="html">TailRank</media:title>
		</media:content>

		<media:content url="http://sunburntkamel.files.wordpress.com/2008/02/facebookcom.gif" medium="image">
			<media:title type="html">SPF+compliant+.net+system.net.mail+.mailmessage</media:title>
		</media:content>

		<media:content url="http://osblues.files.wordpress.com/2008/07/google_bmarks.gif" medium="image">
			<media:title type="html">SPF+compliant+.net+system.net.mail+.mailmessage</media:title>
		</media:content>

		<media:content url="http://osblues.files.wordpress.com/2008/07/netscape.gif" medium="image">
			<media:title type="html">SPF+compliant+.net+system.net.mail+.mailmessage</media:title>
		</media:content>

		<media:content url="http://osblues.files.wordpress.com/2008/07/yahoo_myweb.gif" medium="image">
			<media:title type="html">SPF+compliant+.net+system.net.mail+.mailmessage</media:title>
		</media:content>

		<media:content url="http://osblues.files.wordpress.com/2008/07/windows_live.gif" medium="image">
			<media:title type="html">SPF+compliant+.net+system.net.mail+.mailmessage</media:title>
		</media:content>
	</item>
		<item>
		<title>Visual Studio 2005 + Vista = Annoying</title>
		<link>http://osblues.com/2007/06/07/visual-studio-2005-vista-annoying/</link>
		<comments>http://osblues.com/2007/06/07/visual-studio-2005-vista-annoying/#comments</comments>
		<pubDate>Thu, 07 Jun 2007 11:28:24 +0000</pubDate>
		<dc:creator>osblues</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Vista]]></category>

		<guid isPermaLink="false">http://www.osblues.com/2007/06/07/visual-studio-2005-vista-annoying/</guid>
		<description><![CDATA[I&#8217;ve recently upgraded to vista on my laptop at work and am getting increasingly annoyed by one &#8216;broken&#8217; aspect. Why can I no longer drag files from an explorer window into a &#8216;Solution Explorer&#8217; in VS? I&#8217;m assuming it&#8217;s something to do with them running as slightly different users as I have to run VS [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=osblues.com&amp;blog=3608927&amp;post=72&amp;subd=osblues&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently upgraded to vista on my laptop at work and am getting increasingly annoyed by one &#8216;broken&#8217; aspect.  Why can I no longer drag files from an explorer window into a &#8216;Solution Explorer&#8217; in VS?</p>
<p>I&#8217;m assuming it&#8217;s something to do with them running as slightly different users as I have to run VS &#8216;as administrator&#8217;, well that&#8217;s what MS advises anyway.</p>
<p>I do hope this is fixed soon!</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/osblues.wordpress.com/72/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/osblues.wordpress.com/72/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/osblues.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/osblues.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/osblues.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/osblues.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/osblues.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/osblues.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/osblues.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/osblues.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/osblues.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/osblues.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/osblues.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/osblues.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/osblues.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/osblues.wordpress.com/72/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=osblues.com&amp;blog=3608927&amp;post=72&amp;subd=osblues&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://osblues.com/2007/06/07/visual-studio-2005-vista-annoying/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f9d46f966c5a85f3238a4543f6ae3979?s=96&#38;d=wavatar&#38;r=R" medium="image">
			<media:title type="html">osblues</media:title>
		</media:content>
	</item>
		<item>
		<title>GetAbsoluteURL (.net)</title>
		<link>http://osblues.com/2006/09/07/getabsoluteurl-net/</link>
		<comments>http://osblues.com/2006/09/07/getabsoluteurl-net/#comments</comments>
		<pubDate>Thu, 07 Sep 2006 21:54:54 +0000</pubDate>
		<dc:creator>osblues</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.osblues.com/2006/09/07/getabsoluteurl-net/</guid>
		<description><![CDATA[I needed a way to easily convert a relative URL to an absolute URL for a link within a project I&#8217;m currently working on. I imagined I&#8217;d have to roll something myself and was starting to think it would have to be pretty complex&#8230; then .net suprised me Public Function GetAbsoluteUrl(ByVal currUrl As String, _ [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=osblues.com&amp;blog=3608927&amp;post=64&amp;subd=osblues&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I needed a way to easily convert a relative URL to an absolute URL for a link within a project I&#8217;m currently working on.  I imagined I&#8217;d have to roll something myself and was starting to think it would have to be pretty complex&#8230; then .net suprised me <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<pre>Public Function GetAbsoluteUrl(ByVal currUrl As String, _
ByVal relUrl As String) As String
Dim baseUrl As New Uri(currUrl)
Dim destUrl As New Uri(baseUrl, relUrl)
Return destUrl.AbsoluteUri
End Function</pre>
<p>Now that is nifty <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/osblues.wordpress.com/64/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/osblues.wordpress.com/64/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/osblues.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/osblues.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/osblues.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/osblues.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/osblues.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/osblues.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/osblues.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/osblues.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/osblues.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/osblues.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/osblues.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/osblues.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/osblues.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/osblues.wordpress.com/64/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=osblues.com&amp;blog=3608927&amp;post=64&amp;subd=osblues&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://osblues.com/2006/09/07/getabsoluteurl-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f9d46f966c5a85f3238a4543f6ae3979?s=96&#38;d=wavatar&#38;r=R" medium="image">
			<media:title type="html">osblues</media:title>
		</media:content>
	</item>
		<item>
		<title>Conditional JavaScript in ASP.Net</title>
		<link>http://osblues.com/2005/11/09/conditional-javascript-in-aspnet/</link>
		<comments>http://osblues.com/2005/11/09/conditional-javascript-in-aspnet/#comments</comments>
		<pubDate>Wed, 09 Nov 2005 23:03:23 +0000</pubDate>
		<dc:creator>osblues</dc:creator>
				<category><![CDATA[.Net]]></category>

		<guid isPermaLink="false">http://www.osblues.com/2005/11/09/conditional-javascript-in-aspnet/</guid>
		<description><![CDATA[Now this is annoying me, I&#8217;m trying to take an existing classic ASP solution and convert it to ASP.Net 2.0 as a learning exercise. The problem is that I&#8217;m struggling to convert this - &#60;head&#62; &#60;title&#62;A Page&#60;/title&#62; &#60;% if intCategoryID &#60; 3 then %&#62; &#60;script language="javaScript" src="http://www.foo.com/foo.js"&#62;&#60;/script&#62; &#60;% end if %&#62; &#60;/head&#62; So, I want [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=osblues.com&amp;blog=3608927&amp;post=50&amp;subd=osblues&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Now this is annoying me, I&#8217;m trying to take an existing classic ASP solution and convert it to ASP.Net 2.0 as a learning exercise.  The problem is that I&#8217;m struggling to convert this -</p>
<pre><code>&lt;head&gt;
&lt;title&gt;A Page&lt;/title&gt;
&lt;% if intCategoryID &lt; 3 then %&gt;
&lt;script language="javaScript"
src="http://www.foo.com/foo.js"&gt;&lt;/script&gt;
&lt;% end if %&gt;
&lt;/head&gt;</code></pre>
<p>So, I want to only include the JavaScript if a condition is met (in this case intCategoryID &lt; 3).  How do I achieve this in ASP.Net??  I have looked at an asp:literal tag to achieve this but Visual Web Developer suggests a literal cannot include child tags (the script tag itself).  Can I add one programmatically from the codebehind?</p>
<p>I hope I can find a solution to this..</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/osblues.wordpress.com/50/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/osblues.wordpress.com/50/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/osblues.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/osblues.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/osblues.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/osblues.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/osblues.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/osblues.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/osblues.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/osblues.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/osblues.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/osblues.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/osblues.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/osblues.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/osblues.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/osblues.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=osblues.com&amp;blog=3608927&amp;post=50&amp;subd=osblues&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://osblues.com/2005/11/09/conditional-javascript-in-aspnet/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f9d46f966c5a85f3238a4543f6ae3979?s=96&#38;d=wavatar&#38;r=R" medium="image">
			<media:title type="html">osblues</media:title>
		</media:content>
	</item>
		<item>
		<title>.NET Framework Version 2.0 Released</title>
		<link>http://osblues.com/2005/10/27/net-framework-version-20-released/</link>
		<comments>http://osblues.com/2005/10/27/net-framework-version-20-released/#comments</comments>
		<pubDate>Thu, 27 Oct 2005 21:24:37 +0000</pubDate>
		<dc:creator>osblues</dc:creator>
				<category><![CDATA[.Net]]></category>

		<guid isPermaLink="false">http://www.osblues.com/2005/10/27/net-framework-version-20-released/</guid>
		<description><![CDATA[The final version of the .Net framework 2.0 has been released, grab it here - Download details: .NET Framework Version 2.0 Redistributable Package (x86)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=osblues.com&amp;blog=3608927&amp;post=49&amp;subd=osblues&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The final version of the .Net framework 2.0 has been released, grab it here -<br />
<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&#38;DisplayLang=en">Download details: .NET Framework Version 2.0 Redistributable Package (x86)</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/osblues.wordpress.com/49/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/osblues.wordpress.com/49/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/osblues.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/osblues.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/osblues.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/osblues.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/osblues.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/osblues.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/osblues.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/osblues.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/osblues.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/osblues.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/osblues.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/osblues.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/osblues.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/osblues.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=osblues.com&amp;blog=3608927&amp;post=49&amp;subd=osblues&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://osblues.com/2005/10/27/net-framework-version-20-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f9d46f966c5a85f3238a4543f6ae3979?s=96&#38;d=wavatar&#38;r=R" medium="image">
			<media:title type="html">osblues</media:title>
		</media:content>
	</item>
		<item>
		<title>Using firefox with Visual Web Developer</title>
		<link>http://osblues.com/2005/10/26/using-firefox-with-visual-web-developer/</link>
		<comments>http://osblues.com/2005/10/26/using-firefox-with-visual-web-developer/#comments</comments>
		<pubDate>Wed, 26 Oct 2005 10:41:35 +0000</pubDate>
		<dc:creator>osblues</dc:creator>
				<category><![CDATA[.Net]]></category>

		<guid isPermaLink="false">http://www.osblues.com/2005/10/26/using-firefox-with-visual-web-developer/</guid>
		<description><![CDATA[One of the things that&#8217;s been really annoying me as that I&#8217;ve been forced to use IE to test pages with the ASP.NET Development Server. This is due to NTLM for authentication to the site. However by following the instructions in the link below, firefox now works (the comma separated list of servers just needs [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=osblues.com&amp;blog=3608927&amp;post=46&amp;subd=osblues&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One of the things that&#8217;s been really annoying me as that I&#8217;ve been forced to use IE to test pages with the ASP.NET Development Server.  This is due to NTLM for authentication to the site.  However by following the instructions in the link below, firefox now works <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   (the comma separated list of servers just needs to be localhost, although I did add my machine name too)<br />
<a href="http://www.cauldwell.net/patrick/blog/PermaLink,guid,c7f1e799-c4ae-4758-9de7-5c3e7a16f3da.aspx">Firefox and Sharepoint</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/osblues.wordpress.com/46/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/osblues.wordpress.com/46/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/osblues.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/osblues.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/osblues.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/osblues.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/osblues.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/osblues.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/osblues.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/osblues.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/osblues.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/osblues.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/osblues.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/osblues.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/osblues.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/osblues.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=osblues.com&amp;blog=3608927&amp;post=46&amp;subd=osblues&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://osblues.com/2005/10/26/using-firefox-with-visual-web-developer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f9d46f966c5a85f3238a4543f6ae3979?s=96&#38;d=wavatar&#38;r=R" medium="image">
			<media:title type="html">osblues</media:title>
		</media:content>
	</item>
		<item>
		<title>Learning ASP.Net 2.0</title>
		<link>http://osblues.com/2005/10/26/learning-aspnet-20/</link>
		<comments>http://osblues.com/2005/10/26/learning-aspnet-20/#comments</comments>
		<pubDate>Wed, 26 Oct 2005 08:35:23 +0000</pubDate>
		<dc:creator>osblues</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.osblues.com/2005/10/26/learning-aspnet-20/</guid>
		<description><![CDATA[I&#8217;m currently trying to learn ASP.Net 2.0 using the new Visual Web Developer Express IDE. This is kind of different for me as I&#8217;ve been a classic ASP developer for many a year now and have always use a text editor for all my development. I&#8217;m guessing the best way to approach this is to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=osblues.com&amp;blog=3608927&amp;post=45&amp;subd=osblues&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently trying to learn <a href="http://beta.asp.net">ASP.Net 2.0</a> using the new <a href="http://lab.msdn.microsoft.com/express/vwd/default.aspx">Visual Web Developer Express</a> IDE.  This is kind of different for me as I&#8217;ve been a classic ASP developer for many a year now and have always use a <a href="http://www.textpad.com">text editor</a> for all my development.  I&#8217;m guessing the best way to approach this is to take an existing ASP solution which I have previously written and try to rewrite it in .Net which is of course a completely different way of thinking.  If anyone has any suggestions of good books/sites or anything I should be using then let me know.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/osblues.wordpress.com/45/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/osblues.wordpress.com/45/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/osblues.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/osblues.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/osblues.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/osblues.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/osblues.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/osblues.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/osblues.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/osblues.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/osblues.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/osblues.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/osblues.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/osblues.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/osblues.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/osblues.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=osblues.com&amp;blog=3608927&amp;post=45&amp;subd=osblues&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://osblues.com/2005/10/26/learning-aspnet-20/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f9d46f966c5a85f3238a4543f6ae3979?s=96&#38;d=wavatar&#38;r=R" medium="image">
			<media:title type="html">osblues</media:title>
		</media:content>
	</item>
	</channel>
</rss>
