<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SharePoint Fun &#187; Visual Studio</title>
	<atom:link href="http://blog.qumsieh.ca/category/visual-studio/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.qumsieh.ca</link>
	<description>Developer's blog related to ASP.NET, SharePoint and Telerik Web Controls</description>
	<lastBuildDate>Tue, 27 Jul 2010 03:07:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Speaking at DevTeach!</title>
		<link>http://blog.qumsieh.ca/2009/02/25/speaking-at-devteach-in-june/</link>
		<comments>http://blog.qumsieh.ca/2009/02/25/speaking-at-devteach-in-june/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 19:40:56 +0000</pubDate>
		<dc:creator>shereen</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[Telerik]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://blog.qumsieh.ca/?p=363</guid>
		<description><![CDATA[Greetings everyone! I am very excited to annouce that I have been selected to speak at the DevTeach conference that will be held here in Vancouver from June 8-12. I spend a great deal of time blogging about working with the Telerik web controls in my SharePoint development, so I figured this would be a good [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><span style="text-decoration: underline;"><a href="http://www.devteach.com"></a><a href="http://devteach.com"><img class="alignnone size-full wp-image-370" title="vandevt-e" src="http://blog.qumsieh.ca/wp-content/uploads/2009/02/vandevt-e.jpg" alt="" width="500" height="81" /></a></span></p>
<p style="text-align: left;">Greetings everyone! I am very excited to annouce that I have been selected to speak at the <strong>DevTeach</strong> conference that will be held here in Vancouver from <strong><span style="color: #0000ff;">June 8-12</span></strong>. I spend a great deal of time blogging about working with the Telerik web controls in my SharePoint development, so I figured this would be a good opportunity to share some of the things I&#8217;ve learned and to demonstrate how easy it is to integrate these into your projects.</p>
<p style="text-align: left;">This is a great conference that promises to be the biggest developer, DBA and ITPro conference in Canada. It&#8217;s jam-packed with advanced sessions (level 300 and 400) all on the latest versions of Microsoft products and technologies. I encourage you all to at least check it out and see if some of the other sessions or topics might appeal to you.</p>
<p style="text-align: left;">Hope to see you there!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.qumsieh.ca/2009/02/25/speaking-at-devteach-in-june/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JQuery, Microsoft &amp; Visual Studio</title>
		<link>http://blog.qumsieh.ca/2008/10/13/jquery-microsoft-visual-studio/</link>
		<comments>http://blog.qumsieh.ca/2008/10/13/jquery-microsoft-visual-studio/#comments</comments>
		<pubDate>Tue, 14 Oct 2008 01:16:53 +0000</pubDate>
		<dc:creator>shereen</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[JQuery]]></category>

		<guid isPermaLink="false">http://blog.qumsieh.ca/?p=83</guid>
		<description><![CDATA[I came across something very interesting last week and just wanted to make a note of it here. I&#8217;ve talked before about including prototypejs in your SharePoint application pages, but a recent announcement from Microsoft has made me consider using an alternative. You can read about Microsoft&#8217;s news to include JQuery in Visual Studio on [...]]]></description>
			<content:encoded><![CDATA[<p>I came across something very interesting last week and just wanted to make a note of it here. I&#8217;ve talked before about including prototypejs in your SharePoint application pages, but a recent announcement from Microsoft has made me consider using an alternative.</p>
<p>You can read about Microsoft&#8217;s news to include JQuery in Visual Studio on Scott&#8217;s <a href="http://weblogs.asp.net/scottgu/archive/2008/09/28/jquery-and-microsoft.aspx">blog</a>.</p>
<blockquote><p>&#8220;The jQuery intellisense annotation support will be available as a free web-download in a few weeks (and will work great with VS 2008 SP1 and the free Visual Web Developer 2008 Express SP1)&#8221;</p></blockquote>
<p>I&#8217;ll be looking into JQuery in the next couple weeks to see how it performs against prototypejs and i&#8217;ll post any findings here, so stay tuned!</p>
<p>Erik was kind enough to post some info related to prototype and the content editor not behaving well together. It seems that JQuery might work better in this scenario. You can read more about that <a href="http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/959681f1-61d4-4b11-8e43-40c793f2c2d7">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.qumsieh.ca/2008/10/13/jquery-microsoft-visual-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Subversion to Source Control SharePoint Projects</title>
		<link>http://blog.qumsieh.ca/2008/02/08/using-subversion-to-source-control-sharepoint-projects/</link>
		<comments>http://blog.qumsieh.ca/2008/02/08/using-subversion-to-source-control-sharepoint-projects/#comments</comments>
		<pubDate>Sat, 09 Feb 2008 01:10:11 +0000</pubDate>
		<dc:creator>shereen</dc:creator>
				<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Source Control]]></category>

		<guid isPermaLink="false">http://blog.qumsieh.ca/?p=73</guid>
		<description><![CDATA[Recently, I ran across a post from Andrew Connell where he addresses the question of moving content created in a dev environment to another environment, such as QA, staging or production. While the focus of his post was to answer that question, he did bring up an interesting point. Is it possible to use a [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I ran across a post from Andrew Connell where he addresses the question of moving content created in a dev environment to another environment, such as QA, staging or production. While the focus of his post was to answer that question, he did bring up an interesting point. Is it possible to use a tool like subversion to source control your SharePoint master pages, page layouts, css files etc?</p>
<p>It most certainly is! <a href="http://www.andrewconnell.com/blog/archive/2006/12/20/5451.aspx">Andrew&#8217;s blog post</a> will get you started on understanding how to use features and solutions to move files from one environment to another, but for those of you out there need some assistance getting subversion source control up and running, please read on.</p>
<p><a href="http://subversion.tigris.org/">http://subversion.tigris.org/</a> is the home page for the subversion source control project. The first thing you&#8217;ll need to do is download subversion. Click on <strong>Downloads</strong> on the left navigation. If it&#8217;s not entirely clear, you have two options here: you can compile the source code release directly, or you can install one of the prepackaged binaries if there is one for your operating system. I am running a Windows Server, so there were a few prepackaged binaries that I could choose from. I didn&#8217;t want to have to compile source code. I tested out <strong>CollabNet</strong>, <strong>VisualSVN</strong> and <strong>TortoiseSVN</strong>. Below is a brief summary:</p>
<ul>
<li>CollabNet is an installer package you can download which will install subversion and optionally apache to your server. There is no GUI, so you&#8217;ll have to be familiar with running svn commands via the command prompt to setup your respositories. CollabNet also comes with a client for use with subversion.</li>
<li>VisualSVN comes with both a server and a client, however, the difference between VisualSVN and CollabNet is that VisualSVN offers a GUI for creating repositories, managing users and managing groups. It&#8217;s really simple to use, and I&#8217;ve had no issues with it so far. The client portion installs as a plug-in for Visual Studio making it really simple to interact with subversion. It&#8217;s important to note that the server product is FREE, however, the client licenses are $49 USD per user.</li>
<li>TortoiseSVN as far as I can tell is a free client plug-in for Windows Explorer that allows you to interact with subversion. Again, please note here that TortoiseSVN client does not interact with Visual Studio. You can use TortoiseSVN in conjunction with VisualSVN or CollabNet subversion servers. The solution I eventually settled on and now have implemented is VisualSVN server on my Windows Server box and TortoiseSVN for my clients.</li>
<li><a href="http://www.visualsvn.com/server/">Download VisualSVN</a></li>
<li><a href="http://tortoisesvn.net/downloads">Download TortoiseSVN</a></li>
</ul>
<ol>
<li>The install of VisualSVN will create a new entry in your Program Files menu called <strong>VisualSVN Server Manager</strong>. This GUI will give you the ability to create repositories, add users and configure groups. Right click on <strong>Repositories</strong> and click <strong>Create Repository</strong>. Give it a name and allow it to create the default structure. If you expand your repository, you will see 3 folders: trunk, tags and branches.</li>
<li>You have a couple of options from here. You can add an existing project that&#8217;s already been developed or is a work in progress into subversion or you can create a new project that is source controlled before any development begins. I&#8217;ll outline the latter briefly, you can expect to see a post about source controlling existing projects later this week.</li>
<li>Once you&#8217;ve created your repository, expand that repository, click on the Trunk folder and select Copy URL.</li>
<li>Using TortoiseSVN, you can right click within any folder in Windows Explorer and select <strong>SVN Checkout</strong> from the context menu.</li>
<li>Paste the url you copied in step 2 in the URL of repository: field. Select the checkout directory and click Ok.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.qumsieh.ca/2008/02/08/using-subversion-to-source-control-sharepoint-projects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating an MSI Package for a WSP File in Visual Studio</title>
		<link>http://blog.qumsieh.ca/2008/01/19/creating-an-msi-package-for-a-sharepoint-wsp-file/</link>
		<comments>http://blog.qumsieh.ca/2008/01/19/creating-an-msi-package-for-a-sharepoint-wsp-file/#comments</comments>
		<pubDate>Sat, 19 Jan 2008 23:22:03 +0000</pubDate>
		<dc:creator>shereen</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[WSP]]></category>

		<guid isPermaLink="false">http://blog.qumsieh.ca/?p=3</guid>
		<description><![CDATA[For anyone designing SharePoint Solution Packages (wsp files), typical deployment means either running stsadm commands to add a solution and then deploy it, or automating it via a script. However, if you&#8217;re building solutions that will be installed or administered by a client or a user not familiar with the stsadm command, then you&#8217;ll want [...]]]></description>
			<content:encoded><![CDATA[<p>For anyone designing SharePoint Solution Packages (wsp files), typical deployment means either running stsadm commands to add a solution and then deploy it, or automating it via a script. However, if you&#8217;re building solutions that will be installed or administered by a client or a user not familiar with the stsadm command, then you&#8217;ll want to create something a little more user friendly.</p>
<p>That&#8217;s where MSI packaging can help. MSI packages also show up in add/remove programs and that makes it easier to manage for the end user.  What i&#8217;ll outline in this blog post is some simple steps to get you going on creating MSI packages for sharepoint solutions files. To begin, i&#8217;ll assume you have already created a solution file and have it ready to go.</p>
<ol>
<li>Create a new Setup project: <em>File</em> -&gt; <em>New</em>-&gt; <em>Project</em> -&gt; <em>Other Project Types</em> -&gt; <em>Setup and Deployment</em> -&gt; <em>Setup Project<br />
</em><a href="http://blog.qumsieh.ca/wp-content/uploads/2008/12/picture_1.png"><img class="alignnone size-medium wp-image-57" title="picture_1" src="http://blog.qumsieh.ca/wp-content/uploads/2008/12/picture_1-300x203.png" alt="" width="300" height="203" /></a></li>
<li>Highlight the project and using the toolbar on the Solution explorer pane, select the <em>User Interface Editor</em></li>
<li>Configure the UI screens as you require</li>
<li>On that same Solution Explorer pane, select the <em>Custom Actions Editor</em> and add the scripts below to the Install and Uninstall folders</li>
<li>Using the File System Editor, add the wsp and license file to the Application Folder for use within the scripts below</li>
<li>Building the solution will generate an msi file that you can now use to install your wsp. The msi will include all the necessary files, such as the license file, the wsp and the install scripts.</li>
</ol>
<p><strong>AddSolution.vbs</strong></p>

<div class="wp_syntax"><div class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #008000;">' VBScript File
</span>
<span style="color: #000080;">Set</span> oShell = CreateObject(<span style="color: #800000;">&quot;WScript.Shell&quot;</span>)
&nbsp;
<span style="color: #000080;">Dim</span> activationUrl <span style="color: #000080;">Dim</span> targetDir <span style="color: #000080;">Dim</span> installDir
&nbsp;
targetUrl = Session.<span style="color: #000080;">Property</span>(<span style="color: #800000;">&quot;CustomActionData&quot;</span>)
&nbsp;
installDir = Session.<span style="color: #000080;">Property</span>(<span style="color: #800000;">&quot;INSTALLDIR&quot;</span>)
&nbsp;
Return = oShell.Run(<span style="color: #800000;">&quot;cmd /C C:\Progra~1\Common~1\Micros~1\webser~1\12\BIN\stsadm -o addsolution -filename &quot;</span> + installDir + <span style="color: #800000;">&quot;\CurrentlyPublishedPage.wsp&quot;</span>, 0, <span style="color: #000080;">true</span>)
&nbsp;
Return = oShell.Run(<span style="color: #800000;">&quot;cmd /C C:\Progra~1\Common~1\Micros~1\webser~1\12\BIN\stsadm -o deploysolution -name CurrentlyPublishedPage.wsp -allcontenturls -immediate -allowGacDeployment&quot;</span>, 0, <span style="color: #000080;">true</span>)
&nbsp;
Return = oShell.Run(<span style="color: #800000;">&quot;cmd /C C:\Progra~1\Common~1\Micros~1\webser~1\12\BIN\stsadm -o execadmsvcjobs&quot;</span>, 0, <span style="color: #000080;">true</span>)
&nbsp;
activationUrl = <span style="color: #800000;">&quot;cmd /C C:\Progra~1\Common~1\Micros~1\webser~1\12\BIN\stsadm -o activatefeature -filename CurrentlyPublishedPage\feature.xml -url &quot;</span> &amp;amp; targetUrl
&nbsp;
Return = oShell.Run(activationUrl, 0, <span style="color: #000080;">true</span>)</pre></div></div>

<p><strong>RetractSolution.vbs</strong></p>

<div class="wp_syntax"><div class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #008000;">' VBScript File
</span>
<span style="color: #000080;">Set</span> oShell = CreateObject(<span style="color: #800000;">&quot;WScript.Shell&quot;</span>)
&nbsp;
Return = oShell.Run(<span style="color: #800000;">&quot;cmd /C C:\Progra~1\Common~1\Micros~1\webser~1\12\BIN\stsadm -o retractsolution -name CurrentlyPublishedPage.wsp -allcontenturls -immediate&quot;</span>, 0, <span style="color: #000080;">true</span>)
&nbsp;
Return = oShell.Run(<span style="color: #800000;">&quot;cmd /C C:\Progra~1\Common~1\Micros~1\webser~1\12\BIN\stsadm -o execadmsvcjobs&quot;</span>, 0, <span style="color: #000080;">true</span>)
&nbsp;
Return = oShell.Run(<span style="color: #800000;">&quot;cmd /C C:\Progra~1\Common~1\Micros~1\webser~1\12\BIN\stsadm -o deletesolution -name CurrentlyPublishedPage.wsp&quot;</span>, 0, <span style="color: #000080;">true</span>)</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.qumsieh.ca/2008/01/19/creating-an-msi-package-for-a-sharepoint-wsp-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
