<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www.dotnetmafia.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Corey Roth [MVP] : SharePoint Online, Visual Studio 11, Office 365</title><link>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+Online/Visual+Studio+11/Office+365/default.aspx</link><description>Tags: SharePoint Online, Visual Studio 11, Office 365</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>Importing Search Configurations with SharePoint Apps</title><link>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2013/04/03/importing-search-configurations-with-sharepoint-apps.aspx</link><pubDate>Wed, 03 Apr 2013 16:21:44 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:6255</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=6255</wfw:commentRss><comments>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2013/04/03/importing-search-configurations-with-sharepoint-apps.aspx#comments</comments><description>&lt;p&gt;The Office Developer Tools team snuck a new feature into the RTM version of the tools for Visual Studio 2012.&amp;#160; This new feature allows you to deploy apps and actually &lt;em&gt;alter the search schema on the host web&lt;/em&gt;.&amp;#160; That’s right.&amp;#160; You can deploy an app and it will directly change the search configuration on the host.&amp;#160; They just released &lt;a href="http://msdn.microsoft.com/en-us/library/office/apps/dn194077.aspx"&gt;documentation&lt;/a&gt; on it a while back, but as usual, I wanted to share my experiences.&amp;#160; That and I know you all like screenshots.&lt;/p&gt;  &lt;p&gt;What does this feature actually do?&amp;#160; Well let’s back up a bit.&amp;#160; If you remember back from my post, &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/07/17/what-you-need-to-know-about-search-in-sharepoint-2013-preview.aspx"&gt;Search is Everywhere&lt;/a&gt;, I mentioned the we now had the ability to export and import search settings.&amp;#160; This works at the SSA, site collection, and site level and allows you to move everything from result sources to managed properties from one environment to another.&amp;#160; This is big as it lets you finally promote search settings between environments and maintain a true SDLC when it comes to search.&amp;#160; Why do we care about search configuration with apps?&amp;#160; Well this allows the developer to package up search settings in Visual Studio 2012 and then move them to production without having to do manual steps or use PowerShell.&amp;#160; This also means you could include search settings in an app that you would put in the Office Store.&amp;#160; It certainly opens up possibilities.&lt;/p&gt;  &lt;p&gt;To test this out, go to your source site collection and customize your search settings.&amp;#160; In my example, I created a custom result source and some managed properties on our source site.&amp;#160; In my example, I actually did this on an on-premises installation of SharePoint 2013.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SearchConfigurationResultSourceSite1_5F4169CA.png"&gt;&lt;img title="SearchConfigurationResultSourceSite1" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;display:inline;padding-right:0px;" border="0" alt="SearchConfigurationResultSourceSite1" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SearchConfigurationResultSourceSite1_thumb_11A53D4A.png" width="465" height="299" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;This particular result source does nothing exciting.&amp;#160; It simply limits the search to documents, but it serves as a good example.&amp;#160; I’ve also created a managed property mapped to the Author crawled property.&amp;#160; You may already know about this part, but I am showing it for a reason.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SearchConfigurationManagedPropertySite1_3FFEC2F7.png"&gt;&lt;img title="SearchConfigurationManagedPropertySite1" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;display:inline;padding-right:0px;" border="0" alt="SearchConfigurationManagedPropertySite1" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SearchConfigurationManagedPropertySite1_thumb_59D2F926.png" width="466" height="281" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Now, I am going to export my search settings of my site collection, by going to Site Settings –&amp;gt; Search –&amp;gt; Configuration Export.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SiteCollectionSearchSettingsExport_1A0912A1.png"&gt;&lt;img title="SiteCollectionSearchSettingsExport" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;display:inline;padding-right:0px;" border="0" alt="SiteCollectionSearchSettingsExport" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SiteCollectionSearchSettingsExport_thumb_0C36CCA6.png" width="209" height="199" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;At this point, I could manually import the search settings using Configuration Import on another site collection.&amp;#160; However, we want to do this from an app.&amp;#160; Let’s get started in Visual Studio 2012.&amp;#160; Start by creating a new SharePoint-hosted app.&amp;#160; Once it is created, add an item to the project and choose &lt;em&gt;Search Configuration&lt;/em&gt;.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS2012SearchConfigurationSPI_4C6CE620.png"&gt;&lt;img title="VS2012SearchConfigurationSPI" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;display:inline;padding-right:0px;" border="0" alt="VS2012SearchConfigurationSPI" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS2012SearchConfigurationSPI_thumb_2194820E.png" width="501" height="348" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The next step will ask for the path to your configuration XML file that you exported.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS2012SearchConfigurationImportSettings_33DD48D0.png"&gt;&lt;img title="VS2012SearchConfigurationImportSettings" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;display:inline;padding-right:0px;" border="0" alt="VS2012SearchConfigurationImportSettings" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS2012SearchConfigurationImportSettings_thumb_0D0F3290.png" width="475" height="375" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;At this point the process is done.&amp;#160; It will show you an XML editor with the contents of your search configuration.&amp;#160; According to the MSDN documentation, you then need to edit it and set the &lt;em&gt;DeployToParent&lt;/em&gt; element to &lt;em&gt;true&lt;/em&gt;.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SearchConfigurationDeployToParentTrue_6236CE7D.png"&gt;&lt;img title="SearchConfigurationDeployToParentTrue" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;display:inline;padding-right:0px;" border="0" alt="SearchConfigurationDeployToParentTrue" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SearchConfigurationDeployToParentTrue_thumb_3B68B83D.png" width="473" height="184" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;We then need to grant permissions to access the Site Collection.&amp;#160; To do this, open &lt;strong&gt;AppManifest.xml &lt;/strong&gt;and then click on &lt;em&gt;Permissions&lt;/em&gt;.&amp;#160; On this tab, add a scope of &lt;em&gt;Site Collection&lt;/em&gt; and set the value to &lt;em&gt;Full Control&lt;/em&gt;.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS2012SearchConfigurationAppManifestPermissions_0DE7987A.png"&gt;&lt;img title="VS2012SearchConfigurationAppManifestPermissions" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;display:inline;padding-right:0px;" border="0" alt="VS2012SearchConfigurationAppManifestPermissions" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS2012SearchConfigurationAppManifestPermissions_thumb_42F427AA.png" width="469" height="138" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;At this point, we are are ready to deploy.&amp;#160; In my example, I am taking my search configuration and deploying it to an Office 365 SharePoint Online tenant.&amp;#160; When the app deployment completes, you’ll be prompted if you want to trust the app.&amp;#160; Trust it and then you should see your app start page.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS2012SearchConfigurationDeploymentTrust_3CAD511C.png"&gt;&lt;img title="VS2012SearchConfigurationDeploymentTrust" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;display:inline;padding-right:0px;" border="0" alt="VS2012SearchConfigurationDeploymentTrust" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS2012SearchConfigurationDeploymentTrust_thumb_2AD0BD4F.png" width="454" height="270" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;At this point, you are just going to see you default app start page.&amp;#160; There is nothing visible in the application.&amp;#160; Go to the Developer Site (or the site collection you deployed to) and go to the Site Settings.&amp;#160; Then look at the Result Sources.&amp;#160; If everything worked correctly, you should now see your new result source there.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SearchConfigurationResultSourceDeployed_0402A70F.png"&gt;&lt;img title="SearchConfigurationResultSourceDeployed" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;display:inline;padding-right:0px;" border="0" alt="SearchConfigurationResultSourceDeployed" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SearchConfigurationResultSourceDeployed_thumb_5D3490CE.png" width="456" height="294" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;It was successfully deployed.&amp;#160; Now what about the managed property?&amp;#160; Unfortunately, it is no where to be found.&amp;#160; If you go back to Visual Studio and look at your XML, you’ll notice that your managed property definition is no where to be found there either.&amp;#160; If you check the source file before you imported it though, you’ll see the definition.&amp;#160; After I noticed this particular behavior, I reached out on Twitter and &lt;a href="http://twitter.com/chakkaradeep"&gt;@chakkaradeep&lt;/a&gt; reached out to me and told me that managed properties aren’t supported in this deployment model.&amp;#160; That made me kind of sad because that’s what I want to deploy the most.&amp;#160; I’m sure there is a technical reason though that he’ll explain to me sometime though.&amp;#160; You can still deploy managed properties via Configuration Import though which is still a great added feature of SharePoint 2013.&lt;/p&gt;  &lt;p&gt;You might be curious if the result source is removed when you uninstall the app.&amp;#160; It turns out that the changes are indeed removed when you uninstall.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SearchConfigurationResultSourceRemoved_1D6AAA49.png"&gt;&lt;img title="SearchConfigurationResultSourceRemoved" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;display:inline;padding-right:0px;" border="0" alt="SearchConfigurationResultSourceRemoved" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SearchConfigurationResultSourceRemoved_thumb_5DA0C3C3.png" width="397" height="264" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Aside from the managed properties not being available, this is still a pretty cool feature and it has me thinking about some new things I can do that I didn’t think were possible before.&amp;#160; I’m pretty excited to work with it more.&lt;/p&gt;&lt;img src="http://www.dotnetmafia.com/aggbug.aspx?PostID=6255" width="1" height="1"&gt;</description><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Enterprise+Search/default.aspx">Enterprise Search</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+Online/default.aspx">SharePoint Online</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365/default.aspx">Office 365</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365+Grid/default.aspx">Office 365 Grid</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Visual+Studio+11/default.aspx">Visual Studio 11</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+2013/default.aspx">SharePoint 2013</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Apps/default.aspx">Apps</category></item><item><title>Slides from my SharePoint Online and Visual Studio 11 talks</title><link>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/04/02/slides-from-my-sharepoint-online-and-visual-studio-11-talks.aspx</link><pubDate>Tue, 03 Apr 2012 02:53:42 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:5623</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=5623</wfw:commentRss><comments>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/04/02/slides-from-my-sharepoint-online-and-visual-studio-11-talks.aspx#comments</comments><description>&lt;p&gt;It’s been a busy month for speaking (among other things).&amp;#160; Last month, I spoke about getting started with SharePoint Online development at SharePoint Saturday New Orleans.&amp;#160; The New Orleans crew (Cherie, Beth, and Tiffany) did a great job putting the event together.&amp;#160; Here are the slides that I referred to in that talk.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.slideshare.net/CoreyRoth/office-365-introduction-to-sharepoint-online-development-sharepoint-saturday-new-orleans-2012"&gt;Office 365 – Introduction to SharePoint Online Development&lt;/a&gt;&lt;/p&gt;  &lt;p align="left"&gt;Last week, I made the trip over to San Antonio to see Tom Resing (&lt;a href="http://twitter.com/resing"&gt;@resing&lt;/a&gt;) and the fine folks there.&amp;#160; There I presented to a full room of people looking to learn more about the new SharePoint development features in Visual Studio 11.&amp;#160; If you have been following my blog lately, you know I have been &lt;a href="http://www.dotnetmafia.com/tags/Visual+Studio+11/default.aspx"&gt;posting&lt;/a&gt; a lot about the new features lately.&amp;#160; As promised, here are the slides from that talk.&lt;/p&gt;  &lt;p align="left"&gt;&lt;a href="http://www.slideshare.net/CoreyRoth/new-sharepoint-development-features-using-visual-studio-11-san-antonio-sharepoint-users-group-2012"&gt;New Development Features in Visual Studio 11&lt;/a&gt;&lt;/p&gt;  &lt;p align="left"&gt;For my next presentation, I’ll be speaking this week at the &lt;a href="http://www.techsymposiums.com"&gt;Houston Cloud Tech Symposium&lt;/a&gt; on 4/4.&amp;#160; This is a new event for me so I’m not sure what it will be like.&amp;#160; I’ll be talking about how you can use SharePoint Online for Extranets.&amp;#160; If you are in Houston this week and are attending the event, come see me.&lt;/p&gt;  &lt;p align="left"&gt;Finally, I’ll be presenting my Visual Studio 11 talk at &lt;a href="http://www.sharepointsaturday.org/houston/default.aspx"&gt;SharePoint Saturday Houston&lt;/a&gt; later this month on 4/28.&amp;#160; That event is always no less than epic so you need to be there.&lt;/p&gt;&lt;img src="http://www.dotnetmafia.com/aggbug.aspx?PostID=5623" width="1" height="1"&gt;</description><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Presentations/default.aspx">Presentations</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+Saturday/default.aspx">SharePoint Saturday</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+Online/default.aspx">SharePoint Online</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365/default.aspx">Office 365</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365+Grid/default.aspx">Office 365 Grid</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Visual+Studio+11/default.aspx">Visual Studio 11</category></item><item><title>Speaking at Office 365 Saturday Redmond!</title><link>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/02/22/speaking-at-office-365-saturday-redmond.aspx</link><pubDate>Wed, 22 Feb 2012 21:45:29 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:5570</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=5570</wfw:commentRss><comments>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/02/22/speaking-at-office-365-saturday-redmond.aspx#comments</comments><description>&lt;p&gt;I’m excited to be speaking at the first &lt;a href="http://o365redmond.sharepoint.com/Pages/default.aspx"&gt;Office 365 Saturday&lt;/a&gt; in Redmond on 2/25.&amp;#160; This new event will be an exciting display of all things Office 365.&amp;#160; I’ll be talking about all of the cool things you can do with Search in SharePoint Online.&amp;#160; I gave this talk at SPC11, but I gave the talk an upgrade with the use of Visual Studio 11 Developer Preview.&amp;#160; We’ll look at what you can do out-of-the-box with search and then write a custom Silverlight application to query search web services.&amp;#160; If you’re looking to get more out of search be sure to stop by and check out my session.&lt;/p&gt;&lt;img src="http://www.dotnetmafia.com/aggbug.aspx?PostID=5570" width="1" height="1"&gt;</description><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Enterprise+Search/default.aspx">Enterprise Search</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Presentations/default.aspx">Presentations</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Silverlight/default.aspx">Silverlight</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+Saturday/default.aspx">SharePoint Saturday</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+Online/default.aspx">SharePoint Online</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365/default.aspx">Office 365</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365+Grid/default.aspx">Office 365 Grid</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Visual+Studio+11/default.aspx">Visual Studio 11</category></item><item><title>How to: Use the Silverlight web part with Visual Studio 11</title><link>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/01/25/how-to-use-the-silverlight-web-part-with-visual-studio-11.aspx</link><pubDate>Wed, 25 Jan 2012 14:11:14 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:5488</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=5488</wfw:commentRss><comments>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/01/25/how-to-use-the-silverlight-web-part-with-visual-studio-11.aspx#comments</comments><description>&lt;p&gt;Visual Studio 11 adds a new feature that makes working with Silverlight in SharePoint 2010 a bit easier.&amp;#160; The new Silverlight Web Part feature automates deploying your Silverlight applications to SharePoint and can really save you a bit of time.&amp;#160; We took a look at how the &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/01/12/a-look-at-visual-web-parts-in-visual-studio-11.aspx"&gt;Visual Web Part works in VS11&lt;/a&gt; a while back.&amp;#160; Now, let’s see what happens when we use Silverlight.&amp;#160; &lt;/p&gt;  &lt;p&gt;To work with Silverlight,you can either create a new project or simply add a new item to an existing project.&amp;#160; I’ll start by creating a new project by choosing the item &lt;em&gt;SharePoint 2010 Silverlight Web Part&lt;/em&gt;.&amp;#160; Remember the number of project types has been reduced in VS11.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPNewSharePointSilverlightProject_5CB73E5C.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="VS11DPNewSharePointSilverlightProject" border="0" alt="VS11DPNewSharePointSilverlightProject" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPNewSharePointSilverlightProject_thumb_02E971E8.png" width="494" height="301" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;After you provide the usual SharePoint specific information, a new screen will prompt you for information on your Silverlight application.&amp;#160; You can use an existing application or let it create a new project for you.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPNewSharePointSilverlightWebPart_2F922BC1.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="VS11DPNewSharePointSilverlightWebPart" border="0" alt="VS11DPNewSharePointSilverlightWebPart" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPNewSharePointSilverlightWebPart_thumb_356CCF5A.png" width="444" height="354" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;You have a choice of Silverlight version 4.0 or 5.0.&amp;#160; Once you finish, you’ll have two new projects to work with.&amp;#160; The designer opens up and then we’ll just create a simple Silverlight application.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPSilverlightApplication_13A0F6C9.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="VS11DPSilverlightApplication" border="0" alt="VS11DPSilverlightApplication" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPSilverlightApplication_thumb_24A524AC.png" width="318" height="253" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Now, let’s take a look at the files.&amp;#160; They prove to be a lot simpler than you might think.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPSilverlightSolutionExplorer_319F04BD.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="VS11DPSilverlightSolutionExplorer" border="0" alt="VS11DPSilverlightSolutionExplorer" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPSilverlightSolutionExplorer_thumb_69DD7BD5.png" width="244" height="238" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;If we click on the web part itself, we actually see the contents of the .webpart file.&amp;#160; Taking a quick look at it, reveals its simplicity.&lt;/p&gt;  &lt;div style="font-family:consolas;background:white;color:black;font-size:10pt;"&gt;   &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="color:#a31515;"&gt;xml&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;version&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;1.0&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;encoding&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;utf-8&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;?&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;webParts&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;webPart&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;xmlns&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;http://schemas.microsoft.com/WebPart/v3&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;metaData&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;type&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Microsoft.SharePoint.WebPartPages.SilverlightWebPart, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;importErrorMessage&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;$Resources:core,ImportErrorMessage;&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;importErrorMessage&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;metaData&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;data&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;properties&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;property&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Title&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;type&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;string&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;SilverlightWebPartProject1 - SilverlightWebPart1&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;property&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;property&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Description&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;type&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;string&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;My Silverlight Web Part&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;property&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;property&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Height&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;type&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;unit&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;300px&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;property&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;property&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Width&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;type&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;unit&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;400px&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;property&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;property&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Url&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;type&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;string&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;/SiteAssets/SilverlightWebPartProject1/SilverlightWebPart1/SilverlightProject1.xap&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;property&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;properties&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;data&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;webPart&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;webParts&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt; &lt;/div&gt;   &lt;p&gt;It simply has a reference to the existing &lt;em&gt;SilverlightWebPart &lt;/em&gt;included in SharePoint 2010.&amp;#160; It sets a few properties such as &lt;em&gt;Title, Description, Height, Width, &lt;/em&gt;and &lt;em&gt;Url&lt;/em&gt;.&amp;#160; Here you will notice that it’s actually copying the .xap file from your Silverlight project into the &lt;em&gt;SiteAssets &lt;/em&gt;library.&amp;#160; Note, that this is the only place to set the dimensions of your web part.&lt;/p&gt;  &lt;div style="font-family:consolas;background:white;color:black;font-size:10pt;"&gt;   &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="color:#a31515;"&gt;xml&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;version&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;1.0&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;encoding&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;utf-8&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;?&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Elements&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;xmlns&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;http://schemas.microsoft.com/sharepoint/&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Module&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;SilverlightWebPart1&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;List&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;113&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Url&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;_catalogs/wp&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;File&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Path&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;SilverlightWebPart1\SilverlightWebPart1.webpart&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Url&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;SilverlightWebPartProject1_SilverlightWebPart1.webpart&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Type&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;GhostableInLibrary&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Property&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Group&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Value&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Custom&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;File&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Module&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Module&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;SilverlightWebPart1&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;File&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Path&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;SilverlightWebPart1\SilverlightProject1.xap&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Url&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;SiteAssets/SilverlightWebPartProject1/SilverlightWebPart1/SilverlightProject1.xap&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Module&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Elements&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt; &lt;/div&gt;   &lt;p&gt;If we take a look at the &lt;em&gt;Elements.xml &lt;/em&gt;file, we see that it deploys both the .webpart file and the .xap file using a &lt;em&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2009/06/02/how-to-deploy-a-page-using-a-feature.aspx"&gt;Module&lt;/a&gt; &lt;/em&gt;element.&lt;/p&gt;  &lt;p&gt;When you are ready to deploy just use the &lt;em&gt;Deploy&lt;/em&gt; command in Visual Studio.&amp;#160; It will build the Silverlight application, the .wsp file and send it to SharePoint.&amp;#160; You no longer have to manually upload the .xap file (or add it manually to your package).&amp;#160; Now, we can just add the web part to a page from the Insert ribbon.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPAddSilverlightWebPart_5AC69CFB.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="VS11DPAddSilverlightWebPart" border="0" alt="VS11DPAddSilverlightWebPart" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPAddSilverlightWebPart_thumb_2E3D6D15.png" width="506" height="278" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;Then you’ll have your Silverlight application on your page.&amp;#160; Don’t be jealous of how great this one looks. :)&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPSilverlightWebPart_38225E80.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="VS11DPSilverlightWebPart" border="0" alt="VS11DPSilverlightWebPart" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPSilverlightWebPart_thumb_5E180ED6.png" width="420" height="293" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;What about SharePoint Online?&amp;#160; Does it work there too?&amp;#160; Indeed it does.&amp;#160; Just use the Publish feature I talked about earlier to deploy that solution to the cloud.&amp;#160; One issue I did notice is that the path configured in the SilverlightWebPart is absolute.&amp;#160; If you publish into a site collection not on the root, you’ll need to modify the path.&amp;#160; I need to look at this one more since it might be based off of the local SharePoint site URL that you specified originally.&amp;#160; Still it’s nice to know that it works.&amp;#160; I tried it with an E3 account and I’m pretty sure it will work with P accounts as well.&lt;/p&gt;&lt;img src="http://www.dotnetmafia.com/aggbug.aspx?PostID=5488" width="1" height="1"&gt;</description><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Silverlight/default.aspx">Silverlight</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+Online/default.aspx">SharePoint Online</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365/default.aspx">Office 365</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365+Grid/default.aspx">Office 365 Grid</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Visual+Studio+11/default.aspx">Visual Studio 11</category></item></channel></rss>