<?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; ASP.NET</title>
	<atom:link href="http://siliconpizza.com/blog/tag/aspnet/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>ASP.NET, Assemblies, UNC based content, Security and AJAX</title>
		<link>http://siliconpizza.com/blog/2008/07/09/aspnet-assemblies-unc-based-content-security-and-ajax/</link>
		<comments>http://siliconpizza.com/blog/2008/07/09/aspnet-assemblies-unc-based-content-security-and-ajax/#comments</comments>
		<pubDate>Wed, 09 Jul 2008 10:05:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[.NET assmblies]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Security.config]]></category>
		<category><![CDATA[UNC based content]]></category>

		<guid isPermaLink="false">http://siliconpizza.com/?p=268</guid>
		<description><![CDATA[Like many, my preferred web platform, (done a few intranet and internet) uses a CIFS based backend content store and unique AD based application pool identities for EACH application. This has several plus points. Add to this a tweaked .NET medium trust and you have a secure and scalable platform. But that is where the [...]]]></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>Like many, my preferred web platform, (done a few intranet and internet) uses a CIFS based backend content store and unique AD based application pool identities for EACH application. This has several plus points. Add to this a tweaked .NET medium trust and you have a secure and scalable platform.</p>
<p>But that is where the fun starts</p>
<p><span id="more-268"></span>.NET needs to trust the code it is being asked to run, which by default only include local disks, so code on a UNC path is not trusted by default. Fortunately for .NET 2.0 that is fairly easy and the following command will arrange that for you&#8230;</p>
<p>caspol -machine -addgroup 1. -url <a href="//host/SHARE/">\\HOST\SHARE\</a>* FullTrust</p>
<p>OR  so you would think</p>
<p>One of the platforms which had passed all of its Accept into Service tests, and was happily running a handful of websites doing all manner of stuff, was refusing to correctly interpret a simple parameter, on one web site. A web site using the <a href="http://www.asp.net/ajax/ajaxcontroltoolkit/">“ajaxcontroltoolkit.dll”</a>, in the &lt;controls&gt; section of the web.config file the line <br />
<strong>&lt;add namespace=&#8221;AjaxControlToolkit&#8221; assembly=&#8221;AjaxControlToolkit&#8221; tagPrefix=&#8221;ajaxToolkit&#8221;/&gt;”<br />
</strong>was being completely ignored. It was not a case of the assembly was not being found as some code which created a NEW object based on a class in the assembly (Dim mp As AjaxControlToolkit.ModalPopupExtender) worked fine, but any attempt to us a ajaxToolkit tag “<strong>&lt;ajaxToolkit:ModalPopupExtender</strong> ” failed with a “<strong>Parser Error Message: </strong>Unknown server tag &#8216;ajaxToolkit:ModalPopupExtender&#8217;.”</p>
<p>Various tests on the same code on servers with local content all worked, and in fact it works on the (unc based) Development platform too.. (lot of head scratching followed)</p>
<p>Anyway after 15 hours of digging to locate the fault, is came down to a missing “\”<br />
<strong>caspol -machine -addgroup 1. -url </strong><a href="//host/SHARE/"><strong>\\HOST\SHARE\</strong></a><strong>* FullTrust</strong><br />
compared to<br />
<strong>caspol -machine -addgroup 1. -url </strong><a href="//host/SHARE"><strong>\\HOST\SHARE</strong></a><strong>* FullTrust</strong></p>
<p>All fixed and working now <img src='http://siliconpizza.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><strong>A FEW WORDS OF ADVICE, </strong></p>
<ul>
<li>Changes to security.config doe not force a recompile</li>
<li>When faulting an ASP.NET config issue, always do and IISreset and clear the compilation cache before each test.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://siliconpizza.com/blog/2008/07/09/aspnet-assemblies-unc-based-content-security-and-ajax/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Enter the Dragon, To Cold Fusion or not to Cold Fusion</title>
		<link>http://siliconpizza.com/blog/2008/05/08/enter-the-dragon-to-cold-cusion-or-not-to-cold-fusion/</link>
		<comments>http://siliconpizza.com/blog/2008/05/08/enter-the-dragon-to-cold-cusion-or-not-to-cold-fusion/#comments</comments>
		<pubDate>Thu, 08 May 2008 08:54:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Cold Fusion]]></category>
		<category><![CDATA[J2EE]]></category>
		<category><![CDATA[POC]]></category>

		<guid isPermaLink="false">http://siliconpizza.com/blog/2008/05/08/enter-the-dragon-to-cold-cusion-or-not-to-cold-fusion/</guid>
		<description><![CDATA[The use of Cold fusion is wide spread in many Internet and intranet environments. www.myspace.com is Cold Fusion based for example. It is an interesting thing to setup, the Adobe Cold Fusion server runs in a J2EE container, typically adobe JRUN. So what you have is a J2EE app, which instead of producing the HTML [...]]]></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>The use of Cold fusion is wide spread in many Internet and intranet environments. <a href="http://www.myspace.com/">www.myspace.com</a> is Cold Fusion based for example. It is an interesting thing to setup, the Adobe Cold Fusion server runs in a J2EE container, typically adobe JRUN. So what you have is a J2EE app, which instead of producing the HTML responses, interprets the CFML tags to render the HTML is a dynamic manor.</p>
<p>The use of J2EE makes it somewhat interesting when you have to track down rogue code inside and application. When you look into the J2EE process with standard windows tools yoiu can only see the J2EE code, not the CFML. This makes fine tuning and fixing a suspect application a bit of a black art.</p>
<p>Enter the (Blue) Dragon from <a href="http://www.newatlanta.com/products/bluedragon/index.cfm">New Atlanta</a>. Written in J# (so still java based) it allows CFML 7.01 tags to be interpreted by an ASP.NET engine, will all the .NET benefits around process monitoring, and managing run away CPU and memory.</p>
<p>Time for a POC!</p>
]]></content:encoded>
			<wfw:commentRss>http://siliconpizza.com/blog/2008/05/08/enter-the-dragon-to-cold-cusion-or-not-to-cold-fusion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Application Coding best practices</title>
		<link>http://siliconpizza.com/blog/2008/05/06/application-coding-best-practices/</link>
		<comments>http://siliconpizza.com/blog/2008/05/06/application-coding-best-practices/#comments</comments>
		<pubDate>Tue, 06 May 2008 10:01:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Coding Standards]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://siliconpizza.com/blog/2008/05/06/application-coding-best-practices/</guid>
		<description><![CDATA[Over the past 4 years I have had to work with some of the best web application developers I have ever met, unfortunately I have also had the miss-fortune of working with some of the worst developers on the planet. With this in mind, while attending the Microsoft 2008 launch event,  I was very impressed [...]]]></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>Over the past 4 years I have had to work with some of the best web application developers I have ever met, unfortunately I have also had the miss-fortune of working with some of the worst developers on the planet.<br />
With this in mind, while attending the Microsoft 2008 launch event,  I was very impressed to pick up a book entitled “the Developer Highway code : The drive for safer coding!” <br />
This book is fantastic, and has hundreds of coding guidelines and server configuration recommendations. And absolute MUST read for any ASP, ASP.NET developer and / or web server support staff.</p>
<p>The best bit, it is available as a free ebook, from Microsoft:<br />
<a href="http://download.microsoft.com/documents/uk/msdn/devdave/mic472_dev_highway_all.pdf">http://download.microsoft.com/documents/uk/msdn/devdave/mic472_dev_highway_all.pdf</a></p>
]]></content:encoded>
			<wfw:commentRss>http://siliconpizza.com/blog/2008/05/06/application-coding-best-practices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
