<?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>siliconpizza.com &#187; C#</title>
	<atom:link href="http://siliconpizza.com/blog/tag/c/feed/" rel="self" type="application/rss+xml" />
	<link>http://siliconpizza.com</link>
	<description>I'll have a slice of that</description>
	<lastBuildDate>Mon, 18 Jan 2010 10:46:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<style type="text/css">
@import url(http://www.google.com/cse/api/branding.css);
</style>
<div class="cse-branding-right" style="background-color:#FFFFFF;color:#000000">
  <div class="cse-branding-form">
    <form action="http://www.google.co.uk/cse" id="cse-search-box" target="_blank">
      <div>
        <input type="hidden" name="cx" value="partner-pub-0990092444456571:mfibeucn22n" />
        <input type="hidden" name="ie" value="ISO-8859-1" />
        <input type="text" name="q" size="31" />
        <input type="submit" name="sa" value="Search" />
      </div>
    </form>
  </div>
  <div class="cse-branding-logo">
    <img src="http://www.google.com/images/poweredby_transparent/poweredby_FFFFFF.gif" alt="Google" />
  </div>
  <div class="cse-branding-text">
    Custom Search
  </div>
</div>

<script type="text/javascript"><!--
google_ad_client = "pub-0990092444456571";
/* 728x90, created 7/24/08 */
google_ad_slot = "4348084769";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>	<item>
		<title>Twitter and .NET</title>
		<link>http://siliconpizza.com/blog/2009/04/22/twitter-and-net/</link>
		<comments>http://siliconpizza.com/blog/2009/04/22/twitter-and-net/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 12:27:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://siliconpizza.com/?p=292</guid>
		<description><![CDATA[Just found a .NET twitter api class, i can feel some automated twittering comming on http://is.gd/3a9X]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=8cc0ef4416d627c65d4771f7e5701b17&amp;default=' alt='No Gravatar' width=40 height=40/><p><span class="status-body"><span class="entry-content">Just found a .NET twitter api class, i can feel some automated twittering comming on <a rel="nofollow" href="http://is.gd/3a9X" target="_blank">http://is.gd/3a9X</a></span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://siliconpizza.com/blog/2009/04/22/twitter-and-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C# admin for Distributed file System link</title>
		<link>http://siliconpizza.com/blog/2008/06/18/c-admin-for-distributed-file-system-link/</link>
		<comments>http://siliconpizza.com/blog/2008/06/18/c-admin-for-distributed-file-system-link/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 14:52:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[DFS]]></category>
		<category><![CDATA[Dsitributed File System]]></category>

		<guid isPermaLink="false">http://siliconpizza.com/blog/2008/06/18/c-admin-for-distributed-file-system-link/</guid>
		<description><![CDATA[I am heavily involved in designing, building some large intranet and internet Microsoft based web hosting platforms. Many of these platforms are designed to allow consolidation of existing applications on to a load balanced web farm. As the quality of the source code is unknown , and many employ file upload techniques I extensively use [...]]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=8cc0ef4416d627c65d4771f7e5701b17&amp;default=' alt='No Gravatar' width=40 height=40/><p>I am heavily involved in designing, building some large intranet and internet Microsoft based web hosting platforms. Many of these platforms are designed to allow consolidation of existing applications on to a load balanced web farm. As the quality of the source code is unknown , and many employ file upload techniques I extensively use a CIFS backend for web content, once you get past all the smoke and mirrors with IIS connecting to content on the UNC share. You have to consider how this UNC path is managed. To reduce any future implications of file server changes DFS provides an excellent way to alias in the REAL UNC path in a manner which is understood by all of the modern windows operating systems. But then you have to create and possibly destroy DFS links on the fly , as part of your automated site creation processes.<br />
Version 1 of my automation scripts, used a SHELL to  call DFSCMD.exe, while this works it is less than ideal,</p>
<p>After many hour of internet searching,   I came across <a href="http://pinvoke.net/">http://pinvoke.net</a> and  a few articles on calling netapi32.dll from c#<br />
<a href="http://jkhines.com/blogs/code/archive/2007/12/15/access-dfs-from-net-posted.aspx">http://jkhines.com/blogs/code/archive/2007/12/15/access-dfs-from-net-posted.aspx</a><br />
<a href="http://msdn.microsoft.com/en-us/library/bb524805(VS.85).aspx">http://msdn.microsoft.com/en-us/library/bb524805(VS.85).aspx</a></p>
<p>A FEW hours later I have a working .net 3.5 assembly to add and remove DFS links, Sorted</p>
<p><a href="http://siliconpizza.com/docs/DFSClass.zip">Download the source here<br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://siliconpizza.com/blog/2008/06/18/c-admin-for-distributed-file-system-link/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
