<?xml-stylesheet type='text/xsl' href='http://blogs.u2u.be/rss.xsl' media='screen'?><rss xmlns:a10="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Jan Tielens' Bloggings</title><description /><item><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7603534</guid><link>http://weblogs.asp.net/jan/archive/2010/09/02/deploying-and-using-jquery-with-a-sharepoint-2010-sandboxed-solution.aspx</link><category domain="http://weblogs.asp.net/jan/archive/tags/SharePoint/default.aspx">SharePoint</category><title>Deploying and Using jQuery with a SharePoint 2010 Sandboxed Solution</title><description>&lt;P&gt;If you’re an avid reader of this blog, you probably now that I’m quite a big fan of the &lt;A href="http://jquery.com/" mce_href="http://jquery.com"&gt;jQuery Javascript library&lt;/A&gt;, especially in combination with SharePoint sites. For a while I’ve been trying to find a mechanism to deploy jQuery and add a reference to it on all SharePoint pages of a site, by just using a Sandboxed Solution. The first part, deploying the jQuery file, is really easy; this can be done in a &lt;STRONG&gt;Module&lt;/STRONG&gt; in a SharePoint project. The second part was more of a challenge; making sure the jQuery file got referenced in all pages of a SharePoint site. My initial thought was to do this by using the AdditionalPageHead Delegate control, but it’s not possible in a Sandboxed Solution (you need to deploy the .ASCX to the SharePoint root). My second thought was to use the new ScriptSrc attribute you can use in a CustomAction (&lt;A href="http://weblogs.asp.net/jan/archive/2010/03/01/scriptsrc-referencing-javascript-files-with-sharepoint-2010-custom-actions.aspx" mce_href="http://weblogs.asp.net/jan/archive/2010/03/01/scriptsrc-referencing-javascript-files-with-sharepoint-2010-custom-actions.aspx"&gt;I wrote about this attribute some time ago&lt;/A&gt;). But initially I was under the impression that the ScriptSrc attribute could only target Javascript files loaded from the SharePoint Root (the \LAYOUTS) folder, resulting in a no-go for a Sandboxed Solution as well. Daniel McPherson stumbled upon this issue as well, but &lt;A href="http://community.zevenseas.com/Blogs/Daniel/archive/2010/07/06/how-to-bootstrap-jquery-on-every-sharepoint-page-even-in-the-sandbox.aspx" mce_href="http://community.zevenseas.com/Blogs/Daniel/archive/2010/07/06/how-to-bootstrap-jquery-on-every-sharepoint-page-even-in-the-sandbox.aspx"&gt;neatly solved it using Javascript to add the reference dynamically&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;But apparently you can make use of the ScriptSrc attribute to reference files from the Virtual File System (e.g. a Document Library in a site) as well! (thank you &lt;A href="http://twitter.com/fdobon" mce_href="http://twitter.com/fdobon"&gt;Frederic Dobon&lt;/A&gt; for mentioning this!). The trick is to use the &lt;STRONG&gt;~SiteCollection&lt;/STRONG&gt; prefix in the ScriptSrc attribute, for example:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;Elements xmlns="http://schemas.microsoft.com/sharepoint/"&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;CustomAction&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ScriptSrc="&lt;STRONG&gt;&lt;FONT color=#ff0000&gt;~SiteCollection&lt;/FONT&gt;&lt;/STRONG&gt;/SiteAssets/jquery-1.4.2.min.js"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location="ScriptLink"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sequence="10"&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/CustomAction&amp;gt;&lt;BR&gt;&amp;lt;/Elements&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;It’s that easy! For your convenience I’ve uploaded &lt;A href="http://smarttools2010.codeplex.com/releases/view/51710" mce_href="http://smarttools2010.codeplex.com/releases/view/51710"&gt;the source code and the resulting SharePoint Solution (WSP file)&lt;/A&gt; to CodePlex.&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7603534" width="1" height="1"&gt;</description><pubDate>Thu, 02 Sep 2010 14:20:00 Z</pubDate><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Tielens</dc:creator><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/jan/rsscomments.aspx?PostID=7603534</wfw:commentRss><comments>http://weblogs.asp.net/jan/archive/2010/09/02/deploying-and-using-jquery-with-a-sharepoint-2010-sandboxed-solution.aspx#comments</comments></item><item><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7589842</guid><link>http://weblogs.asp.net/jan/archive/2010/08/12/quot-object-reference-not-set-to-an-instance-of-an-object-quot-when-using-sharepoint-s-clientcontext-current-in-silverlight.aspx</link><category domain="http://weblogs.asp.net/jan/archive/tags/SharePoint/default.aspx">SharePoint</category><title>"Object reference not set to an instance of an object" when using SharePoint's ClientContext.Current in Silverlight</title><description>&lt;P mce_keep="true"&gt;SharePoint 2010 and Silverlight is a fantastic combination, especially when you use the Client Object Model for Silverlight to access SharePoint data. But maybe you’ve encountered the following situation: your Silverlight application works great when it’s hosted in the out-of-the-box Silverlight Web Part, but when you build your own custom Web Part to show the Silverlight Application it just doesn’t work anymore: the browser tells you there is an &lt;STRONG&gt;Error on page&lt;/STRONG&gt;. The details of the error are: &lt;STRONG&gt;Unhandled Error in Silverlight Application Object reference not set to an instance of an object&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;IMG src="http://storage.tielens.name/slObjectreferencenotsettoaninstanceofanobject.jpg" mce_src="http://storage.tielens.name/slObjectreferencenotsettoaninstanceofanobject.jpg"&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;When you debug your Silverlight code, you’ll notice that the issue is that the &lt;STRONG&gt;ClientContext.Current &lt;/STRONG&gt;is a &lt;STRONG&gt;Null Reference&lt;/STRONG&gt;. To solution for this problem is that fact that if you want to use the Current ClientContext you need to add the &lt;STRONG&gt;MS.SP.url&lt;/STRONG&gt; parameter to the initParams in the HTML object that loads the XAP. This &lt;STRONG&gt;MS.SP.url&lt;/STRONG&gt; parameter needs to contain the URL of the site in which the Silverlight Application is currently being displayed. The code of your Silverlight Web Part could look as follows:&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;FONT face="courier new,courier"&gt;public class SLWebPartDemo : WebPart&lt;BR&gt;{&lt;BR&gt;&amp;nbsp; protected override void RenderContents(HtmlTextWriter writer)&lt;BR&gt;&amp;nbsp; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; writer.Write(string.Format(&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @"&amp;lt;object data='data:application/x-silverlight-2,' type='application/x-silverlight-2' width='100%' height='100%'&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param name='source' value='{1}XAPs/SLWebPartDemoControl.xap'/&amp;gt;&lt;BR&gt;&lt;FONT color=#cc0000&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param name='initParams' value='MS.SP.url={0}/{1}'/&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param name='onError' value='onSilverlightError' /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param name='background' value='white' /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param name='minRuntimeVersion' value='3.0.40818.0' /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param name='autoUpgrade' value='true' /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a href='http://go.microsoft.com/fwlink/?LinkID=149156&amp;amp;v=3.0.40818.0' style='text-decoration:none'&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;img src='http://go.microsoft.com/fwlink/?LinkId=161376' alt='Get Microsoft Silverlight' style='border-style:none'/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/a&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/object&amp;gt;", &lt;FONT color=#cc0000&gt;SPContext.Current.Site.Url, &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SPContext.Current.Web.ServerRelativeUrl));&lt;BR&gt;&lt;/FONT&gt;&amp;nbsp; }&lt;BR&gt;}&lt;/FONT&gt;&lt;BR&gt;&lt;/P&gt;&lt;A class=twitter-share-button href="http://twitter.com/share" data-via="jantielens" data-count="horizontal"&gt;Tweet&lt;/A&gt;
&lt;SCRIPT type=text/javascript src="http://platform.twitter.com/widgets.js"&gt;&lt;/SCRIPT&gt;
 &lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7589842" width="1" height="1"&gt;</description><pubDate>Thu, 12 Aug 2010 14:35:00 Z</pubDate><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Tielens</dc:creator><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/jan/rsscomments.aspx?PostID=7589842</wfw:commentRss><comments>http://weblogs.asp.net/jan/archive/2010/08/12/quot-object-reference-not-set-to-an-instance-of-an-object-quot-when-using-sharepoint-s-clientcontext-current-in-silverlight.aspx#comments</comments></item><item><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7582656</guid><link>http://weblogs.asp.net/jan/archive/2010/08/08/upgrading-features-in-sharepoint-2010.aspx</link><category domain="http://weblogs.asp.net/jan/archive/tags/SharePoint/default.aspx">SharePoint</category><title>Upgrading Features in SharePoint 2010</title><description>&lt;P mce_keep="true"&gt;If you have developed Features for SharePoint 2007, you’re probably aware of a very serious limitation of Feature Development: upgradability. Deploying version 1 of your customization is no problem, but If you want to deploy a bug fix or additional functionality in version 2, you’re basically on your own. The good news is that in SharePoint 2010, this problem is solved: as a developer you can now build features that are upgradable. The basic concept goes as follows, you built your feature as usual, and optionally you’ve got the opportunity to specify what should happen when the feature gets upgraded from a previous version.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;A href="http://www.sharepointnutsandbolts.com/" mce_href="http://www.sharepointnutsandbolts.com/"&gt;Chris O’Brian&lt;/A&gt; has written an excellent series of articles about this topic, so go to his blog to read the details:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;&lt;A href="http://www.sharepointnutsandbolts.com/2010/06/feature-upgrade-part-1-fundamentals.html" mce_href="http://www.sharepointnutsandbolts.com/2010/06/feature-upgrade-part-1-fundamentals.html"&gt;Feature upgrade (part 1) – fundamentals&lt;/A&gt;&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;&lt;A href="http://www.sharepointnutsandbolts.com/2010/07/feature-upgrade-part-2-sample-to-play.html" mce_href="http://www.sharepointnutsandbolts.com/2010/07/feature-upgrade-part-2-sample-to-play.html"&gt;Feature upgrade (part 2) – a sample to play with &lt;/A&gt;&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;&lt;A href="http://www.sharepointnutsandbolts.com/2010/07/feature-upgrade-part-3-introducing.html" mce_href="http://www.sharepointnutsandbolts.com/2010/07/feature-upgrade-part-3-introducing.html"&gt;Feature upgrade (part 3) – introducing SPFeatureUpgrade kit &lt;/A&gt;&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;&lt;A href="http://www.sharepointnutsandbolts.com/2010/08/feature-upgrade-part-4-advanced.html" mce_href="http://www.sharepointnutsandbolts.com/2010/08/feature-upgrade-part-4-advanced.html"&gt;Feature upgrade (part 4) – advanced scenarios&lt;/A&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7582656" width="1" height="1"&gt;</description><pubDate>Sun, 08 Aug 2010 17:14:00 Z</pubDate><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Tielens</dc:creator><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/jan/rsscomments.aspx?PostID=7582656</wfw:commentRss><comments>http://weblogs.asp.net/jan/archive/2010/08/08/upgrading-features-in-sharepoint-2010.aspx#comments</comments></item><item><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7579724</guid><link>http://weblogs.asp.net/jan/archive/2010/08/06/easily-adding-safecontrols-in-sharepoint-2010-with-visual-studio-2010.aspx</link><category domain="http://weblogs.asp.net/jan/archive/tags/SharePoint/default.aspx">SharePoint</category><title>Easily Adding SafeControls in SharePoint 2010 with Visual Studio 2010</title><description>&lt;P mce_keep="true"&gt;Many SharePoint developers know that deploying your SharePoint customization to a SharePoint server often requires you to tinker the web.config of the sites where you’d like to see the customization in action. You can do these web.config modifications manually (not advisable), or automate them with the help of the SPWebConfigModification class from the Object Model. But quite often it’s not even necessary to use that class; when you deploy your customizations with the help of a Solution (.WSP file), like you should, the Solution deployment mechanism can modify the Web.Config to apply the most commonly used changes. This is defined in the Solution Manifest of the Solution file. The following Solution Manifest will add for example a SafeControl element for the current Assembly, which is required to display controls like Web Parts, User Controls etc. in the SharePoint sites.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;Solution xmlns="&lt;/FONT&gt;&lt;A href="http://schemas.microsoft.com/sharepoint/"&gt;&lt;FONT face="courier new,courier"&gt;http://schemas.microsoft.com/sharepoint/&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face="courier new,courier"&gt;" SolutionId="684047e7-a990-4917-8a84-5d2ae5c8b1f3" SharePointProductVersion="14.0"&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;Assemblies&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Assembly Location="SafeControlsDemo.dll" DeploymentTarget="GlobalAssemblyCache"&amp;gt;&lt;BR&gt;&lt;STRONG&gt;&lt;FONT color=#ff0000&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;SafeControls&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;SafeControl Assembly="$SharePoint.Project.AssemblyFullName$" Namespace="SafeControlsDemo.EmptyElement1" TypeName="*" /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/SafeControls&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Assembly&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/Assemblies&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;FeatureManifests&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;FeatureManifest Location="SafeControlsDemo_Feature1\Feature.xml" /&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/FeatureManifests&amp;gt;&lt;BR&gt;&amp;lt;/Solution&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;Visual Studio 2010 will automatically add the necessary SafeControl element to the Solution manifest when you add for example a Web Part item to the Visual Studio SharePoint project. But sometimes Visual Studio is not smart enough, or doesn’t have enough information to automatically do this for you. A pretty common scenario is when you build a CustomAction using the ControlClass and ControlAssembly attributes, pointing to a User Control that should be rendering the UI element defined in the CustomAction. In this case you explicitly have to add the required SafeControl element (for the User Control) to the Solution Manifest. As you probably know you can modify the Package.Template.xml to add the required SafeControl elemen, but you have to write that XML manually. A better idea is to use the power of the Visual Studio 2010 SharePoint developer tools, available out-of-the-box! The little trick is to select the item in your SharePoint 2010 project in the Visual Studio Solution Explorer window. The Properties window will show, for the selected project item, a property called Safe Control Entries.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;IMG src="http://storage.tielens.name/easysafecontrols1.jpg" mce_src="http://storage.tielens.name/easysafecontrols1.jpg"&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;When you click the ellipsis (the three dots), Visual Studio will show a dialog in which you can easily add the required SafeControl entries. Visual Studio will even fill out default values for you, referencing the assembly of the current project. As a result, the Solution Manifest will be updated with the corresponding XML (you can verify that by opening the Package item and selecting the Manifest view at the bottom). Easy isn’t it?&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;IMG src="http://storage.tielens.name/easysafecontrols2.jpg" mce_src="http://storage.tielens.name/easysafecontrols2.jpg"&gt;&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7579724" width="1" height="1"&gt;</description><pubDate>Fri, 06 Aug 2010 08:14:00 Z</pubDate><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Tielens</dc:creator><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/jan/rsscomments.aspx?PostID=7579724</wfw:commentRss><comments>http://weblogs.asp.net/jan/archive/2010/08/06/easily-adding-safecontrols-in-sharepoint-2010-with-visual-studio-2010.aspx#comments</comments></item><item><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7533480</guid><link>http://weblogs.asp.net/jan/archive/2010/06/16/where-did-ulstracelog-go-to-in-the-sharepoint-2010-logging-database.aspx</link><category domain="http://weblogs.asp.net/jan/archive/tags/SharePoint/default.aspx">SharePoint</category><title>Where did ULSTraceLog go to in the SharePoint 2010 Logging Database?</title><description>&lt;P&gt;The Logging Database is one of the many new concepts that will make the life of many SharePoint administrators quite a bit more enjoyable. In SharePoint 2007 the Unified Logging System (ULS) logged all of its data to text files, typically found on your SharePoint server in 12\LOGS. We still have that in SharePoint 2010, but besides those text files, ULS can also write the data to a database! The advantages are obvious: easy to query, one central location for all servers in the farm, easy to build reports etc. You can find this ULS data in the SharePoint 2010 logging database (typically called WSS_Logging), in the view &lt;STRONG&gt;ULSTraceLog&lt;/STRONG&gt;. &lt;/P&gt;
&lt;P&gt;Quite recently on one of my demo machines (standalone installation on Windows 7) I noticed the ULSTraceLog view was not available in the logging database. It turned out that there is a Timer Job that’s responsible for writing the data to the database, when the Timer Job hasn’t executed, the view is not there (the first time it executes, the view is created). Even more, the timer job was disabled, so the view would never be created, nor any data would be written to the database. If you encounter this situation as well, it’s quite easy to solve:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Open the &lt;STRONG&gt;SharePoint Central Administration &lt;/STRONG&gt;site&lt;/LI&gt;
&lt;LI&gt;Navigate to the &lt;STRONG&gt;Monitoring &lt;/STRONG&gt;section&lt;/LI&gt;
&lt;LI&gt;Select &lt;STRONG&gt;Review Job Definitions&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Click on the job with the name &lt;STRONG&gt;Diagnostic Data Provider: Trace Log&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Click on the &lt;STRONG&gt;Enable &lt;/STRONG&gt;button to enable it&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Optionally &lt;/STRONG&gt;click on &lt;STRONG&gt;Run Now &lt;/STRONG&gt;afterwards, to start it immediately&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;There you go, the ULSTraceLog will be created and the ULS messages will appear in the database!&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7533480" width="1" height="1"&gt;</description><pubDate>Wed, 16 Jun 2010 14:09:00 Z</pubDate><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Tielens</dc:creator><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/jan/rsscomments.aspx?PostID=7533480</wfw:commentRss><comments>http://weblogs.asp.net/jan/archive/2010/06/16/where-did-ulstracelog-go-to-in-the-sharepoint-2010-logging-database.aspx#comments</comments></item><item><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7506930</guid><link>http://weblogs.asp.net/jan/archive/2010/05/26/highly-recommended-quot-5-things-sql-server-does-different-from-what-many-developers-expect-quot-by-nico-jacobs.aspx</link><title>Highly recommended: "5 Things SQL Server does different from what many developers expect" by Nico Jacobs</title><description>&lt;P mce_keep="true"&gt;A couple of weeks ago, the &lt;A href="http://www.microsoft.com/belux/techdays/2010/" mce_href="http://www.microsoft.com/belux/techdays/2010/"&gt;Belgian Techdays&lt;/A&gt; were held in Antwerp. Together with &lt;A href="http://shillier.com/" mce_href="http://shillier.com/"&gt;Scott Hillier&lt;/A&gt; I presented the SharePoint pre-conference sessions (watch them online &lt;A href="http://www.microsoft.com/belux/techdays/2010/videos.aspx" mce_href="http://www.microsoft.com/belux/techdays/2010/videos.aspx"&gt;over here&lt;/A&gt;, search for pre-conference or SharePoint). Even though Belgium is not a very big country, the Microsoft team managed to get some high profile speakers like Anders Hejlsberg and Scott Hanselman. But if you have like 60 minutes to spare there is one session that I'd really recommend to check out, not related to SharePoint, but very interesting and entertaining nonetheless: &lt;A href="http://channel9.msdn.com/posts/kreekman/TechDays-2010-5-Things-SQL-Server-does-different-from-what-many-developers-expect/" mce_href="http://channel9.msdn.com/posts/kreekman/TechDays-2010-5-Things-SQL-Server-does-different-from-what-many-developers-expect/"&gt;5 Things SQL Server does different from what many developers expect&lt;/A&gt; by my U2U colleague Nico Jacobs. Nico did a fantastic job, so sit back and enjoy! :-)&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;A href="http://ecn.channel9.msdn.com/o9/ch9/3/6/3/3/4/5/TD2010DEV314_2MB_ch9.wmv" mce_href="http://ecn.channel9.msdn.com/o9/ch9/3/6/3/3/4/5/TD2010DEV314_2MB_ch9.wmv"&gt;&lt;IMG src="http://ecn.channel9.msdn.com/o9/ch9/3/6/3/3/4/5/TD2010DEV314_512_ch9.png" mce_src="http://ecn.channel9.msdn.com/o9/ch9/3/6/3/3/4/5/TD2010DEV314_512_ch9.png"&gt;&lt;/A&gt;&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7506930" width="1" height="1"&gt;</description><pubDate>Wed, 26 May 2010 20:01:00 Z</pubDate><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Tielens</dc:creator><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/jan/rsscomments.aspx?PostID=7506930</wfw:commentRss><comments>http://weblogs.asp.net/jan/archive/2010/05/26/highly-recommended-quot-5-things-sql-server-does-different-from-what-many-developers-expect-quot-by-nico-jacobs.aspx#comments</comments></item><item><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7473596</guid><link>http://weblogs.asp.net/jan/archive/2010/05/07/sharepoint-2010-bdc-model-deployment-issue-the-default-web-application-could-not-be-determined.aspx</link><category domain="http://weblogs.asp.net/jan/archive/tags/SharePoint/default.aspx">SharePoint</category><title>SharePoint 2010 BDC Model Deployment Issue: “The default web application could not be determined.”</title><description>&lt;P&gt;Yesterday I tried to deploy a Business Data Connectivity Model project created in Visual Studio 2010 to my SharePoint 2010 test server (all RTM versions), but during the deployment of the solution, SharePoint threw my following error:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Add Solution:&lt;BR&gt;&amp;nbsp; Adding solution 'BCSDemo2.wsp'...&lt;BR&gt;&amp;nbsp; Deploying solution 'BCSDemo2.wsp'...&lt;BR&gt;Error occurred in deployment step 'Add Solution': The default web application could not be determined. Set the SiteUrl property in feature BCSDemo2_Feature1 to the URL of the desired site and retry activation.&lt;BR&gt;Parameter name: properties&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;A little bit of searching on the internet taught me that I was not the only one having this issue, actually &lt;A href="http://blogs.msdn.com/pandrew" mce_href="http://blogs.msdn.com/pandrew"&gt;Paul Andrew&lt;/A&gt; describes how to solve it in &lt;A href="http://blogs.msdn.com/pandrew/archive/2010/04/08/deploying-an-external-content-type-error-the-default-web-application-could-not-be-determined.aspx" mce_href="http://blogs.msdn.com/pandrew/archive/2010/04/08/deploying-an-external-content-type-error-the-default-web-application-could-not-be-determined.aspx"&gt;this post&lt;/A&gt;. Although Paul describes what to do, his explanation is not, let’s say, very elaborate. :-) So let’s describe the steps a little bit more in detail:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create a new Business Data Connectivity Model project in Visual Studio 2010 and (optionally) implement all your code, change the model etc. When you try to deploy you get the error mentioned above.&lt;/LI&gt;
&lt;LI&gt;To fix it, in the &lt;STRONG&gt;Solution Explorer&lt;/STRONG&gt;, navigate to and open the &lt;STRONG&gt;Feature1.Template.xml &lt;/STRONG&gt;file (the name could be different if you decided to give your feature a different name of course).&lt;BR&gt;&lt;IMG src="http://storage.tielens.name/BDCModelIssue.png" mce_src="http://storage.tielens.name/BDCModelIssue.png"&gt;&lt;/LI&gt;
&lt;LI&gt;Add the following XML in the Feature element that’s already there (replace the Value with the URL of your site of course):&lt;BR&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;lt;Properties&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Property Key='SiteUrl' Value='http://spf.u2ucourse.com'/&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/Properties&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;The resulting XML should look like:&lt;BR&gt;&lt;BR&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;&lt;BR&gt;&amp;lt;Feature xmlns="&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;http://schemas.microsoft.com/sharepoint/&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;"&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;Properties&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Property Key='SiteUrl' Value='http://spf.u2ucourse.com'/&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/Properties&amp;gt;&lt;BR&gt;&amp;lt;/Feature&amp;gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Deploy the solution, now without any issues. :-)&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;What happens now, is that when Visual Studio creates the SharePoint Solution (the WSP file), it will use the Feature template XML to generate the Feature manifest, which will now include the missing property.&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7473596" width="1" height="1"&gt;</description><pubDate>Fri, 07 May 2010 09:41:00 Z</pubDate><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Tielens</dc:creator><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">29</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/jan/rsscomments.aspx?PostID=7473596</wfw:commentRss><comments>http://weblogs.asp.net/jan/archive/2010/05/07/sharepoint-2010-bdc-model-deployment-issue-the-default-web-application-could-not-be-determined.aspx#comments</comments></item><item><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7453772</guid><link>http://weblogs.asp.net/jan/archive/2010/04/22/accessing-sharepoint-2010-data-with-rest-odata-on-windows-phone-7.aspx</link><category domain="http://weblogs.asp.net/jan/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://weblogs.asp.net/jan/archive/tags/silverlight/default.aspx">silverlight</category><category domain="http://weblogs.asp.net/jan/archive/tags/WindowsPhone/default.aspx">WindowsPhone</category><title>Accessing SharePoint 2010 Data with REST/OData on Windows Phone 7</title><description>&lt;P mce_keep="true"&gt;Consuming SharePoint 2010 data in Windows Phone 7 applications using the &lt;A href="http://developer.windowsphone.com/" mce_href="http://developer.windowsphone.com/"&gt;CTP version of the developer tools&lt;/A&gt; is quite a challenge. The issue is that the SharePoint 2010 data is not anonymously available; users need to authenticate to be able to access the data. When I first tried to access SharePoint 2010 data from my first Hello-World-type Windows Phone 7 application I thought “Hey, this should be easy!” because Windows Phone 7 development based on Silverlight and SharePoint 2010 has a Client Object Model for Silverlight. Unfortunately you can’t use the Client Object Model of SharePoint 2010 on the Windows Phone platform; there’s a reference to an assembly that’s not available (System.Windows.Browser).&lt;/P&gt;
&lt;P mce_keep="true"&gt;My second thought was “OK, no problem!” because SharePoint 2010 also exposes a REST/OData API to access SharePoint data. Using the REST API in SharePoint 2010 is as easy as making a web request for a URL (in which you specify the data you’d like to retrieve), e.g. &lt;A href="http://yoursiteurl/_vti_bin/listdata.svc/Announcements"&gt;http://yoursiteurl/_vti_bin/listdata.svc/Announcements&lt;/A&gt;. This is very easy to accomplish in a Silverlight application that’s running in the context of a page in a SharePoint site, because the credentials of the currently logged on user are automatically picked up and passed to the WCF service. But a Windows Phone application is of course running outside of the SharePoint site’s page, so the application should build credentials that have to be passed to SharePoint’s WCF service. This turns out to be a small challenge in Silverlight 3, &lt;A href="http://mark.mymonster.nl/2009/03/22/silverlight-3-webclient-webrequest-and-wcf-calls-using-credentials/" mce_href="http://mark.mymonster.nl/2009/03/22/silverlight-3-webclient-webrequest-and-wcf-calls-using-credentials/"&gt;the WebClient doesn’t support authentication&lt;/A&gt;; there is a Credentials property but when you set it and make the request you get a NotImplementedException exception.&lt;/P&gt;
&lt;P mce_keep="true"&gt;Probably this issued will be solved in the very near future, since Silverlight 4 does support authentication, and there’s already a &lt;A href="http://blogs.msdn.com/astoriateam/archive/2010/04/20/wcf-data-services-for-silverlight-4-now-available-for-download.aspx" mce_href="http://blogs.msdn.com/astoriateam/archive/2010/04/20/wcf-data-services-for-silverlight-4-now-available-for-download.aspx"&gt;WCF Data Services download&lt;/A&gt; that uses this new platform feature of Silverlight 4. So when Windows Phone platform switches to Silverlight 4, you can just use the WebClient to get the data. Even more, if the &lt;A href="http://www.odata.org/developers/odata-sdk" mce_href="http://www.odata.org/developers/odata-sdk"&gt;OData Client Library for Windows Phone 7&lt;/A&gt; gets updated after that, things should get even easier! &lt;EM&gt;By the way: the things I’m writing in this paragraph are just assumptions that I make which make a lot of sense IMHO, I don’t have any info all of this will happen, but I really hope so.&lt;/EM&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;So are SharePoint developers out of the Windows Phone development game until they get this fixed? Well luckily not, when the HttpWebRequest class is being used instead, you can pass credentials! Using the HttpWebRequest class is slightly more complex than using the WebClient class, but the end result is that you have access to your precious SharePoint 2010 data. The following code snippet is getting all the announcements of an Annoucements list in a SharePoint site:&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;FONT face="courier new,courier"&gt;HttpWebRequest webReq = &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (HttpWebRequest)HttpWebRequest.Create("&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;http://yoursite/_vti_bin/listdata.svc/Announcements&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;");&lt;BR&gt;webReq.Credentials = new NetworkCredential("username", "password");&lt;/FONT&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;FONT face="courier new,courier"&gt;webReq.BeginGetResponse(&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (result) =&amp;gt; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HttpWebRequest asyncReq = (HttpWebRequest)result.AsyncState;&lt;/FONT&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XDocument xdoc = XDocument.Load(&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ((HttpWebResponse)asyncReq.EndGetResponse(result)).GetResponseStream());&lt;/FONT&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XNamespace ns = "&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;http://www.w3.org/2005/Atom&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;";&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var items = from item in xdoc.Root.Elements(ns + "entry")&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select new { Title = item.Element(ns + "title").Value };&lt;/FONT&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.Dispatcher.BeginInvoke(() =&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (var item in items)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MessageBox.Show(item.Title);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }, webReq);&lt;/FONT&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;When you try this in a Windows Phone 7 application, make sure you add a reference to the System.Xml.Linq assembly, because the code uses Linq to XML to parse the resulting Atom feed, so the Title of every announcement is being displayed in a MessageBox. Check out my previous post if you’d like to see a more polished sample Windows Phone 7 application that displays SharePoint 2010 data.&lt;BR&gt;When you plan to use this technique, it’s of course a good idea to encapsulate the code doing the request, so it becomes really easy to get the data that you need. In the following code snippet you can find the GetAtomFeed method that gets the contents of any Atom feed, even if you need to authenticate to get access to the feed.&lt;/P&gt;
&lt;P mce_keep="true"&gt;delegate void GetAtomFeedCallback(Stream responseStream);&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;FONT face="courier new,courier"&gt;public MainPage()&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; InitializeComponent();&lt;/FONT&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SupportedOrientations = SupportedPageOrientation.Portrait | &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SupportedPageOrientation.Landscape;&lt;/FONT&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; string url = "&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;http://yoursite/_vti_bin/listdata.svc/Announcements&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;";&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; string username = "username";&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; string password = "password";&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; string domain = "";&lt;/FONT&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GetAtomFeed(url, username, password, domain, (s) =&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XNamespace ns = "&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;http://www.w3.org/2005/Atom&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;";&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XDocument xdoc = XDocument.Load(s);&lt;/FONT&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var items = from item in xdoc.Root.Elements(ns + "entry")&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select new { Title = item.Element(ns + "title").Value };&lt;/FONT&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.Dispatcher.BeginInvoke(() =&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (var item in items)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MessageBox.Show(item.Title);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;BR&gt;}&lt;/FONT&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;FONT face="courier new,courier"&gt;private static void GetAtomFeed(string url, string username, &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; string password, string domain, GetAtomFeedCallback cb)&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; HttpWebRequest webReq = (HttpWebRequest)HttpWebRequest.Create(url);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; webReq.Credentials = new NetworkCredential(username, password, domain);&lt;/FONT&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; webReq.BeginGetResponse(&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (result) =&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HttpWebRequest asyncReq = (HttpWebRequest)result.AsyncState;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HttpWebResponse resp = (HttpWebResponse)asyncReq.EndGetResponse(result);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cb(resp.GetResponseStream());&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }, webReq);&lt;BR&gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7453772" width="1" height="1"&gt;</description><pubDate>Thu, 22 Apr 2010 06:48:00 Z</pubDate><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Tielens</dc:creator><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">25</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/jan/rsscomments.aspx?PostID=7453772</wfw:commentRss><comments>http://weblogs.asp.net/jan/archive/2010/04/22/accessing-sharepoint-2010-data-with-rest-odata-on-windows-phone-7.aspx#comments</comments></item><item><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7387013</guid><link>http://weblogs.asp.net/jan/archive/2010/03/17/my-first-windows-phone-7-app-getting-sharepoint-content.aspx</link><category domain="http://weblogs.asp.net/jan/archive/tags/SharePoint/default.aspx">SharePoint</category><title>My first Windows Phone 7 App: Getting SharePoint Content</title><description>&lt;P&gt;Earlier this week at the &lt;A href="http://live.visitmix.com/" mce_href="http://live.visitmix.com"&gt;Mix10 conference&lt;/A&gt;, Microsoft announced the developer story of the Windows Phone 7 Series. As expected, it’s all about Silverlight! For all the details I highly recommend to watch the recorded keynotes (&lt;A href="http://live.visitmix.com/MIX10/Sessions/KEY01" mce_href="http://live.visitmix.com/MIX10/Sessions/KEY01"&gt;day 1&lt;/A&gt;, &lt;A href="http://live.visitmix.com/MIX10/Sessions/KEY02" mce_href="http://live.visitmix.com/MIX10/Sessions/KEY02"&gt;day 2&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;Tonight I could resist trying to build my very first Windows Phone 7 application; the traditional Hello World thingy. Because the developer tools (Visual Studio 2010 and the free Visual Studio 2010 Express) have pretty nice templates, that wasn’t much of a challenge. So I tried to build something real: an application that can display SharePoint 2010 content, for example items from an announcements list. I head to work my way around some limitations because both SharePoint 2010 and the developer tools are still in beta and CTP, but finally I got it working! Because of the many workarounds, the code is not yet ready for publication, but I’ve created a small screencast so you can see the result. To be continued! :-)&lt;/P&gt;
&lt;P&gt;
&lt;OBJECT width=640 height=480&gt;&lt;PARAM NAME="allowfullscreen" VALUE="true"&gt;&lt;PARAM NAME="allowscriptaccess" VALUE="always"&gt;&lt;PARAM NAME="movie" VALUE="http://vimeo.com/moogaloop.swf?clip_id=10244318&amp;amp;server=vimeo.com&amp;amp;show_title=0&amp;amp;show_byline=0&amp;amp;show_portrait=0&amp;amp;color=00ADEF&amp;amp;fullscreen=1"&gt;
&lt;embed src="http://vimeo.com/moogaloop.swf?clip_id=10244318&amp;amp;server=vimeo.com&amp;amp;show_title=0&amp;amp;show_byline=0&amp;amp;show_portrait=0&amp;amp;color=00ADEF&amp;amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="480"&gt;&lt;/embed&gt;&lt;/OBJECT&gt;
&lt;P&gt;&lt;A href="http://vimeo.com/10244318"&gt;Windows Phone 7 POC: Getting SharePoint Data&lt;/A&gt; from &lt;A href="http://vimeo.com/user996044"&gt;Jan Tielens&lt;/A&gt; on &lt;A href="http://vimeo.com/"&gt;Vimeo&lt;/A&gt;.&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7387013" width="1" height="1"&gt;</description><pubDate>Wed, 17 Mar 2010 21:41:00 Z</pubDate><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Tielens</dc:creator><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">26</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/jan/rsscomments.aspx?PostID=7387013</wfw:commentRss><comments>http://weblogs.asp.net/jan/archive/2010/03/17/my-first-windows-phone-7-app-getting-sharepoint-content.aspx#comments</comments></item><item><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7374858</guid><link>http://weblogs.asp.net/jan/archive/2010/03/08/when-sharepoint-matters-oneresponse.aspx</link><category domain="http://weblogs.asp.net/jan/archive/tags/SharePoint/default.aspx">SharePoint</category><title>When SharePoint Matters: OneResponse</title><description>&lt;P mce_keep="true"&gt;Two weeks ago I was in Iceland, talking about SharePoint 2010 at &lt;A href="http://www.tmsoftware.is/english/" mce_href="http://www.tmsoftware.is/english/"&gt;TM Software&lt;/A&gt;&amp;nbsp;(&lt;A href="http://jantielens.wordpress.com/" mce_href="http://jantielens.wordpress.com/"&gt;some photos here :-)&lt;/A&gt; ). During the course, some students showed me a pretty cool public SharePoint 2007 site that they have been working on: OneResponse (&lt;A href="http://oneresponse.info/"&gt;http://oneresponse.info&lt;/A&gt;). OneResponse is the site the United Nations uses to collaborate and share information during catastrophes such as the recent earthquake in Haiti. Besides of the fact that the site is implemented really well, it must be pretty cool to know that your work will have such a big impact. Well done guys, it was a pleasure to be your guest!&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7374858" width="1" height="1"&gt;</description><pubDate>Mon, 08 Mar 2010 20:52:00 Z</pubDate><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Tielens</dc:creator><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/jan/rsscomments.aspx?PostID=7374858</wfw:commentRss><comments>http://weblogs.asp.net/jan/archive/2010/03/08/when-sharepoint-matters-oneresponse.aspx#comments</comments></item><item><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7371107</guid><link>http://weblogs.asp.net/jan/archive/2010/03/05/speaking-at-the-italian-sharepoint-conference-next-week.aspx</link><category domain="http://weblogs.asp.net/jan/archive/tags/SharePoint/default.aspx">SharePoint</category><title>Speaking at the Italian SharePoint Conference Next Week</title><description>&lt;P&gt;Next week on Wednesday and Thursday I’ll be in Milano, Italy during the &lt;A href="http://www.sharepointconference.it/" mce_href="http://www.sharepointconference.it"&gt;SharePoint &amp;amp; Office Conference 2010&lt;/A&gt;. They have a nice lineup of both Italian and international speakers to deliver 60 sessions during three days. I’ll be &lt;A href="http://www.sharepointconference.it/speakers.aspx#Jan_Tielens" mce_href="http://www.sharepointconference.it/speakers.aspx#Jan_Tielens"&gt;presenting four of them&lt;/A&gt;:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Client Side Technologies in SharePoint 2010&lt;/LI&gt;
&lt;LI&gt;Building, Deploying and Managing Sandboxed Solutions&lt;/LI&gt;
&lt;LI&gt;Advanced Web Part Development in SharePoint 2010&lt;/LI&gt;
&lt;LI&gt;Silverlight and SharePoint 2010: Better Together&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;So, please come and say hi if you’re on the SharePoint Conference in Italy next week!&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7371107" width="1" height="1"&gt;</description><pubDate>Fri, 05 Mar 2010 11:15:00 Z</pubDate><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Tielens</dc:creator><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">41</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/jan/rsscomments.aspx?PostID=7371107</wfw:commentRss><comments>http://weblogs.asp.net/jan/archive/2010/03/05/speaking-at-the-italian-sharepoint-conference-next-week.aspx#comments</comments></item><item><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7366447</guid><link>http://weblogs.asp.net/jan/archive/2010/03/01/scriptsrc-referencing-javascript-files-with-sharepoint-2010-custom-actions.aspx</link><category domain="http://weblogs.asp.net/jan/archive/tags/SharePoint/default.aspx">SharePoint</category><title>Referencing Javascript Files with SharePoint 2010 Custom Actions using SciptSrc</title><description>&lt;P mce_keep="true"&gt;If you’re an avid reader of this blog, you are probably aware of the fact that using Javascript plus SharePoint is a very powerful combination. In SharePoint 2007 there were a couple of techniques you could use to make sure your Javascript files would be referenced by SharePoint pages:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;Add the Script reference to the Master Page&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;Use a Delegate Control (e.g. the AdditionalPageHead)&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;Dynamically through code, e.g. in a Web Part&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P mce_keep="true"&gt;Although all those techniques work, and will still work in SharePoint 2010, they all have some limitations. The first technique requires you to build a custom Master Page, which may be a little overkill just to get a Javascript file referenced. Additionally, your custom Master Page is not used on Application Pages (unless you use the &lt;A href="http://www.codeplex.com/SuperBranding" mce_href="http://www.codeplex.com/SuperBranding"&gt;Superbranding trick&lt;/A&gt;). The second is my favorite one in SharePoint 2007, but the requirement is that the Master Page you’re using has the corresponding Delegate Control, and you need to have either a Server Control or Web User Control that generates HTML to reference the script. The third technique is nice if you only want to use the script when the Web Part is on the page, otherwise you’ll have to put the Web Part on every page where you’d like to reference the script.&lt;/P&gt;
&lt;P mce_keep="true"&gt;SharePoint 2010 is adding another very interesting technique to this list; using the &lt;STRONG&gt;ScriptSrc &lt;/STRONG&gt;attribute of the &lt;STRONG&gt;CustomAction &lt;/STRONG&gt;element in a Feature. Check the following Feature Elements file:&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;Elements xmlns="&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;http://schemas.microsoft.com/sharepoint/&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;"&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;CustomAction&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ScriptSrc="&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;JSDemo/jquery-1.4.2.js&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location="ScriptLink"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sequence="100"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/CustomAction&amp;gt;&lt;BR&gt;&amp;lt;/Elements&amp;gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;The first important thing to notice is that the CustomAction element contains the ScrptSrc attribute that points in this example to the jQuery Javascript library. The jQuery library is added to the &lt;STRONG&gt;/_layouts&lt;/STRONG&gt; folder in the SharePoint Root, in a folder called &lt;STRONG&gt;JSDemo &lt;/STRONG&gt;(the /_layouts/ prefix is added automatically). By the way, adding files to the /_layouts folder is very easy in a SharePoint project in Visual Studio 2010, using a &lt;STRONG&gt;Mapped Folder&lt;/STRONG&gt;.&amp;nbsp; The second important attribute is the Location; it must be set to ScriptLink so the Javascript file is referenced in the head element of the page. Optionally you can specify a Sequence attribute to determine the in which order the script references will be added (if you have multiple). When Feature is activated, it results in the following HTML:&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;FONT face="courier new,courier"&gt;document.write('&amp;lt;script type="text/javascript" src="http://weblogs.asp.net/_layouts/jsdemo/jquery-1.4.2.min.js?rev=EAku7lY97C3Kgrd9LPWhrg%3D%3D"&amp;gt;&amp;lt;/' + 'script&amp;gt;');&lt;/FONT&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;It’s important to mention that adding a reference to a script using this technique only works for scripts stored in the /_LAYOUTS folder in the SharePoint Root, so unfortunately it’s not possible to do something like this:&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;Elements xmlns="&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;http://schemas.microsoft.com/sharepoint/&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;"&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;CustomAction&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ScriptSrc="&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.min.js&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location="ScriptLink"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sequence="100"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/CustomAction&amp;gt;&lt;BR&gt;&amp;lt;/Elements&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;Besides the &lt;STRONG&gt;ScriptSrc&lt;/STRONG&gt; attribute, you can also use the &lt;STRONG&gt;ScriptBlock&lt;/STRONG&gt; attribute to render a script inline. The following example shows an annoying message box every time a pages load:&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;Elements xmlns="http://schemas.microsoft.com/sharepoint/"&amp;gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;lt;CustomAction&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ScriptSrc="JSDemo/jquery-1.4.2.min.js"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location="ScriptLink"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sequence="100"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/CustomAction&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;CustomAction&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location="ScriptLink"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ScriptBlock="$(document).ready(function() { &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert('jQuery is loaded!!'); });"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sequence="101"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/CustomAction&amp;gt;&lt;BR&gt;&amp;lt;/Elements&amp;gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;Unfortunately the ScriptSrc attribute doesn’t work very well in combination with Sandboxed Solutions: you can’t add files to the SharePoint Root using Sandboxed Solutions, and the ScriptSrc attribute requires the referenced script to be in the SharePoint Root’s /_layouts folder. I’m still figuring out a nice way to add for example the jQuery library to a SharePoint site, only using a Sandboxed Solution. If I’m successful, you’ll can definitely read more about it in a future post! :-)&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7366447" width="1" height="1"&gt;</description><pubDate>Mon, 01 Mar 2010 12:45:00 Z</pubDate><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Tielens</dc:creator><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">10</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/jan/rsscomments.aspx?PostID=7366447</wfw:commentRss><comments>http://weblogs.asp.net/jan/archive/2010/03/01/scriptsrc-referencing-javascript-files-with-sharepoint-2010-custom-actions.aspx#comments</comments></item><item><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7366065</guid><link>http://weblogs.asp.net/jan/archive/2010/03/01/little-sharepoint-2010-gem-ajax-options-in-list-view-web-parts.aspx</link><category domain="http://weblogs.asp.net/jan/archive/tags/SharePoint/default.aspx">SharePoint</category><title>Little SharePoint 2010 Gem: AJAX Options in List View Web Parts</title><description>&lt;P mce_keep="true"&gt;Last week I stumbled upon some pretty neat functionality of the out-of-the-box List View Web Part in SharePoint 2010: the AJAX Options. When you add a Web Part from the &lt;STRONG&gt;List and Libraries &lt;/STRONG&gt;category (that basically shows you every List and Document Library you have on the SharePoint site) behind the scenes the Data View Web Part is being used to display the List or Document Library data.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;IMG src="http://storage.tielens.name/ajaxoptions2.jpg" mce_src="http://storage.tielens.name/ajaxoptions2.jpg"&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;When you edit such a Web Part once it has been added to a page, you’ll notice there is a new &lt;STRONG&gt;AJAX Options &lt;/STRONG&gt;section in the Web Part properties. AJAX stands for Asynchronous Javascript and XML and is a web development technique to build more interactive, rich web sites. The AJAX Options are disabled by default, but by enabling you can get some pretty cool results:&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;IMG src="http://storage.tielens.name/ajaxoptions1.png" mce_src="http://storage.tielens.name/ajaxoptions1.png"&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;&lt;STRONG&gt;Enable Asynchronous Update&lt;/STRONG&gt;: enabling this option will make paging, sorting, filtering work without full page refreshes.&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;&lt;STRONG&gt;Show Manual Refresh Button&lt;/STRONG&gt;: enabling this option will show an icon to allow the user the refresh the data manually, once again without refreshing the rest of the page.&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;&lt;STRONG&gt;Enable Asynchronous Automatic Refresh&lt;/STRONG&gt;: when enabled, the Web Part will dynamically refresh the date it’s showing, without completely reloading the page. The interval can be specified in the textbox below.&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;&lt;STRONG&gt;Automatic Refreshing Interval&lt;/STRONG&gt;: specifies the interval used in the previous option.&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;&lt;STRONG&gt;Enable Asynchronous Load&lt;/STRONG&gt;: when enabled, the Web Part will initially be displayed without any data in it. But once the page is loaded, the Web Part will asynchronously fetch the data afterwards. When the data is being loaded, the Web Part will display an animation. This option will speed up the initial page load.&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7366065" width="1" height="1"&gt;</description><pubDate>Mon, 01 Mar 2010 07:06:00 Z</pubDate><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Tielens</dc:creator><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">8</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/jan/rsscomments.aspx?PostID=7366065</wfw:commentRss><comments>http://weblogs.asp.net/jan/archive/2010/03/01/little-sharepoint-2010-gem-ajax-options-in-list-view-web-parts.aspx#comments</comments></item><item><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7310338</guid><link>http://weblogs.asp.net/jan/archive/2010/01/14/sharepoint-connections-2010-amp-sharepint-with-belgian-beer-in-amsterdam.aspx</link><category domain="http://weblogs.asp.net/jan/archive/tags/SharePoint/default.aspx">SharePoint</category><title>SharePoint Connections 2010 &amp; SharePINT with Belgian Beer in Amsterdam</title><description>&lt;P mce_keep="true"&gt;Next week (18th and 19th of January, 2010) the &lt;A href="http://www.devconnections.com/speurope/" mce_href="http://www.devconnections.com/speurope/"&gt;Microsoft SharePoint Connections 2010&lt;/A&gt; will be held in Amsterdam RAI (The Netherlands). There is a great lineup of &lt;A href="http://www.devconnections.com/shows/NED2010SP/default.asp?c=2&amp;amp;s=149" mce_href="http://www.devconnections.com/shows/NED2010SP/default.asp?c=2&amp;amp;s=149"&gt;speakers&lt;/A&gt; and &lt;A href="http://www.devconnections.com/shows/NED2010SP/default.asp?c=1&amp;amp;s=149" mce_href="http://www.devconnections.com/shows/NED2010SP/default.asp?c=1&amp;amp;s=149"&gt;sessions&lt;/A&gt; over there, so I'm sure it will be a very interesting event! I will be presenting three sessions, one on Monday and two on Tuesday:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;Client-Side Technologies in SharePoint 2010&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;Silverlight and SharePoint 2010: Better Together&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;Advanced Web Part Development in SharePoint 2010&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P mce_keep="true"&gt;I'm also very proud to mention that &lt;A href="http://www.u2u.be/" mce_href="http://www.u2u.be"&gt;&lt;STRONG&gt;U2U&lt;/STRONG&gt;&lt;/A&gt;&lt;STRONG&gt; will be sponsering the SharePINT community event on Monday evening. &lt;/STRONG&gt;As a Belgian company we are of course buying you guys some real Belgian beer (Leffe)! So make sure to visit the expo area of the conference after the last session on Monday and feel free to say hi. :-)&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7310338" width="1" height="1"&gt;</description><pubDate>Thu, 14 Jan 2010 06:44:00 Z</pubDate><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Tielens</dc:creator><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/jan/rsscomments.aspx?PostID=7310338</wfw:commentRss><comments>http://weblogs.asp.net/jan/archive/2010/01/14/sharepoint-connections-2010-amp-sharepint-with-belgian-beer-in-amsterdam.aspx#comments</comments></item><item><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7288512</guid><link>http://weblogs.asp.net/jan/archive/2009/12/22/may-i-introduce-you-to-lis-tielens.aspx</link><title>May I introduce you to Lis Tielens</title><description>&lt;P mce_keep="true"&gt;I'm very happy to announce that this morning our daugher Lis was born. She and her mother are recovering from the C-section but they are doing well. For more news (in Dutch), feel free to check out&amp;nbsp;our family blog: &lt;A href="http://kids.neleenjan.net/"&gt;http://kids.neleenjan.net&lt;/A&gt;.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;IMG style="WIDTH: 500px; HEIGHT: 410px" src="http://farm5.static.flickr.com/4028/4206072145_438008cc3b.jpg" width=500 height=410 mce_src="http://farm5.static.flickr.com/4028/4206072145_438008cc3b.jpg"&gt;&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7288512" width="1" height="1"&gt;</description><pubDate>Tue, 22 Dec 2009 21:33:00 Z</pubDate><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Tielens</dc:creator><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">25</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/jan/rsscomments.aspx?PostID=7288512</wfw:commentRss><comments>http://weblogs.asp.net/jan/archive/2009/12/22/may-i-introduce-you-to-lis-tielens.aspx#comments</comments></item></channel></rss>