<?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>Dev42 - Scottie&#039;s Developer Blog</title>
	<atom:link href="http://dev42.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dev42.wordpress.com</link>
	<description>Developer Readings and Musings</description>
	<lastBuildDate>Tue, 10 Jan 2012 19:04:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='dev42.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/e31f8b5ba3ebafdc8fdece118d93cf4d?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Dev42 - Scottie&#039;s Developer Blog</title>
		<link>http://dev42.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dev42.wordpress.com/osd.xml" title="Dev42 - Scottie&#039;s Developer Blog" />
	<atom:link rel='hub' href='http://dev42.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Make your custom web service work on a SharePoint server</title>
		<link>http://dev42.wordpress.com/2012/01/09/make-your-custom-web-service-work-on-a-sharepoint-server/</link>
		<comments>http://dev42.wordpress.com/2012/01/09/make-your-custom-web-service-work-on-a-sharepoint-server/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 17:56:07 +0000</pubDate>
		<dc:creator>dev42</dc:creator>
				<category><![CDATA[SharePoint/MOSS]]></category>
		<category><![CDATA[Custom Web Service]]></category>
		<category><![CDATA[Deployment]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://dev42.wordpress.com/?p=227</guid>
		<description><![CDATA[So I had written a small web service that uses the SharePoint APIs (the DLLs, not the SP  web services) to update list items on a particular list.  In my dev environment inside visual studio, it works great using ctrl-F5 or F5 to start it.  When I went to deploy it to a shared SharePoint [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dev42.wordpress.com&amp;blog=8576580&amp;post=227&amp;subd=dev42&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So I had written a small web service that uses the SharePoint APIs (the DLLs, not the SP  web services) to update list items on a particular list.  In my dev environment inside visual studio, it works great using ctrl-F5 or F5 to start it.  When I went to deploy it to a shared SharePoint staging environment, I didn&#8217;t know how to set it up.  Initially I tried just copying it into inetpub\wwwroot\myWS\ and marking the folder as an application in IIS, naively thinking that was sufficient.  But since this is SharePoint, of course it just isn&#8217;t!</p>
<p>I did some googling and found a walkthrough from Microsoft: <a title="http://msdn.microsoft.com/en-us/library/ms464040%28office.12%29.aspx" href="http://msdn.microsoft.com/en-us/library/ms464040%28office.12%29.aspx">http://msdn.microsoft.com/en-us/library/ms464040%28office.12%29.aspx</a> (or for 2010:<a title="http://msdn.microsoft.com/en-us/library/ms464040(office.14).aspx" href="http://msdn.microsoft.com/en-us/library/ms464040(office.14).aspx"> http://msdn.microsoft.com/en-us/library/ms464040(office.14).aspx</a>).  At first I thought it seemed odd to have to install my web service to the 12\ISAPI folder where it would get mapped to http://myserver/_vti_bin/, and to have to convert my static wsdl and disco files (generated by VS) to .aspx pages to have them handle the correct path, etc., etc.  I resisted the idea and went home for the day.</p>
<p>The next day I decided to try the walkthrough and sure enough it works great.  So I thought I should jot this down for when I run into it again.  Maybe it will help you some day, too.</p>
<p>EDIT: this link may also prove helpful: <a title="http://www.codeproject.com/KB/sharepoint/MOSS4Devs-08-WebServices.aspx" href="http://www.codeproject.com/KB/sharepoint/MOSS4Devs-08-WebServices.aspx">http://www.codeproject.com/KB/sharepoint/MOSS4Devs-08-WebServices.aspx</a></p>
<br />Filed under: <a href='http://dev42.wordpress.com/category/sharepointmoss/'>SharePoint/MOSS</a> Tagged: <a href='http://dev42.wordpress.com/tag/custom-web-service/'>Custom Web Service</a>, <a href='http://dev42.wordpress.com/tag/deployment/'>Deployment</a>, <a href='http://dev42.wordpress.com/tag/sharepoint/'>SharePoint</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dev42.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dev42.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dev42.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dev42.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dev42.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dev42.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dev42.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dev42.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dev42.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dev42.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dev42.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dev42.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dev42.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dev42.wordpress.com/227/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dev42.wordpress.com&amp;blog=8576580&amp;post=227&amp;subd=dev42&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dev42.wordpress.com/2012/01/09/make-your-custom-web-service-work-on-a-sharepoint-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f55b4e6e14d9681171ee9726fac0747b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dev42</media:title>
		</media:content>
	</item>
		<item>
		<title>Unbinding events using jQuery</title>
		<link>http://dev42.wordpress.com/2011/10/03/unbinding-events-using-jquery/</link>
		<comments>http://dev42.wordpress.com/2011/10/03/unbinding-events-using-jquery/#comments</comments>
		<pubDate>Mon, 03 Oct 2011 22:25:45 +0000</pubDate>
		<dc:creator>dev42</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[event handler]]></category>
		<category><![CDATA[removeAttr]]></category>
		<category><![CDATA[Unbind]]></category>

		<guid isPermaLink="false">http://dev42.wordpress.com/?p=222</guid>
		<description><![CDATA[If and only if you bound your event handler using jQuery's Bind() can you use Unbind() to remove it; otherwise, use removeAttr() instead.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dev42.wordpress.com&amp;blog=8576580&amp;post=222&amp;subd=dev42&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently, I was trying to use jQuery&#8217;s .Unbind() function to remove an onclick event handler that was was being bound elsewhere, out of my control. (Basically I wanted to suppress a &#8220;click to add a new item&#8221; link to force something to be read-only in a 3rd party app.) Frustratingly, I could not seem to get the Unbind() to take effect. I knew my selector was okay, because I could change the background-color of the item I was targeting without issue.</p>
<p>Eventually I googled it and found other people with the same problem. Turns out,<em> jQuery only tracks event handlers that have been bound using jQuery</em>. So, if the event handler was bound declaratively in the HTML markup (or output by some other system/framework), Unbind() won&#8217;t touch it (doesn&#8217;t know about it unless you used Bind() to add it).</p>
<p>The workaround solution is to use .removeAttr(eventname), such as .removeAttr(&#8220;onclick&#8221;). This worked for me and stopped me from banging my head on the wall any further. Hopefully it helps you, too.</p>
<br />Filed under: <a href='http://dev42.wordpress.com/category/asp-net-development/jquery/'>jQuery</a> Tagged: <a href='http://dev42.wordpress.com/tag/event-handler/'>event handler</a>, <a href='http://dev42.wordpress.com/tag/jquery/'>jQuery</a>, <a href='http://dev42.wordpress.com/tag/removeattr/'>removeAttr</a>, <a href='http://dev42.wordpress.com/tag/unbind/'>Unbind</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dev42.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dev42.wordpress.com/222/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dev42.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dev42.wordpress.com/222/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dev42.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dev42.wordpress.com/222/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dev42.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dev42.wordpress.com/222/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dev42.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dev42.wordpress.com/222/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dev42.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dev42.wordpress.com/222/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dev42.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dev42.wordpress.com/222/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dev42.wordpress.com&amp;blog=8576580&amp;post=222&amp;subd=dev42&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dev42.wordpress.com/2011/10/03/unbinding-events-using-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f55b4e6e14d9681171ee9726fac0747b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dev42</media:title>
		</media:content>
	</item>
		<item>
		<title>Code block not allowed in your SharePoint Master Page error</title>
		<link>http://dev42.wordpress.com/2011/02/22/code-block-not-allowed-in-your-sharepoint-master-page-error/</link>
		<comments>http://dev42.wordpress.com/2011/02/22/code-block-not-allowed-in-your-sharepoint-master-page-error/#comments</comments>
		<pubDate>Tue, 22 Feb 2011 19:38:18 +0000</pubDate>
		<dc:creator>dev42</dc:creator>
				<category><![CDATA[SharePoint/MOSS]]></category>
		<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[SharePoint 2007]]></category>

		<guid isPermaLink="false">http://dev42.wordpress.com/?p=215</guid>
		<description><![CDATA[How to fix the old "cold not allowed" error in your SharePoint master page via a web.config setting<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dev42.wordpress.com&amp;blog=8576580&amp;post=215&amp;subd=dev42&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="attachment_219" class="wp-caption alignleft" style="width: 354px"><img class="size-full wp-image-219" title="code_block_not_allowed_exception" src="http://dev42.files.wordpress.com/2011/02/code_block_not_allowed.png?w=500" alt="&quot;Code blocks are not allowed in this file&quot;"   /><p class="wp-caption-text">Code blocks are not allowed in this file</p></div>
<p>I&#8217;m posting this now because I just ran into it for a second time, but had completely forgotten what the issue was when I googled it the first time.  So I&#8217;m posting it here for my convenience, mostly!</p>
<p>If you suddenly start getting an exception from SharePoint stating that code blocks aren&#8217;t allowed in your master page, you need to add a new &lt;PageParserPath&gt; element to web.config to allow the code.  Why this starts happening all of a sudden when the same code block existed in the path previously without the exception, I will never understand.  But the point is, follow the directions in one of these blog postings to resolve it:</p>
<p><a title="http://mystepstones.wordpress.com/2009/02/13/code-blocks-are-not-allowed-in-this-file/" href="http://mystepstones.wordpress.com/2009/02/13/code-blocks-are-not-allowed-in-this-file/">http://mystepstones.wordpress.com/2009/02/13/code-blocks-are-not-allowed-in-this-file/</a></p>
<p><a title="http://svengillis.blogspot.com/2008/03/code-block-are-not-allowed-in-this-file.html" href="http://svengillis.blogspot.com/2008/03/code-block-are-not-allowed-in-this-file.html">http://svengillis.blogspot.com/2008/03/code-block-are-not-allowed-in-this-file.html</a></p>
<p><a title="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/2008/10/10/code-blocks-are-not-allowed-in-this-file.aspx" href="http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/2008/10/10/code-blocks-are-not-allowed-in-this-file.aspx">http://dotnetdeveloper.co.uk/blogs/sharepoint/archive/2008/10/10/code-blocks-are-not-allowed-in-this-file.aspx</a></p>
<br />Filed under: <a href='http://dev42.wordpress.com/category/sharepointmoss/'>SharePoint/MOSS</a> Tagged: <a href='http://dev42.wordpress.com/tag/moss-2007/'>MOSS 2007</a>, <a href='http://dev42.wordpress.com/tag/sharepoint-2007/'>SharePoint 2007</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dev42.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dev42.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dev42.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dev42.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dev42.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dev42.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dev42.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dev42.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dev42.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dev42.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dev42.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dev42.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dev42.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dev42.wordpress.com/215/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dev42.wordpress.com&amp;blog=8576580&amp;post=215&amp;subd=dev42&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dev42.wordpress.com/2011/02/22/code-block-not-allowed-in-your-sharepoint-master-page-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f55b4e6e14d9681171ee9726fac0747b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dev42</media:title>
		</media:content>

		<media:content url="http://dev42.files.wordpress.com/2011/02/code_block_not_allowed.png" medium="image">
			<media:title type="html">code_block_not_allowed_exception</media:title>
		</media:content>
	</item>
		<item>
		<title>Can&#8217;t find the Site Directory template when creating a site in SharePoint 2007?</title>
		<link>http://dev42.wordpress.com/2010/07/20/cant-find-the-site-directory-template-when-creating-a-site-in-sharepoint-2007/</link>
		<comments>http://dev42.wordpress.com/2010/07/20/cant-find-the-site-directory-template-when-creating-a-site-in-sharepoint-2007/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 22:46:32 +0000</pubDate>
		<dc:creator>dev42</dc:creator>
				<category><![CDATA[SharePoint/MOSS]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[Site Directory Template]]></category>
		<category><![CDATA[Site Map]]></category>

		<guid isPermaLink="false">http://dev42.wordpress.com/?p=210</guid>
		<description><![CDATA[Neither could I.  The problem was that I didn’t have the “Office SharePoint Server Enterprise Site Features” site feature and “Office SharePoint Server Enterprise Site Collection Feature” site collection features activated.  Once I activated them, I got the Site Directory as an option as expected. (Note: if you still can&#8217;t see the template after activating [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dev42.wordpress.com&amp;blog=8576580&amp;post=210&amp;subd=dev42&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Neither could I.  The problem was that I didn’t have the “Office SharePoint Server Enterprise Site Features” site feature and “Office SharePoint Server Enterprise Site Collection Feature” site collection features activated.  Once I activated them, I got the Site Directory as an option as expected.</p>
<p>(Note: if you still can&#8217;t see the template after activating those features, try navigating to http://&lt;your_site_root&gt;&gt;/_Layouts/AreaTemplateSettings.aspx and adding the Site Directory template to the available list, then try again.)</p>
<br />Filed under: <a href='http://dev42.wordpress.com/category/sharepointmoss/'>SharePoint/MOSS</a> Tagged: <a href='http://dev42.wordpress.com/tag/sharepoint-2007/'>SharePoint 2007</a>, <a href='http://dev42.wordpress.com/tag/site-directory-template/'>Site Directory Template</a>, <a href='http://dev42.wordpress.com/tag/site-map/'>Site Map</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dev42.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dev42.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dev42.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dev42.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dev42.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dev42.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dev42.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dev42.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dev42.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dev42.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dev42.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dev42.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dev42.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dev42.wordpress.com/210/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dev42.wordpress.com&amp;blog=8576580&amp;post=210&amp;subd=dev42&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dev42.wordpress.com/2010/07/20/cant-find-the-site-directory-template-when-creating-a-site-in-sharepoint-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f55b4e6e14d9681171ee9726fac0747b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dev42</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint 2007 Publsihing Site Stops Recognizing Custom Landing Page</title>
		<link>http://dev42.wordpress.com/2010/07/05/sharepoint-2007-publsihing-site-stops-recognizing-custom-landing-page/</link>
		<comments>http://dev42.wordpress.com/2010/07/05/sharepoint-2007-publsihing-site-stops-recognizing-custom-landing-page/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 19:01:22 +0000</pubDate>
		<dc:creator>dev42</dc:creator>
				<category><![CDATA[SharePoint/MOSS]]></category>
		<category><![CDATA[Landing Page]]></category>
		<category><![CDATA[Publishing site]]></category>
		<category><![CDATA[WSS 2007]]></category>

		<guid isPermaLink="false">http://dev42.wordpress.com/?p=204</guid>
		<description><![CDATA[We updated an existing production site with a new landing page layout and landing page content type, and all hell broke loose.  Here's how we eventually resolved it.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dev42.wordpress.com&amp;blog=8576580&amp;post=204&amp;subd=dev42&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Greetings!  It&#8217;s been a while since I&#8217;ve posted anything, but I&#8217;m hoping this may prove helpful to someone somewhere sometime.</p>
<p>Recently myself and a few other SharePoint team members at my site rolled a number of new and updated features into production.  This was a long and grueling affair, and part of the reason was we spent a few hours on this issue I&#8217;m about to describe.  We never found anyone describe this problem (or solution) through googling, so I&#8217;m either it&#8217;s hard to find, or nobody has talked about it.</p>
<p>We have a custom landing page layout and landing page layout content type that we use on a collaboration site.  A previous version was in production and worked fine.  Part of our big production rollout the other day was to update both the landing page layout and content type.  We deployed these two features in our usual way: by updating the 12-hive, de-activating, install -force&#8217;ing, and [re]activating the features through stsadm on the command line.  The landing page content type activated fine, the landing page page layout activated fine, but we have a 3rd feature which is for the landing page itself (to dynamically create it through some code in FeatureActivated), and it was throwing an index-out-of-bounds exception when we tried to activate it.</p>
<p>Looking at the exception, and the FeatureActivated code, we narrowed it down to what appeared to this block of code:</p>
<pre>SPContentTypeId contentTypeId = new SPContentTypeId(welcomePageLayoutContentTypeId);
PageLayout[] layouts = pubWeb.GetAvailablePageLayouts(contentTypeId);
PageLayout welcomePageLayout = layouts[0];
page = pubWeb.GetPublishingPages().Add(dcsLandingPageFileName, welcomePageLayout);</pre>
<p>Specifically, to the layouts[0].  This seemed to indicate that GetAvailablePageLayouts was not returning our custom landing page layout associated with our custom landing page content type.</p>
<p>We spent some time re-deploying all 3 features again with no success at that last step.  We made sure that the content type looked up to date, that the Master Pages and Page Layouts gallery had the most recent version of the page layout, that the page layout was correctly associated with the landing page content type, that we had deleted the old landing page from the Pages library, etc., etc.   Nothing we tried helped.</p>
<p>Eventually through some googling, another member of my team found this installable feature that lets you do a number of things, among them to enumerate all the available page layouts to the command line.  The feature is described here <a title="http://stsadm.blogspot.com/2007/08/enumerate-available-page-layouts.html" href="http://stsadm.blogspot.com/2007/08/enumerate-available-page-layouts.html">http://stsadm.blogspot.com/2007/08/enumerate-available-page-layouts.html</a>.</p>
<p>Once we had installed and ran that feature, we discovered that our custom landing page layout was not showing up in the list.  We re-verified the the site settings that the page layout was in the gallery and was associated to the page layout content type, and that the content type was installed correctly, etc., but nothing seemed to help.</p>
<p>Then we finally had a break-through:  looking at the enumerated available page layouts listing from the stsadm tool, we noticed that not only was our custom page layout not showing, but a number of other page layouts were missing, all of which were out of the box SharePoint Publishing content types!  We determined this by comparing the enmerated page layouts list on our &#8220;broken&#8221; site vs. the list on another site using the same lading page that was functioning correctly.</p>
<p>This lead us to the Site Collection Features and Site Features pages to verify that publishing was enabled.  It was.  We were further stumped.  On a whim, we decided to try de-activating both features and re-activating them.  Guess what&#8211;this solved our problem!</p>
<p>So even though publishing appeared to be enabled, somehow, bizarrely, it was actually broken.  Flipping the switch on and off resolved this, after a few hours of face-palming and much stress.  I hope this tale may help you if you ever run into this.  It&#8217;s worth a shot!</p>
<br />Filed under: <a href='http://dev42.wordpress.com/category/sharepointmoss/'>SharePoint/MOSS</a> Tagged: <a href='http://dev42.wordpress.com/tag/landing-page/'>Landing Page</a>, <a href='http://dev42.wordpress.com/tag/publishing-site/'>Publishing site</a>, <a href='http://dev42.wordpress.com/tag/wss-2007/'>WSS 2007</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dev42.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dev42.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dev42.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dev42.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dev42.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dev42.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dev42.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dev42.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dev42.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dev42.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dev42.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dev42.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dev42.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dev42.wordpress.com/204/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dev42.wordpress.com&amp;blog=8576580&amp;post=204&amp;subd=dev42&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dev42.wordpress.com/2010/07/05/sharepoint-2007-publsihing-site-stops-recognizing-custom-landing-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f55b4e6e14d9681171ee9726fac0747b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dev42</media:title>
		</media:content>
	</item>
		<item>
		<title>Top 20 Essential Firefox Add-ons for Web Devs</title>
		<link>http://dev42.wordpress.com/2009/11/12/top-20-essential-firefox-add-ons-for-web-devs/</link>
		<comments>http://dev42.wordpress.com/2009/11/12/top-20-essential-firefox-add-ons-for-web-devs/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 19:37:11 +0000</pubDate>
		<dc:creator>dev42</dc:creator>
				<category><![CDATA[ASP.net Development]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[FireFox Developer Add-ons]]></category>
		<category><![CDATA[Add-ons]]></category>
		<category><![CDATA[FireFox]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Designer]]></category>
		<category><![CDATA[Web Developer]]></category>
		<category><![CDATA[Web Deveopment]]></category>

		<guid isPermaLink="false">http://dev42.wordpress.com/?p=192</guid>
		<description><![CDATA[Link to a great listing of 20 handy FireFox add-ons for Web Designers and Developers.  Some you'll likely already know and love, but maybe you'll find something new for your tool belt!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dev42.wordpress.com&amp;blog=8576580&amp;post=192&amp;subd=dev42&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a handy listing of <a href="http://sixrevisions.com/tools/top-20-essential-firefox-add-ons-web-designers/">20 Essential FF Add-ons for Web Designers</a> (and Developers, IMHO).</p>
<p>Some of these I already know about and use a few (Firebug, Web Developer, IE Tab, YSlow), but I intend to add a few more to toolbox (Window Resizer, Page Diff, CSS Viewer).  The rest seem to either not very useful to me personally, or are duplicates of functionality I already get from Firebug and/or Web Developer, but hey, YMMV!</p>
<p>Be sure to hit up the hyperlink above for the full blog post!</p>
<br />Posted in ASP.net Development, CSS, FireFox Developer Add-ons Tagged: Add-ons, FireFox, Web Design, Web Designer, Web Developer, Web Deveopment <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dev42.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dev42.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dev42.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dev42.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dev42.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dev42.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dev42.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dev42.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dev42.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dev42.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dev42.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dev42.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dev42.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dev42.wordpress.com/192/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dev42.wordpress.com&amp;blog=8576580&amp;post=192&amp;subd=dev42&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dev42.wordpress.com/2009/11/12/top-20-essential-firefox-add-ons-for-web-devs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f55b4e6e14d9681171ee9726fac0747b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dev42</media:title>
		</media:content>
	</item>
		<item>
		<title>Breaking news, C# 4.0 finally catches up to Classic VB!</title>
		<link>http://dev42.wordpress.com/2009/11/09/breaking-news-c-4-0-finally-catches-up-to-classic-vb/</link>
		<comments>http://dev42.wordpress.com/2009/11/09/breaking-news-c-4-0-finally-catches-up-to-classic-vb/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 17:43:04 +0000</pubDate>
		<dc:creator>dev42</dc:creator>
				<category><![CDATA[ASP.NET 4.0]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[C# 4.0]]></category>
		<category><![CDATA[named arguments]]></category>
		<category><![CDATA[optional parameters]]></category>
		<category><![CDATA[VB6]]></category>

		<guid isPermaLink="false">http://dev42.wordpress.com/?p=186</guid>
		<description><![CDATA[C# 4.0 finally catches up with classic VB in offering formal optional parameters and named arguments.  Welcome to the '90s!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dev42.wordpress.com&amp;blog=8576580&amp;post=186&amp;subd=dev42&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This bit of nostalgic humour will be lost on n00b developers, or anyone lucky enough to have missed out on developing in VB6 (or older&#8211;I think these features were introduced in VB4 or 5, but can&#8217;t recall for sure).</p>
<p><strong><a href="http://cherupally.blogspot.com/2009/11/c-40-new-features-named-and-optional.html">C# has finally decided to embrace optional parameters and named arguments!</a></strong></p>
<p>That&#8217;s right.  It <em>only </em>took 4 versions to catch up to what you were doing well before the .NET days.  Oh well, better late than never!</p>
<p>Of course, you could at least partially work around this in C# 3.0 and older by putting the method implementation in the most verbose signature version of your method and creating any number of overloads needed.</p>
<p>Using the example from the blog posting linked above (please read it before continuing), you&#8217;d create:</p>
<p>//main method with all the parameters and full implementation<br />
public void SomeMethod(int a, int b, int c)<br />
{<br />
/* put the actual implementation here */<br />
}</p>
<p>//overload to omit the <strong>c</strong> parameter and default to 100<br />
public void SomeMethod(int a, int b)<br />
{<br />
SomeMethod(a, b, 100);<br />
}</p>
<p>//overload to omit the <strong>b </strong>and <strong>c </strong>parameters and use the defaults 50 and 100, respectively<br />
public void SomeMethod(int a)<br />
{<br />
SomeMethod(a, 50, 100);<br />
}</p>
<p>However, if we then want an overload that omits the <strong>b</strong> parameter only, we run into trouble.  If we try this:</p>
<p>public void SomeMethod(int a, int c)<br />
{<br />
SomeMethod(a, 50, 100);<br />
}</p>
<p>We would end up with a compile error, since the signature of this overload would be the same as the first overload I declared above, namely:</p>
<p>public void SomeMethod(int, int)</p>
<p>If a, b, and c were of different datatypes, we could declare any combination of parameters, but this example of all int&#8217;s does demonstrate the weakness of this approach, and why the new <a href="http://cherupally.blogspot.com/2009/11/c-40-new-features-named-and-optional.html">optional parameters and named arguments</a> is so exciting!</p>
<br />Posted in ASP.NET 4.0, C# Tagged: C# 4.0, named arguments, optional parameters, VB6 <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dev42.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dev42.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dev42.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dev42.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dev42.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dev42.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dev42.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dev42.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dev42.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dev42.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dev42.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dev42.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dev42.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dev42.wordpress.com/186/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dev42.wordpress.com&amp;blog=8576580&amp;post=186&amp;subd=dev42&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dev42.wordpress.com/2009/11/09/breaking-news-c-4-0-finally-catches-up-to-classic-vb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f55b4e6e14d9681171ee9726fac0747b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dev42</media:title>
		</media:content>
	</item>
		<item>
		<title>Patterns and Practices Application Architecture Book v2.0</title>
		<link>http://dev42.wordpress.com/2009/11/05/patterns-and-practices-application-architecture-book-v2-0/</link>
		<comments>http://dev42.wordpress.com/2009/11/05/patterns-and-practices-application-architecture-book-v2-0/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 23:58:59 +0000</pubDate>
		<dc:creator>dev42</dc:creator>
				<category><![CDATA[Architecture & Design]]></category>
		<category><![CDATA[ASP.net Development]]></category>
		<category><![CDATA[Books]]></category>
		<category><![CDATA[Application Architecture]]></category>
		<category><![CDATA[Free online book]]></category>
		<category><![CDATA[Patterns and Practices Group]]></category>

		<guid isPermaLink="false">http://dev42.wordpress.com/?p=183</guid>
		<description><![CDATA[Patterns and Practices Application Architecture Book is now available online (for free) and in print<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dev42.wordpress.com&amp;blog=8576580&amp;post=183&amp;subd=dev42&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>From <a href="http://twitter.com/scottgu">Scott Gutherie</a>: Patterns and Practices Application Architecture Book is now available online (for free) and in print: <a href="http://bit.ly/dzpvJ">http://bit.ly/dzpvJ</a></p>
<p>&nbsp;</p>
<br />Posted in Architecture &amp; Design, ASP.net Development, Books Tagged: Application Architecture, Free online book, Patterns and Practices Group <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dev42.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dev42.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dev42.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dev42.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dev42.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dev42.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dev42.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dev42.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dev42.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dev42.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dev42.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dev42.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dev42.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dev42.wordpress.com/183/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dev42.wordpress.com&amp;blog=8576580&amp;post=183&amp;subd=dev42&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dev42.wordpress.com/2009/11/05/patterns-and-practices-application-architecture-book-v2-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f55b4e6e14d9681171ee9726fac0747b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dev42</media:title>
		</media:content>
	</item>
		<item>
		<title>Copy Source As HTML &#8211; An Alternative to Snipet.org, Codepaste.net, etc.</title>
		<link>http://dev42.wordpress.com/2009/10/18/copy-source-as-html-an-alternative-to-snipet-org-codepaste-net-etc/</link>
		<comments>http://dev42.wordpress.com/2009/10/18/copy-source-as-html-an-alternative-to-snipet-org-codepaste-net-etc/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 00:08:51 +0000</pubDate>
		<dc:creator>dev42</dc:creator>
				<category><![CDATA[Developer Blogging]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[CopySourceAsHTML]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Visual Studio Plug-ins]]></category>

		<guid isPermaLink="false">http://dev42.wordpress.com/?p=180</guid>
		<description><![CDATA[A VS plugin that allows you to copy syntax-highlighted code as HTML for posting on your blog<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dev42.wordpress.com&amp;blog=8576580&amp;post=180&amp;subd=dev42&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A little while ago when I first started blogging I posted about a <a href="http://dev42.wordpress.com/2009/07/15/use-snipit-org-to-publicly-post-code-snipets/">couple of handy sites for posting syntax-highlighted chunks of code</a>.  I&#8217;ve been using codepaste.net since then, but it&#8217;s not always easy to integrate the results with my WordPress blog.</p>
<p>But recently I <a href="http://weblogs.asp.net/paxer/archive/2009/10/14/syntax-highlighting-for-blog-posts-visual-studio-2008-plugin.aspx">read about of Copy Source As HTML</a>, a plug-in for Visual Studio that allows you to copy some code as raw HTML, complete with all the syntax highlighting, optional line numbers, and other options.  I&#8217;m going to start using it the next time I post code.  I think it will be very handy.</p>
<br />Posted in Developer Blogging Tagged: Code Snippets, CopySourceAsHTML, Developer Blogging, Visual Studio, Visual Studio Plug-ins <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dev42.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dev42.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dev42.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dev42.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dev42.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dev42.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dev42.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dev42.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dev42.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dev42.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dev42.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dev42.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dev42.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dev42.wordpress.com/180/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dev42.wordpress.com&amp;blog=8576580&amp;post=180&amp;subd=dev42&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dev42.wordpress.com/2009/10/18/copy-source-as-html-an-alternative-to-snipet-org-codepaste-net-etc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f55b4e6e14d9681171ee9726fac0747b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dev42</media:title>
		</media:content>
	</item>
		<item>
		<title>Some ASP.NET 4.0 Compatibility and Enhancement info</title>
		<link>http://dev42.wordpress.com/2009/10/18/some-asp-net-4-0-compatibility-and-enhancement-info/</link>
		<comments>http://dev42.wordpress.com/2009/10/18/some-asp-net-4-0-compatibility-and-enhancement-info/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 22:10:31 +0000</pubDate>
		<dc:creator>dev42</dc:creator>
				<category><![CDATA[ASP.NET 4.0]]></category>
		<category><![CDATA[ASP.net Development]]></category>
		<category><![CDATA[Backward-Compatibility]]></category>
		<category><![CDATA[Enhanements]]></category>
		<category><![CDATA[VS2010]]></category>

		<guid isPermaLink="false">http://dev42.wordpress.com/?p=176</guid>
		<description><![CDATA[Some quotes from Scott Gutherie tweets this afternoon about ASP.NET 4.0 changes and compatibility<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dev42.wordpress.com&amp;blog=8576580&amp;post=176&amp;subd=dev42&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://twitter.com/scottgu">Scott Gutherie</a> posted some interesting tidbits about the upcoming ASP.NET 4.0 this afternoon:</p>
<blockquote>
<ul>
<li>ASP.NET 4.0 is additive over 3.5, nothing dropped. There are nice API/behavior improvements, but existing code all still works</li>
<li>NET 4 is a full release with a new CLR version # (unlike 3.5).  Here is a blog post about that <a rel="nofollow" href="http://tinyurl.com/4multi" target="_blank">http://tinyurl.com/4multi</a></li>
<li>Despite being side by side and a new version number, the features in 4.0 it are still compatible so it is easy to upgrade</li>
<li>Controls in ASP.NET 4 have updated markup/rendering for easier CSS.  eg: &lt;asp:menu&gt; now uses &lt;ul&gt;&lt;li&gt; elements</li>
<li>New 4.0 projects by default use CSS rendering/output of controls. Upgaded projects can still use old rendering, avoiding breaking changes</li>
<li>ASP.NET 4.0 control output (css vs. tables) &amp; ID generation modes can be configured for any project w/ &lt;pages&gt; section in web.config</li>
<li>The goal is no more need for CSS control adapters.  ASP.NET controls in 4.0 now output clean markup by default</li>
<li>ASP.NET 4.0 controls have a ClientIDMode property (which is inherited from parent, so you can set once and/or override)  <em> [I previously <a href="http://dev42.wordpress.com/2009/08/07/asp-net-4-0-finally-adds-control-of-clientids/">blogged about this</a>]</em></li>
<li>ClientIDMode can be &#8220;static&#8221; &#8211; which means id you set is what is output to client. No more ID concatination. Ideal for CSS/JS</li>
<li>If ClientIDMode is &#8220;predictable&#8221;, id values are concatinated but clean (no more ctrl_). Better for nested list controls</li>
<li><strong>Yes &#8211; ASP.NET 4.0 and .NET 4.0 Beta 2 will support a &#8220;go live&#8221; license. Really, really soon now&#8230; stay tuned <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </strong> <em>[my emphasis, not Gutherie's]</em></li>
<li>10 Features why ASP.NET 4 is better for public websites&#8221; &#8211; <a href="http://tinyurl.com/asp4improvements">http://tinyurl.com/asp4improvements</a></li>
</ul>
</blockquote>
<p><em>[Bonus item not tweeted this afternoon:]</em> <a href="http://weblogs.asp.net/scottgu/archive/2009/10/13/url-routing-with-asp-net-4-web-forms-vs-2010-and-net-4-0-series.aspx">URL Routing with ASP.NET 4 Web Forms</a></p>
<p>Sounds like some great improvements coming!</p>
<br />Posted in ASP.NET 4.0, ASP.net Development Tagged: ASP.NET 4.0, Backward-Compatibility, Enhanements, VS2010 <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dev42.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dev42.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dev42.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dev42.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dev42.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dev42.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dev42.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dev42.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dev42.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dev42.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dev42.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dev42.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dev42.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dev42.wordpress.com/176/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dev42.wordpress.com&amp;blog=8576580&amp;post=176&amp;subd=dev42&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dev42.wordpress.com/2009/10/18/some-asp-net-4-0-compatibility-and-enhancement-info/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f55b4e6e14d9681171ee9726fac0747b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dev42</media:title>
		</media:content>
	</item>
	</channel>
</rss>
