<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Liz's Geeky Side</title>
	<atom:link href="http://lizsgeekyside.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://lizsgeekyside.wordpress.com</link>
	<description>Notes on .NET development, SharePoint, and Graphic Design</description>
	<lastBuildDate>Thu, 27 Oct 2011 22:15:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='lizsgeekyside.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Liz's Geeky Side</title>
		<link>http://lizsgeekyside.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://lizsgeekyside.wordpress.com/osd.xml" title="Liz&#039;s Geeky Side" />
	<atom:link rel='hub' href='http://lizsgeekyside.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Intro to Windows Presentation Foundation</title>
		<link>http://lizsgeekyside.wordpress.com/2008/09/04/intro-to-windows-presentation-foundation/</link>
		<comments>http://lizsgeekyside.wordpress.com/2008/09/04/intro-to-windows-presentation-foundation/#comments</comments>
		<pubDate>Thu, 04 Sep 2008 15:34:32 +0000</pubDate>
		<dc:creator>Liz</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[XAML]]></category>

		<guid isPermaLink="false">http://lizsgeekyside.wordpress.com/?p=185</guid>
		<description><![CDATA[Here are my notes on WPF, which are from this MSDN article by Tim Sneath: INTRODUCTION There has traditionally been competition in the world of application development between stand-alone applications and web-based applications, each having somewhat opposite strengths and weaknesses.  There is a need for a client application model for both standalone and browser-based applications that offers [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizsgeekyside.wordpress.com&amp;blog=4456544&amp;post=185&amp;subd=lizsgeekyside&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here are my notes on WPF, which are from <a href="http://msdn.microsoft.com/en-us/library/aa480221.aspx">this MSDN article</a> by Tim Sneath:</p>
<p><strong>INTRODUCTION</strong></p>
<p>There has traditionally been competition in the world of application development between stand-alone applications and web-based applications, each having somewhat opposite strengths and weaknesses.  There is a need for a client application model for both standalone and browser-based applications that offers ease of deployment, tools support, and deep platform integration. </p>
<p>Modern video cards have come a long way in the last few years and most of today&#8217;s mainstream applications don&#8217;t take full advantage of their powerful abilities.</p>
<p>WPF is the new strategic Windows graphics subsystem that harmonizes user interface, 2D and 3D graphics, documents, and media.  It takes full advantage of modern graphics hardware and supports both stand-alone and web-based applications.  It is built on the .NET framework.  It allows designers to be more involved in the development process via declarative programming models (see XAML below).</p>
<p><strong>DESIGN PRINCIPLES:</strong></p>
<p>Integration: Seamless integration between base services, media services, document services, and UI services</p>
<p>Vector graphics: WPF takes full advantage of the powerful new Graphical Processing Units (GPUs) with vector graphics, a large pixel system, and extensive color support.  It offers resolution independence.  It also has great support for layout, which adapts to content and manages the position of controls and items within a window.</p>
<p>Declarative programming: WPF uses XAML (eXtensible Application Markup Language) for defining and building the UI.  Allows designers and developers to work more closely</p>
<p>Easy deployment: Supports both stand-alone apps and web-browser apps</p>
<p>Document lifecycle: Supports new document and print technologies</p>
<p><strong>XAML</strong></p>
<p>XAML is not required for WPF; it is merely a conventient shorthand for UI programming.  Anything written in XAML can also be written in C# or VB. <br />
It is intended to be used alongside a traditional programming language.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/lizsgeekyside.wordpress.com/185/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/lizsgeekyside.wordpress.com/185/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lizsgeekyside.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lizsgeekyside.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lizsgeekyside.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lizsgeekyside.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lizsgeekyside.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lizsgeekyside.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lizsgeekyside.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lizsgeekyside.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lizsgeekyside.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lizsgeekyside.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lizsgeekyside.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lizsgeekyside.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lizsgeekyside.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lizsgeekyside.wordpress.com/185/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizsgeekyside.wordpress.com&amp;blog=4456544&amp;post=185&amp;subd=lizsgeekyside&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lizsgeekyside.wordpress.com/2008/09/04/intro-to-windows-presentation-foundation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b3d187c0a7bd33cc353a4a18592f5a3?s=96&#38;d=monsterid" medium="image">
			<media:title type="html">Liz</media:title>
		</media:content>
	</item>
		<item>
		<title>Intro to SharePoint: Silverlight</title>
		<link>http://lizsgeekyside.wordpress.com/2008/09/03/intro-to-sharepoint-silverlight/</link>
		<comments>http://lizsgeekyside.wordpress.com/2008/09/03/intro-to-sharepoint-silverlight/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 19:04:27 +0000</pubDate>
		<dc:creator>Liz</dc:creator>
				<category><![CDATA[Microsoft webcasts]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Silverlight 1.0]]></category>
		<category><![CDATA[Silverlight 2.0]]></category>

		<guid isPermaLink="false">http://lizsgeekyside.wordpress.com/?p=178</guid>
		<description><![CDATA[I have been watching a series of webcasts created by Microsoft MVPs that introduce various features of SharePoint to .NET developers.  The entire series can be found here.  These are my notes from the third webcast, on SharePoint and Silverlight. PRESENTER: Andrew Connell MVP Office SP Server www.andrewconnell.com/blog SILVERLIGHT OVERVIEW Silverlight develops a rich user [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizsgeekyside.wordpress.com&amp;blog=4456544&amp;post=178&amp;subd=lizsgeekyside&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have been watching a series of webcasts created by Microsoft MVPs that introduce various features of SharePoint to .NET developers.  The entire series can be found <a href="http://www.andrewconnell.com/blog/archive/2008/05/13/ASP.NET-Developer-Looking-for-a-SharePoint-RampUp.aspx">here</a>.  These are my notes from the third webcast, on SharePoint and Silverlight.</p>
<p>PRESENTER:<br />
Andrew Connell<br />
MVP Office SP Server<br />
<a href="http://www.andrewconnell.com/blog">www.andrewconnell.com/blog</a><br />
<strong></strong></p>
<p><strong>SILVERLIGHT OVERVIEW</strong></p>
<p>Silverlight develops a rich user experience with zero postback</p>
<p>Some types of data Silverlight can provide:</p>
<ul>
<li>images, sounds, videos, rss</li>
<li>custom web service</li>
<li>existing intranet services</li>
<li>public internet mashup APIs</li>
</ul>
<p><strong>HISTORY OF SILVERLIGHT</strong></p>
<p>Silverlight 1.0:</p>
<ul>
<li>Silverlight 1.0 is the current production release (RTW) and was shipped in Q3 2007</li>
<li>It defines the render(design) part using XAML</li>
<li>Uses a WPF-based interface</li>
<li>A Silverlight application lives inside of a webpage</li>
<li>The webpage will include some custom JavaScript (AJAX) to talk to the Silverlight app and to the various web services.  I.E., the code-behind is 100% JavaScript-driven</li>
</ul>
<p>Silverlight 2.0:</p>
<ul>
<li>Today: Silverlight 2.0 is in beta.  It doesn&#8217;t need JavaScript to talk to Silverlight</li>
<li>The Silverlight plugin deploys a tiny version into the .NET Framework, and now I can write C# or VB code and then complie the code into an asembly, and now the assembly will be part of the Silverlight file (control) and the assembly will be running on the client machine.  I.E., the code-behind uses managed code</li>
<li>Some of Silverlight 2.0 runtime features include 2-D, graphics, audio, video, animations, text, controls, layout, styles/templates, data binding, networking, .NET Support, LIN1, XML API&#8217;s, generics, HTML integrtions, local storage, Crypto APIs, and threading</li>
</ul>
<p>Silverlight 2.0 SDK libraries include:</p>
<ul>
<li>Full support for dynamic languages</li>
<li>Addition controls like sliders, grid controls</li>
<li>LINQ for XML</li>
<li>XML Serialization</li>
<li>RSS feeds</li>
</ul>
<p><strong>SHAREPOINT AND SILVERLIGHT</strong></p>
<p>Environment needed:</p>
<ul>
<li>WSS 3.0 SP1</li>
<li>Config of IIS Web app</li>
</ul>
<p>Server config needed:</p>
<ul>
<li>.NET Framework 3.5 if using Silverlight 2.0, or .NET 2.0 for Silverlight 1.0</li>
<li>Deploy System.Web.Silverlight.dll in GAC</li>
<li>Extend web.config if ISS web app with ASP.NET extensions and SL 2.0 config elements</li>
<li>MIME type registration of the .XAP file extension for IIS web app (format: application/x-silverlight-2-b1</li>
</ul>
<p>Dev environment needed:</p>
<ul>
<li>Visual Studio 2008 extended with tools for Silverlight 2.0</li>
<li>Microsoft Expression Blend</li>
<li>Silverlight 2.0 SDK (which would be included in VS 2008 tools)</li>
</ul>
<p>Client prerequisites: Silverlight 2.0 plug-in must be installed</p>
<p>Scenarios for using Silverlight:</p>
<ul>
<li>Complex and dynamic interaction with dashboard data (visually impressive reports, etc)</li>
<li>Visualize multimedia data stored in SP</li>
<li>Rich navigation controls</li>
<li>Interactive field types, Web parts, and pages</li>
<li>Off-load more work to the clients (browsers)</li>
</ul>
<p><strong>SILVERLIGHT 2.0 AND SHAREPOINT</strong></p>
<p>Host containers that can be used to trigger a Silverlight control:</p>
<ul>
<li>Web Parts</li>
<li>App pages and site pages</li>
<li>Custom field types</li>
<li>Navigation control</li>
</ul>
<p>Data can be passed in both directions:</p>
<ul>
<li>InitParameters &#8211; passes data into Silverlight (like if you were calling a method)</li>
<li>Hidden Fields or XML Data Islands</li>
<li>Web Services</li>
<li>WPF</li>
</ul>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/lizsgeekyside.wordpress.com/178/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/lizsgeekyside.wordpress.com/178/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lizsgeekyside.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lizsgeekyside.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lizsgeekyside.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lizsgeekyside.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lizsgeekyside.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lizsgeekyside.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lizsgeekyside.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lizsgeekyside.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lizsgeekyside.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lizsgeekyside.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lizsgeekyside.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lizsgeekyside.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lizsgeekyside.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lizsgeekyside.wordpress.com/178/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizsgeekyside.wordpress.com&amp;blog=4456544&amp;post=178&amp;subd=lizsgeekyside&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lizsgeekyside.wordpress.com/2008/09/03/intro-to-sharepoint-silverlight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b3d187c0a7bd33cc353a4a18592f5a3?s=96&#38;d=monsterid" medium="image">
			<media:title type="html">Liz</media:title>
		</media:content>
	</item>
		<item>
		<title>App config updates</title>
		<link>http://lizsgeekyside.wordpress.com/2008/08/28/app-config-updates/</link>
		<comments>http://lizsgeekyside.wordpress.com/2008/08/28/app-config-updates/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 15:18:23 +0000</pubDate>
		<dc:creator>Liz</dc:creator>
				<category><![CDATA[.NET 2.0]]></category>
		<category><![CDATA[App config]]></category>

		<guid isPermaLink="false">http://lizsgeekyside.wordpress.com/?p=174</guid>
		<description><![CDATA[I&#8217;ve cleaned up the code a little from one of my previous posts, Sample code: App configuration settings for .NET 2.0, and added some comments for when you&#8217;re developing a web app.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizsgeekyside.wordpress.com&amp;blog=4456544&amp;post=174&amp;subd=lizsgeekyside&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve cleaned up the code a little from one of my previous posts, <a href="http://lizsgeekyside.wordpress.com/2008/08/11/sample-code-app-configuration-settings-for-net-20/">Sample code: App configuration settings for .NET 2.0</a>, and added some comments for when you&#8217;re developing a web app.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/lizsgeekyside.wordpress.com/174/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/lizsgeekyside.wordpress.com/174/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lizsgeekyside.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lizsgeekyside.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lizsgeekyside.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lizsgeekyside.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lizsgeekyside.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lizsgeekyside.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lizsgeekyside.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lizsgeekyside.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lizsgeekyside.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lizsgeekyside.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lizsgeekyside.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lizsgeekyside.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lizsgeekyside.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lizsgeekyside.wordpress.com/174/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizsgeekyside.wordpress.com&amp;blog=4456544&amp;post=174&amp;subd=lizsgeekyside&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lizsgeekyside.wordpress.com/2008/08/28/app-config-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b3d187c0a7bd33cc353a4a18592f5a3?s=96&#38;d=monsterid" medium="image">
			<media:title type="html">Liz</media:title>
		</media:content>
	</item>
		<item>
		<title>Sample code: Implementing a custom installer for .NET 2.0</title>
		<link>http://lizsgeekyside.wordpress.com/2008/08/13/sample-code-implementing-a-customer-installer-for-net-20/</link>
		<comments>http://lizsgeekyside.wordpress.com/2008/08/13/sample-code-implementing-a-customer-installer-for-net-20/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 22:03:16 +0000</pubDate>
		<dc:creator>Liz</dc:creator>
				<category><![CDATA[.NET 2.0]]></category>
		<category><![CDATA[Custom installation]]></category>

		<guid isPermaLink="false">http://lizsgeekyside.wordpress.com/?p=147</guid>
		<description><![CDATA[Implementing a custom installer This is an example class, which would need to be created in the same assembly as the application needing to be installed: [System.ComponentModel.RunInstaller(true)] class NewInstaller : Installer {     public NewInstaller() : base()     {         this.Committing += new InstallEventHandler             (NewInstaller_Committing);         this.Committed += new InstallEventHandler             (NewInstaller_Committed);     [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizsgeekyside.wordpress.com&amp;blog=4456544&amp;post=147&amp;subd=lizsgeekyside&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong><span style="text-decoration:underline;">Implementing a custom installer</span></strong></p>
<p>This is an example class, which would need to be created in the same assembly as the application needing to be installed:</p>
<p style="background-color:#CCEEFF;"><code>[System.ComponentModel.RunInstaller(true)]<br />
class NewInstaller : Installer<br />
{<br />
    public NewInstaller() : base()<br />
    {<br />
        this.Committing += new InstallEventHandler<br />
            (NewInstaller_Committing);<br />
        this.Committed += new InstallEventHandler<br />
            (NewInstaller_Committed);<br />
    }</code><code><br />
    private void NewInstaller_Committing(object sender,<br />
        InstallEventArgs e)<br />
    {<br />
        // Whatever needs to be done before installation<br />
    }<br />
    private void NewInstaller_Committed(object sender,<br />
        InstallEventArgs e)<br />
    {<br />
        // Whatever needs to be done after installation<br />
    }<br />
    public override void Install(IDictionary savedState)<br />
    {<br />
        base.Install(savedState);<br />
    }<br />
    public override void Commit(IDictionary savedState)<br />
    {<br />
        base.Commit(savedState);<br />
    }<br />
    public override void Rollback(IDictionary savedState)<br />
    {<br />
        base.Rollback(savedState);<br />
    }<br />
    public override void Uninstall(IDictionary savedState)<br />
    {<br />
        base.Uninstall(savedState);<br />
    }<br />
}</code></p>
<p><strong><span style="text-decoration:underline;">Launching a custom installer programmatically</span></strong></p>
<p style="background-color:#CCEEFF;"><code>static void Main(string[] args)<br />
{<br />
    IDictionary actions = new Hashtable();<br />
    try<br />
    {<br />
        AssemblyInstaller aInstaller = new AssemblyInstaller<br />
            ("ExampleInstaller.dll", args);<br />
            // or you could use the ComponentInstaller<br />
            // object instead<br />
        aInstaller.UseNewContext = true;<br />
        aInstaller.Install(actions);<br />
        aInstaller.Commit(actions);<br />
    }<br />
    catch (Exception e)<br />
    {<br />
        Console.WriteLine(e.Message);<br />
    }<br />
}<br />
</code></p>
<p><span style="text-decoration:underline;"><strong>Uninstalling or Rolling Back an Installation</strong></span></p>
<p>Replace the <em>Install()</em> method from the previous example with one of the following methods:</p>
<p style="background-color:#CCEEFF;"><code>aInstaller.Uninstall(actions);</code></p>
<p style="background-color:#CCEEFF;"><code>aInstaller.Rollback(actions);</code></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/lizsgeekyside.wordpress.com/147/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/lizsgeekyside.wordpress.com/147/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lizsgeekyside.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lizsgeekyside.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lizsgeekyside.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lizsgeekyside.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lizsgeekyside.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lizsgeekyside.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lizsgeekyside.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lizsgeekyside.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lizsgeekyside.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lizsgeekyside.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lizsgeekyside.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lizsgeekyside.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lizsgeekyside.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lizsgeekyside.wordpress.com/147/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizsgeekyside.wordpress.com&amp;blog=4456544&amp;post=147&amp;subd=lizsgeekyside&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lizsgeekyside.wordpress.com/2008/08/13/sample-code-implementing-a-customer-installer-for-net-20/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b3d187c0a7bd33cc353a4a18592f5a3?s=96&#38;d=monsterid" medium="image">
			<media:title type="html">Liz</media:title>
		</media:content>
	</item>
		<item>
		<title>Intro to SharePoint: Data Lists</title>
		<link>http://lizsgeekyside.wordpress.com/2008/08/12/intro-to-sharepoint-data-lists/</link>
		<comments>http://lizsgeekyside.wordpress.com/2008/08/12/intro-to-sharepoint-data-lists/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 20:20:56 +0000</pubDate>
		<dc:creator>Liz</dc:creator>
				<category><![CDATA[Microsoft webcasts]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[CAML]]></category>
		<category><![CDATA[Data Lists]]></category>
		<category><![CDATA[Document libraries]]></category>
		<category><![CDATA[SharePoint lists]]></category>

		<guid isPermaLink="false">http://lizsgeekyside.wordpress.com/?p=133</guid>
		<description><![CDATA[In continuation of the Intro to SharePoint webcasts that I&#8217;ve been watching, here are my notes from the second one, which introduces Data Lists.  The entire collection of webcasts can be found here.  Speaker: Robert Bogue Microsoft MVP for MOSS Thor Projects LLC www.thorprojects.com/blog     SharePoint is a virtual file system, which is stored in a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizsgeekyside.wordpress.com&amp;blog=4456544&amp;post=133&amp;subd=lizsgeekyside&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In continuation of the Intro to SharePoint webcasts that I&#8217;ve been watching, here are my notes from the second one, which introduces Data Lists.  The entire collection of webcasts can be found <a href="http://www.andrewconnell.com/blog/archive/2008/05/13/ASP.NET-Developer-Looking-for-a-SharePoint-RampUp.aspx">here</a>. </p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">Speaker:</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">Robert Bogue</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">Microsoft MVP for MOSS</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">Thor Projects LLC</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"><a href="http://www.thorprojects.com/blog"><span style="color:#557799;">www.thorprojects.com/blog</span></a></p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"> </p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"> </p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">SharePoint is a virtual file system, which is stored in a content database. </p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"> </p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"><strong>SHAREPOINT LISTS</strong> </p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">A SharePoint list is essentially a table in Sql Server.  They can have their own form pages and multiple SharePoint views (with grouping, etc).  They are created from templates (Example: Creating a list of type &#8220;Contacts&#8221;), which can then be modified.  Lists can contain one or more Content Types, which are a way to encapsulate the metadata and processes about something.  (Content Types are one or the most powerful tools in SharePoint).  Lists can have attachments. </p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"> </p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"><strong>DOCUMENT LIBRARIES</strong></p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"><strong></strong></p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"><strong></strong></p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">A document library is a special type of list, that has one and only one attachment all the time.</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"> </p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"><strong>PROGRAMMING WITH LISTS</strong></p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"><strong></strong></p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"><strong></strong></p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">The Object model is located in namespace Microsoft.SharePoint.dll (there are several more subsets).  You can access the OM from any server in the farm (the Web front-end or the application server).  The OM can only touch other sites and apps in the same web farm.</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"> </p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"><strong>SERVER AND SITE ARCHITECTURE</strong></p>
<ol>
<li>
<div style="font-size:11pt;font-family:Calibri;margin:0;">Top level object: SP Farm &#8211; lets you know what servers are in the farm, what web apps are being hosted by the farm</div>
</li>
<li>
<div style="font-size:11pt;font-family:Calibri;margin:0;">SPServer: Web front-end, index server, etc</div>
</li>
<li>
<div style="font-size:11pt;font-family:Calibri;margin:0;">SPWebApplication: Usually you have web application on multiple servers, or you can have more than one web app on each server</div>
</li>
<li>
<div style="font-size:11pt;font-family:Calibri;margin:0;">SPSite: Site collections, a boundary for backup, queries.  This is an important object.  This is normally the highest level you go to during development</div>
</li>
<li>
<div style="font-size:11pt;font-family:Calibri;margin:0;">SPWeb: A collection of these are in the SPSite.  In these, you have a List property (used to access Lists and Document libraries)</div>
</li>
<li>
<div style="font-size:11pt;font-family:Calibri;margin:0;">SPList/SPDocumentLibarary</div>
</li>
<li>
<div style="font-size:11pt;font-family:Calibri;margin:0;">SPListItem and SPField</div>
</li>
</ol>
<p style="font-size:11pt;font-family:Calibri;margin:0;"><strong>CREATING LIST ITEMS</strong></p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"><strong></strong></p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"><strong></strong></p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">Use the SPListItem object.  Be sure to use internal names (SharePoint gives an internal name when it is first created.  It is the name of the field minus any special characters.)</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"> </p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"><strong>IMPORTING DATA</strong></p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"><strong></strong></p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"><strong></strong></p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">There is a generally accepted rule (soft rule) of including up to 2000 rows to comfortably keep performance up.  However, in one of Rob&#8217;s examples, he uploads 18,000 records, which SharePoint can handle, usually under 3 minutes.</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"> </p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"><strong>RETRIEVING LIST ITEMS</strong></p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"><strong></strong></p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"><strong></strong></p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">Use SPListItemCollection/SPListItem.  There are three main ways to handle this:</p>
<ul>
<li>
<div style="font-size:11pt;font-family:Calibri;margin:0;">Loop over all objects in SPList.Items collection</div>
</li>
<li>
<div style="font-size:11pt;font-family:Calibri;margin:0;">Use databinding with GetDataTable method</div>
</li>
<li>
<div style="font-size:11pt;font-family:Calibri;margin:0;">Execute a query against the list (in CAML-Collaborative Application Markup Language)</div>
</li>
</ul>
<p style="font-size:11pt;font-family:Calibri;margin:0;"><strong>QUERYING DATA IN CAML</strong></p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"><strong></strong></p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"><strong></strong></p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">CAML queries can be executed against one or more list instances.  When executing a CAML query, use either SPQuery, SPSiteDataQuery, or Lists.asmx.  There are some tools out there that help you build CAML queries</p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"> </p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"><strong>WORKING WITH DOCUMENTS</strong></p>
<p style="font-size:11pt;font-family:Calibri;margin:0;"><strong></strong></p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">There are a few things that a document library can do that a List cannot:</p>
<ul>
<li>SPFile.CopyTo &#8211; makes a copy of the document in another document library in the same site</li>
<li>SPFolder.Files.Add &#8211; adds a document</li>
<li>SPFile.MoveTo &#8211; moves document, metadata, and versions from one document library to another</li>
</ul>
<p style="font-size:11pt;font-family:Calibri;margin:0;"><strong>SUMMARY</strong></p>
<p style="font-size:11pt;font-family:Calibri;margin:0;">Microsoft.SharePoint.dll is a powerful API for creating and managing the containers and all of its content.<br />
Possible hosts for your code are WinForms apps running on the machine of SharePoint products and technologies, and SharePoint solution components like Web Parts, application, and site pages.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/lizsgeekyside.wordpress.com/133/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/lizsgeekyside.wordpress.com/133/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lizsgeekyside.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lizsgeekyside.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lizsgeekyside.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lizsgeekyside.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lizsgeekyside.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lizsgeekyside.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lizsgeekyside.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lizsgeekyside.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lizsgeekyside.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lizsgeekyside.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lizsgeekyside.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lizsgeekyside.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lizsgeekyside.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lizsgeekyside.wordpress.com/133/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizsgeekyside.wordpress.com&amp;blog=4456544&amp;post=133&amp;subd=lizsgeekyside&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lizsgeekyside.wordpress.com/2008/08/12/intro-to-sharepoint-data-lists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b3d187c0a7bd33cc353a4a18592f5a3?s=96&#38;d=monsterid" medium="image">
			<media:title type="html">Liz</media:title>
		</media:content>
	</item>
	</channel>
</rss>
