<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>webclientguidance Wiki &amp; Documentation Rss Feed</title><link>http://www.codeplex.com/Wiki/View.aspx?ProjectName=websf&amp;title=Home</link><description>webclientguidance Wiki Rss Description</description><item><title>New Comment on "Web Client Software Factory"</title><link>http://webclientguidance.codeplex.com/wikipage?title=Web Client Software Factory&amp;ANCHOR#C22010</link><description>&amp;#91;Web Client Software Factory 2010 Getting Started Guide&amp;#93; link is still incorrectly pointed to the Smart Client page. It&amp;#39;s already been half a year.</description><author>icelava</author><pubDate>Fri, 23 Dec 2011 03:33:08 GMT</pubDate><guid isPermaLink="false">New Comment on "Web Client Software Factory" 20111223033308A</guid></item><item><title>New Comment on "Web Client Software Factory"</title><link>http://webclientguidance.codeplex.com/wikipage?title=Web Client Software Factory&amp;ANCHOR#C19481</link><description>the &amp;#34;Web Client Software Factory 2010 Getting Started Guide&amp;#34; don&amp;#39;t go to the correct url &amp;#40;it goes to smart client getting started&amp;#41;, the correct address is&amp;#58;&amp;#10;http&amp;#58;&amp;#47;&amp;#47;webclientguidance.codeplex.com&amp;#47;wikipage&amp;#63;title&amp;#61;GettingStartedwiththeWebClientSoftwareFactory2010</description><author>saharMohammadi</author><pubDate>Mon, 02 May 2011 07:21:32 GMT</pubDate><guid isPermaLink="false">New Comment on "Web Client Software Factory" 20110502072132A</guid></item><item><title>New Comment on "ModelViewPresenterQuickStarts"</title><link>http://webclientguidance.codeplex.com/wikipage?title=ModelViewPresenterQuickStarts&amp;ANCHOR#C18137</link><description>Cannot rebuild the solution file. Please help&amp;#33; The error message is described as follows&amp;#10;Error&amp;#9;2 The command &amp;#34;Attrib -R &amp;#47;S  C&amp;#58;&amp;#92;WCSF 2010 Source&amp;#92;Trunk&amp;#92;Source&amp;#92;MVPQuickstart&amp;#92;..&amp;#92;Lib&amp;#92;WCSFBlocks&amp;#92;&amp;#42;.&amp;#42;&amp;#10;copy C&amp;#58;&amp;#92;WCSF 2010 Source&amp;#92;BlocksTrunk&amp;#92;Source&amp;#92;WebControls&amp;#92;Source&amp;#92;WebControls&amp;#92;bin&amp;#92;Debug&amp;#92;Microsoft.Practices.Web.UI.WebControls.dll &amp;#10;C&amp;#58;&amp;#92;WCSF 2010 Source&amp;#92;Trunk&amp;#92;Source&amp;#92;MVPQuickstart&amp;#92;..&amp;#92;Lib&amp;#92;WCSFBlocks&amp;#34; &amp;#10;exited with code 1.&amp;#9;WebControls</description><author>sunjcheng</author><pubDate>Wed, 05 Jan 2011 22:17:29 GMT</pubDate><guid isPermaLink="false">New Comment on "ModelViewPresenterQuickStarts" 20110105101729P</guid></item><item><title>New Comment on "ModelViewPresenterQuickStarts"</title><link>http://webclientguidance.codeplex.com/wikipage?title=ModelViewPresenterQuickStarts&amp;ANCHOR#C16901</link><description>i have faced this error when i open MVPQuickstart.sln file&amp;#10;&amp;#10;&amp;#10;Microsoft Visual Studio&amp;#10;---------------------------&amp;#10;The selected file is a solution file, but was created by a newer version of this application and cannot be opened.</description><author>devkhinchi</author><pubDate>Sat, 04 Sep 2010 08:22:43 GMT</pubDate><guid isPermaLink="false">New Comment on "ModelViewPresenterQuickStarts" 20100904082243A</guid></item><item><title>New Comment on "ModelViewPresenterQuickStarts"</title><link>http://webclientguidance.codeplex.com/wikipage?title=ModelViewPresenterQuickStarts&amp;ANCHOR#C16900</link><description>problem to Open the solution file MVPQuickstart.sln &amp;#40;Model-View-Presenter QuickStart&amp;#41;</description><author>devkhinchi</author><pubDate>Sat, 04 Sep 2010 08:21:18 GMT</pubDate><guid isPermaLink="false">New Comment on "ModelViewPresenterQuickStarts" 20100904082118A</guid></item><item><title>Updated Wiki: Web Client Guidance</title><link>http://webclientguidance.codeplex.com/wikipage?title=Web Client Guidance&amp;version=13</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Developing Web Apps: Building Responsive, Modular Web Applications&lt;/h1&gt;
&lt;h3&gt;Getting Started&lt;/h3&gt;Before you can run Developing Web Apps, you must install the pre-requisites and follow the instructions in the GettingStarted.html included with the drop.
&lt;h3&gt;Download&lt;/h3&gt;You can download the latest drop of the Developing Web Apps from &lt;a href="http://webclientguidance.codeplex.com/releases/view/46436" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. &lt;br /&gt;
&lt;h3&gt;Where to go next?&lt;/h3&gt;&lt;table&gt;&lt;tr&gt;&lt;th&gt; Action &lt;/th&gt;&lt;th&gt; Link &lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; Explore our compilation of Developing Web Apps tips, tricks and guidance from the team and the community &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Web%20Guidance%20Knowledge%20Base&amp;referringTitle=Web%20Client%20Guidance"&gt;Web Guidance Knowledge Base&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; View known issues &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Web%20Application%20Guidance%20Known%20Issues&amp;referringTitle=Web%20Client%20Guidance"&gt;Known Issues&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>ndelgado</author><pubDate>Wed, 02 Jun 2010 21:43:26 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Web Client Guidance 20100602094326P</guid></item><item><title>Updated Wiki: Web Client Guidance</title><link>http://webclientguidance.codeplex.com/wikipage?title=Web Client Guidance&amp;version=12</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Developing Web Apps: Building Responsive, Modular Web Applications&lt;/h1&gt;
&lt;h3&gt;Getting Started&lt;/h3&gt;Before you can run Developing Web Apps, you must install the pre-requisites and follow the instructions in the GettingStarted.html included with the drop.
&lt;h3&gt;Download&lt;/h3&gt;You can download the latest drop of the Developing Web Apps from &lt;a href="http://webclientguidance.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=36634" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. &lt;br /&gt;
&lt;h3&gt;Where to go next?&lt;/h3&gt;&lt;table&gt;&lt;tr&gt;&lt;th&gt; Action &lt;/th&gt;&lt;th&gt; Link &lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; Explore our compilation of Developing Web Apps tips, tricks and guidance from the team and the community &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Web%20Guidance%20Knowledge%20Base&amp;referringTitle=Web%20Client%20Guidance"&gt;Web Guidance Knowledge Base&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; View known issues &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Web%20Application%20Guidance%20Known%20Issues&amp;referringTitle=Web%20Client%20Guidance"&gt;Known Issues&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>ndelgado</author><pubDate>Wed, 02 Jun 2010 21:41:32 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Web Client Guidance 20100602094132P</guid></item><item><title>Updated Wiki: Home</title><link>http://webclientguidance.codeplex.com/wikipage?version=177</link><description>&lt;div class="wikidoc"&gt;&lt;h3&gt;Overview&lt;/h3&gt;The Web Client Guidance program from patterns &amp;amp; practices assists developers and architects with the design, development, and deployment of rich, responsive, modular, Web applications using the .NET Framework and other Microsoft technologies.&lt;br /&gt;
&lt;h3&gt;Projects&lt;/h3&gt;The Web Client Guidance program consists of two projects:
&lt;ul&gt;&lt;li&gt;&lt;b&gt;Web Client Software Factory&lt;/b&gt;. This project last released in February 2008. There will be an updated release that targets Visual Studio 2010. This release will be a port of the existing features and guidance found in the Visual Studio 2008 release.  For information about the Web Client Software Factory go &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Web%20Client%20Software%20Factory&amp;referringTitle=Home"&gt;here&lt;/a&gt;. &lt;/li&gt;
&lt;li&gt;&lt;b&gt;Developing Web Apps&lt;/b&gt;. This project is currently under development. We will make changes based upon your feedback. For information about the Developing Web Apps project go &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Web%20Client%20Guidance&amp;referringTitle=Home"&gt;here&lt;/a&gt;. The anticipated benefits include:
&lt;ul&gt;&lt;li&gt;Provides infrastructure for developing and maintaining ASP.NET and Ajax applications&lt;/li&gt;
&lt;li&gt;Provides guidance on MVC 2, jQuery, and the Microsoft Ajax Library&lt;/li&gt;
&lt;li&gt;Unit testing for ASP.NET and JavaScript client applications&lt;/li&gt;
&lt;li&gt;Responsive applications&lt;/li&gt;
&lt;li&gt;Flexible architecture that allows change&lt;/li&gt;
&lt;li&gt;Separated presentation including unit testing view logic&lt;/li&gt;
&lt;li&gt;Application modules are developed, tested and deployed separately&lt;/li&gt;
&lt;li&gt;User Interface components are dynamically composed&lt;/li&gt;
&lt;li&gt;Guidance on how to improve Web client security&lt;/li&gt;
&lt;li&gt;Allows incremental adoption of the components&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;br /&gt;&lt;table&gt;&lt;tr&gt;&lt;th&gt; Action &lt;/th&gt;&lt;th&gt; Link &lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Web Client Developer Guidance Home &lt;/td&gt;&lt;td&gt;&lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Web%20Client%20Guidance&amp;referringTitle=Home"&gt;Web Client Guidance&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Web Client Software Factory Home &lt;/td&gt;&lt;td&gt;&lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Web%20Client%20Software%20Factory&amp;referringTitle=Home"&gt;Web Client Software Factory&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; View recent announcements for the Web Client program &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Announcements&amp;referringTitle=Home"&gt;Announcements&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; Read blog postings from the team &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Team%20Blogs&amp;referringTitle=Home"&gt;Team Blogs&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; Read blog postings from the trenches &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Community%20Blogs&amp;referringTitle=Home"&gt;Community Blogs&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;
&lt;h3&gt;Participation&lt;/h3&gt;The guidance is developed by patterns &amp;amp; practices using an Agile process. This process includes frequent builds and releases in this community of code and documentation. If you find bugs or want additional capabilities addressed by the team, use the &lt;a href="http://webclientguidance.codeplex.com/WorkItem/List.aspx" class="externalLink"&gt;Issue Tracker&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; to create a new Work Item.&lt;br /&gt;&lt;br /&gt;You can influence these projects. Please send us feedback!&lt;br /&gt;&lt;br /&gt;Our team will continuously monitor the forums in this site to get feedback on content and to help us prioritize.&lt;br /&gt;&lt;br /&gt;Thanks!&lt;br /&gt;p&amp;amp;p Client Team&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>ndelgado</author><pubDate>Wed, 02 Jun 2010 21:40:18 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20100602094018P</guid></item><item><title>Updated Wiki: Web Client Software Factory</title><link>http://webclientguidance.codeplex.com/wikipage?title=Web Client Software Factory&amp;version=8</link><description>&lt;div class="wikidoc"&gt;&lt;h3&gt;&lt;a href="http://visualstudiogallery.msdn.microsoft.com/en-us/8fc2c9d6-5282-404b-9c58-e72b326b1e26" class="externalLink"&gt;Web Client Software Factory 2010&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; that supports Visual Studio 2010 is now available for download.&lt;/h3&gt;&lt;h3&gt;&lt;a href="http://webclientguidance.codeplex.com/releases/view/43000" class="externalLink"&gt;Web Client Software Factory 2010 Source&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; that supports Visual Studio 2010 is now available for download.&lt;/h3&gt;&lt;h3&gt;&lt;a href="http://webclientguidance.codeplex.com/releases/view/45216" class="externalLink"&gt;Web Client Software Factory 2010 Documentation&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; is now available for download.&lt;/h3&gt;&lt;h3&gt;&lt;a href="http://smartclient.codeplex.com/wikipage?title=GettingStartedwiththeSmartClientSoftwareFactory2010&amp;amp;referringTitle=Getting%20Started%20with%20the%20Smart%20Client%20Software%20Factory" class="externalLink"&gt;Web Client Software Factory 2010 Getting Started Guide&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; is now available for download.&lt;/h3&gt;
&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=92649" alt="wcsf-Intro-scope.png" title="wcsf-Intro-scope.png" /&gt;&lt;br /&gt;The Web Client Software Factory (WCSF) provides a set of guidance for architects and developers building enterprise Web applications. The factory includes samples, reusable code and a guidance package which automates key development tasks from within Visual Studio.&lt;br /&gt;&lt;br /&gt;Using the Web Client Software Factory assets, developers can create &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Composite%20Web%20Clients&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Composite Web&lt;/a&gt; applications composed of independently developed and deployed modules. These modules are dynamically brought together at runtime into a common shell. Additionally the factory includes support for ASP.NET AJAX thus providing users with a richer and more responsive user experience. &lt;br /&gt;
&lt;h3&gt;Getting Started&lt;/h3&gt;The &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Getting_Started_Feb_2008&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Getting Started&lt;/a&gt; provides recommendations on how to quickly use the guidance available in this factory.
&lt;ul&gt;&lt;li&gt;Click here to download the &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=47755838-049B-4291-AFEA-A379AE28D7B3&amp;amp;displaylang=en" class="externalLink"&gt;Web Client Software Factory - February 2008&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Click here for detailed instructions on &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Installing_the_Web_Client_Software_Factory_February_2008_Release&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Installing the factory&lt;/a&gt; or &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Upgrade_to_WCSFFeb2008&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Upgrade From Previous Releases&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Click here if you want to download the &lt;a href="http://webclientguidance.codeplex.com/releases/view/1563"&gt;Web Client Software Documentation&lt;/a&gt; instead of the entire factory.&lt;/li&gt;
&lt;li&gt;Click here for a list of &lt;a href="http://www.codeplex.com/websf/Wiki/View.aspx?title=Known%20Issues%20%2f%20Fixes" class="externalLink"&gt;Known Issues&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;

&lt;h3&gt;Where to go next?&lt;/h3&gt;&lt;table&gt;&lt;tr&gt;&lt;th&gt; Action &lt;/th&gt;&lt;th&gt; Link &lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; Read about the February 2008 release of the factory &lt;/td&gt;&lt;td&gt; &lt;a href="http://msdn.microsoft.com/webclientfactory" class="externalLink"&gt;WCSF MSDN Landing page&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; View our bundle catalog &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=bundles&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Guidance Bundle catalog&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; View recent announcements for the Web Client program &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Announcements&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Announcements&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; See a list of resources for getting started with WCSF &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Learning&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Learning Resources&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; Explore our compilation of Web Client tips, tricks and guidance from the Web Client team and the community &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Knowledge%20Base&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Knowledge Base&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; Page Flow Package released in &lt;a href="http://www.codeplex.com/wcsfcontrib" class="externalLink"&gt;WCSFContrib&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/wcsfcontrib/SourceControl/DownloadSourceCode.aspx?changeSetId=18372" class="externalLink"&gt;Download WCSFContrib Trunk&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; Read blog postings from the team &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Team%20Blogs&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Team Blogs&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; Read blog postings from the trenches &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Community%20Blogs&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Community Blogs&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; View Community work items that have been resolved with WCSF February 2008 release &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=ResolvedItems&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Resolved items&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; View additional links and resources &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Other&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Other links&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; View known issues &lt;/td&gt;&lt;td&gt;&lt;a href="http://www.codeplex.com/websf/Wiki/View.aspx?title=Known%20Issues%20%2f%20Fixes" class="externalLink"&gt;Known Issues&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;
&lt;h3&gt;Participation&lt;/h3&gt;The factory is developed using the open process used by patterns &amp;amp; practices for all of its deliverables. This process includes frequent builds and releases in this community of code and documentation. If you find bugs or want additional capabilities addressed by the team, use the &lt;a href="http://www.codeplex.com/WorkItem/List.aspx?ProjectName=websf" class="externalLink"&gt;Issue Tracker&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; to create a new Work Item.&lt;br /&gt;&lt;br /&gt;You can influence this project. Please send us feedback!&lt;br /&gt;&lt;br /&gt;Our team will continuously monitor the forums in this site to get feedback on content and to help us prioritize.&lt;br /&gt;&lt;br /&gt;Thanks!&lt;br /&gt;p&amp;amp;p Client Team&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>hanz</author><pubDate>Fri, 21 May 2010 23:49:41 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Web Client Software Factory 20100521114941P</guid></item><item><title>Updated Wiki: Web Client Software Factory</title><link>http://webclientguidance.codeplex.com/wikipage?title=Web Client Software Factory&amp;version=7</link><description>&lt;div class="wikidoc"&gt;&lt;h3&gt;&lt;a href="http://visualstudiogallery.msdn.microsoft.com/en-us/8fc2c9d6-5282-404b-9c58-e72b326b1e26" class="externalLink"&gt;Web Client Software Factory 2010&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; that supports Visual Studio 2010 RC is now available for download.&lt;/h3&gt;&lt;h3&gt;&lt;a href="http://webclientguidance.codeplex.com/releases/view/43000" class="externalLink"&gt;Web Client Software Factory 2010 Source&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; that supports Visual Studio 2010 RC is now available for download.&lt;/h3&gt;&lt;h3&gt;&lt;a href="http://webclientguidance.codeplex.com/releases/view/45216" class="externalLink"&gt;Web Client Software Factory 2010 Documentation&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; is now available for download.&lt;/h3&gt;&lt;h3&gt;&lt;a href="http://smartclient.codeplex.com/wikipage?title=GettingStartedwiththeSmartClientSoftwareFactory2010&amp;amp;referringTitle=Getting%20Started%20with%20the%20Smart%20Client%20Software%20Factory" class="externalLink"&gt;Web Client Software Factory 2010 Getting Started Guide&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; is now available for download.&lt;/h3&gt;
&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=92649" alt="wcsf-Intro-scope.png" title="wcsf-Intro-scope.png" /&gt;&lt;br /&gt;The Web Client Software Factory (WCSF) provides a set of guidance for architects and developers building enterprise Web applications. The factory includes samples, reusable code and a guidance package which automates key development tasks from within Visual Studio.&lt;br /&gt;&lt;br /&gt;Using the Web Client Software Factory assets, developers can create &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Composite%20Web%20Clients&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Composite Web&lt;/a&gt; applications composed of independently developed and deployed modules. These modules are dynamically brought together at runtime into a common shell. Additionally the factory includes support for ASP.NET AJAX thus providing users with a richer and more responsive user experience. &lt;br /&gt;
&lt;h3&gt;Getting Started&lt;/h3&gt;The &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Getting_Started_Feb_2008&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Getting Started&lt;/a&gt; provides recommendations on how to quickly use the guidance available in this factory.
&lt;ul&gt;&lt;li&gt;Click here to download the &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=47755838-049B-4291-AFEA-A379AE28D7B3&amp;amp;displaylang=en" class="externalLink"&gt;Web Client Software Factory - February 2008&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Click here for detailed instructions on &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Installing_the_Web_Client_Software_Factory_February_2008_Release&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Installing the factory&lt;/a&gt; or &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Upgrade_to_WCSFFeb2008&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Upgrade From Previous Releases&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Click here if you want to download the &lt;a href="http://webclientguidance.codeplex.com/releases/view/1563"&gt;Web Client Software Documentation&lt;/a&gt; instead of the entire factory.&lt;/li&gt;
&lt;li&gt;Click here for a list of &lt;a href="http://www.codeplex.com/websf/Wiki/View.aspx?title=Known%20Issues%20%2f%20Fixes" class="externalLink"&gt;Known Issues&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;

&lt;h3&gt;Where to go next?&lt;/h3&gt;&lt;table&gt;&lt;tr&gt;&lt;th&gt; Action &lt;/th&gt;&lt;th&gt; Link &lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; Read about the February 2008 release of the factory &lt;/td&gt;&lt;td&gt; &lt;a href="http://msdn.microsoft.com/webclientfactory" class="externalLink"&gt;WCSF MSDN Landing page&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; View our bundle catalog &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=bundles&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Guidance Bundle catalog&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; View recent announcements for the Web Client program &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Announcements&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Announcements&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; See a list of resources for getting started with WCSF &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Learning&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Learning Resources&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; Explore our compilation of Web Client tips, tricks and guidance from the Web Client team and the community &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Knowledge%20Base&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Knowledge Base&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; Page Flow Package released in &lt;a href="http://www.codeplex.com/wcsfcontrib" class="externalLink"&gt;WCSFContrib&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/wcsfcontrib/SourceControl/DownloadSourceCode.aspx?changeSetId=18372" class="externalLink"&gt;Download WCSFContrib Trunk&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; Read blog postings from the team &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Team%20Blogs&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Team Blogs&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; Read blog postings from the trenches &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Community%20Blogs&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Community Blogs&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; View Community work items that have been resolved with WCSF February 2008 release &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=ResolvedItems&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Resolved items&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; View additional links and resources &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Other&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Other links&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; View known issues &lt;/td&gt;&lt;td&gt;&lt;a href="http://www.codeplex.com/websf/Wiki/View.aspx?title=Known%20Issues%20%2f%20Fixes" class="externalLink"&gt;Known Issues&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;
&lt;h3&gt;Participation&lt;/h3&gt;The factory is developed using the open process used by patterns &amp;amp; practices for all of its deliverables. This process includes frequent builds and releases in this community of code and documentation. If you find bugs or want additional capabilities addressed by the team, use the &lt;a href="http://www.codeplex.com/WorkItem/List.aspx?ProjectName=websf" class="externalLink"&gt;Issue Tracker&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; to create a new Work Item.&lt;br /&gt;&lt;br /&gt;You can influence this project. Please send us feedback!&lt;br /&gt;&lt;br /&gt;Our team will continuously monitor the forums in this site to get feedback on content and to help us prioritize.&lt;br /&gt;&lt;br /&gt;Thanks!&lt;br /&gt;p&amp;amp;p Client Team&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>hanz</author><pubDate>Fri, 21 May 2010 23:49:00 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Web Client Software Factory 20100521114900P</guid></item><item><title>Updated Wiki: Web Client Software Factory</title><link>http://webclientguidance.codeplex.com/wikipage?title=Web Client Software Factory&amp;version=6</link><description>&lt;div class="wikidoc"&gt;&lt;h3&gt;&lt;a href="http://webclientguidance.codeplex.com/releases/view/43000" class="externalLink"&gt;Web Client Software Factory 2010 Source&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; that supports Visual Studio 2010 RC is now available for download.&lt;/h3&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=92649" alt="wcsf-Intro-scope.png" title="wcsf-Intro-scope.png" /&gt;&lt;br /&gt;The Web Client Software Factory (WCSF) provides a set of guidance for architects and developers building enterprise Web applications. The factory includes samples, reusable code and a guidance package which automates key development tasks from within Visual Studio.&lt;br /&gt;&lt;br /&gt;Using the Web Client Software Factory assets, developers can create &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Composite%20Web%20Clients&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Composite Web&lt;/a&gt; applications composed of independently developed and deployed modules. These modules are dynamically brought together at runtime into a common shell. Additionally the factory includes support for ASP.NET AJAX thus providing users with a richer and more responsive user experience. &lt;br /&gt;
&lt;h3&gt;Getting Started&lt;/h3&gt;The &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Getting_Started_Feb_2008&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Getting Started&lt;/a&gt; provides recommendations on how to quickly use the guidance available in this factory.
&lt;ul&gt;&lt;li&gt;Click here to download the &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=47755838-049B-4291-AFEA-A379AE28D7B3&amp;amp;displaylang=en" class="externalLink"&gt;Web Client Software Factory - February 2008&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Click here for detailed instructions on &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Installing_the_Web_Client_Software_Factory_February_2008_Release&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Installing the factory&lt;/a&gt; or &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Upgrade_to_WCSFFeb2008&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Upgrade From Previous Releases&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Click here if you want to download the &lt;a href="http://webclientguidance.codeplex.com/releases/view/1563"&gt;Web Client Software Documentation&lt;/a&gt; instead of the entire factory.&lt;/li&gt;
&lt;li&gt;Click here for a list of &lt;a href="http://www.codeplex.com/websf/Wiki/View.aspx?title=Known%20Issues%20%2f%20Fixes" class="externalLink"&gt;Known Issues&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;

&lt;h3&gt;Where to go next?&lt;/h3&gt;&lt;table&gt;&lt;tr&gt;&lt;th&gt; Action &lt;/th&gt;&lt;th&gt; Link &lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; Read about the February 2008 release of the factory &lt;/td&gt;&lt;td&gt; &lt;a href="http://msdn.microsoft.com/webclientfactory" class="externalLink"&gt;WCSF MSDN Landing page&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; View our bundle catalog &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=bundles&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Guidance Bundle catalog&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; View recent announcements for the Web Client program &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Announcements&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Announcements&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; See a list of resources for getting started with WCSF &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Learning&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Learning Resources&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; Explore our compilation of Web Client tips, tricks and guidance from the Web Client team and the community &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Knowledge%20Base&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Knowledge Base&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; Page Flow Package released in &lt;a href="http://www.codeplex.com/wcsfcontrib" class="externalLink"&gt;WCSFContrib&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;a href="http://www.codeplex.com/wcsfcontrib/SourceControl/DownloadSourceCode.aspx?changeSetId=18372" class="externalLink"&gt;Download WCSFContrib Trunk&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; Read blog postings from the team &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Team%20Blogs&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Team Blogs&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; Read blog postings from the trenches &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Community%20Blogs&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Community Blogs&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; View Community work items that have been resolved with WCSF February 2008 release &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=ResolvedItems&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Resolved items&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; View additional links and resources &lt;/td&gt;&lt;td&gt; &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Other&amp;referringTitle=Web%20Client%20Software%20Factory"&gt;Other links&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; View known issues &lt;/td&gt;&lt;td&gt;&lt;a href="http://www.codeplex.com/websf/Wiki/View.aspx?title=Known%20Issues%20%2f%20Fixes" class="externalLink"&gt;Known Issues&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;
&lt;h3&gt;Participation&lt;/h3&gt;The factory is developed using the open process used by patterns &amp;amp; practices for all of its deliverables. This process includes frequent builds and releases in this community of code and documentation. If you find bugs or want additional capabilities addressed by the team, use the &lt;a href="http://www.codeplex.com/WorkItem/List.aspx?ProjectName=websf" class="externalLink"&gt;Issue Tracker&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; to create a new Work Item.&lt;br /&gt;&lt;br /&gt;You can influence this project. Please send us feedback!&lt;br /&gt;&lt;br /&gt;Our team will continuously monitor the forums in this site to get feedback on content and to help us prioritize.&lt;br /&gt;&lt;br /&gt;Thanks!&lt;br /&gt;p&amp;amp;p Client Team&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>hanz</author><pubDate>Fri, 21 May 2010 23:32:24 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Web Client Software Factory 20100521113224P</guid></item><item><title>Updated Wiki: GettingStartedwiththeWebClientSoftwareFactory2010</title><link>http://webclientguidance.codeplex.com/wikipage?title=GettingStartedwiththeWebClientSoftwareFactory2010&amp;version=18</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Getting Started with the Web Client Software Factory 2010&lt;/h1&gt;
Are you new to the Web Client Software Factory? After installing the Web Client Software Factory, the best way to get familiar with the Web Client Software Factory is to do the following:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;See the &lt;a href="http://www.msdn.com/webclientfactory" class="externalLink"&gt;Web Client Software Factory&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for overview information on the factory.&lt;/li&gt;
&lt;li&gt;&lt;a href="#HelloWorld"&gt;Build a Hello World application&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Download and complete the &lt;a href="http://www.codeplex.com/websf/Release/ProjectReleases.aspx?ReleaseId=6897" class="externalLink"&gt;Hands-on Labs&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. (Note that these labs are for the June 2007 release.)&lt;/li&gt;&lt;/ul&gt;

&lt;h1&gt;Just Want to Review the Documentation?&lt;/h1&gt;If you are in the evaluation phase of the software factory, you can &lt;a href="http://webclientguidance.codeplex.com/releases/view/45216" class="externalLink"&gt;download the documentation&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; before downloading the software factory. Then, when you are ready, you can download the software factory.&lt;br /&gt;
&lt;h1&gt;Understanding the Basic Steps&lt;/h1&gt;Figure 1 illustrates the steps involved in creating the Hello World application.&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121664" alt="image1.png" title="image1.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 1&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Create Web client solution&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;These steps are explained in more detail in the following procedure.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To perform the basic steps&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;b&gt;Create the Web client solution&lt;/b&gt;. To do this, create the project and set some of its properties, such as where the default Web page is located.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Set the startup project, and then compile and run initial solution&lt;/b&gt;. &lt;/li&gt;
&lt;li&gt;&lt;b&gt;Add a Hello World business module&lt;/b&gt;. A business module encapsulates an aspect of your application’s functionality.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Create a page in the Hello World business module&lt;/b&gt;. Business modules typically contain related Web pages. The page has a presenter. The presenter contains the logic that implements the behavior of the UI.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Register the page with the site map&lt;/b&gt;. This creates a parent and a child node.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Compile and run the solution&lt;/b&gt;.The next section describes how to use the Web Client Software Factory recipes to create the Hello World application.&lt;/li&gt;&lt;/ol&gt;
&lt;br /&gt;&lt;a name="HelloWorld"&gt;&lt;/a&gt;
&lt;h1&gt;Create Your Hello World Application&lt;/h1&gt;This section describes how to use the Web Client Software Factory recipes. To create your first Hello World application, perform the procedures in this section.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Note:  The following procedures require that the Web Client Software Factory guidance package be installed.
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121655" alt="image2.png" title="image2.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 2&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Create Web client solution&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To create the Web client solution&lt;/b&gt;
&lt;ol&gt;&lt;li&gt;On the &lt;b&gt;File&lt;/b&gt; menu, point to &lt;b&gt;New&lt;/b&gt;, and then click &lt;b&gt;Project&lt;/b&gt;. The &lt;b&gt;New Project&lt;/b&gt; dialog box appears. This is shown in Figure 2.&lt;/li&gt;
&lt;li&gt;Under &lt;b&gt;Project types&lt;/b&gt;, expand &lt;b&gt;Guidance Packages&lt;/b&gt;, and then click &lt;b&gt;Web Client Software Factory 2010&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Under &lt;b&gt;Templates&lt;/b&gt;, click &lt;b&gt;Web Client Solution (C#, WebSite)&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;Name&lt;/b&gt; box, type &lt;b&gt;HelloWorldApplication&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;If you do not want to use the default location, enter one in the &lt;b&gt;Location&lt;/b&gt; text box, and then click &lt;b&gt;OK&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;On the first page of the Create Web Client Solution recipe wizard, confirm (or enter if necessary) the location of the required application block assemblies. This is shown in Figure 3. &lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;Root namespace&lt;/b&gt; box, type &lt;b&gt;HelloWorld&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;b&gt;Finish&lt;/b&gt; to unfold the Web Client solution template.&lt;/li&gt;&lt;/ol&gt;
Figure 3: Create Web client solution&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121656" alt="image3.png" title="image3.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 3&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Create Web client solution recipe wizard&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To set the startup project, and then compile and run initial solution&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Set HelloWorldApplication as the startup project. To do this, right-click &lt;b&gt;HelloWorldApplication&lt;/b&gt; in Solution Explorer, and then click &lt;b&gt;Set as StartUp Project&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Set the Default.aspx page in the root of the HelloWorldApplication site as the start page. To do this, right-click &lt;b&gt;Default.aspx&lt;/b&gt; in the root of the Web site, and then click &lt;b&gt;Set as Start Page&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Press F5 to build and run the solution. You should see the default view created by the recipe on the right and a site map node named Home added by the Shell module on the left. Figure 4 shows the initial application running.&lt;/li&gt;&lt;/ol&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121657" alt="image4.png" title="image4.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 4&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Hello World Web client application&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To add a HelloWorld business module&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;In the Modules solution folder, create a solution folder (not a physical folder) named HelloWorld.&lt;/li&gt;
&lt;li&gt;Use the guidance package to create a new business module in the HelloWorld solution folder. To do this, right-click the &lt;b&gt;HelloWorld&lt;/b&gt; solution folder in Solution Explorer, point to &lt;b&gt;Web Client Factory&lt;/b&gt;, and then click &lt;b&gt;Add Business Module (C#)&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;Add New Project&lt;/b&gt; dialog box, type &lt;b&gt;HelloWorld&lt;/b&gt; in the &lt;b&gt;Name&lt;/b&gt; box. This is shown in Figure 5. &lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121658" alt="image5.png" title="image5.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 5&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Add new project dialog box&lt;/i&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;In the &lt;b&gt;Location&lt;/b&gt; box, click &lt;b&gt;Browse&lt;/b&gt; to select &lt;b&gt;&lt;i&gt;%SolutionPath%&lt;/i&gt;\HelloWorldApplication\Modules\HelloWorld&lt;/b&gt; (create the HelloWorld folder if necessary).&lt;/li&gt;
&lt;li&gt;Click &lt;b&gt;OK&lt;/b&gt; to create the project and launch the recipe wizard.&lt;/li&gt;
&lt;li&gt;The Add Business Module recipe wizard appears. Select the &lt;b&gt;Click &lt;/b&gt;Finish*. This is shown in Figure 6.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121659" alt="image6.png" title="image6.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 6&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Add Business Module recipe wizard&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Note: For more information about how to create a module in your solution, see “How To: Create a Business Module” in the Web Client Software Factory documentation.
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To create a page in the HelloWorld module&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Create a new page named HelloWorldPage. To do this, right-click the &lt;b&gt;HelloWorld&lt;/b&gt; folder inside HelloWorldApplication site, point to &lt;b&gt;Web Client Factory&lt;/b&gt;, and then click &lt;b&gt;Add Page (with presenter) (C#)&lt;/b&gt;. The recipe wizard appears. This is shown in Figure 7.&lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121660" alt="image7.png" title="image7.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 7&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Add Page (with presenter) recipe wizard&lt;/i&gt;
&lt;ul&gt;&lt;li&gt;In the &lt;b&gt;Page name&lt;/b&gt; box, type &lt;b&gt;HelloWorldPage&lt;/b&gt;, and then click &lt;b&gt;Finish&lt;/b&gt;. The Add Page (with presenter) recipe will add the &lt;b&gt;IHelloWorldPageView&lt;/b&gt; interface and the &lt;b&gt;HelloWorldPagePresenter&lt;/b&gt; class into Views folder inside HelloWorld project and the HelloWorldPage page into HelloWorld folder inside the HelloWorldApplication site.&lt;/li&gt;&lt;/ul&gt;
&lt;pre&gt;
Note: For more information about how to create a page in your module, see “How to: Add a Page with a Presenter” in the Web Client Software Factory documentation.
&lt;/pre&gt;
&lt;ul&gt;&lt;li&gt;Open the HelloWorldPage.aspx file, and then change the message “HelloWorldPage” to “Hello World!” The source code of the page must look like the following.&lt;/li&gt;&lt;/ul&gt;
Code: ASP.NET&lt;br /&gt;&lt;pre&gt;
&amp;lt;%@ Page Language=&amp;quot;C#&amp;quot; AutoEventWireup=&amp;quot;true&amp;quot;
         CodeFile=&amp;quot;HelloWorldPage.aspx.cs&amp;quot;
         Inherits=&amp;quot;HelloWorld.HelloWorld.Views.HelloWorldPage&amp;quot;
         Title=&amp;quot;HelloWorldPage&amp;quot;
         MasterPageFile=&amp;quot;~/Shared/DefaultMaster.master&amp;quot; %&amp;gt;

&amp;lt;asp:Content ID=&amp;quot;content&amp;quot;
             ContentPlaceHolderID=&amp;quot;DefaultContent&amp;quot;
             Runat=&amp;quot;Server&amp;quot;&amp;gt;
    &amp;lt;h1&amp;gt;Hello World!&amp;lt;/h1&amp;gt;
&amp;lt;/asp:Content&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To register the page with the site map&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;In Solution Explorer, double-click in the &lt;b&gt;HelloWorldModuleInitializer.cs&lt;/b&gt; file located in the root of HelloWorld project inside the HelloWorld solution folder.&lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;RegisterSiteMapInformation&lt;/b&gt; method, add the site map node corresponding to the HelloWorldPage page, as shown in the following code.&lt;/li&gt;&lt;/ol&gt;
Code: C#&lt;br /&gt;&lt;pre&gt;
protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService)
{
    SiteMapNodeInfo moduleNode = new SiteMapNodeInfo(&amp;quot;HelloWorld&amp;quot;, &amp;quot;~/HelloWorld/Default.aspx&amp;quot;, &amp;quot;HelloWorld&amp;quot;);
    siteMapBuilderService.AddNode(moduleNode);

    SiteMapNodeInfo moduleNode1 = new SiteMapNodeInfo(&amp;quot;HelloWorldPage&amp;quot;, &amp;quot;~/HelloWorld/HelloWorldPage.aspx&amp;quot;, &amp;quot;Hello World Page&amp;quot;);
    siteMapBuilderService.AddNode(moduleNode1, moduleNode);
}
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To compile and run the application&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Press F5 to build and run the solution. You should see two site map nodes added by the HelloWorld module (the parent and the child). This is shown in Figure 8.&lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121661" alt="image8.png" title="image8.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 8&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Site map nodes added by the Hello World module&lt;/i&gt;
&lt;ul&gt;&lt;li&gt;Click in the &lt;b&gt;Hello World Page&lt;/b&gt; child node. You should see the page added by the Add Page (with presenter) recipe. Figure 9 shows the HelloWorldPage.aspx page.&lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121662" alt="image9.png" title="image9.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 9&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Hello World  page&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;After you create your Hello World application, you can use the Web Client Software Factory How-to topics in the documentation to extend your application. The Hello World application can help you to do the following:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Create a Web client solution.&lt;/li&gt;
&lt;li&gt;Enable a Web site to Use ASP.NET AJAX extensions.&lt;/li&gt;
&lt;li&gt;Create a business module.&lt;/li&gt;
&lt;li&gt;Create a foundational module.&lt;/li&gt;
&lt;li&gt;Add a page with a presenter.&lt;/li&gt;
&lt;li&gt;Add a master page with a presenter.&lt;/li&gt;
&lt;li&gt;Add a user control with a presenter.&lt;/li&gt;
&lt;li&gt;Implement the Model-View-Presenter pattern.&lt;/li&gt;
&lt;li&gt;Unit test a presenter.&lt;/li&gt;
&lt;li&gt;Register and use services.&lt;/li&gt;
&lt;li&gt;Add module pages to the site map.&lt;/li&gt;
&lt;li&gt;Use a module controller from a presenter.&lt;/li&gt;
&lt;li&gt;Use session state with unit testing.&lt;/li&gt;
&lt;li&gt;Map types for dependency injection.&lt;/li&gt;
&lt;li&gt;Authorize Web pages.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;ObjectContainerDataSource&lt;/b&gt; control.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;ServerSideValidationExtender&lt;/b&gt; control.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;RealTimeSearchMonitor&lt;/b&gt; extender.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;ContextSensitiveAutoCompleteExtender&lt;/b&gt; control.&lt;/li&gt;&lt;/ul&gt;
For information about how to perform these activities, see the &amp;quot;Development Activities&amp;quot; topic in the documentation.&lt;br /&gt;
&lt;h1&gt;Building and running the Reference Implementations and QuickStarts &lt;a name="Building_and_running"&gt;&lt;/a&gt;&lt;/h1&gt;This section assumes the Web Client Software Factory Source Code has been installed.&lt;br /&gt;Some solutions require the &lt;a href="http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx" class="externalLink"&gt;Ajax Control Toolkit&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; assembly that targets the .NET Framework 3.5 (downloaded separately). These solutions were tested on &lt;a href="http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx?ReleaseId=8513" class="externalLink"&gt;Version 11119&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; of the toolkit. The solutions that require Ajax Control Toolkit are:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Order Management Reference Implementation&lt;/li&gt;
&lt;li&gt;Validation QuickStart&lt;/li&gt;
&lt;li&gt;AutoComplete QuickStart&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;pre&gt;
Note: In order to build these solutions, first copy the Ajax Control Toolkit assembly to the *Lib\AjaxControlToolkit3.5* folder.
&lt;/pre&gt;
&lt;ol&gt;&lt;li&gt;Open the desired Reference Implementation or QuickStart solution file. &lt;/li&gt;
&lt;li&gt;Press &lt;b&gt;F5&lt;/b&gt; to build and run the application.&lt;/li&gt;&lt;/ol&gt;

&lt;h1&gt;More Information&lt;/h1&gt;For access to other documentation and resources, or to provide feedback, see the &lt;a href="http://www.codeplex.com/websf" class="externalLink"&gt;Web Client Software Factory&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; Web site. For more general information about the goals of this and other patterns &amp;amp; practices deliverables, see the &lt;a href="http://msdn2.microsoft.com/en-us/practices/default.aspx" class="externalLink"&gt;Microsoft patterns &amp;amp; practices Development Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>hanz</author><pubDate>Thu, 13 May 2010 00:01:52 GMT</pubDate><guid isPermaLink="false">Updated Wiki: GettingStartedwiththeWebClientSoftwareFactory2010 20100513120152A</guid></item><item><title>Updated Wiki: GettingStartedwiththeWebClientSoftwareFactory2010</title><link>http://webclientguidance.codeplex.com/wikipage?title=GettingStartedwiththeWebClientSoftwareFactory2010&amp;version=17</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Getting Started with the Web Client Software Factory 2010&lt;/h1&gt;
Are you new to the Web Client Software Factory? After installing the Web Client Software Factory, the best way to get familiar with the Web Client Software Factory is to do the following:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;See the &lt;a href="http://www.msdn.com/webclientfactory" class="externalLink"&gt;Web Client Software Factory&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for overview information on the factory.&lt;/li&gt;
&lt;li&gt;&lt;a href="#HelloWorld"&gt;Build a Hello World application&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Download and complete the &lt;a href="http://www.codeplex.com/websf/Release/ProjectReleases.aspx?ReleaseId=6897" class="externalLink"&gt;Hands-on Labs&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. (Note that these labs are for the June 2007 release.)&lt;/li&gt;&lt;/ul&gt;

&lt;h1&gt;Just Want to Review the Documentation?&lt;/h1&gt;If you are in the evaluation phase of the software factory, you can &lt;a href="http://http://webclientguidance.codeplex.com/releases/view/45216" class="externalLink"&gt;download the documentation&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; before downloading the software factory. Then, when you are ready, you can download the software factory.&lt;br /&gt;
&lt;h1&gt;Understanding the Basic Steps&lt;/h1&gt;Figure 1 illustrates the steps involved in creating the Hello World application.&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121664" alt="image1.png" title="image1.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 1&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Create Web client solution&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;These steps are explained in more detail in the following procedure.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To perform the basic steps&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;b&gt;Create the Web client solution&lt;/b&gt;. To do this, create the project and set some of its properties, such as where the default Web page is located.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Set the startup project, and then compile and run initial solution&lt;/b&gt;. &lt;/li&gt;
&lt;li&gt;&lt;b&gt;Add a Hello World business module&lt;/b&gt;. A business module encapsulates an aspect of your application’s functionality.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Create a page in the Hello World business module&lt;/b&gt;. Business modules typically contain related Web pages. The page has a presenter. The presenter contains the logic that implements the behavior of the UI.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Register the page with the site map&lt;/b&gt;. This creates a parent and a child node.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Compile and run the solution&lt;/b&gt;.The next section describes how to use the Web Client Software Factory recipes to create the Hello World application.&lt;/li&gt;&lt;/ol&gt;
&lt;br /&gt;&lt;a name="HelloWorld"&gt;&lt;/a&gt;
&lt;h1&gt;Create Your Hello World Application&lt;/h1&gt;This section describes how to use the Web Client Software Factory recipes. To create your first Hello World application, perform the procedures in this section.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Note:  The following procedures require that the Web Client Software Factory guidance package be installed.
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121655" alt="image2.png" title="image2.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 2&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Create Web client solution&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To create the Web client solution&lt;/b&gt;
&lt;ol&gt;&lt;li&gt;On the &lt;b&gt;File&lt;/b&gt; menu, point to &lt;b&gt;New&lt;/b&gt;, and then click &lt;b&gt;Project&lt;/b&gt;. The &lt;b&gt;New Project&lt;/b&gt; dialog box appears. This is shown in Figure 2.&lt;/li&gt;
&lt;li&gt;Under &lt;b&gt;Project types&lt;/b&gt;, expand &lt;b&gt;Guidance Packages&lt;/b&gt;, and then click &lt;b&gt;Web Client Software Factory 2010&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Under &lt;b&gt;Templates&lt;/b&gt;, click &lt;b&gt;Web Client Solution (C#, WebSite)&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;Name&lt;/b&gt; box, type &lt;b&gt;HelloWorldApplication&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;If you do not want to use the default location, enter one in the &lt;b&gt;Location&lt;/b&gt; text box, and then click &lt;b&gt;OK&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;On the first page of the Create Web Client Solution recipe wizard, confirm (or enter if necessary) the location of the required application block assemblies. This is shown in Figure 3. &lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;Root namespace&lt;/b&gt; box, type &lt;b&gt;HelloWorld&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;b&gt;Finish&lt;/b&gt; to unfold the Web Client solution template.&lt;/li&gt;&lt;/ol&gt;
Figure 3: Create Web client solution&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121656" alt="image3.png" title="image3.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 3&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Create Web client solution recipe wizard&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To set the startup project, and then compile and run initial solution&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Set HelloWorldApplication as the startup project. To do this, right-click &lt;b&gt;HelloWorldApplication&lt;/b&gt; in Solution Explorer, and then click &lt;b&gt;Set as StartUp Project&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Set the Default.aspx page in the root of the HelloWorldApplication site as the start page. To do this, right-click &lt;b&gt;Default.aspx&lt;/b&gt; in the root of the Web site, and then click &lt;b&gt;Set as Start Page&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Press F5 to build and run the solution. You should see the default view created by the recipe on the right and a site map node named Home added by the Shell module on the left. Figure 4 shows the initial application running.&lt;/li&gt;&lt;/ol&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121657" alt="image4.png" title="image4.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 4&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Hello World Web client application&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To add a HelloWorld business module&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;In the Modules solution folder, create a solution folder (not a physical folder) named HelloWorld.&lt;/li&gt;
&lt;li&gt;Use the guidance package to create a new business module in the HelloWorld solution folder. To do this, right-click the &lt;b&gt;HelloWorld&lt;/b&gt; solution folder in Solution Explorer, point to &lt;b&gt;Web Client Factory&lt;/b&gt;, and then click &lt;b&gt;Add Business Module (C#)&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;Add New Project&lt;/b&gt; dialog box, type &lt;b&gt;HelloWorld&lt;/b&gt; in the &lt;b&gt;Name&lt;/b&gt; box. This is shown in Figure 5. &lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121658" alt="image5.png" title="image5.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 5&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Add new project dialog box&lt;/i&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;In the &lt;b&gt;Location&lt;/b&gt; box, click &lt;b&gt;Browse&lt;/b&gt; to select &lt;b&gt;&lt;i&gt;%SolutionPath%&lt;/i&gt;\HelloWorldApplication\Modules\HelloWorld&lt;/b&gt; (create the HelloWorld folder if necessary).&lt;/li&gt;
&lt;li&gt;Click &lt;b&gt;OK&lt;/b&gt; to create the project and launch the recipe wizard.&lt;/li&gt;
&lt;li&gt;The Add Business Module recipe wizard appears. Select the &lt;b&gt;Click &lt;/b&gt;Finish*. This is shown in Figure 6.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121659" alt="image6.png" title="image6.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 6&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Add Business Module recipe wizard&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Note: For more information about how to create a module in your solution, see “How To: Create a Business Module” in the Web Client Software Factory documentation.
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To create a page in the HelloWorld module&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Create a new page named HelloWorldPage. To do this, right-click the &lt;b&gt;HelloWorld&lt;/b&gt; folder inside HelloWorldApplication site, point to &lt;b&gt;Web Client Factory&lt;/b&gt;, and then click &lt;b&gt;Add Page (with presenter) (C#)&lt;/b&gt;. The recipe wizard appears. This is shown in Figure 7.&lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121660" alt="image7.png" title="image7.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 7&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Add Page (with presenter) recipe wizard&lt;/i&gt;
&lt;ul&gt;&lt;li&gt;In the &lt;b&gt;Page name&lt;/b&gt; box, type &lt;b&gt;HelloWorldPage&lt;/b&gt;, and then click &lt;b&gt;Finish&lt;/b&gt;. The Add Page (with presenter) recipe will add the &lt;b&gt;IHelloWorldPageView&lt;/b&gt; interface and the &lt;b&gt;HelloWorldPagePresenter&lt;/b&gt; class into Views folder inside HelloWorld project and the HelloWorldPage page into HelloWorld folder inside the HelloWorldApplication site.&lt;/li&gt;&lt;/ul&gt;
&lt;pre&gt;
Note: For more information about how to create a page in your module, see “How to: Add a Page with a Presenter” in the Web Client Software Factory documentation.
&lt;/pre&gt;
&lt;ul&gt;&lt;li&gt;Open the HelloWorldPage.aspx file, and then change the message “HelloWorldPage” to “Hello World!” The source code of the page must look like the following.&lt;/li&gt;&lt;/ul&gt;
Code: ASP.NET&lt;br /&gt;&lt;pre&gt;
&amp;lt;%@ Page Language=&amp;quot;C#&amp;quot; AutoEventWireup=&amp;quot;true&amp;quot;
         CodeFile=&amp;quot;HelloWorldPage.aspx.cs&amp;quot;
         Inherits=&amp;quot;HelloWorld.HelloWorld.Views.HelloWorldPage&amp;quot;
         Title=&amp;quot;HelloWorldPage&amp;quot;
         MasterPageFile=&amp;quot;~/Shared/DefaultMaster.master&amp;quot; %&amp;gt;

&amp;lt;asp:Content ID=&amp;quot;content&amp;quot;
             ContentPlaceHolderID=&amp;quot;DefaultContent&amp;quot;
             Runat=&amp;quot;Server&amp;quot;&amp;gt;
    &amp;lt;h1&amp;gt;Hello World!&amp;lt;/h1&amp;gt;
&amp;lt;/asp:Content&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To register the page with the site map&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;In Solution Explorer, double-click in the &lt;b&gt;HelloWorldModuleInitializer.cs&lt;/b&gt; file located in the root of HelloWorld project inside the HelloWorld solution folder.&lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;RegisterSiteMapInformation&lt;/b&gt; method, add the site map node corresponding to the HelloWorldPage page, as shown in the following code.&lt;/li&gt;&lt;/ol&gt;
Code: C#&lt;br /&gt;&lt;pre&gt;
protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService)
{
    SiteMapNodeInfo moduleNode = new SiteMapNodeInfo(&amp;quot;HelloWorld&amp;quot;, &amp;quot;~/HelloWorld/Default.aspx&amp;quot;, &amp;quot;HelloWorld&amp;quot;);
    siteMapBuilderService.AddNode(moduleNode);

    SiteMapNodeInfo moduleNode1 = new SiteMapNodeInfo(&amp;quot;HelloWorldPage&amp;quot;, &amp;quot;~/HelloWorld/HelloWorldPage.aspx&amp;quot;, &amp;quot;Hello World Page&amp;quot;);
    siteMapBuilderService.AddNode(moduleNode1, moduleNode);
}
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To compile and run the application&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Press F5 to build and run the solution. You should see two site map nodes added by the HelloWorld module (the parent and the child). This is shown in Figure 8.&lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121661" alt="image8.png" title="image8.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 8&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Site map nodes added by the Hello World module&lt;/i&gt;
&lt;ul&gt;&lt;li&gt;Click in the &lt;b&gt;Hello World Page&lt;/b&gt; child node. You should see the page added by the Add Page (with presenter) recipe. Figure 9 shows the HelloWorldPage.aspx page.&lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121662" alt="image9.png" title="image9.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 9&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Hello World  page&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;After you create your Hello World application, you can use the Web Client Software Factory How-to topics in the documentation to extend your application. The Hello World application can help you to do the following:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Create a Web client solution.&lt;/li&gt;
&lt;li&gt;Enable a Web site to Use ASP.NET AJAX extensions.&lt;/li&gt;
&lt;li&gt;Create a business module.&lt;/li&gt;
&lt;li&gt;Create a foundational module.&lt;/li&gt;
&lt;li&gt;Add a page with a presenter.&lt;/li&gt;
&lt;li&gt;Add a master page with a presenter.&lt;/li&gt;
&lt;li&gt;Add a user control with a presenter.&lt;/li&gt;
&lt;li&gt;Implement the Model-View-Presenter pattern.&lt;/li&gt;
&lt;li&gt;Unit test a presenter.&lt;/li&gt;
&lt;li&gt;Register and use services.&lt;/li&gt;
&lt;li&gt;Add module pages to the site map.&lt;/li&gt;
&lt;li&gt;Use a module controller from a presenter.&lt;/li&gt;
&lt;li&gt;Use session state with unit testing.&lt;/li&gt;
&lt;li&gt;Map types for dependency injection.&lt;/li&gt;
&lt;li&gt;Authorize Web pages.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;ObjectContainerDataSource&lt;/b&gt; control.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;ServerSideValidationExtender&lt;/b&gt; control.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;RealTimeSearchMonitor&lt;/b&gt; extender.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;ContextSensitiveAutoCompleteExtender&lt;/b&gt; control.&lt;/li&gt;&lt;/ul&gt;
For information about how to perform these activities, see the &amp;quot;Development Activities&amp;quot; topic in the documentation.&lt;br /&gt;
&lt;h1&gt;Building and running the Reference Implementations and QuickStarts &lt;a name="Building_and_running"&gt;&lt;/a&gt;&lt;/h1&gt;This section assumes the Web Client Software Factory Source Code has been installed.&lt;br /&gt;Some solutions require the &lt;a href="http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx" class="externalLink"&gt;Ajax Control Toolkit&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; assembly that targets the .NET Framework 3.5 (downloaded separately). These solutions were tested on &lt;a href="http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx?ReleaseId=8513" class="externalLink"&gt;Version 11119&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; of the toolkit. The solutions that require Ajax Control Toolkit are:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Order Management Reference Implementation&lt;/li&gt;
&lt;li&gt;Validation QuickStart&lt;/li&gt;
&lt;li&gt;AutoComplete QuickStart&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;pre&gt;
Note: In order to build these solutions, first copy the Ajax Control Toolkit assembly to the *Lib\AjaxControlToolkit3.5* folder.
&lt;/pre&gt;
&lt;ol&gt;&lt;li&gt;Open the desired Reference Implementation or QuickStart solution file. &lt;/li&gt;
&lt;li&gt;Press &lt;b&gt;F5&lt;/b&gt; to build and run the application.&lt;/li&gt;&lt;/ol&gt;

&lt;h1&gt;More Information&lt;/h1&gt;For access to other documentation and resources, or to provide feedback, see the &lt;a href="http://www.codeplex.com/websf" class="externalLink"&gt;Web Client Software Factory&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; Web site. For more general information about the goals of this and other patterns &amp;amp; practices deliverables, see the &lt;a href="http://msdn2.microsoft.com/en-us/practices/default.aspx" class="externalLink"&gt;Microsoft patterns &amp;amp; practices Development Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>hanz</author><pubDate>Wed, 12 May 2010 23:59:41 GMT</pubDate><guid isPermaLink="false">Updated Wiki: GettingStartedwiththeWebClientSoftwareFactory2010 20100512115941P</guid></item><item><title>Updated Wiki: GettingStartedwiththeWebClientSoftwareFactory2010</title><link>http://webclientguidance.codeplex.com/wikipage?title=GettingStartedwiththeWebClientSoftwareFactory2010&amp;version=16</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Getting Started with the Web Client Software Factory 2010&lt;/h1&gt;
Are you new to the Web Client Software Factory? After installing the Web Client Software Factory, the best way to get familiar with the Web Client Software Factory is to do the following:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;See the &lt;a href="http://www.msdn.com/webclientfactory" class="externalLink"&gt;Web Client Software Factory&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for overview information on the factory.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Installing_the_Web_Client_Software_Factory_February_2008_Release&amp;referringTitle=GettingStartedwiththeWebClientSoftwareFactory2010"&gt;Installing the Web Client Software Factory - February 2008 Release and prerequisites&lt;/a&gt; or &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Upgrade_to_WCSFFeb2008&amp;referringTitle=GettingStartedwiththeWebClientSoftwareFactory2010"&gt;Upgrade From Previous Releases&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#HelloWorld"&gt;Build a Hello World application&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://#Building_and_running" class="externalLink"&gt;Building and running the Reference Implementations and QuickStarts&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. For information about the Reference Implementations and QuickStarts, see the &lt;a href="http://webclientguidance.codeplex.com/releases/view/1563"&gt;documentation&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Download and complete the &lt;a href="http://www.codeplex.com/websf/Release/ProjectReleases.aspx?ReleaseId=6897" class="externalLink"&gt;Hands-on Labs&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. (Note that these labs are for the June 2007 release.)&lt;/li&gt;
&lt;li&gt;Review the “Exploring the Web Client Software Factory” topic in the &lt;a href="http://webclientguidance.codeplex.com/releases/view/1563"&gt;documentation&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;

&lt;h1&gt;Just Want to Review the Documentation?&lt;/h1&gt;If you are in the evaluation phase of the software factory, you can &lt;a href="http://www.codeplex.com/websf/Release/ProjectReleases.aspx?ReleaseId=1563" class="externalLink"&gt;download the documentation&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; before downloading the software factory. Then, when you are ready, you can download the software factory.&lt;br /&gt;
&lt;h1&gt;Understanding the Basic Steps&lt;/h1&gt;Figure 1 illustrates the steps involved in creating the Hello World application.&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121664" alt="image1.png" title="image1.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 1&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Create Web client solution&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;These steps are explained in more detail in the following procedure.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To perform the basic steps&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;b&gt;Create the Web client solution&lt;/b&gt;. To do this, create the project and set some of its properties, such as where the default Web page is located.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Set the startup project, and then compile and run initial solution&lt;/b&gt;. &lt;/li&gt;
&lt;li&gt;&lt;b&gt;Add a Hello World business module&lt;/b&gt;. A business module encapsulates an aspect of your application’s functionality.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Create a page in the Hello World business module&lt;/b&gt;. Business modules typically contain related Web pages. The page has a presenter. The presenter contains the logic that implements the behavior of the UI.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Register the page with the site map&lt;/b&gt;. This creates a parent and a child node.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Compile and run the solution&lt;/b&gt;.The next section describes how to use the Web Client Software Factory recipes to create the Hello World application.&lt;/li&gt;&lt;/ol&gt;
&lt;br /&gt;&lt;a name="HelloWorld"&gt;&lt;/a&gt;
&lt;h1&gt;Create Your Hello World Application&lt;/h1&gt;This section describes how to use the Web Client Software Factory recipes. To create your first Hello World application, perform the procedures in this section.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Note:  The following procedures require that the Web Client Software Factory guidance package be installed.
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121655" alt="image2.png" title="image2.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 2&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Create Web client solution&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To create the Web client solution&lt;/b&gt;
&lt;ol&gt;&lt;li&gt;On the &lt;b&gt;File&lt;/b&gt; menu, point to &lt;b&gt;New&lt;/b&gt;, and then click &lt;b&gt;Project&lt;/b&gt;. The &lt;b&gt;New Project&lt;/b&gt; dialog box appears. This is shown in Figure 2.&lt;/li&gt;
&lt;li&gt;Under &lt;b&gt;Project types&lt;/b&gt;, expand &lt;b&gt;Guidance Packages&lt;/b&gt;, and then click &lt;b&gt;Web Client Software Factory 2010&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Under &lt;b&gt;Templates&lt;/b&gt;, click &lt;b&gt;Web Client Solution (C#, WebSite)&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;Name&lt;/b&gt; box, type &lt;b&gt;HelloWorldApplication&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;If you do not want to use the default location, enter one in the &lt;b&gt;Location&lt;/b&gt; text box, and then click &lt;b&gt;OK&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;On the first page of the Create Web Client Solution recipe wizard, confirm (or enter if necessary) the location of the required application block assemblies. This is shown in Figure 3. &lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;Root namespace&lt;/b&gt; box, type &lt;b&gt;HelloWorld&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;b&gt;Finish&lt;/b&gt; to unfold the Web Client solution template.&lt;/li&gt;&lt;/ol&gt;
Figure 3: Create Web client solution&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121656" alt="image3.png" title="image3.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 3&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Create Web client solution recipe wizard&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To set the startup project, and then compile and run initial solution&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Set HelloWorldApplication as the startup project. To do this, right-click &lt;b&gt;HelloWorldApplication&lt;/b&gt; in Solution Explorer, and then click &lt;b&gt;Set as StartUp Project&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Set the Default.aspx page in the root of the HelloWorldApplication site as the start page. To do this, right-click &lt;b&gt;Default.aspx&lt;/b&gt; in the root of the Web site, and then click &lt;b&gt;Set as Start Page&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Press F5 to build and run the solution. You should see the default view created by the recipe on the right and a site map node named Home added by the Shell module on the left. Figure 4 shows the initial application running.&lt;/li&gt;&lt;/ol&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121657" alt="image4.png" title="image4.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 4&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Hello World Web client application&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To add a HelloWorld business module&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;In the Modules solution folder, create a solution folder (not a physical folder) named HelloWorld.&lt;/li&gt;
&lt;li&gt;Use the guidance package to create a new business module in the HelloWorld solution folder. To do this, right-click the &lt;b&gt;HelloWorld&lt;/b&gt; solution folder in Solution Explorer, point to &lt;b&gt;Web Client Factory&lt;/b&gt;, and then click &lt;b&gt;Add Business Module (C#)&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;Add New Project&lt;/b&gt; dialog box, type &lt;b&gt;HelloWorld&lt;/b&gt; in the &lt;b&gt;Name&lt;/b&gt; box. This is shown in Figure 5. &lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121658" alt="image5.png" title="image5.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 5&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Add new project dialog box&lt;/i&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;In the &lt;b&gt;Location&lt;/b&gt; box, click &lt;b&gt;Browse&lt;/b&gt; to select &lt;b&gt;&lt;i&gt;%SolutionPath%&lt;/i&gt;\HelloWorldApplication\Modules\HelloWorld&lt;/b&gt; (create the HelloWorld folder if necessary).&lt;/li&gt;
&lt;li&gt;Click &lt;b&gt;OK&lt;/b&gt; to create the project and launch the recipe wizard.&lt;/li&gt;
&lt;li&gt;The Add Business Module recipe wizard appears. Select the &lt;b&gt;Click &lt;/b&gt;Finish*. This is shown in Figure 6.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121659" alt="image6.png" title="image6.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 6&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Add Business Module recipe wizard&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Note: For more information about how to create a module in your solution, see “How To: Create a Business Module” in the Web Client Software Factory documentation.
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To create a page in the HelloWorld module&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Create a new page named HelloWorldPage. To do this, right-click the &lt;b&gt;HelloWorld&lt;/b&gt; folder inside HelloWorldApplication site, point to &lt;b&gt;Web Client Factory&lt;/b&gt;, and then click &lt;b&gt;Add Page (with presenter) (C#)&lt;/b&gt;. The recipe wizard appears. This is shown in Figure 7.&lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121660" alt="image7.png" title="image7.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 7&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Add Page (with presenter) recipe wizard&lt;/i&gt;
&lt;ul&gt;&lt;li&gt;In the &lt;b&gt;Page name&lt;/b&gt; box, type &lt;b&gt;HelloWorldPage&lt;/b&gt;, and then click &lt;b&gt;Finish&lt;/b&gt;. The Add Page (with presenter) recipe will add the &lt;b&gt;IHelloWorldPageView&lt;/b&gt; interface and the &lt;b&gt;HelloWorldPagePresenter&lt;/b&gt; class into Views folder inside HelloWorld project and the HelloWorldPage page into HelloWorld folder inside the HelloWorldApplication site.&lt;/li&gt;&lt;/ul&gt;
&lt;pre&gt;
Note: For more information about how to create a page in your module, see “How to: Add a Page with a Presenter” in the Web Client Software Factory documentation.
&lt;/pre&gt;
&lt;ul&gt;&lt;li&gt;Open the HelloWorldPage.aspx file, and then change the message “HelloWorldPage” to “Hello World!” The source code of the page must look like the following.&lt;/li&gt;&lt;/ul&gt;
Code: ASP.NET&lt;br /&gt;&lt;pre&gt;
&amp;lt;%@ Page Language=&amp;quot;C#&amp;quot; AutoEventWireup=&amp;quot;true&amp;quot;
         CodeFile=&amp;quot;HelloWorldPage.aspx.cs&amp;quot;
         Inherits=&amp;quot;HelloWorld.HelloWorld.Views.HelloWorldPage&amp;quot;
         Title=&amp;quot;HelloWorldPage&amp;quot;
         MasterPageFile=&amp;quot;~/Shared/DefaultMaster.master&amp;quot; %&amp;gt;

&amp;lt;asp:Content ID=&amp;quot;content&amp;quot;
             ContentPlaceHolderID=&amp;quot;DefaultContent&amp;quot;
             Runat=&amp;quot;Server&amp;quot;&amp;gt;
    &amp;lt;h1&amp;gt;Hello World!&amp;lt;/h1&amp;gt;
&amp;lt;/asp:Content&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To register the page with the site map&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;In Solution Explorer, double-click in the &lt;b&gt;HelloWorldModuleInitializer.cs&lt;/b&gt; file located in the root of HelloWorld project inside the HelloWorld solution folder.&lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;RegisterSiteMapInformation&lt;/b&gt; method, add the site map node corresponding to the HelloWorldPage page, as shown in the following code.&lt;/li&gt;&lt;/ol&gt;
Code: C#&lt;br /&gt;&lt;pre&gt;
protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService)
{
    SiteMapNodeInfo moduleNode = new SiteMapNodeInfo(&amp;quot;HelloWorld&amp;quot;, &amp;quot;~/HelloWorld/Default.aspx&amp;quot;, &amp;quot;HelloWorld&amp;quot;);
    siteMapBuilderService.AddNode(moduleNode);

    SiteMapNodeInfo moduleNode1 = new SiteMapNodeInfo(&amp;quot;HelloWorldPage&amp;quot;, &amp;quot;~/HelloWorld/HelloWorldPage.aspx&amp;quot;, &amp;quot;Hello World Page&amp;quot;);
    siteMapBuilderService.AddNode(moduleNode1, moduleNode);
}
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To compile and run the application&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Press F5 to build and run the solution. You should see two site map nodes added by the HelloWorld module (the parent and the child). This is shown in Figure 8.&lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121661" alt="image8.png" title="image8.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 8&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Site map nodes added by the Hello World module&lt;/i&gt;
&lt;ul&gt;&lt;li&gt;Click in the &lt;b&gt;Hello World Page&lt;/b&gt; child node. You should see the page added by the Add Page (with presenter) recipe. Figure 9 shows the HelloWorldPage.aspx page.&lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121662" alt="image9.png" title="image9.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 9&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Hello World  page&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;After you create your Hello World application, you can use the Web Client Software Factory How-to topics in the documentation to extend your application. The Hello World application can help you to do the following:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Create a Web client solution.&lt;/li&gt;
&lt;li&gt;Enable a Web site to Use ASP.NET AJAX extensions.&lt;/li&gt;
&lt;li&gt;Create a business module.&lt;/li&gt;
&lt;li&gt;Create a foundational module.&lt;/li&gt;
&lt;li&gt;Add a page with a presenter.&lt;/li&gt;
&lt;li&gt;Add a master page with a presenter.&lt;/li&gt;
&lt;li&gt;Add a user control with a presenter.&lt;/li&gt;
&lt;li&gt;Implement the Model-View-Presenter pattern.&lt;/li&gt;
&lt;li&gt;Unit test a presenter.&lt;/li&gt;
&lt;li&gt;Register and use services.&lt;/li&gt;
&lt;li&gt;Add module pages to the site map.&lt;/li&gt;
&lt;li&gt;Use a module controller from a presenter.&lt;/li&gt;
&lt;li&gt;Use session state with unit testing.&lt;/li&gt;
&lt;li&gt;Map types for dependency injection.&lt;/li&gt;
&lt;li&gt;Authorize Web pages.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;ObjectContainerDataSource&lt;/b&gt; control.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;ServerSideValidationExtender&lt;/b&gt; control.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;RealTimeSearchMonitor&lt;/b&gt; extender.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;ContextSensitiveAutoCompleteExtender&lt;/b&gt; control.&lt;/li&gt;&lt;/ul&gt;
For information about how to perform these activities, see the &amp;quot;Development Activities&amp;quot; topic in the documentation.&lt;br /&gt;
&lt;h1&gt;Building and running the Reference Implementations and QuickStarts &lt;a name="Building_and_running"&gt;&lt;/a&gt;&lt;/h1&gt;This section assumes the Web Client Software Factory Source Code has been installed.&lt;br /&gt;Some solutions require the &lt;a href="http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx" class="externalLink"&gt;Ajax Control Toolkit&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; assembly that targets the .NET Framework 3.5 (downloaded separately). These solutions were tested on &lt;a href="http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx?ReleaseId=8513" class="externalLink"&gt;Version 11119&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; of the toolkit. The solutions that require Ajax Control Toolkit are:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Order Management Reference Implementation&lt;/li&gt;
&lt;li&gt;Validation QuickStart&lt;/li&gt;
&lt;li&gt;AutoComplete QuickStart&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;pre&gt;
Note: In order to build these solutions, first copy the Ajax Control Toolkit assembly to the *Lib\AjaxControlToolkit3.5* folder.
&lt;/pre&gt;
&lt;ol&gt;&lt;li&gt;Open the desired Reference Implementation or QuickStart solution file. &lt;/li&gt;
&lt;li&gt;Press &lt;b&gt;F5&lt;/b&gt; to build and run the application.&lt;/li&gt;&lt;/ol&gt;

&lt;h1&gt;More Information&lt;/h1&gt;For access to other documentation and resources, or to provide feedback, see the &lt;a href="http://www.codeplex.com/websf" class="externalLink"&gt;Web Client Software Factory&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; Web site. For more general information about the goals of this and other patterns &amp;amp; practices deliverables, see the &lt;a href="http://msdn2.microsoft.com/en-us/practices/default.aspx" class="externalLink"&gt;Microsoft patterns &amp;amp; practices Development Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>hanz</author><pubDate>Wed, 12 May 2010 23:46:59 GMT</pubDate><guid isPermaLink="false">Updated Wiki: GettingStartedwiththeWebClientSoftwareFactory2010 20100512114659P</guid></item><item><title>Updated Wiki: GettingStartedwiththeWebClientSoftwareFactory2010</title><link>http://webclientguidance.codeplex.com/wikipage?title=GettingStartedwiththeWebClientSoftwareFactory2010&amp;version=15</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Getting Started with the Web Client Software Factory 2010&lt;/h1&gt;
Are you new to the Web Client Software Factory? After installing the Web Client Software Factory, the best way to get familiar with the Web Client Software Factory is to do the following:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;See the &lt;a href="http://www.msdn.com/webclientfactory" class="externalLink"&gt;Web Client Software Factory&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for overview information on the factory.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Installing_the_Web_Client_Software_Factory_February_2008_Release&amp;referringTitle=GettingStartedwiththeWebClientSoftwareFactory2010"&gt;Installing the Web Client Software Factory - February 2008 Release and prerequisites&lt;/a&gt; or &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Upgrade_to_WCSFFeb2008&amp;referringTitle=GettingStartedwiththeWebClientSoftwareFactory2010"&gt;Upgrade From Previous Releases&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#HelloWorld"&gt;Build a Hello World application&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://#Building_and_running" class="externalLink"&gt;Building and running the Reference Implementations and QuickStarts&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. For information about the Reference Implementations and QuickStarts, see the &lt;a href="http://webclientguidance.codeplex.com/releases/view/1563"&gt;documentation&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Download and complete the &lt;a href="http://www.codeplex.com/websf/Release/ProjectReleases.aspx?ReleaseId=6897" class="externalLink"&gt;Hands-on Labs&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. (Note that these labs are for the June 2007 release.)&lt;/li&gt;
&lt;li&gt;Review the “Exploring the Web Client Software Factory” topic in the &lt;a href="http://webclientguidance.codeplex.com/releases/view/1563"&gt;documentation&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;

&lt;h1&gt;Just Want to Review the Documentation?&lt;/h1&gt;If you are in the evaluation phase of the software factory, you can &lt;a href="http://www.codeplex.com/websf/Release/ProjectReleases.aspx?ReleaseId=1563" class="externalLink"&gt;download the documentation&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; before downloading the software factory. Then, when you are ready, you can download the software factory.&lt;br /&gt;
&lt;h1&gt;Understanding the Basic Steps&lt;/h1&gt;Figure 1 illustrates the steps involved in creating the Hello World application.&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121664" alt="image1.png" title="image1.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 1&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Create Web client solution&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;These steps are explained in more detail in the following procedure.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To perform the basic steps&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;b&gt;Create the Web client solution&lt;/b&gt;. To do this, create the project and set some of its properties, such as where the default Web page is located.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Set the startup project, and then compile and run initial solution&lt;/b&gt;. &lt;/li&gt;
&lt;li&gt;&lt;b&gt;Add a Hello World business module&lt;/b&gt;. A business module encapsulates an aspect of your application’s functionality.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Create a page in the Hello World business module&lt;/b&gt;. Business modules typically contain related Web pages. The page has a presenter. The presenter contains the logic that implements the behavior of the UI.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Register the page with the site map&lt;/b&gt;. This creates a parent and a child node.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Compile and run the solution&lt;/b&gt;.The next section describes how to use the Web Client Software Factory recipes to create the Hello World application.&lt;/li&gt;&lt;/ol&gt;
&lt;br /&gt;&lt;a name="HelloWorld"&gt;&lt;/a&gt;
&lt;h1&gt;Create Your Hello World Application&lt;/h1&gt;This section describes how to use the Web Client Software Factory recipes. To create your first Hello World application, perform the procedures in this section.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Note:  The following procedures require that the Web Client Software Factory guidance package be installed.
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121655" alt="image2.png" title="image2.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 2&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Create Web client solution&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To create the Web client solution&lt;/b&gt;
&lt;ol&gt;&lt;li&gt;On the &lt;b&gt;File&lt;/b&gt; menu, point to &lt;b&gt;New&lt;/b&gt;, and then click &lt;b&gt;Project&lt;/b&gt;. The &lt;b&gt;New Project&lt;/b&gt; dialog box appears. This is shown in Figure 2.&lt;/li&gt;
&lt;li&gt;Under &lt;b&gt;Project types&lt;/b&gt;, expand &lt;b&gt;Guidance Packages&lt;/b&gt;, and then click &lt;b&gt;Web Client Software Factory 2010&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Under &lt;b&gt;Templates&lt;/b&gt;, click &lt;b&gt;Web Client Solution (C#, WebSite)&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;Name&lt;/b&gt; box, type &lt;b&gt;HelloWorldApplication&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;If you do not want to use the default location, enter one in the &lt;b&gt;Location&lt;/b&gt; text box, and then click &lt;b&gt;OK&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;On the first page of the Create Web Client Solution recipe wizard, confirm (or enter if necessary) the location of the required application block assemblies. This is shown in Figure 3. &lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;Root namespace&lt;/b&gt; box, type &lt;b&gt;HelloWorld&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;b&gt;Finish&lt;/b&gt; to unfold the Web Client solution template.&lt;/li&gt;&lt;/ol&gt;
Figure 3: Create Web client solution&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121656" alt="image3.png" title="image3.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 3&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Create Web client solution recipe wizard&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To set the startup project, and then compile and run initial solution&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Set HelloWorldApplication as the startup project. To do this, right-click &lt;b&gt;HelloWorldApplication&lt;/b&gt; in Solution Explorer, and then click &lt;b&gt;Set as StartUp Project&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Set the Default.aspx page in the root of the HelloWorldApplication site as the start page. To do this, right-click &lt;b&gt;Default.aspx&lt;/b&gt; in the root of the Web site, and then click &lt;b&gt;Set as Start Page&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Press F5 to build and run the solution. You should see the default view created by the recipe on the right and a site map node named Home added by the Shell module on the left. Figure 4 shows the initial application running.&lt;/li&gt;&lt;/ol&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121657" alt="image4.png" title="image4.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 4&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Hello World Web client application&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To add a HelloWorld business module&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;In the Modules solution folder, create a solution folder (not a physical folder) named HelloWorld.&lt;/li&gt;
&lt;li&gt;Use the guidance package to create a new business module in the HelloWorld solution folder. To do this, right-click the &lt;b&gt;HelloWorld&lt;/b&gt; solution folder in Solution Explorer, point to &lt;b&gt;Web Client Factory&lt;/b&gt;, and then click &lt;b&gt;Add Business Module (C#)&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;Add New Project&lt;/b&gt; dialog box, type &lt;b&gt;HelloWorld&lt;/b&gt; in the &lt;b&gt;Name&lt;/b&gt; box. This is shown in Figure 5. &lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121658" alt="image5.png" title="image5.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 5&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Add new project dialog box&lt;/i&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;In the &lt;b&gt;Location&lt;/b&gt; box, click &lt;b&gt;Browse&lt;/b&gt; to select &lt;b&gt;&lt;i&gt;%SolutionPath%&lt;/i&gt;\HelloWorldApplication\Modules\HelloWorld&lt;/b&gt; (create the HelloWorld folder if necessary).&lt;/li&gt;
&lt;li&gt;Click &lt;b&gt;OK&lt;/b&gt; to create the project and launch the recipe wizard.&lt;/li&gt;
&lt;li&gt;The Add Business Module recipe wizard appears. Select the &lt;b&gt;Click &lt;/b&gt;Finish*. This is shown in Figure 6.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121659" alt="image6.png" title="image6.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 6&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Add Business Module recipe wizard&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Note: For more information about how to create a module in your solution, see “How To: Create a Business Module” in the Web Client Software Factory documentation.
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To create a page in the HelloWorld module&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Create a new page named HelloWorldPage. To do this, right-click the &lt;b&gt;HelloWorld&lt;/b&gt; folder inside HelloWorldApplication site, point to &lt;b&gt;Web Client Factory&lt;/b&gt;, and then click &lt;b&gt;Add Page (with presenter) (C#)&lt;/b&gt;. The recipe wizard appears. This is shown in Figure 7.&lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121660" alt="image7.png" title="image7.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 7&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Add Page (with presenter) recipe wizard&lt;/i&gt;
&lt;ul&gt;&lt;li&gt;In the &lt;b&gt;Page name&lt;/b&gt; box, type &lt;b&gt;HelloWorldPage&lt;/b&gt;, and then click &lt;b&gt;Finish&lt;/b&gt;. The Add Page (with presenter) recipe will add the &lt;b&gt;IHelloWorldPageView&lt;/b&gt; interface and the &lt;b&gt;HelloWorldPagePresenter&lt;/b&gt; class into Views folder inside HelloWorld project and the HelloWorldPage page into HelloWorld folder inside the HelloWorldApplication site.&lt;/li&gt;&lt;/ul&gt;
&lt;pre&gt;
Note: For more information about how to create a page in your module, see “How to: Add a Page with a Presenter” in the Web Client Software Factory documentation.
&lt;/pre&gt;
&lt;ul&gt;&lt;li&gt;Open the HelloWorldPage.aspx file, and then change the message “HelloWorldPage” to “Hello World!” The source code of the page must look like the following.&lt;/li&gt;&lt;/ul&gt;
Code: ASP.NET&lt;br /&gt;&lt;pre&gt;
&amp;lt;%@ Page Language=&amp;quot;C#&amp;quot; AutoEventWireup=&amp;quot;true&amp;quot;
         CodeFile=&amp;quot;HelloWorldPage.aspx.cs&amp;quot;
         Inherits=&amp;quot;HelloWorld.HelloWorld.Views.HelloWorldPage&amp;quot;
         Title=&amp;quot;HelloWorldPage&amp;quot;
         MasterPageFile=&amp;quot;~/Shared/DefaultMaster.master&amp;quot; %&amp;gt;

&amp;lt;asp:Content ID=&amp;quot;content&amp;quot;
             ContentPlaceHolderID=&amp;quot;DefaultContent&amp;quot;
             Runat=&amp;quot;Server&amp;quot;&amp;gt;
    &amp;lt;h1&amp;gt;Hello World!&amp;lt;/h1&amp;gt;
&amp;lt;/asp:Content&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To register the page with the site map&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;In Solution Explorer, double-click in the &lt;b&gt;HelloWorldModuleInitializer.cs&lt;/b&gt; file located in the root of HelloWorld project inside the HelloWorld solution folder.&lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;RegisterSiteMapInformation&lt;/b&gt; method, add the site map node corresponding to the HelloWorldPage page, as shown in the following code.&lt;/li&gt;&lt;/ol&gt;
Code: C#&lt;br /&gt;&lt;pre&gt;
protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService)
{
    SiteMapNodeInfo moduleNode = new SiteMapNodeInfo(&amp;quot;HelloWorld&amp;quot;, &amp;quot;~/HelloWorld/Default.aspx&amp;quot;, &amp;quot;HelloWorld&amp;quot;);
    siteMapBuilderService.AddNode(moduleNode);

    *SiteMapNodeInfo moduleNode1 = new SiteMapNodeInfo(&amp;quot;HelloWorldPage&amp;quot;, &amp;quot;~/HelloWorld/HelloWorldPage.aspx&amp;quot;, &amp;quot;Hello World Page&amp;quot;);*
    *siteMapBuilderService.AddNode(moduleNode1, moduleNode);*
}
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To compile and run the application&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Press F5 to build and run the solution. You should see two site map nodes added by the HelloWorld module (the parent and the child). This is shown in Figure 8.&lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121661" alt="image8.png" title="image8.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 8&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Site map nodes added by the Hello World module&lt;/i&gt;
&lt;ul&gt;&lt;li&gt;Click in the &lt;b&gt;Hello World Page&lt;/b&gt; child node. You should see the page added by the Add Page (with presenter) recipe. Figure 9 shows the HelloWorldPage.aspx page.&lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121662" alt="image9.png" title="image9.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 9&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Hello World  page&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;After you create your Hello World application, you can use the Web Client Software Factory How-to topics in the documentation to extend your application. The Hello World application can help you to do the following:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Create a Web client solution.&lt;/li&gt;
&lt;li&gt;Enable a Web site to Use ASP.NET AJAX extensions.&lt;/li&gt;
&lt;li&gt;Create a business module.&lt;/li&gt;
&lt;li&gt;Create a foundational module.&lt;/li&gt;
&lt;li&gt;Add a page with a presenter.&lt;/li&gt;
&lt;li&gt;Add a master page with a presenter.&lt;/li&gt;
&lt;li&gt;Add a user control with a presenter.&lt;/li&gt;
&lt;li&gt;Implement the Model-View-Presenter pattern.&lt;/li&gt;
&lt;li&gt;Unit test a presenter.&lt;/li&gt;
&lt;li&gt;Register and use services.&lt;/li&gt;
&lt;li&gt;Add module pages to the site map.&lt;/li&gt;
&lt;li&gt;Use a module controller from a presenter.&lt;/li&gt;
&lt;li&gt;Use session state with unit testing.&lt;/li&gt;
&lt;li&gt;Map types for dependency injection.&lt;/li&gt;
&lt;li&gt;Authorize Web pages.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;ObjectContainerDataSource&lt;/b&gt; control.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;ServerSideValidationExtender&lt;/b&gt; control.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;RealTimeSearchMonitor&lt;/b&gt; extender.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;ContextSensitiveAutoCompleteExtender&lt;/b&gt; control.&lt;/li&gt;&lt;/ul&gt;
For information about how to perform these activities, see the &amp;quot;Development Activities&amp;quot; topic in the documentation.&lt;br /&gt;
&lt;h1&gt;Building and running the Reference Implementations and QuickStarts &lt;a name="Building_and_running"&gt;&lt;/a&gt;&lt;/h1&gt;This section assumes the Web Client Software Factory Source Code has been installed.&lt;br /&gt;Some solutions require the &lt;a href="http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx" class="externalLink"&gt;Ajax Control Toolkit&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; assembly that targets the .NET Framework 3.5 (downloaded separately). These solutions were tested on &lt;a href="http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx?ReleaseId=8513" class="externalLink"&gt;Version 11119&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; of the toolkit. The solutions that require Ajax Control Toolkit are:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Order Management Reference Implementation&lt;/li&gt;
&lt;li&gt;Validation QuickStart&lt;/li&gt;
&lt;li&gt;AutoComplete QuickStart&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;pre&gt;
Note: In order to build these solutions, first copy the Ajax Control Toolkit assembly to the *Lib\AjaxControlToolkit3.5* folder.
&lt;/pre&gt;
&lt;ol&gt;&lt;li&gt;Open the desired Reference Implementation or QuickStart solution file. &lt;/li&gt;
&lt;li&gt;Press &lt;b&gt;F5&lt;/b&gt; to build and run the application.&lt;/li&gt;&lt;/ol&gt;

&lt;h1&gt;More Information&lt;/h1&gt;For access to other documentation and resources, or to provide feedback, see the &lt;a href="http://www.codeplex.com/websf" class="externalLink"&gt;Web Client Software Factory&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; Web site. For more general information about the goals of this and other patterns &amp;amp; practices deliverables, see the &lt;a href="http://msdn2.microsoft.com/en-us/practices/default.aspx" class="externalLink"&gt;Microsoft patterns &amp;amp; practices Development Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>hanz</author><pubDate>Wed, 12 May 2010 23:45:53 GMT</pubDate><guid isPermaLink="false">Updated Wiki: GettingStartedwiththeWebClientSoftwareFactory2010 20100512114553P</guid></item><item><title>Updated Wiki: GettingStartedwiththeWebClientSoftwareFactory2010</title><link>http://webclientguidance.codeplex.com/wikipage?title=GettingStartedwiththeWebClientSoftwareFactory2010&amp;version=14</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Getting Started with the Web Client Software Factory 2010&lt;/h1&gt;
Are you new to the Web Client Software Factory? After installing the Web Client Software Factory, the best way to get familiar with the Web Client Software Factory is to do the following:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;See the &lt;a href="http://www.msdn.com/webclientfactory" class="externalLink"&gt;Web Client Software Factory&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for overview information on the factory.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Installing_the_Web_Client_Software_Factory_February_2008_Release&amp;referringTitle=GettingStartedwiththeWebClientSoftwareFactory2010"&gt;Installing the Web Client Software Factory - February 2008 Release and prerequisites&lt;/a&gt; or &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Upgrade_to_WCSFFeb2008&amp;referringTitle=GettingStartedwiththeWebClientSoftwareFactory2010"&gt;Upgrade From Previous Releases&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#HelloWorld"&gt;Build a Hello World application&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://#Building_and_running" class="externalLink"&gt;Building and running the Reference Implementations and QuickStarts&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. For information about the Reference Implementations and QuickStarts, see the &lt;a href="http://webclientguidance.codeplex.com/releases/view/1563"&gt;documentation&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Download and complete the &lt;a href="http://www.codeplex.com/websf/Release/ProjectReleases.aspx?ReleaseId=6897" class="externalLink"&gt;Hands-on Labs&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. (Note that these labs are for the June 2007 release.)&lt;/li&gt;
&lt;li&gt;Review the “Exploring the Web Client Software Factory” topic in the &lt;a href="http://webclientguidance.codeplex.com/releases/view/1563"&gt;documentation&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;

&lt;h1&gt;Just Want to Review the Documentation?&lt;/h1&gt;If you are in the evaluation phase of the software factory, you can &lt;a href="http://www.codeplex.com/websf/Release/ProjectReleases.aspx?ReleaseId=1563" class="externalLink"&gt;download the documentation&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; before downloading the software factory. Then, when you are ready, you can download the software factory.&lt;br /&gt;
&lt;h1&gt;Understanding the Basic Steps&lt;/h1&gt;Figure 1 illustrates the steps involved in creating the Hello World application.&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121664" alt="image1.png" title="image1.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 1&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Create Web client solution&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;These steps are explained in more detail in the following procedure.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To perform the basic steps&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;b&gt;Create the Web client solution&lt;/b&gt;. To do this, create the project and set some of its properties, such as where the default Web page is located.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Set the startup project, and then compile and run initial solution&lt;/b&gt;. &lt;/li&gt;
&lt;li&gt;&lt;b&gt;Add a Hello World business module&lt;/b&gt;. A business module encapsulates an aspect of your application’s functionality.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Create a page in the Hello World business module&lt;/b&gt;. Business modules typically contain related Web pages. The page has a presenter. The presenter contains the logic that implements the behavior of the UI.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Register the page with the site map&lt;/b&gt;. This creates a parent and a child node.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Compile and run the solution&lt;/b&gt;.The next section describes how to use the Web Client Software Factory recipes to create the Hello World application.&lt;/li&gt;&lt;/ol&gt;
&lt;br /&gt;&lt;a name="HelloWorld"&gt;&lt;/a&gt;
&lt;h1&gt;Create Your Hello World Application&lt;/h1&gt;This section describes how to use the Web Client Software Factory recipes. To create your first Hello World application, perform the procedures in this section.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Note:  The following procedures require that the Web Client Software Factory guidance package be installed.
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121655" alt="image2.png" title="image2.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 2&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Create Web client solution&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To create the Web client solution&lt;/b&gt;
&lt;ol&gt;&lt;li&gt;On the &lt;b&gt;File&lt;/b&gt; menu, point to &lt;b&gt;New&lt;/b&gt;, and then click &lt;b&gt;Project&lt;/b&gt;. The &lt;b&gt;New Project&lt;/b&gt; dialog box appears. This is shown in Figure 2.&lt;/li&gt;
&lt;li&gt;Under &lt;b&gt;Project types&lt;/b&gt;, expand &lt;b&gt;Guidance Packages&lt;/b&gt;, and then click &lt;b&gt;Web Client Software Factory 2010&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Under &lt;b&gt;Templates&lt;/b&gt;, click &lt;b&gt;Web Client Solution (C#, WebSite)&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;Name&lt;/b&gt; box, type &lt;b&gt;HelloWorldApplication&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;If you do not want to use the default location, enter one in the &lt;b&gt;Location&lt;/b&gt; text box, and then click &lt;b&gt;OK&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;On the first page of the Create Web Client Solution recipe wizard, confirm (or enter if necessary) the location of the required application block assemblies. This is shown in Figure 3. &lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;Root namespace&lt;/b&gt; box, type &lt;b&gt;HelloWorld&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;b&gt;Finish&lt;/b&gt; to unfold the Web Client solution template.&lt;/li&gt;&lt;/ol&gt;
Figure 3: Create Web client solution&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121656" alt="image3.png" title="image3.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 3&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Create Web client solution recipe wizard&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To set the startup project, and then compile and run initial solution&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Set HelloWorldApplication as the startup project. To do this, right-click &lt;b&gt;HelloWorldApplication&lt;/b&gt; in Solution Explorer, and then click &lt;b&gt;Set as StartUp Project&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Set the Default.aspx page in the root of the HelloWorldApplication site as the start page. To do this, right-click &lt;b&gt;Default.aspx&lt;/b&gt; in the root of the Web site, and then click &lt;b&gt;Set as Start Page&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Press F5 to build and run the solution. You should see the default view created by the recipe on the right and a site map node named Home added by the Shell module on the left. Figure 4 shows the initial application running.&lt;/li&gt;&lt;/ol&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121657" alt="image4.png" title="image4.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 4&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Hello World Web client application&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To add a HelloWorld business module&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;In the Modules solution folder, create a solution folder (not a physical folder) named HelloWorld.&lt;/li&gt;
&lt;li&gt;Use the guidance package to create a new business module in the HelloWorld solution folder. To do this, right-click the &lt;b&gt;HelloWorld&lt;/b&gt; solution folder in Solution Explorer, point to &lt;b&gt;Web Client Factory&lt;/b&gt;, and then click &lt;b&gt;Add Business Module (C#)&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;Add New Project&lt;/b&gt; dialog box, type &lt;b&gt;HelloWorld&lt;/b&gt; in the &lt;b&gt;Name&lt;/b&gt; box. This is shown in Figure 5. &lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121658" alt="image5.png" title="image5.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 5&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Add new project dialog box&lt;/i&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;In the &lt;b&gt;Location&lt;/b&gt; box, click &lt;b&gt;Browse&lt;/b&gt; to select &lt;b&gt;&lt;i&gt;%SolutionPath%&lt;/i&gt;\HelloWorldApplication\Modules\HelloWorld&lt;/b&gt; (create the HelloWorld folder if necessary).&lt;/li&gt;
&lt;li&gt;Click &lt;b&gt;OK&lt;/b&gt; to create the project and launch the recipe wizard.&lt;/li&gt;
&lt;li&gt;The Add Business Module recipe wizard appears. Select the &lt;b&gt;Click &lt;/b&gt;Finish*. This is shown in Figure 6.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121659" alt="image6.png" title="image6.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 6&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Add Business Module recipe wizard&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Note: For more information about how to create a module in your solution, see “How To: Create a Business Module” in the Web Client Software Factory documentation.
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To create a page in the HelloWorld module&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Create a new page named HelloWorldPage. To do this, right-click the &lt;b&gt;HelloWorld&lt;/b&gt; folder inside HelloWorldApplication site, point to &lt;b&gt;Web Client Factory&lt;/b&gt;, and then click &lt;b&gt;Add Page (with presenter) (C#)&lt;/b&gt;. The recipe wizard appears. This is shown in Figure 7.&lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121660" alt="image7.png" title="image7.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 7&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Add Page (with presenter) recipe wizard&lt;/i&gt;
&lt;ul&gt;&lt;li&gt;In the &lt;b&gt;Page name&lt;/b&gt; box, type &lt;b&gt;HelloWorldPage&lt;/b&gt;, and then click &lt;b&gt;Finish&lt;/b&gt;. The Add Page (with presenter) recipe will add the &lt;b&gt;IHelloWorldPageView&lt;/b&gt; interface and the &lt;b&gt;HelloWorldPagePresenter&lt;/b&gt; class into Views folder inside HelloWorld project and the HelloWorldPage page into HelloWorld folder inside the HelloWorldApplication site.&lt;/li&gt;&lt;/ul&gt;
&lt;pre&gt;
Note: For more information about how to create a page in your module, see “How to: Add a Page with a Presenter” in the Web Client Software Factory documentation.
&lt;/pre&gt;
&lt;ul&gt;&lt;li&gt;Open the HelloWorldPage.aspx file, and then change the message “HelloWorldPage” to “Hello World!” The source code of the page must look like the following.&lt;/li&gt;&lt;/ul&gt;
Code: ASP.NET&lt;br /&gt;&lt;pre&gt;
&amp;lt;%@ Page Language=&amp;quot;C#&amp;quot; AutoEventWireup=&amp;quot;true&amp;quot;
         CodeFile=&amp;quot;HelloWorldPage.aspx.cs&amp;quot;
         Inherits=&amp;quot;HelloWorld.HelloWorld.Views.HelloWorldPage&amp;quot;
         Title=&amp;quot;HelloWorldPage&amp;quot;
         MasterPageFile=&amp;quot;~/Shared/DefaultMaster.master&amp;quot; %&amp;gt;

&amp;lt;asp:Content ID=&amp;quot;content&amp;quot;
             ContentPlaceHolderID=&amp;quot;DefaultContent&amp;quot;
             Runat=&amp;quot;Server&amp;quot;&amp;gt;
    &amp;lt;h1&amp;gt;Hello World!&amp;lt;/h1&amp;gt;
&amp;lt;/asp:Content&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To register the page with the site map&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;In Solution Explorer, double-click in the &lt;b&gt;HelloWorldModuleInitializer.cs&lt;/b&gt; file located in the root of HelloWorld project inside the HelloWorld solution folder.&lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;RegisterSiteMapInformation&lt;/b&gt; method, add the site map node corresponding to the HelloWorldPage page, as shown in the following code.&lt;/li&gt;&lt;/ol&gt;
Code: C#&lt;br /&gt;&lt;pre&gt;
protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService)
{
    SiteMapNodeInfo moduleNode = new SiteMapNodeInfo(&amp;quot;HelloWorld&amp;quot;, &amp;quot;~/HelloWorld/Default.aspx&amp;quot;, &amp;quot;HelloWorld&amp;quot;);
    siteMapBuilderService.AddNode(moduleNode);

    SiteMapNodeInfo moduleNode1 = new SiteMapNodeInfo(&amp;quot;HelloWorldPage&amp;quot;, &amp;quot;~/HelloWorld/HelloWorldPage.aspx&amp;quot;, &amp;quot;Hello World Page&amp;quot;);
    siteMapBuilderService.AddNode(moduleNode1, moduleNode);
}
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To compile and run the application&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Press F5 to build and run the solution. You should see two site map nodes added by the HelloWorld module (the parent and the child). This is shown in Figure 8.&lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121661" alt="image8.png" title="image8.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 8&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Site map nodes added by the Hello World module&lt;/i&gt;
&lt;ul&gt;&lt;li&gt;Click in the &lt;b&gt;Hello World Page&lt;/b&gt; child node. You should see the page added by the Add Page (with presenter) recipe. Figure 9 shows the HelloWorldPage.aspx page.&lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121662" alt="image9.png" title="image9.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 9&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Hello World  page&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;After you create your Hello World application, you can use the Web Client Software Factory How-to topics in the documentation to extend your application. The Hello World application can help you to do the following:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Create a Web client solution.&lt;/li&gt;
&lt;li&gt;Enable a Web site to Use ASP.NET AJAX extensions.&lt;/li&gt;
&lt;li&gt;Create a business module.&lt;/li&gt;
&lt;li&gt;Create a foundational module.&lt;/li&gt;
&lt;li&gt;Add a page with a presenter.&lt;/li&gt;
&lt;li&gt;Add a master page with a presenter.&lt;/li&gt;
&lt;li&gt;Add a user control with a presenter.&lt;/li&gt;
&lt;li&gt;Implement the Model-View-Presenter pattern.&lt;/li&gt;
&lt;li&gt;Unit test a presenter.&lt;/li&gt;
&lt;li&gt;Register and use services.&lt;/li&gt;
&lt;li&gt;Add module pages to the site map.&lt;/li&gt;
&lt;li&gt;Use a module controller from a presenter.&lt;/li&gt;
&lt;li&gt;Use session state with unit testing.&lt;/li&gt;
&lt;li&gt;Map types for dependency injection.&lt;/li&gt;
&lt;li&gt;Authorize Web pages.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;ObjectContainerDataSource&lt;/b&gt; control.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;ServerSideValidationExtender&lt;/b&gt; control.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;RealTimeSearchMonitor&lt;/b&gt; extender.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;ContextSensitiveAutoCompleteExtender&lt;/b&gt; control.&lt;/li&gt;&lt;/ul&gt;
For information about how to perform these activities, see the &amp;quot;Development Activities&amp;quot; topic in the documentation.&lt;br /&gt;
&lt;h1&gt;Building and running the Reference Implementations and QuickStarts &lt;a name="Building_and_running"&gt;&lt;/a&gt;&lt;/h1&gt;This section assumes the Web Client Software Factory Source Code has been installed.&lt;br /&gt;Some solutions require the &lt;a href="http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx" class="externalLink"&gt;Ajax Control Toolkit&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; assembly that targets the .NET Framework 3.5 (downloaded separately). These solutions were tested on &lt;a href="http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx?ReleaseId=8513" class="externalLink"&gt;Version 11119&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; of the toolkit. The solutions that require Ajax Control Toolkit are:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Order Management Reference Implementation&lt;/li&gt;
&lt;li&gt;Validation QuickStart&lt;/li&gt;
&lt;li&gt;AutoComplete QuickStart&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;pre&gt;
Note: In order to build these solutions, first copy the Ajax Control Toolkit assembly to the *Lib\AjaxControlToolkit3.5* folder.
&lt;/pre&gt;
&lt;ol&gt;&lt;li&gt;Open the desired Reference Implementation or QuickStart solution file. &lt;/li&gt;
&lt;li&gt;Press &lt;b&gt;F5&lt;/b&gt; to build and run the application.&lt;/li&gt;&lt;/ol&gt;

&lt;h1&gt;More Information&lt;/h1&gt;For access to other documentation and resources, or to provide feedback, see the &lt;a href="http://www.codeplex.com/websf" class="externalLink"&gt;Web Client Software Factory&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; Web site. For more general information about the goals of this and other patterns &amp;amp; practices deliverables, see the &lt;a href="http://msdn2.microsoft.com/en-us/practices/default.aspx" class="externalLink"&gt;Microsoft patterns &amp;amp; practices Development Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>hanz</author><pubDate>Wed, 12 May 2010 23:44:00 GMT</pubDate><guid isPermaLink="false">Updated Wiki: GettingStartedwiththeWebClientSoftwareFactory2010 20100512114400P</guid></item><item><title>Updated Wiki: GettingStartedwiththeWebClientSoftwareFactory2010</title><link>http://webclientguidance.codeplex.com/wikipage?title=GettingStartedwiththeWebClientSoftwareFactory2010&amp;version=13</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Getting Started with the Web Client Software Factory 2010&lt;/h1&gt;
Are you new to the Web Client Software Factory? After installing the Web Client Software Factory, the best way to get familiar with the Web Client Software Factory is to do the following:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;See the &lt;a href="http://www.msdn.com/webclientfactory" class="externalLink"&gt;Web Client Software Factory&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for overview information on the factory.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Installing_the_Web_Client_Software_Factory_February_2008_Release&amp;referringTitle=GettingStartedwiththeWebClientSoftwareFactory2010"&gt;Installing the Web Client Software Factory - February 2008 Release and prerequisites&lt;/a&gt; or &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Upgrade_to_WCSFFeb2008&amp;referringTitle=GettingStartedwiththeWebClientSoftwareFactory2010"&gt;Upgrade From Previous Releases&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#HelloWorld"&gt;Build a Hello World application&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://#Building_and_running" class="externalLink"&gt;Building and running the Reference Implementations and QuickStarts&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. For information about the Reference Implementations and QuickStarts, see the &lt;a href="http://webclientguidance.codeplex.com/releases/view/1563"&gt;documentation&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Download and complete the &lt;a href="http://www.codeplex.com/websf/Release/ProjectReleases.aspx?ReleaseId=6897" class="externalLink"&gt;Hands-on Labs&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. (Note that these labs are for the June 2007 release.)&lt;/li&gt;
&lt;li&gt;Review the “Exploring the Web Client Software Factory” topic in the &lt;a href="http://webclientguidance.codeplex.com/releases/view/1563"&gt;documentation&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;

&lt;h1&gt;Just Want to Review the Documentation?&lt;/h1&gt;If you are in the evaluation phase of the software factory, you can &lt;a href="http://www.codeplex.com/websf/Release/ProjectReleases.aspx?ReleaseId=1563" class="externalLink"&gt;download the documentation&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; before downloading the software factory. Then, when you are ready, you can download the software factory.&lt;br /&gt;
&lt;h1&gt;Understanding the Basic Steps&lt;/h1&gt;Figure 1 illustrates the steps involved in creating the Hello World application.&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121664" alt="image1.png" title="image1.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 1&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Create Web client solution&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;These steps are explained in more detail in the following procedure.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To perform the basic steps&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;b&gt;Create the Web client solution&lt;/b&gt;. To do this, create the project and set some of its properties, such as where the default Web page is located.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Set the startup project, and then compile and run initial solution&lt;/b&gt;. &lt;/li&gt;
&lt;li&gt;&lt;b&gt;Add a Hello World business module&lt;/b&gt;. A business module encapsulates an aspect of your application’s functionality.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Create a page in the Hello World business module&lt;/b&gt;. Business modules typically contain related Web pages. The page has a presenter. The presenter contains the logic that implements the behavior of the UI.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Register the page with the site map&lt;/b&gt;. This creates a parent and a child node.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Compile and run the solution&lt;/b&gt;.The next section describes how to use the Web Client Software Factory recipes to create the Hello World application.&lt;/li&gt;&lt;/ol&gt;
&lt;br /&gt;&lt;a name="HelloWorld"&gt;&lt;/a&gt;
&lt;h1&gt;Create Your Hello World Application&lt;/h1&gt;This section describes how to use the Web Client Software Factory recipes. To create your first Hello World application, perform the procedures in this section.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Note:  The following procedures require that the Web Client Software Factory guidance package be installed.
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121655" alt="image2.png" title="image2.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 2&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Create Web client solution&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To create the Web client solution&lt;/b&gt;
&lt;ol&gt;&lt;li&gt;On the &lt;b&gt;File&lt;/b&gt; menu, point to &lt;b&gt;New&lt;/b&gt;, and then click &lt;b&gt;Project&lt;/b&gt;. The &lt;b&gt;New Project&lt;/b&gt; dialog box appears. This is shown in Figure 2.&lt;/li&gt;
&lt;li&gt;Under &lt;b&gt;Project types&lt;/b&gt;, expand &lt;b&gt;Guidance Packages&lt;/b&gt;, and then click &lt;b&gt;Web Client Software Factory 2010&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Under &lt;b&gt;Templates&lt;/b&gt;, click &lt;b&gt;Web Client Solution (C#, WebSite)&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;Name&lt;/b&gt; box, type &lt;b&gt;HelloWorldApplication&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;If you do not want to use the default location, enter one in the &lt;b&gt;Location&lt;/b&gt; text box, and then click &lt;b&gt;OK&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;On the first page of the Create Web Client Solution recipe wizard, confirm (or enter if necessary) the location of the required application block assemblies. This is shown in Figure 3. &lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;Root namespace&lt;/b&gt; box, type &lt;b&gt;HelloWorld&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;b&gt;Finish&lt;/b&gt; to unfold the Web Client solution template.&lt;/li&gt;&lt;/ol&gt;
Figure 3: Create Web client solution&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121656" alt="image3.png" title="image3.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 3&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Create Web client solution recipe wizard&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To set the startup project, and then compile and run initial solution&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Set DevelopmentWebsite as the startup project. To do this, right-click &lt;b&gt;HelloWorldApplication&lt;/b&gt; in Solution Explorer, and then click &lt;b&gt;Set as StartUp Project&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Set the Default.aspx page in the root of the HelloWorldApplication site as the start page. To do this, right-click &lt;b&gt;Default.aspx&lt;/b&gt; in the root of the Web site, and then click &lt;b&gt;Set as Start Page&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Press F5 to build and run the solution. You should see the default view created by the recipe on the right and a site map node named Home added by the Shell module on the left. Figure 4 shows the initial application running.&lt;/li&gt;&lt;/ol&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121657" alt="image4.png" title="image4.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 4&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Hello World Web client application&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To add a HelloWorld business module&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;In the Modules solution folder, create a solution folder (not a physical folder) named HelloWorld.&lt;/li&gt;
&lt;li&gt;Use the guidance package to create a new business module in the HelloWorld solution folder. To do this, right-click the &lt;b&gt;HelloWorld&lt;/b&gt; solution folder in Solution Explorer, point to &lt;b&gt;Web Client Factory&lt;/b&gt;, and then click &lt;b&gt;Add Business Module (C#)&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;Add New Project&lt;/b&gt; dialog box, type &lt;b&gt;HelloWorld&lt;/b&gt; in the &lt;b&gt;Name&lt;/b&gt; box. This is shown in Figure 5. &lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121658" alt="image5.png" title="image5.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 5&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Add new project dialog box&lt;/i&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;In the &lt;b&gt;Location&lt;/b&gt; box, click &lt;b&gt;Browse&lt;/b&gt; to select &lt;b&gt;&lt;i&gt;%SolutionPath%&lt;/i&gt;\HelloWorldApplication\Modules\HelloWorld&lt;/b&gt; (create the HelloWorld folder if necessary).&lt;/li&gt;
&lt;li&gt;Click &lt;b&gt;OK&lt;/b&gt; to create the project and launch the recipe wizard.&lt;/li&gt;
&lt;li&gt;The Add Business Module recipe wizard appears. Select the &lt;b&gt;Click &lt;/b&gt;Finish*. This is shown in Figure 6.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121659" alt="image6.png" title="image6.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 6&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Add Business Module recipe wizard&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Note: For more information about how to create a module in your solution, see “How To: Create a Business Module” in the Web Client Software Factory documentation.
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To create a page in the HelloWorld module&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Create a new page named HelloWorldPage. To do this, right-click the &lt;b&gt;HelloWorld&lt;/b&gt; folder inside HelloWorldApplication site, point to &lt;b&gt;Web Client Factory&lt;/b&gt;, and then click &lt;b&gt;Add Page (with presenter) (C#)&lt;/b&gt;. The recipe wizard appears. This is shown in Figure 7.&lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121660" alt="image7.png" title="image7.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 7&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Add Page (with presenter) recipe wizard&lt;/i&gt;
&lt;ul&gt;&lt;li&gt;In the &lt;b&gt;Page name&lt;/b&gt; box, type &lt;b&gt;HelloWorldPage&lt;/b&gt;, and then click &lt;b&gt;Finish&lt;/b&gt;. The Add Page (with presenter) recipe will add the &lt;b&gt;IHelloWorldPageView&lt;/b&gt; interface and the &lt;b&gt;HelloWorldPagePresenter&lt;/b&gt; class into Views folder inside HelloWorld project and the HelloWorldPage page into HelloWorld folder inside the HelloWorldApplication site.&lt;/li&gt;&lt;/ul&gt;
&lt;pre&gt;
Note: For more information about how to create a page in your module, see “How to: Add a Page with a Presenter” in the Web Client Software Factory documentation.
&lt;/pre&gt;
&lt;ul&gt;&lt;li&gt;Open the HelloWorldPage.aspx file, and then change the message “HelloWorldPage” to “Hello World!” The source code of the page must look like the following.&lt;/li&gt;&lt;/ul&gt;
Code: ASP.NET&lt;br /&gt;&lt;pre&gt;
&amp;lt;%@ Page Language=&amp;quot;C#&amp;quot; AutoEventWireup=&amp;quot;true&amp;quot;
         CodeFile=&amp;quot;HelloWorldPage.aspx.cs&amp;quot;
         Inherits=&amp;quot;HelloWorld.HelloWorld.Views.HelloWorldPage&amp;quot;
         Title=&amp;quot;HelloWorldPage&amp;quot;
         MasterPageFile=&amp;quot;~/Shared/DefaultMaster.master&amp;quot; %&amp;gt;

&amp;lt;asp:Content ID=&amp;quot;content&amp;quot;
             ContentPlaceHolderID=&amp;quot;DefaultContent&amp;quot;
             Runat=&amp;quot;Server&amp;quot;&amp;gt;
    &amp;lt;h1&amp;gt;Hello World!&amp;lt;/h1&amp;gt;
&amp;lt;/asp:Content&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To register the page with the site map&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;In Solution Explorer, double-click in the &lt;b&gt;HelloWorldModuleInitializer.cs&lt;/b&gt; file located in the root of HelloWorld project inside the HelloWorld solution folder.&lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;RegisterSiteMapInformation&lt;/b&gt; method, add the site map node corresponding to the HelloWorldPage page, as shown in the following code.&lt;/li&gt;&lt;/ol&gt;
Code: C#&lt;br /&gt;&lt;pre&gt;
protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService)
{
    SiteMapNodeInfo moduleNode = new SiteMapNodeInfo(&amp;quot;HelloWorld&amp;quot;, &amp;quot;~/HelloWorld/Default.aspx&amp;quot;, &amp;quot;HelloWorld&amp;quot;);
    siteMapBuilderService.AddNode(moduleNode);

    SiteMapNodeInfo moduleNode1 = new SiteMapNodeInfo(&amp;quot;HelloWorldPage&amp;quot;, &amp;quot;~/HelloWorld/HelloWorldPage.aspx&amp;quot;, &amp;quot;Hello World Page&amp;quot;);
    siteMapBuilderService.AddNode(moduleNode1, moduleNode);
}
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To compile and run the application&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Press F5 to build and run the solution. You should see two site map nodes added by the HelloWorld module (the parent and the child). This is shown in Figure 8.&lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121661" alt="image8.png" title="image8.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 8&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Site map nodes added by the Hello World module&lt;/i&gt;
&lt;ul&gt;&lt;li&gt;Click in the &lt;b&gt;Hello World Page&lt;/b&gt; child node. You should see the page added by the Add Page (with presenter) recipe. Figure 9 shows the HelloWorldPage.aspx page.&lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121662" alt="image9.png" title="image9.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 9&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Hello World  page&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;After you create your Hello World application, you can use the Web Client Software Factory How-to topics in the documentation to extend your application. The Hello World application can help you to do the following:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Create a Web client solution.&lt;/li&gt;
&lt;li&gt;Enable a Web site to Use ASP.NET AJAX extensions.&lt;/li&gt;
&lt;li&gt;Create a business module.&lt;/li&gt;
&lt;li&gt;Create a foundational module.&lt;/li&gt;
&lt;li&gt;Add a page with a presenter.&lt;/li&gt;
&lt;li&gt;Add a master page with a presenter.&lt;/li&gt;
&lt;li&gt;Add a user control with a presenter.&lt;/li&gt;
&lt;li&gt;Implement the Model-View-Presenter pattern.&lt;/li&gt;
&lt;li&gt;Unit test a presenter.&lt;/li&gt;
&lt;li&gt;Register and use services.&lt;/li&gt;
&lt;li&gt;Add module pages to the site map.&lt;/li&gt;
&lt;li&gt;Use a module controller from a presenter.&lt;/li&gt;
&lt;li&gt;Use session state with unit testing.&lt;/li&gt;
&lt;li&gt;Map types for dependency injection.&lt;/li&gt;
&lt;li&gt;Authorize Web pages.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;ObjectContainerDataSource&lt;/b&gt; control.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;ServerSideValidationExtender&lt;/b&gt; control.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;RealTimeSearchMonitor&lt;/b&gt; extender.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;ContextSensitiveAutoCompleteExtender&lt;/b&gt; control.&lt;/li&gt;&lt;/ul&gt;
For information about how to perform these activities, see the &amp;quot;Development Activities&amp;quot; topic in the documentation.&lt;br /&gt;
&lt;h1&gt;Building and running the Reference Implementations and QuickStarts &lt;a name="Building_and_running"&gt;&lt;/a&gt;&lt;/h1&gt;This section assumes the Web Client Software Factory Source Code has been installed.&lt;br /&gt;Some solutions require the &lt;a href="http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx" class="externalLink"&gt;Ajax Control Toolkit&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; assembly that targets the .NET Framework 3.5 (downloaded separately). These solutions were tested on &lt;a href="http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx?ReleaseId=8513" class="externalLink"&gt;Version 11119&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; of the toolkit. The solutions that require Ajax Control Toolkit are:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Order Management Reference Implementation&lt;/li&gt;
&lt;li&gt;Validation QuickStart&lt;/li&gt;
&lt;li&gt;AutoComplete QuickStart&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;pre&gt;
Note: In order to build these solutions, first copy the Ajax Control Toolkit assembly to the *Lib\AjaxControlToolkit3.5* folder.
&lt;/pre&gt;
&lt;ol&gt;&lt;li&gt;Open the desired Reference Implementation or QuickStart solution file. &lt;/li&gt;
&lt;li&gt;Press &lt;b&gt;F5&lt;/b&gt; to build and run the application.&lt;/li&gt;&lt;/ol&gt;

&lt;h1&gt;More Information&lt;/h1&gt;For access to other documentation and resources, or to provide feedback, see the &lt;a href="http://www.codeplex.com/websf" class="externalLink"&gt;Web Client Software Factory&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; Web site. For more general information about the goals of this and other patterns &amp;amp; practices deliverables, see the &lt;a href="http://msdn2.microsoft.com/en-us/practices/default.aspx" class="externalLink"&gt;Microsoft patterns &amp;amp; practices Development Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>hanz</author><pubDate>Wed, 12 May 2010 23:43:12 GMT</pubDate><guid isPermaLink="false">Updated Wiki: GettingStartedwiththeWebClientSoftwareFactory2010 20100512114312P</guid></item><item><title>Updated Wiki: GettingStartedwiththeWebClientSoftwareFactory2010</title><link>http://webclientguidance.codeplex.com/wikipage?title=GettingStartedwiththeWebClientSoftwareFactory2010&amp;version=12</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Getting Started with the Web Client Software Factory 2010&lt;/h1&gt;
Are you new to the Web Client Software Factory? After installing the Web Client Software Factory, the best way to get familiar with the Web Client Software Factory is to do the following:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;See the &lt;a href="http://www.msdn.com/webclientfactory" class="externalLink"&gt;Web Client Software Factory&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for overview information on the factory.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Installing_the_Web_Client_Software_Factory_February_2008_Release&amp;referringTitle=GettingStartedwiththeWebClientSoftwareFactory2010"&gt;Installing the Web Client Software Factory - February 2008 Release and prerequisites&lt;/a&gt; or &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Upgrade_to_WCSFFeb2008&amp;referringTitle=GettingStartedwiththeWebClientSoftwareFactory2010"&gt;Upgrade From Previous Releases&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#HelloWorld"&gt;Build a Hello World application&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://#Building_and_running" class="externalLink"&gt;Building and running the Reference Implementations and QuickStarts&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. For information about the Reference Implementations and QuickStarts, see the &lt;a href="http://webclientguidance.codeplex.com/releases/view/1563"&gt;documentation&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Download and complete the &lt;a href="http://www.codeplex.com/websf/Release/ProjectReleases.aspx?ReleaseId=6897" class="externalLink"&gt;Hands-on Labs&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. (Note that these labs are for the June 2007 release.)&lt;/li&gt;
&lt;li&gt;Review the “Exploring the Web Client Software Factory” topic in the &lt;a href="http://webclientguidance.codeplex.com/releases/view/1563"&gt;documentation&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;

&lt;h1&gt;Just Want to Review the Documentation?&lt;/h1&gt;If you are in the evaluation phase of the software factory, you can &lt;a href="http://www.codeplex.com/websf/Release/ProjectReleases.aspx?ReleaseId=1563" class="externalLink"&gt;download the documentation&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; before downloading the software factory. Then, when you are ready, you can download the software factory.&lt;br /&gt;
&lt;h1&gt;Understanding the Basic Steps&lt;/h1&gt;Figure 1 illustrates the steps involved in creating the Hello World application.&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121664" alt="image1.png" title="image1.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 1&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Create Web client solution&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;These steps are explained in more detail in the following procedure.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To perform the basic steps&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;b&gt;Create the Web client solution&lt;/b&gt;. To do this, create the project and set some of its properties, such as where the default Web page is located.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Set the startup project, and then compile and run initial solution&lt;/b&gt;. &lt;/li&gt;
&lt;li&gt;&lt;b&gt;Add a Hello World business module&lt;/b&gt;. A business module encapsulates an aspect of your application’s functionality.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Create a page in the Hello World business module&lt;/b&gt;. Business modules typically contain related Web pages. The page has a presenter. The presenter contains the logic that implements the behavior of the UI.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Register the page with the site map&lt;/b&gt;. This creates a parent and a child node.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Compile and run the solution&lt;/b&gt;.The next section describes how to use the Web Client Software Factory recipes to create the Hello World application.&lt;/li&gt;&lt;/ol&gt;
&lt;br /&gt;&lt;a name="HelloWorld"&gt;&lt;/a&gt;
&lt;h1&gt;Create Your Hello World Application&lt;/h1&gt;This section describes how to use the Web Client Software Factory recipes. To create your first Hello World application, perform the procedures in this section.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Note:  The following procedures require that the Web Client Software Factory guidance package be installed.
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121655" alt="image2.png" title="image2.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 2&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Create Web client solution&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To create the Web client solution&lt;/b&gt;
&lt;ol&gt;&lt;li&gt;On the &lt;b&gt;File&lt;/b&gt; menu, point to &lt;b&gt;New&lt;/b&gt;, and then click &lt;b&gt;Project&lt;/b&gt;. The &lt;b&gt;New Project&lt;/b&gt; dialog box appears. This is shown in Figure 2.&lt;/li&gt;
&lt;li&gt;Under &lt;b&gt;Project types&lt;/b&gt;, expand &lt;b&gt;Guidance Packages&lt;/b&gt;, and then click &lt;b&gt;Web Client Development February 2008&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Under &lt;b&gt;Templates&lt;/b&gt;, click &lt;b&gt;Web Client Solution (C#, WAP)&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;Name&lt;/b&gt; box, type &lt;b&gt;HelloWorldApplication&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;If you do not want to use the default location, enter one in the &lt;b&gt;Location&lt;/b&gt; text box, and then click &lt;b&gt;OK&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;On the first page of the Create Web Client Solution recipe wizard, confirm (or enter if necessary) the location of the required application block assemblies. This is shown in Figure 3. &lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;Root namespace&lt;/b&gt; box, type &lt;b&gt;HelloWorld&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Select the &lt;b&gt;Show documentation after recipe completes&lt;/b&gt; check box.&lt;/li&gt;
&lt;li&gt;Click &lt;b&gt;Finish&lt;/b&gt; to unfold the Web Client solution template.&lt;/li&gt;&lt;/ol&gt;
Figure 3: Create Web client solution&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121656" alt="image3.png" title="image3.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 3&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Create Web client solution recipe wizard&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To set the startup project, and then compile and run initial solution&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Set DevelopmentWebsite as the startup project. To do this, right-click &lt;b&gt;DevelopmentWebsite&lt;/b&gt; in Solution Explorer, and then click &lt;b&gt;Set as StartUp Project&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Set the Default.aspx page in the root of the DevelopmentWebsite site as the start page. To do this, right-click &lt;b&gt;Default.aspx&lt;/b&gt; in the root of the Web site, and then click &lt;b&gt;Set as Start Page&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Press F5 to build and run the solution. You should see the default view created by the recipe on the right and a site map node named Home added by the Shell module on the left. Figure 4 shows the initial application running.&lt;/li&gt;&lt;/ol&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121657" alt="image4.png" title="image4.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 4&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Hello World Web client application&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To add a HelloWorld business module&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;In the Modules solution folder, create a solution folder (not a physical folder) named HelloWorld.&lt;/li&gt;
&lt;li&gt;Use the guidance package to create a new business module in the HelloWorld solution folder. To do this, right-click the &lt;b&gt;HelloWorld&lt;/b&gt; solution folder in Solution Explorer, point to &lt;b&gt;Web Client Factory&lt;/b&gt;, and then click &lt;b&gt;Add Business Module (C#)&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;Add New Project&lt;/b&gt; dialog box, type &lt;b&gt;HelloWorld&lt;/b&gt; in the &lt;b&gt;Name&lt;/b&gt; box. This is shown in Figure 5. &lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121658" alt="image5.png" title="image5.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 5&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Add new project dialog box&lt;/i&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;In the &lt;b&gt;Location&lt;/b&gt; box, click &lt;b&gt;Browse&lt;/b&gt; to select &lt;b&gt;&lt;i&gt;%SolutionPath%&lt;/i&gt;\HelloWorldApplication\Modules\HelloWorld&lt;/b&gt; (create the HelloWorld folder if necessary).&lt;/li&gt;
&lt;li&gt;Click &lt;b&gt;OK&lt;/b&gt; to create the project and launch the recipe wizard.&lt;/li&gt;
&lt;li&gt;The Add Business Module recipe wizard appears. Select the &lt;b&gt;Show documentation after recipe completes&lt;/b&gt; check box, and then click &lt;b&gt;Finish&lt;/b&gt;. This is shown in Figure 6.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121659" alt="image6.png" title="image6.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 6&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Add Business Module recipe wizard&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Note: For more information about how to create a module in your solution, see “How To: Create a Business Module” in the Web Client Software Factory documentation.
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To create a page in the HelloWorld module&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Create a new page named HelloWorldPage. To do this, right-click the &lt;b&gt;HelloWorld&lt;/b&gt; folder inside DevelopmentWebsite site, point to &lt;b&gt;Web Client Factory&lt;/b&gt;, and then click &lt;b&gt;Add Page (with presenter) (C#)&lt;/b&gt;. The recipe wizard appears. This is shown in Figure 7.&lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121660" alt="image7.png" title="image7.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 7&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Add Page (with presenter) recipe wizard&lt;/i&gt;
&lt;ul&gt;&lt;li&gt;In the &lt;b&gt;Page name&lt;/b&gt; box, type &lt;b&gt;HelloWorldPage&lt;/b&gt;, select the &lt;b&gt;Show documentation after recipe completes&lt;/b&gt; check box, and then click &lt;b&gt;Finish&lt;/b&gt;. The Add Page (with presenter) recipe will add the &lt;b&gt;IHelloWorldPageView&lt;/b&gt; interface and the &lt;b&gt;HelloWorldPagePresenter&lt;/b&gt; class into Views folder inside HelloWorld project and the HelloWorldPage page into HelloWorld folder inside the DevelopmentWebsite site.&lt;/li&gt;&lt;/ul&gt;
&lt;pre&gt;
Note: For more information about how to create a page in your module, see “How to: Add a Page with a Presenter” in the Web Client Software Factory documentation.
&lt;/pre&gt;
&lt;ul&gt;&lt;li&gt;Open the HelloWorldPage.aspx file, and then change the message “HelloWorldPage” to “Hello World!” The source code of the page must look like the following.&lt;/li&gt;&lt;/ul&gt;
Code: ASP.NET&lt;br /&gt;&lt;pre&gt;
&amp;lt;%@ Page Language=&amp;quot;C#&amp;quot; AutoEventWireup=&amp;quot;true&amp;quot;
         CodeFile=&amp;quot;HelloWorldPage.aspx.cs&amp;quot;
         Inherits=&amp;quot;HelloWorld.HelloWorld.Views.HelloWorldPage&amp;quot;
         Title=&amp;quot;HelloWorldPage&amp;quot;
         MasterPageFile=&amp;quot;~/Shared/DefaultMaster.master&amp;quot; %&amp;gt;

&amp;lt;asp:Content ID=&amp;quot;content&amp;quot;
             ContentPlaceHolderID=&amp;quot;DefaultContent&amp;quot;
             Runat=&amp;quot;Server&amp;quot;&amp;gt;
    &amp;lt;h1&amp;gt;Hello World!&amp;lt;/h1&amp;gt;
&amp;lt;/asp:Content&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To register the page with the site map&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;In Solution Explorer, double-click in the &lt;b&gt;HelloWorldModuleInitializer.cs&lt;/b&gt; file located in the root of HelloWorld project inside the HelloWorld solution folder.&lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;RegisterSiteMapInformation&lt;/b&gt; method, add the site map node corresponding to the HelloWorldPage page, as shown in the following code.&lt;/li&gt;&lt;/ol&gt;
Code: C#&lt;br /&gt;&lt;pre&gt;
protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService)
{
    SiteMapNodeInfo moduleNode = new SiteMapNodeInfo(&amp;quot;HelloWorld&amp;quot;, &amp;quot;~/HelloWorld/Default.aspx&amp;quot;, &amp;quot;HelloWorld&amp;quot;);
    siteMapBuilderService.AddNode(moduleNode);

    SiteMapNodeInfo moduleNode1 = new SiteMapNodeInfo(&amp;quot;HelloWorldPage&amp;quot;, &amp;quot;~/HelloWorld/HelloWorldPage.aspx&amp;quot;, &amp;quot;Hello World Page&amp;quot;);
    siteMapBuilderService.AddNode(moduleNode1, moduleNode);
}
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To compile and run the application&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Press F5 to build and run the solution. You should see two site map nodes added by the HelloWorld module (the parent and the child). This is shown in Figure 8.&lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121661" alt="image8.png" title="image8.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 8&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Site map nodes added by the Hello World module&lt;/i&gt;
&lt;ul&gt;&lt;li&gt;Click in the &lt;b&gt;Hello World Page&lt;/b&gt; child node. You should see the page added by the Add Page (with presenter) recipe. Figure 9 shows the HelloWorldPage.aspx page.&lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121662" alt="image9.png" title="image9.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 9&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Hello World  page&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;After you create your Hello World application, you can use the Web Client Software Factory How-to topics in the documentation to extend your application. The Hello World application can help you to do the following:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Create a Web client solution.&lt;/li&gt;
&lt;li&gt;Enable a Web site to Use ASP.NET AJAX extensions.&lt;/li&gt;
&lt;li&gt;Create a business module.&lt;/li&gt;
&lt;li&gt;Create a foundational module.&lt;/li&gt;
&lt;li&gt;Add a page with a presenter.&lt;/li&gt;
&lt;li&gt;Add a master page with a presenter.&lt;/li&gt;
&lt;li&gt;Add a user control with a presenter.&lt;/li&gt;
&lt;li&gt;Implement the Model-View-Presenter pattern.&lt;/li&gt;
&lt;li&gt;Unit test a presenter.&lt;/li&gt;
&lt;li&gt;Register and use services.&lt;/li&gt;
&lt;li&gt;Add module pages to the site map.&lt;/li&gt;
&lt;li&gt;Use a module controller from a presenter.&lt;/li&gt;
&lt;li&gt;Use session state with unit testing.&lt;/li&gt;
&lt;li&gt;Map types for dependency injection.&lt;/li&gt;
&lt;li&gt;Authorize Web pages.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;ObjectContainerDataSource&lt;/b&gt; control.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;ServerSideValidationExtender&lt;/b&gt; control.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;RealTimeSearchMonitor&lt;/b&gt; extender.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;ContextSensitiveAutoCompleteExtender&lt;/b&gt; control.&lt;/li&gt;&lt;/ul&gt;
For information about how to perform these activities, see the &amp;quot;Development Activities&amp;quot; topic in the documentation.&lt;br /&gt;
&lt;h1&gt;Building and running the Reference Implementations and QuickStarts &lt;a name="Building_and_running"&gt;&lt;/a&gt;&lt;/h1&gt;This section assumes the Web Client Software Factory Source Code has been installed.&lt;br /&gt;Some solutions require the &lt;a href="http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx" class="externalLink"&gt;Ajax Control Toolkit&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; assembly that targets the .NET Framework 3.5 (downloaded separately). These solutions were tested on &lt;a href="http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx?ReleaseId=8513" class="externalLink"&gt;Version 11119&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; of the toolkit. The solutions that require Ajax Control Toolkit are:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Order Management Reference Implementation&lt;/li&gt;
&lt;li&gt;Validation QuickStart&lt;/li&gt;
&lt;li&gt;AutoComplete QuickStart&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;pre&gt;
Note: In order to build these solutions, first copy the Ajax Control Toolkit assembly to the *Lib\AjaxControlToolkit3.5* folder.
&lt;/pre&gt;
&lt;ol&gt;&lt;li&gt;Open the desired Reference Implementation or QuickStart solution file. &lt;/li&gt;
&lt;li&gt;Press &lt;b&gt;F5&lt;/b&gt; to build and run the application.&lt;/li&gt;&lt;/ol&gt;

&lt;h1&gt;More Information&lt;/h1&gt;For access to other documentation and resources, or to provide feedback, see the &lt;a href="http://www.codeplex.com/websf" class="externalLink"&gt;Web Client Software Factory&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; Web site. For more general information about the goals of this and other patterns &amp;amp; practices deliverables, see the &lt;a href="http://msdn2.microsoft.com/en-us/practices/default.aspx" class="externalLink"&gt;Microsoft patterns &amp;amp; practices Development Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>hanz</author><pubDate>Wed, 12 May 2010 23:33:21 GMT</pubDate><guid isPermaLink="false">Updated Wiki: GettingStartedwiththeWebClientSoftwareFactory2010 20100512113321P</guid></item><item><title>Updated Wiki: GettingStartedwiththeWebClientSoftwareFactory2010</title><link>http://webclientguidance.codeplex.com/wikipage?title=GettingStartedwiththeWebClientSoftwareFactory2010&amp;version=11</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;&lt;a href="http://webclientguidance.codeplex.com/wikipage?title=GettingStartedwiththeWebClientSoftwareFactory2010&amp;referringTitle=GettingStartedwiththeWebClientSoftwareFactory2010"&gt;Getting Started with the Web Client Software Factory 2010&lt;/a&gt;&lt;/h1&gt;
&lt;h1&gt;Getting Started with the Web Client Software Factory - February 2008&lt;/h1&gt;Are you new to the Web Client Software Factory? After installing the Web Client Software Factory, the best way to get familiar with the Web Client Software Factory is to do the following:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;See the &lt;a href="http://www.msdn.com/webclientfactory" class="externalLink"&gt;Web Client Software Factory&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for overview information on the factory.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Installing_the_Web_Client_Software_Factory_February_2008_Release&amp;referringTitle=GettingStartedwiththeWebClientSoftwareFactory2010"&gt;Installing the Web Client Software Factory - February 2008 Release and prerequisites&lt;/a&gt; or &lt;a href="http://webclientguidance.codeplex.com/wikipage?title=Upgrade_to_WCSFFeb2008&amp;referringTitle=GettingStartedwiththeWebClientSoftwareFactory2010"&gt;Upgrade From Previous Releases&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#HelloWorld"&gt;Build a Hello World application&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://#Building_and_running" class="externalLink"&gt;Building and running the Reference Implementations and QuickStarts&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. For information about the Reference Implementations and QuickStarts, see the &lt;a href="http://webclientguidance.codeplex.com/releases/view/1563"&gt;documentation&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Download and complete the &lt;a href="http://www.codeplex.com/websf/Release/ProjectReleases.aspx?ReleaseId=6897" class="externalLink"&gt;Hands-on Labs&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. (Note that these labs are for the June 2007 release.)&lt;/li&gt;
&lt;li&gt;Review the “Exploring the Web Client Software Factory” topic in the &lt;a href="http://webclientguidance.codeplex.com/releases/view/1563"&gt;documentation&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;

&lt;h1&gt;Just Want to Review the Documentation?&lt;/h1&gt;If you are in the evaluation phase of the software factory, you can &lt;a href="http://www.codeplex.com/websf/Release/ProjectReleases.aspx?ReleaseId=1563" class="externalLink"&gt;download the documentation&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; before downloading the software factory. Then, when you are ready, you can download the software factory.&lt;br /&gt;
&lt;h1&gt;Understanding the Basic Steps&lt;/h1&gt;Figure 1 illustrates the steps involved in creating the Hello World application.&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121664" alt="image1.png" title="image1.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 1&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Create Web client solution&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;These steps are explained in more detail in the following procedure.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To perform the basic steps&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;b&gt;Create the Web client solution&lt;/b&gt;. To do this, create the project and set some of its properties, such as where the default Web page is located.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Set the startup project, and then compile and run initial solution&lt;/b&gt;. &lt;/li&gt;
&lt;li&gt;&lt;b&gt;Add a Hello World business module&lt;/b&gt;. A business module encapsulates an aspect of your application’s functionality.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Create a page in the Hello World business module&lt;/b&gt;. Business modules typically contain related Web pages. The page has a presenter. The presenter contains the logic that implements the behavior of the UI.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Register the page with the site map&lt;/b&gt;. This creates a parent and a child node.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Compile and run the solution&lt;/b&gt;.The next section describes how to use the Web Client Software Factory recipes to create the Hello World application.&lt;/li&gt;&lt;/ol&gt;
&lt;br /&gt;&lt;a name="HelloWorld"&gt;&lt;/a&gt;
&lt;h1&gt;Create Your Hello World Application&lt;/h1&gt;This section describes how to use the Web Client Software Factory recipes. To create your first Hello World application, perform the procedures in this section.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Note:  The following procedures require that the Web Client Software Factory guidance package be installed.
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121655" alt="image2.png" title="image2.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 2&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Create Web client solution&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To create the Web client solution&lt;/b&gt;
&lt;ol&gt;&lt;li&gt;On the &lt;b&gt;File&lt;/b&gt; menu, point to &lt;b&gt;New&lt;/b&gt;, and then click &lt;b&gt;Project&lt;/b&gt;. The &lt;b&gt;New Project&lt;/b&gt; dialog box appears. This is shown in Figure 2.&lt;/li&gt;
&lt;li&gt;Under &lt;b&gt;Project types&lt;/b&gt;, expand &lt;b&gt;Guidance Packages&lt;/b&gt;, and then click &lt;b&gt;Web Client Development February 2008&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Under &lt;b&gt;Templates&lt;/b&gt;, click &lt;b&gt;Web Client Solution (C#, WAP)&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;Name&lt;/b&gt; box, type &lt;b&gt;HelloWorldApplication&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;If you do not want to use the default location, enter one in the &lt;b&gt;Location&lt;/b&gt; text box, and then click &lt;b&gt;OK&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;On the first page of the Create Web Client Solution recipe wizard, confirm (or enter if necessary) the location of the required application block assemblies. This is shown in Figure 3. &lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;Root namespace&lt;/b&gt; box, type &lt;b&gt;HelloWorld&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Select the &lt;b&gt;Show documentation after recipe completes&lt;/b&gt; check box.&lt;/li&gt;
&lt;li&gt;Click &lt;b&gt;Finish&lt;/b&gt; to unfold the Web Client solution template.&lt;/li&gt;&lt;/ol&gt;
Figure 3: Create Web client solution&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121656" alt="image3.png" title="image3.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 3&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Create Web client solution recipe wizard&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To set the startup project, and then compile and run initial solution&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Set DevelopmentWebsite as the startup project. To do this, right-click &lt;b&gt;DevelopmentWebsite&lt;/b&gt; in Solution Explorer, and then click &lt;b&gt;Set as StartUp Project&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Set the Default.aspx page in the root of the DevelopmentWebsite site as the start page. To do this, right-click &lt;b&gt;Default.aspx&lt;/b&gt; in the root of the Web site, and then click &lt;b&gt;Set as Start Page&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Press F5 to build and run the solution. You should see the default view created by the recipe on the right and a site map node named Home added by the Shell module on the left. Figure 4 shows the initial application running.&lt;/li&gt;&lt;/ol&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121657" alt="image4.png" title="image4.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 4&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Hello World Web client application&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To add a HelloWorld business module&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;In the Modules solution folder, create a solution folder (not a physical folder) named HelloWorld.&lt;/li&gt;
&lt;li&gt;Use the guidance package to create a new business module in the HelloWorld solution folder. To do this, right-click the &lt;b&gt;HelloWorld&lt;/b&gt; solution folder in Solution Explorer, point to &lt;b&gt;Web Client Factory&lt;/b&gt;, and then click &lt;b&gt;Add Business Module (C#)&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;Add New Project&lt;/b&gt; dialog box, type &lt;b&gt;HelloWorld&lt;/b&gt; in the &lt;b&gt;Name&lt;/b&gt; box. This is shown in Figure 5. &lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121658" alt="image5.png" title="image5.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 5&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Add new project dialog box&lt;/i&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;In the &lt;b&gt;Location&lt;/b&gt; box, click &lt;b&gt;Browse&lt;/b&gt; to select &lt;b&gt;&lt;i&gt;%SolutionPath%&lt;/i&gt;\HelloWorldApplication\Modules\HelloWorld&lt;/b&gt; (create the HelloWorld folder if necessary).&lt;/li&gt;
&lt;li&gt;Click &lt;b&gt;OK&lt;/b&gt; to create the project and launch the recipe wizard.&lt;/li&gt;
&lt;li&gt;The Add Business Module recipe wizard appears. Select the &lt;b&gt;Show documentation after recipe completes&lt;/b&gt; check box, and then click &lt;b&gt;Finish&lt;/b&gt;. This is shown in Figure 6.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121659" alt="image6.png" title="image6.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 6&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Add Business Module recipe wizard&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Note: For more information about how to create a module in your solution, see “How To: Create a Business Module” in the Web Client Software Factory documentation.
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To create a page in the HelloWorld module&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Create a new page named HelloWorldPage. To do this, right-click the &lt;b&gt;HelloWorld&lt;/b&gt; folder inside DevelopmentWebsite site, point to &lt;b&gt;Web Client Factory&lt;/b&gt;, and then click &lt;b&gt;Add Page (with presenter) (C#)&lt;/b&gt;. The recipe wizard appears. This is shown in Figure 7.&lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121660" alt="image7.png" title="image7.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 7&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Add Page (with presenter) recipe wizard&lt;/i&gt;
&lt;ul&gt;&lt;li&gt;In the &lt;b&gt;Page name&lt;/b&gt; box, type &lt;b&gt;HelloWorldPage&lt;/b&gt;, select the &lt;b&gt;Show documentation after recipe completes&lt;/b&gt; check box, and then click &lt;b&gt;Finish&lt;/b&gt;. The Add Page (with presenter) recipe will add the &lt;b&gt;IHelloWorldPageView&lt;/b&gt; interface and the &lt;b&gt;HelloWorldPagePresenter&lt;/b&gt; class into Views folder inside HelloWorld project and the HelloWorldPage page into HelloWorld folder inside the DevelopmentWebsite site.&lt;/li&gt;&lt;/ul&gt;
&lt;pre&gt;
Note: For more information about how to create a page in your module, see “How to: Add a Page with a Presenter” in the Web Client Software Factory documentation.
&lt;/pre&gt;
&lt;ul&gt;&lt;li&gt;Open the HelloWorldPage.aspx file, and then change the message “HelloWorldPage” to “Hello World!” The source code of the page must look like the following.&lt;/li&gt;&lt;/ul&gt;
Code: ASP.NET&lt;br /&gt;&lt;pre&gt;
&amp;lt;%@ Page Language=&amp;quot;C#&amp;quot; AutoEventWireup=&amp;quot;true&amp;quot;
         CodeFile=&amp;quot;HelloWorldPage.aspx.cs&amp;quot;
         Inherits=&amp;quot;HelloWorld.HelloWorld.Views.HelloWorldPage&amp;quot;
         Title=&amp;quot;HelloWorldPage&amp;quot;
         MasterPageFile=&amp;quot;~/Shared/DefaultMaster.master&amp;quot; %&amp;gt;

&amp;lt;asp:Content ID=&amp;quot;content&amp;quot;
             ContentPlaceHolderID=&amp;quot;DefaultContent&amp;quot;
             Runat=&amp;quot;Server&amp;quot;&amp;gt;
    &amp;lt;h1&amp;gt;Hello World!&amp;lt;/h1&amp;gt;
&amp;lt;/asp:Content&amp;gt;
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To register the page with the site map&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;In Solution Explorer, double-click in the &lt;b&gt;HelloWorldModuleInitializer.cs&lt;/b&gt; file located in the root of HelloWorld project inside the HelloWorld solution folder.&lt;/li&gt;
&lt;li&gt;In the &lt;b&gt;RegisterSiteMapInformation&lt;/b&gt; method, add the site map node corresponding to the HelloWorldPage page, as shown in the following code.&lt;/li&gt;&lt;/ol&gt;
Code: C#&lt;br /&gt;&lt;pre&gt;
protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService)
{
    SiteMapNodeInfo moduleNode = new SiteMapNodeInfo(&amp;quot;HelloWorld&amp;quot;, &amp;quot;~/HelloWorld/Default.aspx&amp;quot;, &amp;quot;HelloWorld&amp;quot;);
    siteMapBuilderService.AddNode(moduleNode);

    SiteMapNodeInfo moduleNode1 = new SiteMapNodeInfo(&amp;quot;HelloWorldPage&amp;quot;, &amp;quot;~/HelloWorld/HelloWorldPage.aspx&amp;quot;, &amp;quot;Hello World Page&amp;quot;);
    siteMapBuilderService.AddNode(moduleNode1, moduleNode);
}
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To compile and run the application&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Press F5 to build and run the solution. You should see two site map nodes added by the HelloWorld module (the parent and the child). This is shown in Figure 8.&lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121661" alt="image8.png" title="image8.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 8&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Site map nodes added by the Hello World module&lt;/i&gt;
&lt;ul&gt;&lt;li&gt;Click in the &lt;b&gt;Hello World Page&lt;/b&gt; child node. You should see the page added by the Add Page (with presenter) recipe. Figure 9 shows the HelloWorldPage.aspx page.&lt;/li&gt;&lt;/ul&gt;
&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121662" alt="image9.png" title="image9.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 9&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Hello World  page&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;After you create your Hello World application, you can use the Web Client Software Factory How-to topics in the documentation to extend your application. The Hello World application can help you to do the following:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Create a Web client solution.&lt;/li&gt;
&lt;li&gt;Enable a Web site to Use ASP.NET AJAX extensions.&lt;/li&gt;
&lt;li&gt;Create a business module.&lt;/li&gt;
&lt;li&gt;Create a foundational module.&lt;/li&gt;
&lt;li&gt;Add a page with a presenter.&lt;/li&gt;
&lt;li&gt;Add a master page with a presenter.&lt;/li&gt;
&lt;li&gt;Add a user control with a presenter.&lt;/li&gt;
&lt;li&gt;Implement the Model-View-Presenter pattern.&lt;/li&gt;
&lt;li&gt;Unit test a presenter.&lt;/li&gt;
&lt;li&gt;Register and use services.&lt;/li&gt;
&lt;li&gt;Add module pages to the site map.&lt;/li&gt;
&lt;li&gt;Use a module controller from a presenter.&lt;/li&gt;
&lt;li&gt;Use session state with unit testing.&lt;/li&gt;
&lt;li&gt;Map types for dependency injection.&lt;/li&gt;
&lt;li&gt;Authorize Web pages.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;ObjectContainerDataSource&lt;/b&gt; control.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;ServerSideValidationExtender&lt;/b&gt; control.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;RealTimeSearchMonitor&lt;/b&gt; extender.&lt;/li&gt;
&lt;li&gt;Use the &lt;b&gt;ContextSensitiveAutoCompleteExtender&lt;/b&gt; control.&lt;/li&gt;&lt;/ul&gt;
For information about how to perform these activities, see the &amp;quot;Development Activities&amp;quot; topic in the documentation.&lt;br /&gt;
&lt;h1&gt;Building and running the Reference Implementations and QuickStarts &lt;a name="Building_and_running"&gt;&lt;/a&gt;&lt;/h1&gt;This section assumes the Web Client Software Factory Source Code has been installed.&lt;br /&gt;Some solutions require the &lt;a href="http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx" class="externalLink"&gt;Ajax Control Toolkit&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; assembly that targets the .NET Framework 3.5 (downloaded separately). These solutions were tested on &lt;a href="http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx?ReleaseId=8513" class="externalLink"&gt;Version 11119&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; of the toolkit. The solutions that require Ajax Control Toolkit are:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Order Management Reference Implementation&lt;/li&gt;
&lt;li&gt;Validation QuickStart&lt;/li&gt;
&lt;li&gt;AutoComplete QuickStart&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;pre&gt;
Note: In order to build these solutions, first copy the Ajax Control Toolkit assembly to the *Lib\AjaxControlToolkit3.5* folder.
&lt;/pre&gt;
&lt;ol&gt;&lt;li&gt;Open the desired Reference Implementation or QuickStart solution file. &lt;/li&gt;
&lt;li&gt;Press &lt;b&gt;F5&lt;/b&gt; to build and run the application.&lt;/li&gt;&lt;/ol&gt;

&lt;h1&gt;More Information&lt;/h1&gt;For access to other documentation and resources, or to provide feedback, see the &lt;a href="http://www.codeplex.com/websf" class="externalLink"&gt;Web Client Software Factory&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; Web site. For more general information about the goals of this and other patterns &amp;amp; practices deliverables, see the &lt;a href="http://msdn2.microsoft.com/en-us/practices/default.aspx" class="externalLink"&gt;Microsoft patterns &amp;amp; practices Development Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>hanz</author><pubDate>Wed, 12 May 2010 23:32:15 GMT</pubDate><guid isPermaLink="false">Updated Wiki: GettingStartedwiththeWebClientSoftwareFactory2010 20100512113215P</guid></item><item><title>Updated Wiki: GettingStartedwiththeWebClientSoftwareFactory2010</title><link>http://webclientguidance.codeplex.com/wikipage?title=GettingStartedwiththeWebClientSoftwareFactory2010&amp;version=10</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Getting Started with the Web Client Software Factory 2010&lt;/h1&gt;Are you new to the Web Client Software Factory? After installing the Web Client Software Factory, the best way to get familiar with the Web Client Software Factory is to do the following:
&lt;ul&gt;&lt;li&gt;Build a Hello World application. For information about how to do this, see the section, “Create Your Hello World Application,” that follows.&lt;/li&gt;
&lt;li&gt;Run the QuickStarts included with the software factory. For information about the QuickStarts, see the “QuickStarts” topic in the documentation.&lt;/li&gt;
&lt;li&gt;Download and complete the Hands-on Labs. (Note that these labs are for the June 2007 release.)&lt;/li&gt;
&lt;li&gt;Review the “Exploring the Web Client Software Factory” topic in the documentation.&lt;/li&gt;&lt;/ul&gt;
	
&lt;h1&gt;Just Want to Review the Documentation?&lt;/h1&gt;If you are in the evaluation phase of the software factory, you can download the documentation before downloading the software factory. Then, when you are ready, you can download the software factory.&lt;br /&gt;
&lt;h1&gt;Understanding the Basic Steps&lt;/h1&gt;Figure 1 illustrates the steps involved in creating the Hello World application.&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121664" alt="image1.png" title="image1.png" /&gt;&lt;br /&gt;&lt;b&gt;Figure 1&lt;/b&gt; &lt;br /&gt;_Create Web client solution&lt;br /&gt;&lt;br /&gt;These steps are explained in more detail in the following procedure.&lt;br /&gt;*To perform the basic steps
&lt;ol&gt;&lt;li&gt;*Create the Web client solution. To do this, create the project and set some of its properties, such as where the default Web page is located.&lt;/li&gt;
&lt;li&gt;*Set the startup project, and then compile and run initial solution. &lt;/li&gt;
&lt;li&gt;*Add a Hello World business module. A business module encapsulates an aspect of your application’s functionality.&lt;/li&gt;
&lt;li&gt;*Create a page in the Hello World business module. Business modules typically contain related Web pages. The page has a presenter. The presenter contains the logic that implements the behavior of the UI.&lt;/li&gt;
&lt;li&gt;*Register the page with the site map. This creates a parent and a child node.&lt;/li&gt;
&lt;li&gt;*Compile and run the solution.&lt;/li&gt;&lt;/ol&gt;
&lt;br /&gt;&lt;a name="HelloWorld"&gt;&lt;/a&gt;
&lt;h1&gt;Create Your Hello World Application&lt;/h1&gt;This section describes how to use the Web Client Software Factory recipes. To create your first Hello World application, perform the procedures in this section.&lt;br /&gt;&lt;pre&gt;
Note: The following procedures require that the Web Client Software Factory guidance package be installed.
&lt;/pre&gt;&lt;br /&gt;To create the Web client solution&lt;br /&gt;1.	On the File menu, point to New, and then click Project. The New Project dialog box appears. This is shown in Figure 2.  &lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121655" alt="image2.png" title="image2.png" /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;blockquote&gt;Figure 2. Create Web client solution&lt;/blockquote&gt;&lt;/blockquote&gt;
2.	Under Project types, expand Guidance Packages, and then click Web Client Development February 2010.&lt;br /&gt;3.	Under Templates, click Web Client Solution (C#, Web Site).&lt;br /&gt;4.	In the Name box, type HelloWorldApplication.&lt;br /&gt;5.	If you do not want to use the default location, enter one in the Location text box, and then click OK. Make sure the path is short. &lt;br /&gt;6.	On the first page of the Create Web Client Solution recipe wizard, confirm (or enter if necessary) the location of the required application block assemblies. This is shown in Figure 3. &lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121656" alt="image3.png" title="image3.png" /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;blockquote&gt;Figure 3. Create Web client solution recipe wizard&lt;/blockquote&gt;&lt;/blockquote&gt;
7.	In the Root namespace box, type HelloWorld.&lt;br /&gt;8.	Click Finish to unfold the Web Client solution template.&lt;br /&gt;	&lt;br /&gt;To set the startup project, and then compile and run initial solution&lt;br /&gt;1.	Set HelloWorldApplication as the startup project. To do this, right-click HelloWorldApplication in Solution Explorer, and then click Set as StartUp Project.&lt;br /&gt;2.	Set the Default.aspx page in the root of the HelloWorldApplication site as the start page. To do this, right-click Default.aspx in the root of the Web site, and then click Set as Start Page.&lt;br /&gt;3.	Press F5 to build and run the solution. You should see the default view created by the recipe on the right and a site map node named Home added by the Shell module on the left. Figure 4 shows the initial application running.&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121657" alt="image4.png" title="image4.png" /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;blockquote&gt;Figure 4. Hello World Web client application&lt;/blockquote&gt;&lt;/blockquote&gt;
	&lt;br /&gt;To add a HelloWord business module&lt;br /&gt;1.	In the Modules solution folder, create a solution folder (not a physical folder) named HelloWorld.&lt;br /&gt;2.	Use the guidance package to create a new business module in the HelloWorld solution folder. To do this, right-click the HelloWorld solution folder in Solution Explorer, point to Web Client Factory, and then click Add Business Module (C#).&lt;br /&gt;3.	In the Add New Project dialog box, type HelloWorld in the Name box. This is shown in Figure 5. &lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121658" alt="image5.png" title="image5.png" /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;blockquote&gt;Figure 5. Add new project dialog box&lt;/blockquote&gt;&lt;/blockquote&gt;
4.	In the Location box, click Browse to select %SolutionPath%\HelloWorldApplication\Modules\HelloWorld (create the HelloWorld folder if necessary).&lt;br /&gt;5.	Click OK to create the project and launch the recipe wizard.&lt;br /&gt;6.	The Add Business Module recipe wizard appears. Click Finish. This is shown in Figure 6.&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121659" alt="image6.png" title="image6.png" /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;blockquote&gt;Figure 6. Add Business Module recipe wizard&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;pre&gt;
Note: For more information about how to create a module in your solution, see “How To: Create a Business Module” in the Web Client Software Factory documentation.
&lt;/pre&gt;	&lt;br /&gt;To create a page in the HelloWorld module&lt;br /&gt;1.	Create a new page named HelloWorldPage. To do this, right-click the HelloWorld folder inside HelloWorldApplication site, point to Web Client Factory, and then click Add Page (with presenter) (C#). The recipe wizard appears. This is shown in Figure 7.&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121660" alt="image7.png" title="image7.png" /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;blockquote&gt;Figure 7. Add Page (with presenter) recipe wizard&lt;/blockquote&gt;&lt;/blockquote&gt;
2.	In the Page name box, type HelloWorldPage and then click Finish. The Add Page (with presenter) recipe will add the IHelloWorldPageView interface and the HelloWorldPagePresenter class into Views folder inside HelloWorld project and the HelloWorldPage page into HelloWorld folder inside the HelloWorldApplication site.&lt;br /&gt;&lt;pre&gt;
Note: For more information about how to create a page in your module, see “How to: Add a Page with a Presenter” in the Web Client Software Factory documentation.
&lt;/pre&gt;&lt;br /&gt;3.	Open the HelloWorldPage.aspx file, and then change the message “HelloWorldPage” to “Hello World!” The source code of the page must look like the following.&lt;br /&gt;ASP.NET&lt;br /&gt;&amp;lt;%@ Page Language=&amp;quot;C#&amp;quot; AutoEventWireup=&amp;quot;true&amp;quot; &lt;br /&gt;CodeFile=&amp;quot;HelloWorldPage.aspx.cs&amp;quot; &lt;br /&gt;Inherits=&amp;quot;HelloWorld.HelloWorld.Views.HelloWorldPage&amp;quot;&lt;br /&gt;Title=&amp;quot;HelloWorldPage&amp;quot; &lt;br /&gt;MasterPageFile=&amp;quot;~/Shared/DefaultMaster.master&amp;quot; %&amp;gt;&lt;br /&gt;&amp;lt;asp:Content ID=&amp;quot;content&amp;quot; ContentPlaceHolderID=&amp;quot;DefaultContent&amp;quot; Runat=&amp;quot;Server&amp;quot;&amp;gt;&lt;br /&gt;		&amp;lt;h1&amp;gt;HelloWorldPage&amp;lt;/h1&amp;gt;&lt;br /&gt;&amp;lt;/asp:Content&amp;gt;&lt;br /&gt;	 &lt;br /&gt;To register the page with the site map&lt;br /&gt;1.	In Solution Explorer, double-click in the HelloWorldModuleInitializer.cs file located in the root of HelloWorld project inside the HelloWorld solution folder.&lt;br /&gt;2.	In the RegisterSiteMapInformation method, add the site map node corresponding to the HelloWorldPage page, as shown in the following code.&lt;br /&gt;C#&lt;br /&gt;protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService)&lt;br /&gt;{&lt;br /&gt;    SiteMapNodeInfo moduleNode = new SiteMapNodeInfo(&amp;quot;HelloWorld&amp;quot;, &amp;quot;~/HelloWorld/Default.aspx&amp;quot;, &amp;quot;HelloWorld&amp;quot;);&lt;br /&gt;    siteMapBuilderService.AddNode(moduleNode);&lt;br /&gt;&lt;br /&gt;    SiteMapNodeInfo helloWorldViewNode = new SiteMapNodeInfo(&amp;quot;HelloWorldPage&amp;quot;, &amp;quot;~/HelloWorld/HelloWorldPage.aspx&amp;quot;, &amp;quot;Hello World Page&amp;quot;);&lt;br /&gt;    siteMapBuilderService.AddNode(helloWorldViewNode, moduleNode);&lt;br /&gt;}&lt;br /&gt;	&lt;br /&gt;To compile and run the application&lt;br /&gt;1.	Press F5 to build and run the solution. You should see two site map nodes added by the HelloWorld module (the parent and the child). This is shown in Figure 8.&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121661" alt="image8.png" title="image8.png" /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;blockquote&gt;Figure 8. Site map nodes added by the Hello World module&lt;/blockquote&gt;&lt;/blockquote&gt;
2.	Click in the Hello World Page child node. You should see the page added by the Add Page (with presenter) recipe. Figure 9 shows the HelloWorldPage.aspx page.&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=webclientguidance&amp;DownloadId=121662" alt="image9.png" title="image9.png" /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;blockquote&gt;Figure 9. Hello World  page&lt;/blockquote&gt;&lt;/blockquote&gt;
	&lt;br /&gt;After you create your Hello World application, you can use the Web Client Software Factory How-to topics in the documentation to extend your application. The Hello World application can help you to do the following:&lt;br /&gt;•	Create a Web client solution.&lt;br /&gt;•	Enable a Web site to Use ASP.NET AJAX extensions.&lt;br /&gt;•	Create a business module.&lt;br /&gt;•	Create a foundational module.&lt;br /&gt;•	Add a page with a presenter.&lt;br /&gt;•	Add a master page with a presenter.&lt;br /&gt;•	Add a user control with a presenter.&lt;br /&gt;•	Implement the Model-View-Presenter pattern.&lt;br /&gt;•	Unit test a presenter.&lt;br /&gt;•	Register and use services.&lt;br /&gt;•	Add module pages to the site map.&lt;br /&gt;•	Use a module controller from a presenter.&lt;br /&gt;•	Use session state with unit testing.&lt;br /&gt;•	Map types for dependency injection.&lt;br /&gt;•	Authorize Web pages.&lt;br /&gt;•	Use the ObjectContainerDataSource control.&lt;br /&gt;•	Use the ServerSideValidationExtender control.&lt;br /&gt;•	Use the RealTimeSearchMonitor extender.&lt;br /&gt;•	Use the ContextSensitiveAutoCompleteExtender control.&lt;br /&gt;	&lt;br /&gt;For information about how to perform these activities, see the &amp;quot;Development Activities&amp;quot; topic in the documentation.
&lt;h2&gt;More Information&lt;/h2&gt;For access to other documentation and resources, or to provide feedback, see the Web Client Software Factory Web site. For more general information about the goals of this and other patterns &amp;amp; practices deliverables, see the Microsoft patterns &amp;amp; practices Development Center.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>hanz</author><pubDate>Wed, 12 May 2010 23:27:15 GMT</pubDate><guid isPermaLink="false">Updated Wiki: GettingStartedwiththeWebClientSoftwareFactory2010 20100512112715P</guid></item></channel></rss>