<?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>Gabe Hilado&#039;s SharePoint &#38; ASP.NET Blog &#187; Visual Studio</title>
	<atom:link href="http://spdeveloper.net/tag/visual-studio/feed/" rel="self" type="application/rss+xml" />
	<link>http://spdeveloper.net</link>
	<description>Microsoft, SharePoint, ASP.NET, Software Solutions</description>
	<lastBuildDate>Thu, 29 Sep 2011 15:13:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Visual Studio 2010 Visual Web Part Project</title>
		<link>http://spdeveloper.net/2010/06/visual-studio-2010-visual-web-part-project/</link>
		<comments>http://spdeveloper.net/2010/06/visual-studio-2010-visual-web-part-project/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 03:06:19 +0000</pubDate>
		<dc:creator>Gabe Hilado</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Developers]]></category>
		<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Web Parts]]></category>
		<category><![CDATA[WSP]]></category>

		<guid isPermaLink="false">http://spdeveloper.net/?p=334</guid>
		<description><![CDATA[I am in the process of getting up to speed with the new Visual Studio 2010 IDE and how it can be used to develop custom SharePoint 2010 solutions. It’s so easy to do a “Hello World” Web part project now. These days, my Hello World projects typically involve opening up a database table and [...]]]></description>
			<content:encoded><![CDATA[<p>I am in the process of getting up to speed with the new <strong>Visual Studio 2010</strong> IDE and how it can be used to develop custom SharePoint 2010 solutions.</p>
<p>It’s so easy to do a “Hello World” Web part project now. These days, my Hello World projects typically involve opening up a database table and displaying records in a table. I was able to do this with minimal coding and got it up and running—a full blown Web part—in under 15 minutes!</p>
<p>I created a sample project that opens up the <a href="http://msftdbprodsamples.codeplex.com/" target="_blank">AdventureWorks</a> database and displays employee records in a table:</p>
<p style="text-align: center;">
<div class="wp-caption aligncenter" style="width: 344px"><a href="http://spdeveloper.net/wp-content/uploads/2010/06/image1.png"><img style="display: block; border: 0px;" title="Sample Visual Web Part Project using Adventure Works Database" src="http://spdeveloper.net/wp-content/uploads/2010/06/image_thumb1.png" border="0" alt="Sample Visual Web Part Project using Adventure Works Database" width="334" height="430" /></a><p class="wp-caption-text">Sample Visual Web Part Project using Adventure Works Database</p></div>
<p style="text-align: left;">The Web-part looks like the following when used inside SharePoint:</p>
<p style="text-align: center;">
<div class="wp-caption aligncenter" style="width: 733px"><a href="http://spdeveloper.net/wp-content/uploads/2010/06/image2.png"><img style="display: inline; border: 0px;" title="AdventureWorks Employees Web Part" src="http://spdeveloper.net/wp-content/uploads/2010/06/image_thumb2.png" border="0" alt="AdventureWorks Employees Web Part" width="723" height="384" /></a><p class="wp-caption-text">AdventureWorks Employees Web Part So far, I like it!Here are my first impressions:SharePoint project templates come out-of-the-box install of VS 2010. After installing VS 2010, the SharePoint project templates are ready for use. No need to do installations of VS-extensions.SharePoint Project Templates in Visual Studio 2010</p></div>
<p style="text-align: center;"> </p>
<ul>
<li>The <strong>Visual Web Part</strong> project cannot be deployed as a “sandboxed solution”. It has to be deployed as a <strong>farm solution</strong>.</li>
<li><strong>Project-debugging became a lot easier</strong> even with a full-blow farm-deployment. Press F5 in the VS 2010 IDE and Visual Studio will build, package, deploy, and activate your feature, and launch the debug-browser all in one click! When you’re done debugging, terminate Internet Explorer, Visual Studio will deactivate and retract the solution out of SharePoint.</li>
<li>IIS-reset (for the target Web app) even for full-blown deployments when debugging is fast!</li>
<li>Remember in VSeWSS 1.3 where you had to Google first <a href="http://www.google.com/#hl=en&amp;rlz=1W1ADRA_en&amp;q=vsewss+1.3+specify+web+part+group+element.xml&amp;aq=f&amp;aqi=&amp;aql=&amp;oq=vsewss+1.3+specify+web+part+group+element.xml&amp;gs_rfai=&amp;fp=7b315f504f01d538" target="_blank">how to specify the group the Web part appears in</a> because it wasn’t so obvious? Well, it got easier in VS 2010! Now, the E<strong>lements.xml</strong> file has a place-holder for the <strong>Web-part group</strong>. All you have to do, is change it from “<em>Custom</em>” to whatever value you want it to be. It’s so visible now you can’t miss it.</li>
</ul>
<p style="text-align: center;">
<div class="wp-caption aligncenter" style="width: 626px"><a href="http://spdeveloper.net/wp-content/uploads/2010/06/image4.png"><img style="display: block; border: 0px;" title="Web-Part Group Place-Holder in Elements.xml File" src="http://spdeveloper.net/wp-content/uploads/2010/06/image_thumb4.png" border="0" alt="Web-Part Group Place-Holder in Elements.xml File" width="616" height="277" /></a><p class="wp-caption-text">Web-Part Group Place-Holder in Elements.xml File</p></div>
<p style="text-align: center;"> </p>
<ul>
<li>You can now <strong>add Web User Controls (ASCX files) into the project!</strong> As a matter of fact, the project template adds one ASCX file for you. This just made Web Part development a HECK of a lot easier! This is HUGE! Back in VS 2008 developing SharePoint 2007 Web parts, there were no designers available. If developers wanted to use ASCX files, they had to create regular ASP.NET Web apps, design the ASCX files there, write the code-behind, compile the project so the code-behind logic gets packaged with the ASCX files, deploy the ASCX files to UserControls folder within the SharePoint virtual Web app folder, deploy and enable Smart Part, add a Smart Part Web part to the SharePoint pages, then finally, hook-up the Smart Part to the ASCX files. Whew!!! Talk about LOTS of steps! In VS 2010, you don’t need Smart Part or that lengthy way to integrate ASCX file in SharePoint anymore. The challenge of “imagining” what your Web part will look like as you write your C# code is no more. The designer is built in to the Visual Web Part project. Leverage your ASP.NET skills to the max.</li>
<li>Despite all the improvements, Web part development veterans should recognize familiar concepts and project files such as Elements.xml, .webpart file, strong-named key file, packages and features. </li>
</ul>
<p>I have many ASP.NET developer friends who didn’t want to get into SharePoint development because:</p>
<ul>
<li>The Web part project wasn’t easy in SharePoint 2007. No designers, hard to design a visual element.</li>
<li>ASP.NET developers got accustomed to easy debugging of their projects by simply pressing F5 key or the play button on the IDE toolbar. In 2007, ASP.NET developers thought deploying the app and then attaching to the w3wp.exe process (multiple manual steps, not one) was too cumbersome.</li>
<li>It took forever to even debug the code because the SharePoint Web app always recycled on deployments.</li>
</ul>
<p>If you are an ASP.NET developer contemplating if you should try SharePoint development, I highly recommend you try it NOW! SharePoint 2010 development feels like traditional ASP.NET development more than ever!</p>
]]></content:encoded>
			<wfw:commentRss>http://spdeveloper.net/2010/06/visual-studio-2010-visual-web-part-project/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>SharePoint Developer Skills</title>
		<link>http://spdeveloper.net/2010/04/sharepoint-developer-skills/</link>
		<comments>http://spdeveloper.net/2010/04/sharepoint-developer-skills/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 14:57:58 +0000</pubDate>
		<dc:creator>Gabe Hilado</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Career]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Developers]]></category>
		<category><![CDATA[Enterprise]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://spdeveloper.net/?p=215</guid>
		<description><![CDATA[There is big SharePoint team in one of my customers and it&#8217;s a good blend of developers, engineers, analysts, and managers. When this team started in 2007, only a handful (2 people really) was knowledgeable in the ways of SharePoint. But because the user-base for this organization is so big, technical resources of other backgrounds [...]]]></description>
			<content:encoded><![CDATA[<p>There is big SharePoint team in one of my customers and it&#8217;s a good blend of developers, engineers, analysts, and managers. When this team started in 2007, only a handful (2 people really) was knowledgeable in the ways of SharePoint. But because the user-base for this organization is so big, technical resources of other backgrounds started getting recruited to become part of the SharePoint team. Traditional network engineers became SharePoint farm admins. ASP.NET developers became SharePoint developers (that’s how I got into SharePoint). Other Web developers (Coldfusion) became SharePoint developers too.</p>
<p>There are still some Coldfusion developers in this organization but these Coldfusion apps are being phased out and eventually  will be converted to ASP.NET and/or SharePoint. These Coldfusion developers do not have a background on ASP.NET programming model, which is really different, closer to VB6 model if you look at it that it is closer to “classic ASP” model. “Classic ASP”, Coldfusion, and PHP are in the same category in my book—they are server-side scripting. ASP.NET and  SharePoint on the other hand are more object-oriented.</p>
<p>One of the Coldfusion developers asked me which topics on <strong>ASP.NET and SharePoint</strong> should they learn and in what order. They are excited to develop SharePoint stuff such as Web parts and workflows but need some guidance on where to start.</p>
<p>Here’s the list of high-level <strong>skills</strong>/topics I pointed out one should in order to <strong>develop SharePoint solutions</strong>:</p>
<ul>
<li><strong>ASP.NET model</strong>
<ul>
<li>ASP.NET User Controls</li>
<li>Intrinsic Objects (HttpContext, Application, Request, Response, Server, etc.)</li>
<li>ASP.NET Page life-cycle</li>
<li>C#</li>
<li>ASP.NET Web App configuration files</li>
<li>.NET Namespaces</li>
</ul>
</li>
<li><strong>Object-Oriented/Component Programming</strong>
<ul>
<li>Properties and Methods</li>
<li>Events</li>
<li>Delegates</li>
<li>Inheritance</li>
<li>Implementation (interfaces and abstracts)</li>
</ul>
</li>
<li><strong>SharePoint Features Development</strong>
<ul>
<li>Visual Studio SharePoint Project Extensions/Templates</li>
<li>SharePoint Object Model</li>
<li>Deploying Features using STSADM</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://spdeveloper.net/2010/04/sharepoint-developer-skills/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Customizing WSP files using VSeWSS 1.3 in Visual Studio 2008</title>
		<link>http://spdeveloper.net/2009/12/editing-wsp-file-using-vsewss-1-3-in-visual-studio-2008/</link>
		<comments>http://spdeveloper.net/2009/12/editing-wsp-file-using-vsewss-1-3-in-visual-studio-2008/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 21:35:25 +0000</pubDate>
		<dc:creator>Gabe Hilado</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint Deployment]]></category>
		<category><![CDATA[Deployment]]></category>
		<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Web Parts]]></category>
		<category><![CDATA[WSP]]></category>
		<category><![CDATA[WSS 3.0]]></category>

		<guid isPermaLink="false">http://spdeveloper.net/?p=154</guid>
		<description><![CDATA[Using VSeWSS 1.3 with Visual Studio 2008, when you create a new Web Part project, you can edit the Web part properties and descriptions using the WSP View. The typical Solution Explorer in VS 2008 looks like the following when working on a Web part project: In order to see the manifest.xml or feature.xml file, [...]]]></description>
			<content:encoded><![CDATA[<p>Using <strong>VSeWSS 1.3</strong> with Visual Studio 2008, when you create a new Web Part project, you can edit the Web part properties and descriptions using the WSP View. The typical Solution Explorer in VS 2008 looks like the following when working on a Web part project:</p>
<div id="attachment_155" class="wp-caption aligncenter" style="width: 291px"><img class="size-full wp-image-155" title="Solution Explorer in VS 2008" src="http://spdeveloper.net/wp-content/uploads/2009/12/solution-explorer.png" alt="Solution Explorer in VS 2008" width="281" height="216" /><p class="wp-caption-text">Solution Explorer in VS 2008</p></div>
<p>In order to see the manifest.xml or feature.xml file, you have to look at the &#8220;<strong><em>WSP View</em></strong>&#8220;. WSP View can be accessed by going to the menu and hitting <em>View&#8211;&gt;Other Windows&#8211;&gt;WSP View</em>. The WSP View looks like the following:</p>
<div id="attachment_156" class="wp-caption aligncenter" style="width: 293px"><img class="size-full wp-image-156" title="WSP View" src="http://spdeveloper.net/wp-content/uploads/2009/12/wsp-view.png" alt="WSP View" width="283" height="287" /><p class="wp-caption-text">WSP View</p></div>
<p>The <strong>manifest.xml</strong> file doesn&#8217;t contain &#8220;product description&#8221; type information. The <strong>manifest.xml</strong> contains assemblies and features information. The <strong>feature.xml</strong> file, that on the other hand, start containing &#8220;description&#8221; type data. Here&#8217;s what the feature.xml contents typically look like:</p>
<pre class="brush: xml;">

&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;

&lt;Feature Id=&quot;cfc5cfdd-62cf-4d98-aeba-e1b38ec6f64f&quot;

             Title=&quot;HelloPart&quot;

             Description=&quot;A Web part that wants to say hello to you.&quot;

             Scope=&quot;Site&quot; Version=&quot;1.0.0.0&quot; Hidden=&quot;FALSE&quot;

             DefaultResourceFile=&quot;core&quot; xmlns=&quot;http://schemas.microsoft.com/sharepoint/&quot;&gt;

  &lt;ElementManifests&gt;

    &lt;ElementManifest Location=&quot;HelloPart\HelloPart.xml&quot; /&gt;

    &lt;ElementFile Location=&quot;HelloPart\HelloPart.webpart&quot; /&gt;

  &lt;/ElementManifests&gt;

&lt;/Feature&gt;
</pre>
<p>See that <em><strong>Title</strong></em> and <em><strong>Description</strong></em> attributes inside the Feature element? They will get displayed in the Site Features Gallery: </p>
<div id="attachment_159" class="wp-caption aligncenter" style="width: 512px"><img class="size-full wp-image-159 " title="WP Title and Description in the Features Gallery" src="http://spdeveloper.net/wp-content/uploads/2009/12/features-gallery.png" alt="WP Title and Description in the Features Gallery" width="502" height="248" /><p class="wp-caption-text">WP Title and Description in the Features Gallery</p></div>
<p>What about the <strong>Web part file</strong> (in the example I&#8217;m using above, the filename is HelloPart.webpart)? What information can be customized and modified here? First, let&#8217;s take a look at the contents of the webpart file:</p>
<pre class="brush: xml;">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;

&lt;webParts&gt;

  &lt;webPart xmlns=&quot;http://schemas.microsoft.com/WebPart/v3&quot;&gt;

    &lt;metaData&gt;

      &lt;!--

      The following Guid is used as a reference to the web part class,

      and it will be automatically replaced with actual type name at deployment time.

      --&gt;

      &lt;type name=&quot;247ef4d4-489d-46d1-a628-8d8daa6267a3&quot; /&gt;

      &lt;importErrorMessage&gt;Cannot import HelloPart Web Part.&lt;/importErrorMessage&gt;

    &lt;/metaData&gt;

    &lt;data&gt;

      &lt;properties&gt;

        &lt;property name=&quot;Title&quot; type=&quot;string&quot;&gt;Gabe's Hello Web Part&lt;/property&gt;

        &lt;property name=&quot;Description&quot; type=&quot;string&quot;&gt;HelloPart is a user-friendly Web part....&lt;/property&gt;

      &lt;/properties&gt;

    &lt;/data&gt;

  &lt;/webPart&gt;

&lt;/webParts&gt;
</pre>
<p>Inside <em>webPart&#8211;&gt;data&#8211;&gt;properties</em> section, there are <em>property</em> elements. The first one is the &#8220;<strong><em>Title</em></strong>&#8221; and the other is the &#8220;<strong><em>Description</em></strong>&#8220;. The values for &#8220;Title&#8221; and &#8220;Description&#8221; contained in the webpart file are what gets displayed in the Web part catalog:</p>
<p> </p>
<div id="attachment_162" class="wp-caption aligncenter" style="width: 519px"><img class="size-full wp-image-162  " title="WP Title and Desription in the WP Catalog" src="http://spdeveloper.net/wp-content/uploads/2009/12/add-web-parts.png" alt="WP Title and Desription in the WP Catalog" width="509" height="509" /><p class="wp-caption-text">WP Title and Desription in the WP Catalog</p></div>
<p>Finally, let&#8217;s take a look at the <strong>Web part XML file</strong> (in the example I used above, the filename is HelloPart.xml). The Web part XML file contains the following:</p>
<pre class="brush: xml;">

&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;

&lt;Elements Id=&quot;247ef4d4-489d-46d1-a628-8d8daa6267a3&quot; xmlns=&quot;http://schemas.microsoft.com/sharepoint/&quot; &gt;

  &lt;Module Name=&quot;WebParts&quot; List=&quot;113&quot; Url=&quot;_catalogs/wp&quot;&gt;

    &lt;File Path=&quot;HelloPart.webpart&quot; Url=&quot;HelloPart.webpart&quot; Type=&quot;GhostableInLibrary&quot; /&gt;

  &lt;/Module&gt;

&lt;/Elements&gt;
</pre>
<p>See how the <em>File</em> element doesn&#8217;t have any children? We can put a <em>Property</em> element as a child of the <em>File</em> element. This <em>Property</em> element will contain the &#8220;<strong><em>Group</em></strong>&#8221; the Web part appears in the catalog. By default, like the in the Web part XML file example above, the Group is not specified and therefore, the Web part gets listed under <em>Miscellaneous Group</em> in the Web Part catalog. If you want the Web part to appear in a group other than <em>Miscellaneous</em>, transform the Web part XML file from the above example to the following:</p>
<pre class="brush: xml;">

&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;

&lt;Elements Id=&quot;247ef4d4-489d-46d1-a628-8d8daa6267a3&quot; xmlns=&quot;http://schemas.microsoft.com/sharepoint/&quot; &gt;

  &lt;Module Name=&quot;WebParts&quot; List=&quot;113&quot; Url=&quot;_catalogs/wp&quot;&gt;

        &lt;File Path=&quot;HelloPart.webpart&quot; Url=&quot;HelloPart.webpart&quot; Type=&quot;GhostableInLibrary&quot;&gt;

              &lt;Property Name=&quot;Group&quot; Value=&quot;My Stuff&quot;/&gt;

        &lt;/File&gt;

  &lt;/Module&gt;

&lt;/Elements&gt;
</pre>
<p>We added the <em>Property</em> element below the <em>File </em>element. The <em>Name </em>attribute of the <em>Property</em> element should have a value of &#8220;<strong><em>Group</em></strong>&#8221; and the <em>Value</em> attribute is the group name you want the Web part to appear in the catalog. In the example above, after the Web part gets deployed, the Web part appears in a category called &#8220;<em>My Stuff</em>&#8220;:</p>
<div id="attachment_168" class="wp-caption aligncenter" style="width: 512px"><img class="size-full wp-image-168 " title="Web Part appearing on specified Group" src="http://spdeveloper.net/wp-content/uploads/2009/12/web-part-grouped.png" alt="Web Part appearing on specified Group" width="502" height="502" /><p class="wp-caption-text">Web Part appearing on specified Group</p></div>
]]></content:encoded>
			<wfw:commentRss>http://spdeveloper.net/2009/12/editing-wsp-file-using-vsewss-1-3-in-visual-studio-2008/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>May 2 SharePoint Saturday Session – Building and Deploying Custom SharePoint Application Pages</title>
		<link>http://spdeveloper.net/2009/05/may-2-sharepoint-saturday-session-%e2%80%93-building-and-deploying-custom-sharepoint-application-pages/</link>
		<comments>http://spdeveloper.net/2009/05/may-2-sharepoint-saturday-session-%e2%80%93-building-and-deploying-custom-sharepoint-application-pages/#comments</comments>
		<pubDate>Tue, 05 May 2009 13:23:00 +0000</pubDate>
		<dc:creator>Gabe Hilado</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[ASCX]]></category>
		<category><![CDATA[ASPX Page]]></category>
		<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Manifest File]]></category>
		<category><![CDATA[STSADM]]></category>
		<category><![CDATA[User Control]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[VS 2005]]></category>
		<category><![CDATA[VS 2008]]></category>
		<category><![CDATA[Web Control]]></category>

		<guid isPermaLink="false">http://spdeveloper.net/?p=8</guid>
		<description><![CDATA[In my previous post, I listed the sessions that I attended on SharePoint Saturday. Michael Lotter’s session was about building and deploying custom SharePoint Application Pages. Out-of-the-box pages suffice for more SharePoint users. But at some point, your customers or organization will want to add custom ASPX pages into SharePoint. This topic is relevant to [...]]]></description>
			<content:encoded><![CDATA[<p>In my <a href="http://spdeveloper.net/2009/05/sharepoint-saturday-may-2-2009/">previous post</a>, I listed the sessions that I attended on SharePoint Saturday. <a href="http://blog.michaellotter.com/">Michael Lotter’s</a> session was about building and deploying custom SharePoint Application Pages. Out-of-the-box pages suffice for more SharePoint users. But at some point, your customers or organization will want to add custom ASPX pages into SharePoint. This topic is relevant to teams wanting to create custom ASPX pages in SharePoint.</p>
<p>The basic ideas for building and deploying custom SharePoint Application Pages:</p>
<ol>
<li>Create a VS 2005 or VS 2008 solution</li>
<li>Edit your ASPX pages, edit your code-behind</li>
<li>Compile the solution—you should get the DLL files and the ASPX and/or ASCX files plus resource files such as images files (GIF, JPG, etc.)</li>
<li>Create a new WSP Solution project in VS 2005 or VS 2008 using VSeWSS, Andrew Connell’s STSDEV, or Codeplex WSP Builder.</li>
<li>In the WSP Solution, you put the ASPX and ASCX pages that you are trying to deploy.</li>
<li>Also, the DLL that was compiled from Step 1 has to be included in the WSP Solution.</li>
<li>Depending on which WSP tool you are using, the files location in the WSP solution might differ from one tool to another. But the key things you specify in the WSP Solution are the following: Manifest file and DDF file. If you have other things to add such as custom actions, you will also need to specify the Features file. The Manifest file specifies where the files in the WSP package will go.</li>
<li>Compile the WSP solution.</li>
<li>Run STSADM on the WSP file to deploy your custom files and pages.</li>
</ol>
<p>Here&#8217;s a sample Manifest file:</p>
<p style="font-family:courier new;background-color:#fff;color:Blue"><span style="font-family:courier new;background-color:#fff;color:Blue">&lt;<span style="color:#660000;">Solution</span> <span style="color:#ff0000;">SolutionId</span>=&#8221;AAEC1250-5354-7839-F94F-50307E84AF1B&#8221; <span style="color:#ff0000;">xmlns</span>=&#8221;http://schemas.microsoft.com/sharepoint/&#8221;&gt;<br />
&lt;<span style="color:#660000;">FeatureManifests</span>&gt;<br />
&lt;<span style="color:#660000;">FeatureManifest</span> <span style="color:#ff0000;">Location</span>=&#8221;FeatureLibrary\feature.xml&#8221;/&gt;<br />
&lt;/<span style="color:#660000;">FeatureManifests</span>&gt;<br />
&lt;<span style="color:#660000;">TemplateFiles</span>&gt;<br />
&lt;<span style="color:#660000;">TemplateFile</span> <span style="color:#ff0000;">Location</span>=&#8221;ControlTemplates\Zenpo\myZenpoControl.ascx&#8221;/&gt;<br />
&lt;<span style="color:#660000;">TemplateFile</span> <span style="color:#ff0000;">Location</span>=&#8221;Layouts\Zenpo\myZenpoPage.aspx&#8221;/&gt;<br />
&lt;<span style="color:#660000;">TemplateFile</span> <span style="color:#ff0000;">Location</span>=&#8221;Layouts\Zenpo\myZenpoBanner.JPG&#8221;/&gt; &lt;/<span style="color:#660000;">TemplateFiles</span> &gt;<br />
&lt;<span style="color:#660000;">Assemblies</span>&gt;<br />
&lt;<span style="color:#660000;">Assembly</span> <span style="color:#ff0000;">DeploymentTarget</span>=&#8221;GlobalAssemblyCache&#8221; <span style="color:#ff0000;">Location</span>=&#8221;ZenpoSoftware.Sharepoint.myFeature.dll&#8221;/&gt;<br />
&lt;/<span style="color:#660000;">Assemblies</span>&gt;<br />
&lt;/<span style="color:#660000;">Solution</span>&gt;<br />
</span></p>
<p>In the example manifest file above, my files went to the Layouts, Images, and ControlTemplates folder. Meanwhile, I specify that my custom assembly file should go to the GAC.</p>
<p>If you are creating custom pages or Web controls with no code-behind files (as-in it’s just all ASPX code or maybe a little bit of in-line server-side scripting), you can skip steps 1-3 and start at step 4 right away.</p>
<p>One thing worth nothing is if you’re going to deploy files to the 12-hive folder, it’s best that you create your own folder. In my example above, I specify in the manifest file that a “Zenpo” folder be created in the Layouts, ControlTemplates, and Images folder.</p>
<p>In the session, Michael Lotter deployed custom pages to the Layouts folder. He also had custom actions specified in the Elements.xml file that made the Site Actions menu include links to his custom pages.</p>
<p>It was a good session for those who have not yet done deployment of custom SharePoint pages in SharePoint. I will admit I was looking for something a bit more advanced but overall, the session was good since people who have never done this before can go back to their shop and should be able to build and deploy custom application pages.</p>
]]></content:encoded>
			<wfw:commentRss>http://spdeveloper.net/2009/05/may-2-sharepoint-saturday-session-%e2%80%93-building-and-deploying-custom-sharepoint-application-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

