<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Attis on SharePoint and More...</title><link>http://wssguy.com/blogs/dan/default.aspx</link><description>My ideas, challenges and solutions to some of the world&amp;#39;s problems using SharePoint as a development platform.</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 (Build: 30929.2835)</generator><geo:lat>34.032532</geo:lat><geo:long>-84.317749</geo:long><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/Attis" type="application/rss+xml" /><item><title>I'm Moving On</title><link>http://feeds.feedburner.com/~r/Attis/~3/485553990/i-m-moving-on.aspx</link><pubDate>Mon, 15 Dec 2008 13:45:28 GMT</pubDate><guid isPermaLink="false">b0bcabdc-df46-463f-8d7a-8dcc073b4635:53</guid><dc:creator>J. Dan Attis</dc:creator><slash:comments>3</slash:comments><wfw:comment>http://wssguy.com/blogs/dan/commentapi.aspx?PostID=53</wfw:comment><comments>http://wssguy.com/blogs/dan/archive/2008/12/15/i-m-moving-on.aspx#comments</comments><description>&lt;p&gt;Let me start this post by saying that I am very excited.&amp;nbsp; I have a new job!&amp;nbsp; After working the past 20 months for quite possibly the best consulting company in the country as far as I am concerned, I have decided to make a move.&amp;nbsp; Not only was &lt;a href="http://www.slalom.com/" target="_blank"&gt;Slalom Consulting&lt;/a&gt; a great place to work, but the people there were fantastic.&amp;nbsp; It is them I will miss the most.&amp;nbsp; I thoroughly enjoyed my time there and wish the organization the best.&lt;/p&gt; &lt;p&gt;So where am I going?&amp;nbsp; I am joining the team at &lt;a href="http://www.bandrsolutions.com/" target="_blank"&gt;B&amp;amp;R Business Solutions&lt;/a&gt;!&amp;nbsp; I will be working with some very smart people as well as some fellow SharePoint MVP&amp;#39;s.&amp;nbsp; Some of those people include, but are not necessarily limited to &lt;a href="http://www.sharepointblogs.com/JasonMedero/default.aspx" target="_blank"&gt;Jason Medero&lt;/a&gt;, &lt;a href="http://cregan.wordpress.com/" target="_blank"&gt;Chris Regan&lt;/a&gt;, &lt;a href="http://bobfox.securespsite.com/FoxBlog/default.aspx" target="_blank"&gt;Bob Fox&lt;/a&gt;, &lt;a href="http://www.sharepointbrainfreeze.com/default.aspx" target="_blank"&gt;Josh Carlisle&lt;/a&gt;, and &lt;a href="http://blog.michaellotter.com/" target="_blank"&gt;Michael Lotter&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;I will be working from home.&amp;nbsp; This means a lot to me since I was averaging about 2 hours a day in the car commuting.&amp;nbsp; I also tended to eat out every day.&amp;nbsp; Now I will be able to enjoy more time at home with my family.&lt;/p&gt; &lt;p&gt;Technically, I don&amp;#39;t start until January 5th.&amp;nbsp; I am heading home to Moncton, New Brunswick, Canada next Saturday to spend the holidays with our families.&amp;nbsp; Jody and Lily flew out last Friday and I miss them already.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://wssguy.com/aggbug.aspx?PostID=53" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/Attis?a=R3G8O"&gt;&lt;img src="http://feeds.feedburner.com/~f/Attis?i=R3G8O" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Attis/~4/485553990" height="1" width="1"/&gt;</description><category domain="http://wssguy.com/blogs/dan/archive/tags/Personal/default.aspx">Personal</category><feedburner:origLink>http://wssguy.com/blogs/dan/archive/2008/12/15/i-m-moving-on.aspx</feedburner:origLink></item><item><title>MSDN Developer Conference</title><link>http://feeds.feedburner.com/~r/Attis/~3/466164892/msdn-developer-conference.aspx</link><pubDate>Wed, 26 Nov 2008 13:13:35 GMT</pubDate><guid isPermaLink="false">b0bcabdc-df46-463f-8d7a-8dcc073b4635:25</guid><dc:creator>J. Dan Attis</dc:creator><slash:comments>0</slash:comments><wfw:comment>http://wssguy.com/blogs/dan/commentapi.aspx?PostID=25</wfw:comment><comments>http://wssguy.com/blogs/dan/archive/2008/11/26/msdn-developer-conference.aspx#comments</comments><description>&lt;p&gt;If you haven&amp;#39;t heard already, Microsoft has put together what you could call a mini conference.&amp;nbsp; If you missed PDC, this will be a pretty good wrap up of what happened.&amp;nbsp; For only 99 bucks, you can get the best of PDC in your own backyard (Atlanta) and hear all the news around Windows 7 and the Azure Services Platform as well as all the other great announcements that have been made over the last couple of months.&amp;nbsp; Here is an excerpt from the conference site:&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;The MDC will give you a glimpse into the future of the Microsoft Application Platform. You will experience Microsoft’s vision for Cloud Computing, our Internet services platform that will enable you to extend existing solutions, creating applications that seamlessly bridge the gaps between PC, Web, and phone. Be among the first to see the full range of advances in Windows 7, the next major version of the Windows client operating system. Sessions include the latest developments in .NET, Silverlight, Live Mesh, and more.&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;Here is the link to the conference registration site.&amp;nbsp; Hurry up as space is filling up fast!&amp;nbsp; Hope to see you there!&lt;/p&gt; &lt;p&gt;&lt;a title="http://www.msdndevcon.com/pages/start.aspx" href="http://www.msdndevcon.com/pages/start.aspx" target="_blank"&gt;http://www.msdndevcon.com/pages/start.aspx&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://wssguy.com/aggbug.aspx?PostID=25" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/Attis?a=x2pJN"&gt;&lt;img src="http://feeds.feedburner.com/~f/Attis?i=x2pJN" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Attis/~4/466164892" height="1" width="1"/&gt;</description><category domain="http://wssguy.com/blogs/dan/archive/tags/.NET/default.aspx">.NET</category><category domain="http://wssguy.com/blogs/dan/archive/tags/Community/default.aspx">Community</category><category domain="http://wssguy.com/blogs/dan/archive/tags/Atlanta/default.aspx">Atlanta</category><category domain="http://wssguy.com/blogs/dan/archive/tags/User+Group/default.aspx">User Group</category><category domain="http://wssguy.com/blogs/dan/archive/tags/Development/default.aspx">Development</category><category domain="http://wssguy.com/blogs/dan/archive/tags/Conference/default.aspx">Conference</category><feedburner:origLink>http://wssguy.com/blogs/dan/archive/2008/11/26/msdn-developer-conference.aspx</feedburner:origLink></item><item><title>SPDisposeCheck finally available</title><link>http://feeds.feedburner.com/~r/Attis/~3/451029322/spdisposecheck-finally-available.aspx</link><pubDate>Wed, 12 Nov 2008 19:31:00 GMT</pubDate><guid isPermaLink="false">b0bcabdc-df46-463f-8d7a-8dcc073b4635:19</guid><dc:creator>J. Dan Attis</dc:creator><slash:comments>0</slash:comments><wfw:comment>http://wssguy.com/blogs/dan/commentapi.aspx?PostID=19</wfw:comment><comments>http://wssguy.com/blogs/dan/archive/2008/11/12/spdisposecheck-finally-available.aspx#comments</comments><description>&lt;p&gt;Microsoft has finally announced the not so general availability the SPDisposeCheck tool.&amp;nbsp; This tool, available internally for quite some time will help customers and their developers identify potential issues in their SharePoint code, namely due to the disposing of objects.&amp;nbsp; A thorough understanding of the the SharePoint object model is really required before interpreting the results provided by the tool as the potential for false positives does exist and as such can and should only be done under Microsoft&amp;#39;s guidance.&amp;nbsp; Check out this &lt;a href="http://blogs.msdn.com/sharepoint/archive/2008/11/12/announcing-spdisposecheck-tool-for-sharepoint-developers.aspx" target="_blank"&gt;post&lt;/a&gt; on the Microsoft SharePoint Team Blog for a more detailed explanation as well as some great links to other resources that will help you help yourself produce more stable SharePoint code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://wssguy.com/aggbug.aspx?PostID=19" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/Attis?a=wbgxN"&gt;&lt;img src="http://feeds.feedburner.com/~f/Attis?i=wbgxN" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Attis/~4/451029322" height="1" width="1"/&gt;</description><category domain="http://wssguy.com/blogs/dan/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://wssguy.com/blogs/dan/archive/tags/WSS/default.aspx">WSS</category><feedburner:origLink>http://wssguy.com/blogs/dan/archive/2008/11/12/spdisposecheck-finally-available.aspx</feedburner:origLink></item><item><title>Atlanta Microsoft Professionals User Group Meeting - Monday, November 3rd</title><link>http://feeds.feedburner.com/~r/Attis/~3/438414862/atlanta-microsoft-professionals-user-group-meeting-monday-november-3rd.aspx</link><pubDate>Fri, 31 Oct 2008 20:25:39 GMT</pubDate><guid isPermaLink="false">b0bcabdc-df46-463f-8d7a-8dcc073b4635:11</guid><dc:creator>J. Dan Attis</dc:creator><slash:comments>0</slash:comments><wfw:comment>http://wssguy.com/blogs/dan/commentapi.aspx?PostID=11</wfw:comment><comments>http://wssguy.com/blogs/dan/archive/2008/10/31/atlanta-microsoft-professionals-user-group-meeting-monday-november-3rd.aspx#comments</comments><description>&lt;p&gt;Come join us on Monday, November 3rd at our usual location, the Microsoft Regional Headquarters at the Sanctuary Park Complex in Alpharetta for an evening of questions and answers.&amp;nbsp; Hopefully you&amp;#39;ve spent the week watching, or better yet if you are lucky, participating in the PDC breakout sessions.&amp;nbsp; At this months meeting we are going to give the fish bowl format a whirl and discuss some of the things we have learned at PDC (or while watching the break out sessions).&amp;nbsp; What is the fish bowl format you may ask?&lt;/p&gt; &lt;p&gt;In a fish bowl, there will be several chairs set up in the front of the room with one chair left intentionally empty. This empty chair is for you to join the conversation. If something is said that you wish to comment on, come on up and take a seat. One of the other people sitting will then self select themselves to leave the panel. The session will continue on until there is nothing left to be said.&lt;/p&gt; &lt;p&gt;This should be a lot of fun, and educational.&amp;nbsp; I for one, love hearing other peoples views on technology.&lt;/p&gt; &lt;p&gt;As always, the abstract, directions and speakers are located on the Atlanta Microsoft Professionals web site located at &lt;a href="http://www.atlantamspros.com" target="_blank"&gt;http://www.atlantamspros.com&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;I hope to see you all there, and don&amp;#39;t forget about the detour during bridge construction on Old Roswell Road!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://wssguy.com/aggbug.aspx?PostID=11" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/Attis?a=1lCrAh.P"&gt;&lt;img src="http://feeds.feedburner.com/~f/Attis?i=1lCrAh.P" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Attis/~4/438414862" height="1" width="1"/&gt;</description><category domain="http://wssguy.com/blogs/dan/archive/tags/Community/default.aspx">Community</category><category domain="http://wssguy.com/blogs/dan/archive/tags/Atlanta/default.aspx">Atlanta</category><category domain="http://wssguy.com/blogs/dan/archive/tags/User+Group/default.aspx">User Group</category><feedburner:origLink>http://wssguy.com/blogs/dan/archive/2008/10/31/atlanta-microsoft-professionals-user-group-meeting-monday-november-3rd.aspx</feedburner:origLink></item><item><title>How to change the default page of a SharePoint site using a Feature</title><link>http://feeds.feedburner.com/~r/Attis/~3/435966182/how-to-change-the-default-page-of-a-sharepoint-site-using-a-feature.aspx</link><pubDate>Wed, 29 Oct 2008 15:56:00 GMT</pubDate><guid isPermaLink="false">b0bcabdc-df46-463f-8d7a-8dcc073b4635:8</guid><dc:creator>J. Dan Attis</dc:creator><slash:comments>6</slash:comments><wfw:comment>http://wssguy.com/blogs/dan/commentapi.aspx?PostID=8</wfw:comment><comments>http://wssguy.com/blogs/dan/archive/2008/10/29/how-to-change-the-default-page-of-a-sharepoint-site-using-a-feature.aspx#comments</comments><description>&lt;p&gt;I am currently working on a project where we plan on having thousands of teamsites.&amp;nbsp; In order to help the search process we had to make a few modifications to the default page, namely adding some meta tags that once crawled, we could surface as managed properties and use to enhance the search experience.&amp;nbsp; As we all know, modifying the out of the box files is a no-no so we were left with 2 options to consider.&lt;/p&gt;
&lt;p&gt;The first option we considered was to create a custom site definition with our custom default.aspx page.&amp;nbsp; The second option was to create our custom default.aspx page and swap it out with the original one via a Feature.&amp;nbsp; After giving this much thought, we decided to go with the second, Feature based option.&lt;/p&gt;
&lt;p&gt;If you want to read a good discussion on how/when/why to use a custom site definition, head on over to &lt;a target="_blank" href="http://www.sharepointjoel.com/Lists/Posts/Post.aspx?ID=122"&gt;Joel Oleson&amp;#39;s recent post&lt;/a&gt; on the subject and the conversations that followed; good stuff!&lt;/p&gt;
&lt;p&gt;To start the process, I created a Feature called Custom Default Page.&amp;nbsp; This Feature contains the following 5 files, all of which are discussed in more detail below.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;feature.xml&lt;/li&gt;
&lt;li&gt;customDefault.xml&lt;/li&gt;
&lt;li&gt;customDefault.aspx&lt;/li&gt;
&lt;li&gt;customDefault.aspx.cs&lt;/li&gt;
&lt;li&gt;CustomDefaultPageFeatureReceiver.cs&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;feature.xml&lt;/h3&gt;
&lt;p&gt;As we know all Features require at least one file and that file is feature.xml.&amp;nbsp; This file contains the definition for the Feature, including it&amp;#39;s name, description, id, and other meta data.&amp;nbsp; It also contains references to supporting element files if they exist as well as a class and assembly if the Feature uses a receiver, which our does.&amp;nbsp; Our Feature is defined as follows:&lt;/p&gt;
&lt;div class="csharpcode"&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   1:  &lt;/span&gt;&lt;span class="kwrd"&gt;&amp;lt;?&lt;/span&gt;&lt;span class="html"&gt;xml&lt;/span&gt; &lt;span class="attr"&gt;version&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;1.0&amp;quot;&lt;/span&gt; &lt;span class="attr"&gt;encoding&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;utf-8&amp;quot;&lt;/span&gt; ?&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   2:  &lt;/span&gt;&lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;Feature&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   3:  &lt;/span&gt;  &lt;span class="attr"&gt;Id&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;featureGuid&amp;quot;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   4:  &lt;/span&gt;  &lt;span class="attr"&gt;Title&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;Custom Default Page&amp;quot;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   5:  &lt;/span&gt;  &lt;span class="attr"&gt;Description&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;This Feature contains a custom default page.&amp;quot;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   6:  &lt;/span&gt;  &lt;span class="attr"&gt;Version&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;1.0.0.0&amp;quot;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   7:  &lt;/span&gt;  &lt;span class="attr"&gt;Scope&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;Web&amp;quot;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   8:  &lt;/span&gt;  &lt;span class="attr"&gt;Hidden&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;TRUE&amp;quot;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   9:  &lt;/span&gt;  &lt;span class="attr"&gt;DefaultResourceFile&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;core&amp;quot;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  10:  &lt;/span&gt;  &lt;span class="attr"&gt;SolutionId&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;solutionGuid&amp;quot;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  11:  &lt;/span&gt;  &lt;span class="attr"&gt;ReceiverAssembly&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;CustomDefaultPage, Version=1.0.0.0, Culture=neutral, PublicKeyToken=yourToken&amp;quot;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  12:  &lt;/span&gt;  &lt;span class="attr"&gt;ReceiverClass&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;CustomDefaultPage.CustomDefaultPageFeatureReceiver&amp;quot;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  13:  &lt;/span&gt;  &lt;span class="attr"&gt;xmlns&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;http://schemas.microsoft.com/sharepoint/&amp;quot;&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  14:  &lt;/span&gt;  &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;ElementManifests&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  15:  &lt;/span&gt;    &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;ElementManifest&lt;/span&gt; &lt;span class="attr"&gt;Location&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;customDefault.xml&amp;quot;&lt;/span&gt; &lt;span class="kwrd"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  16:  &lt;/span&gt;    &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;ElementFile&lt;/span&gt; &lt;span class="attr"&gt;Location&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;customDefault.aspx&amp;quot;&lt;/span&gt; &lt;span class="kwrd"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  17:  &lt;/span&gt;  &lt;span class="kwrd"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;ElementManifests&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  18:  &lt;/span&gt;&lt;span class="kwrd"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;Feature&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;All Features must have a unique identifier, specified by the Id attribute.&amp;nbsp; We then add a Title, Description, and Version.&amp;nbsp; This Feature is scoped to Web as any site at any level can use it.&amp;nbsp; I made my Feature hidden since I don&amp;#39;t want it available on all sites.&amp;nbsp; In fact, the original purpose of this Feature in my specific case was that it be used on the top level site of a teamsite site collection only, such that we can index the home page of the site collection independently of its content and have it appear and be ranked in search results based on the custom meta information we added to it.&amp;nbsp; That may sound long winded but I plan on blogging that particular problem and solution at a later date.&lt;/p&gt;
&lt;p&gt;We can see that the Feature is backed by an assembly and class that define its receivers.&amp;nbsp; Also, we see that the customDefault.aspx we are going to use is defined by an ElementFile element and the module that will provision that file is defined by the an ElementManifest element in the customDefault.xml file.&lt;/p&gt;
&lt;h3&gt;customDefault.xml&lt;/h3&gt;
&lt;p&gt;This file contains a module element that will provision our customDefault.aspx page to the root folder of the SharePoint site in which the Feature is activated.&amp;nbsp; It is defined as follows:&lt;/p&gt;
&lt;div class="csharpcode"&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   1:  &lt;/span&gt;&lt;span class="kwrd"&gt;&amp;lt;?&lt;/span&gt;&lt;span class="html"&gt;xml&lt;/span&gt; &lt;span class="attr"&gt;version&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;1.0&amp;quot;&lt;/span&gt; &lt;span class="attr"&gt;encoding&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;utf-8&amp;quot;&lt;/span&gt;?&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   2:  &lt;/span&gt;&lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;Elements&lt;/span&gt; &lt;span class="attr"&gt;xmlns&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;http://schemas.microsoft.com/sharepoint/&amp;quot;&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   3:  &lt;/span&gt;  &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;Module&lt;/span&gt; &lt;span class="attr"&gt;Name&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;CustomDefault&amp;quot;&lt;/span&gt; &lt;span class="attr"&gt;Url&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;&amp;quot;&lt;/span&gt; &lt;span class="attr"&gt;RootWebOnly&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;TRUE&amp;quot;&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   4:  &lt;/span&gt;    &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;File&lt;/span&gt; &lt;span class="attr"&gt;Path&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;customDefault.aspx&amp;quot;&lt;/span&gt; &lt;span class="attr"&gt;Url&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;customDefault.aspx&amp;quot;&lt;/span&gt; &lt;span class="attr"&gt;IgnoreIfAlreadyExists&lt;/span&gt;&lt;span class="kwrd"&gt;=&amp;quot;TRUE&amp;quot;&lt;/span&gt; &lt;span class="kwrd"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   5:  &lt;/span&gt;  &lt;span class="kwrd"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;Module&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   6:  &lt;/span&gt;&lt;span class="kwrd"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;Elements&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;This is quite bare bones and simple.&amp;nbsp; The module specifies the local Path (in the feature folder), the Url on the SharePoint site (no folder = root folder) and to always replace it when the Feature is activated.&lt;/p&gt;
&lt;h3&gt;customDefault.aspx&lt;/h3&gt;
&lt;p&gt;I am not going to get into the details of what I placed into this file other than the fact that I grabbed a copy of the default.aspx file located at C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\SiteTemplates\sts\default.aspx and renamed it in my project.&amp;nbsp; I also created a backing class for it and consequently needed to changed the directive at the top of the file from this:&lt;/p&gt;
&lt;pre class="csharpcode"&gt;&lt;span class="asp"&gt;&amp;lt;%@ Page language=&amp;quot;C#&amp;quot; MasterPageFile=&amp;quot;~masterurl/default.master&amp;quot; Inherits=&amp;quot;Microsoft.SharePoint.WebPartPages.WebPartPage,Microsoft.SharePoint,Version=12.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c&amp;quot; %&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;to something like this:&lt;/p&gt;
&lt;pre class="csharpcode"&gt;&lt;span class="asp"&gt;&amp;lt;%@ Page Language=&amp;quot;C#&amp;quot; MasterPageFile=&amp;quot;~masterurl/default.master&amp;quot; Inherits=&amp;quot;CustomDefaultPage.CustomDefaultPage, CustomDefaultPage, Version=1.0.0.0, Culture=neutral, PublicKeyToken=yourToken&amp;quot; %&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;Then, in my CustomDefaultPage.aspx.cs class, I can add code to do whatever I want on my custom default page, such as insert custom meta data as was the case for me.&amp;nbsp; This allows me to have complete control over the custom default page exactly like I would in a regular asp.net web application.&lt;/p&gt;
&lt;h3&gt;customDefault.aspx.cs&lt;/h3&gt;
&lt;p&gt;I won&amp;#39;t go into the details of this file either, but it looks similar to this, with my logic inserted.&lt;/p&gt;
&lt;div class="csharpcode"&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   1:  &lt;/span&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; System;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   2:  &lt;/span&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; System.Web.UI.HtmlControls;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   3:  &lt;/span&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; System.Web.UI.WebControls;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   4:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   5:  &lt;/span&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; Microsoft.SharePoint;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   6:  &lt;/span&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; Microsoft.SharePoint.WebPartPages;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   7:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   8:  &lt;/span&gt;&lt;span class="kwrd"&gt;namespace&lt;/span&gt; CustomDefaultPage&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   9:  &lt;/span&gt;{&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  10:  &lt;/span&gt;    &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;class&lt;/span&gt; CustomDefaultPage : WebPartPage&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  11:  &lt;/span&gt;    {&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  12:  &lt;/span&gt;        &lt;span class="rem"&gt;/// &amp;lt;summary&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  13:  &lt;/span&gt;        &lt;span class="rem"&gt;/// Raises the &amp;lt;see cref=&amp;quot;E:System.Web.UI.Control.Load&amp;quot;&amp;gt;&amp;lt;/see&amp;gt; event.&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  14:  &lt;/span&gt;        &lt;span class="rem"&gt;/// &amp;lt;/summary&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  15:  &lt;/span&gt;        &lt;span class="rem"&gt;/// &amp;lt;param name=&amp;quot;e&amp;quot;&amp;gt;The &amp;lt;see cref=&amp;quot;T:System.EventArgs&amp;quot;&amp;gt;&amp;lt;/see&amp;gt; object that contains the event data.&amp;lt;/param&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  16:  &lt;/span&gt;        &lt;span class="kwrd"&gt;protected&lt;/span&gt; &lt;span class="kwrd"&gt;override&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; OnLoad(EventArgs e)&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  17:  &lt;/span&gt;        {&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  18:  &lt;/span&gt;            &lt;span class="rem"&gt;// code removed for brevity&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  19:  &lt;/span&gt;        }&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  20:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  21:  &lt;/span&gt;    }&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  22:  &lt;/span&gt;}&lt;/pre&gt;
&lt;/div&gt;
&lt;h3&gt;CustomDefaultPageFeatureReceiver.cs&lt;/h3&gt;
&lt;p&gt;All of the magic happens when the Feature is activated &lt;strong&gt;&lt;em&gt;&lt;span style="text-decoration:underline;"&gt;AND&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt; when the Feature is deactivated. You may be wondering why the deactivation code is required.&amp;nbsp; Consider a hosted environment where the need to remove customization &lt;em&gt;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;WITHOUT&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt; breaking SharePoint.&amp;nbsp; Depending on how your activation and deactivation code is written, it is possible to render the home page of your site inaccessible (I know since in the process of building this it happened to me).&amp;nbsp; This is very undesirable, so it is always a good idea to anticipate what may need to happen when you deactivate a Feature.&amp;nbsp; Some Features may not require any special logic when they are deactivated, but some most certainly do and I believe that this is a case when you should handle that.&lt;/p&gt;
&lt;p&gt;The code for the Feature Receiver will look something like this:&lt;/p&gt;
&lt;div class="csharpcode"&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   1:  &lt;/span&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; System;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   2:  &lt;/span&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; System.IO;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   3:  &lt;/span&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; System.Web.UI.WebControls.WebParts;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   4:  &lt;/span&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; System.Xml;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   5:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   6:  &lt;/span&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; Microsoft.SharePoint;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   7:  &lt;/span&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; Microsoft.SharePoint.Utilities;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   8:  &lt;/span&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; Microsoft.SharePoint.WebPartPages;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   9:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  10:  &lt;/span&gt;&lt;span class="kwrd"&gt;namespace&lt;/span&gt; CustomDefaultPage&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  11:  &lt;/span&gt;{&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  12:  &lt;/span&gt;    &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;class&lt;/span&gt; CustomDefaultPageFeatureReceiver : SPFeatureReceiver&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  13:  &lt;/span&gt;    {&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  14:  &lt;/span&gt;        &lt;span class="rem"&gt;/// &amp;lt;summary&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  15:  &lt;/span&gt;        &lt;span class="rem"&gt;/// Occurs after a Feature is activated.&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  16:  &lt;/span&gt;        &lt;span class="rem"&gt;/// &amp;lt;/summary&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  17:  &lt;/span&gt;        &lt;span class="rem"&gt;/// &amp;lt;param name=&amp;quot;properties&amp;quot;&amp;gt;An &amp;lt;see cref=&amp;quot;T:Microsoft.SharePoint.SPFeatureReceiverProperties&amp;quot;&amp;gt;&amp;lt;/see&amp;gt; object that represents the properties of the event.&amp;lt;/param&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  18:  &lt;/span&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;override&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; FeatureActivated(SPFeatureReceiverProperties properties)&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  19:  &lt;/span&gt;        {&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  20:  &lt;/span&gt;            &lt;span class="kwrd"&gt;if&lt;/span&gt; (properties != &lt;span class="kwrd"&gt;null&lt;/span&gt;)&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  21:  &lt;/span&gt;            {&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  22:  &lt;/span&gt;                &lt;span class="rem"&gt;// get a reference to the web&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  23:  &lt;/span&gt;                SPWeb web = properties.Feature.Parent &lt;span class="kwrd"&gt;as&lt;/span&gt; SPWeb;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  24:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  25:  &lt;/span&gt;                &lt;span class="rem"&gt;// back up the original home page&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  26:  &lt;/span&gt;                SPFile defaultPage = web.Files[&lt;span class="str"&gt;&amp;quot;default.aspx&amp;quot;&lt;/span&gt;];&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  27:  &lt;/span&gt;                defaultPage.MoveTo(&lt;span class="str"&gt;&amp;quot;default-old.aspx&amp;quot;&lt;/span&gt;);&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  28:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  29:  &lt;/span&gt;                &lt;span class="rem"&gt;// add components to the new custom default page here, if necessary&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  30:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  31:  &lt;/span&gt;                &lt;span class="rem"&gt;// move the new default page to default.aspx&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  32:  &lt;/span&gt;                SPFile newDefaultPage = web.Files[&lt;span class="str"&gt;&amp;quot;CustomDefault.aspx&amp;quot;&lt;/span&gt;];&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  33:  &lt;/span&gt;                newDefaultPage.MoveTo(&lt;span class="str"&gt;&amp;quot;default.aspx&amp;quot;&lt;/span&gt;);&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  34:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  35:  &lt;/span&gt;                &lt;span class="rem"&gt;// update navigation, if necessary, here&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  36:  &lt;/span&gt;            }&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  37:  &lt;/span&gt;        }&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  38:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  39:  &lt;/span&gt;        &lt;span class="rem"&gt;/// &amp;lt;summary&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  40:  &lt;/span&gt;        &lt;span class="rem"&gt;/// Occurs when a Feature is deactivated.&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  41:  &lt;/span&gt;        &lt;span class="rem"&gt;/// &amp;lt;/summary&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  42:  &lt;/span&gt;        &lt;span class="rem"&gt;/// &amp;lt;param name=&amp;quot;properties&amp;quot;&amp;gt;An &amp;lt;see cref=&amp;quot;T:Microsoft.SharePoint.SPFeatureReceiverProperties&amp;quot;&amp;gt;&amp;lt;/see&amp;gt; object that represents the properties of the event.&amp;lt;/param&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  43:  &lt;/span&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;override&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; FeatureDeactivating(SPFeatureReceiverProperties properties)&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  44:  &lt;/span&gt;        {&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  45:  &lt;/span&gt;            &lt;span class="kwrd"&gt;if&lt;/span&gt; (properties != &lt;span class="kwrd"&gt;null&lt;/span&gt;)&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  46:  &lt;/span&gt;            {&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  47:  &lt;/span&gt;                &lt;span class="rem"&gt;// get a reference to the web&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  48:  &lt;/span&gt;                SPWeb web = properties.Feature.Parent &lt;span class="kwrd"&gt;as&lt;/span&gt; SPWeb;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  49:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  50:  &lt;/span&gt;                &lt;span class="rem"&gt;// delete the default page&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  51:  &lt;/span&gt;                SPFile defaultPage = web.Files[&lt;span class="str"&gt;&amp;quot;default.aspx&amp;quot;&lt;/span&gt;];&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  52:  &lt;/span&gt;                defaultPage.DeleteAllPersonalizationsAllUsers();&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  53:  &lt;/span&gt;                defaultPage.Delete();&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  54:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  55:  &lt;/span&gt;                &lt;span class="rem"&gt;// restore the back up&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  56:  &lt;/span&gt;                SPFile originalDefaultPage = web.Files[&lt;span class="str"&gt;&amp;quot;default-old.aspx&amp;quot;&lt;/span&gt;];&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  57:  &lt;/span&gt;                originalDefaultPage.MoveTo(&lt;span class="str"&gt;&amp;quot;default.aspx&amp;quot;&lt;/span&gt;);&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  58:  &lt;/span&gt;            }&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  59:  &lt;/span&gt;        }&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  60:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  61:  &lt;/span&gt;        &lt;span class="rem"&gt;/// &amp;lt;summary&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  62:  &lt;/span&gt;        &lt;span class="rem"&gt;/// Occurs after a Feature is installed.&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  63:  &lt;/span&gt;        &lt;span class="rem"&gt;/// &amp;lt;/summary&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  64:  &lt;/span&gt;        &lt;span class="rem"&gt;/// &amp;lt;param name=&amp;quot;properties&amp;quot;&amp;gt;An &amp;lt;see cref=&amp;quot;T:Microsoft.SharePoint.SPFeatureReceiverProperties&amp;quot;&amp;gt;&amp;lt;/see&amp;gt; object that represents the properties of the event.&amp;lt;/param&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  65:  &lt;/span&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;override&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; FeatureInstalled(SPFeatureReceiverProperties properties)&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  66:  &lt;/span&gt;        {&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  67:  &lt;/span&gt;            &lt;span class="rem"&gt;//throw new Exception(&amp;quot;The method or operation is not implemented.&amp;quot;);&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  68:  &lt;/span&gt;        }&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  69:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  70:  &lt;/span&gt;        &lt;span class="rem"&gt;/// &amp;lt;summary&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  71:  &lt;/span&gt;        &lt;span class="rem"&gt;/// Occurs when a Feature is uninstalled.&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  72:  &lt;/span&gt;        &lt;span class="rem"&gt;/// &amp;lt;/summary&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  73:  &lt;/span&gt;        &lt;span class="rem"&gt;/// &amp;lt;param name=&amp;quot;properties&amp;quot;&amp;gt;An &amp;lt;see cref=&amp;quot;T:Microsoft.SharePoint.SPFeatureReceiverProperties&amp;quot;&amp;gt;&amp;lt;/see&amp;gt; object that represents the properties of the event.&amp;lt;/param&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  74:  &lt;/span&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;override&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; FeatureUninstalling(SPFeatureReceiverProperties properties)&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  75:  &lt;/span&gt;        {&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  76:  &lt;/span&gt;            &lt;span class="rem"&gt;//throw new Exception(&amp;quot;The method or operation is not implemented.&amp;quot;);&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  77:  &lt;/span&gt;        }&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  78:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  79:  &lt;/span&gt;    }&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;  80:  &lt;/span&gt;}&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;I played around a lot with the MoveTo() and CopyTo() methods and this is the combination that worked 100% of the time.&amp;nbsp; I have found CopyTo() to be a little unpredictable but your mileage may vary.&amp;nbsp; The key takeaway here is to always anticipate your Features deactivation needs, especially in a hosted environment.&amp;nbsp; All hosting companies have an Service Level Agreement (SLA) to adhere to and if they determine that your customization is causing a problem, I would venture to bet that there is language in that agreement that allows them to deactivate you customizations to honor that agreement and if that were to happen, I would want my users experience to not be interrupted, at least not to the degree that an unavailable home page might produce, wouldn&amp;#39;t you?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://wssguy.com/aggbug.aspx?PostID=8" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/Attis?a=zkz7M"&gt;&lt;img src="http://feeds.feedburner.com/~f/Attis?i=zkz7M" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Attis/~4/435966182" height="1" width="1"/&gt;</description><category domain="http://wssguy.com/blogs/dan/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://wssguy.com/blogs/dan/archive/tags/Branding/default.aspx">Branding</category><feedburner:origLink>http://wssguy.com/blogs/dan/archive/2008/10/29/how-to-change-the-default-page-of-a-sharepoint-site-using-a-feature.aspx</feedburner:origLink></item><item><title>NYC SharePoint User Group</title><link>http://feeds.feedburner.com/~r/Attis/~3/434019501/nyc-sharepoint-user-group.aspx</link><pubDate>Mon, 27 Oct 2008 21:14:56 GMT</pubDate><guid isPermaLink="false">b0bcabdc-df46-463f-8d7a-8dcc073b4635:6</guid><dc:creator>J. Dan Attis</dc:creator><slash:comments>0</slash:comments><wfw:comment>http://wssguy.com/blogs/dan/commentapi.aspx?PostID=6</wfw:comment><comments>http://wssguy.com/blogs/dan/archive/2008/10/27/nyc-sharepoint-user-group.aspx#comments</comments><description>&lt;p&gt;I thought I would let the world know, particular those of you in the NYC metropolitan area that on Wednesday, November 5th, I will be participating in the New York City SharePoint User Group meeting.&amp;nbsp; I will be participating on a development panel of sorts answering questions on you guessed it, SharePoint development, my all time favorite topic.&amp;nbsp; Some other awesome SharePoint folks will be attending as well.&amp;nbsp; Allan Schweighardt from Microsoft, Piotr Prussak from Revlon, Jason Medero and Bob Fox from B&amp;amp;R Business Solutions, and Paul Galvin from EMC Corporation.&lt;/p&gt; &lt;p&gt;Here is a short abstract taken from the site (&lt;a href="http://www.sharepointusergroup.org/NewYork/default.aspx" target="_blank"&gt;NYC SharePoint User Group&lt;/a&gt;):&lt;/p&gt; &lt;p&gt;&lt;em&gt;The discussions will be divided up into two areas IT Pro and Development.&amp;nbsp; Both areas will be comprised of a great group of expert panelists answering all type of questions ranging from architecture, workflow, infrastructure, custom development and many other great topics.&amp;nbsp; The members on the panel will consist of seasoned experts along with multiple SharePoint MVP’s!&amp;nbsp; So bring your best questions and discussion topics to next month’s meeting and lets jump into the trenches of SharePoint Products and Technologies!&lt;/em&gt; &lt;p&gt;It should be a great event and I hope to see you there!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://wssguy.com/aggbug.aspx?PostID=6" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/Attis?a=D1JAM"&gt;&lt;img src="http://feeds.feedburner.com/~f/Attis?i=D1JAM" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Attis/~4/434019501" height="1" width="1"/&gt;</description><category domain="http://wssguy.com/blogs/dan/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://wssguy.com/blogs/dan/archive/tags/Community/default.aspx">Community</category><category domain="http://wssguy.com/blogs/dan/archive/tags/User+Group/default.aspx">User Group</category><feedburner:origLink>http://wssguy.com/blogs/dan/archive/2008/10/27/nyc-sharepoint-user-group.aspx</feedburner:origLink></item><item><title>Back with a Vengeance!</title><link>http://feeds.feedburner.com/~r/Attis/~3/433877860/back-with-a-vengeance.aspx</link><pubDate>Mon, 27 Oct 2008 18:37:21 GMT</pubDate><guid isPermaLink="false">b0bcabdc-df46-463f-8d7a-8dcc073b4635:5</guid><dc:creator>J. Dan Attis</dc:creator><slash:comments>1</slash:comments><wfw:comment>http://wssguy.com/blogs/dan/commentapi.aspx?PostID=5</wfw:comment><comments>http://wssguy.com/blogs/dan/archive/2008/10/27/back-with-a-vengeance.aspx#comments</comments><description>&lt;p&gt;Where has Dan been?&lt;/p&gt; &lt;p&gt;That is a great question and one that has a pretty simple answer.&amp;nbsp; I have been SWAMPED at work.&amp;nbsp; I have been working on my largest SharePoint implementation to date.&amp;nbsp; Essentially I have been architecting and building a corporate communications intranet portal for a very large enterprise customer over the last few months, roughly 75K users.&amp;nbsp; We are in the tail end of the project now and time, although still very precious, is a little less scarce.&amp;nbsp; I hope to ramp up my blogging prowess over the next few weeks and pump the cloud full of more information about SharePoint and my personal experiences with it over the last few months.&amp;nbsp; I have had many challenges and discovered a ton of interesting and useful nuggets along the way.&lt;/p&gt; &lt;p&gt;Not only is this an awesomely cool SharePoint implementation using Microsoft Office SharePoint Server 2007, but it is also built using the Web Content Management (WCM) features along with a whole lot of customizations (my favorite).&amp;nbsp; A lot of &amp;quot;social&amp;quot;, interactive customizations were made to the site that allowed users to do things like rate and comment on articles and the like, features not available out of the box.&amp;nbsp; Did I mention that the portal is also fully branded?&lt;/p&gt; &lt;p&gt;This project is also one of the first projects hosted on the Microsoft SharePoint Online platform.&amp;nbsp; Working directly with the team at Microsoft has been challenging, educational and fun to say the least.&amp;nbsp; I truly believe it will be the platform of choice for enterprise customers wanting to offload the hosting and support burden that often comes with large scale SharePoint implementations.&amp;nbsp; Check out this &lt;a href="http://www.informationweek.com/news/services/saas/showArticle.jhtml?articleID=209100729" target="_blank"&gt;article&lt;/a&gt; for more information!&lt;/p&gt; &lt;p&gt;Please update your feeds to point here as I am moving from my previous home.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://wssguy.com/aggbug.aspx?PostID=5" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/Attis?a=jdIUx0.P"&gt;&lt;img src="http://feeds.feedburner.com/~f/Attis?i=jdIUx0.P" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Attis/~4/433877860" height="1" width="1"/&gt;</description><category domain="http://wssguy.com/blogs/dan/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://wssguy.com/blogs/dan/archive/tags/Branding/default.aspx">Branding</category><category domain="http://wssguy.com/blogs/dan/archive/tags/Hosting/default.aspx">Hosting</category><category domain="http://wssguy.com/blogs/dan/archive/tags/Web+Content+Management/default.aspx">Web Content Management</category><feedburner:origLink>http://wssguy.com/blogs/dan/archive/2008/10/27/back-with-a-vengeance.aspx</feedburner:origLink></item></channel></rss>
