<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/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>Serge van den Oever [Macaw]</title><link>http://weblogs.asp.net/soever/default.aspx</link><description>&lt;I&gt;Thoughts on SharePoint and PowerShell&lt;/I&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>PowerShell: get your external IP address</title><link>http://weblogs.asp.net/soever/archive/2013/03/17/powershell-get-your-external-ip-address.aspx</link><pubDate>Sat, 16 Mar 2013 22:16:33 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:10001643</guid><dc:creator>svdoever</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/soever/rsscomments.aspx?PostID=10001643</wfw:commentRss><comments>http://weblogs.asp.net/soever/archive/2013/03/17/powershell-get-your-external-ip-address.aspx#comments</comments><description>&lt;p&gt;Needed this in a script to automatically add a firewall rule to my Azure SQL server:&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;$externalIP = (New-Object net.webclient).downloadstring(&amp;quot;&lt;a href="http://checkip.dyndns.com&amp;quot;)"&gt;http://checkip.dyndns.com&amp;quot;)&lt;/a&gt; -replace &amp;quot;[^\d\.]&amp;quot;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=10001643" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/soever/archive/tags/Azure/default.aspx">Azure</category><category domain="http://weblogs.asp.net/soever/archive/tags/PowerShell/default.aspx">PowerShell</category></item><item><title>JSON Debugger visualizer in Visual Studio 2012</title><link>http://weblogs.asp.net/soever/archive/2013/03/03/json-debugger-visualizer-in-visual-studio-2012.aspx</link><pubDate>Sun, 03 Mar 2013 16:32:06 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:9938821</guid><dc:creator>svdoever</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/soever/rsscomments.aspx?PostID=9938821</wfw:commentRss><comments>http://weblogs.asp.net/soever/archive/2013/03/03/json-debugger-visualizer-in-visual-studio-2012.aspx#comments</comments><description>&lt;p&gt;Recently working a lot with JSON data. Needed a debugger visualizer for JSON. Found one at: &lt;a title="http://jsonviewer.codeplex.com/" href="http://jsonviewer.codeplex.com/"&gt;http://jsonviewer.codeplex.com/&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Copy contents of the &lt;strong&gt;visualizer&lt;/strong&gt; folder in the zip package to &lt;strong&gt;&lt;em&gt;VisualStudioInstallPath&lt;/em&gt;\Common7\Packages\Debugger\Visualizers&lt;/strong&gt; (on my machine this is &lt;strong&gt;C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Packages\Debugger\Visualizers&lt;/strong&gt;) and working! See &lt;a title="http://msdn.microsoft.com/en-us/library/sb2yca43(v=vs.110).aspx" href="http://msdn.microsoft.com/en-us/library/sb2yca43(v=vs.110).aspx"&gt;http://msdn.microsoft.com/en-us/library/sb2yca43(v=vs.110).aspx&lt;/a&gt; for other instalation options.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/SNAGHTML8c38f1dd_21C7F6AB.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="SNAGHTML8c38f1dd" border="0" alt="SNAGHTML8c38f1dd" src="http://weblogs.asp.net/blogs/soever/SNAGHTML8c38f1dd_thumb_6342A904.png" width="526" height="507" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/SNAGHTML8c3e0925_1D9E1EE6.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="SNAGHTML8c3e0925" border="0" alt="SNAGHTML8c3e0925" src="http://weblogs.asp.net/blogs/soever/SNAGHTML8c3e0925_thumb_0C99F103.png" width="526" height="217" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=9938821" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/soever/archive/tags/Visual+Studio/default.aspx">Visual Studio</category></item><item><title>Visual Studio 2012 LightSwitch intellisense not working with Resharper 7</title><link>http://weblogs.asp.net/soever/archive/2013/01/04/visual-studio-2012-lightswitch-intellisense-not-working-with-resharper-7.aspx</link><pubDate>Fri, 04 Jan 2013 00:01:49 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:9696009</guid><dc:creator>svdoever</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/soever/rsscomments.aspx?PostID=9696009</wfw:commentRss><comments>http://weblogs.asp.net/soever/archive/2013/01/04/visual-studio-2012-lightswitch-intellisense-not-working-with-resharper-7.aspx#comments</comments><description>&lt;p&gt;I’m developing LightSwitch code in c# but didn’t get intellisense. After configuring Resharper to use the Visual Studio intellisense I finally got intellisense, and you need that in LightSwitch development!&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/SNAGHTML12a68c6_03B51D11.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="SNAGHTML12a68c6" border="0" alt="SNAGHTML12a68c6" src="http://weblogs.asp.net/blogs/soever/SNAGHTML12a68c6_thumb_48814145.png" width="784" height="644" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=9696009" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/soever/archive/tags/LightSwitch/default.aspx">LightSwitch</category></item><item><title>SharePoint: UI for ordering list items</title><link>http://weblogs.asp.net/soever/archive/2012/12/12/sharepoint-ui-for-ordering-list-items.aspx</link><pubDate>Wed, 12 Dec 2012 01:38:20 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:9563254</guid><dc:creator>svdoever</dc:creator><slash:comments>16</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/soever/rsscomments.aspx?PostID=9563254</wfw:commentRss><comments>http://weblogs.asp.net/soever/archive/2012/12/12/sharepoint-ui-for-ordering-list-items.aspx#comments</comments><description>&lt;p&gt;SharePoint list items have in the the base &lt;strong&gt;Item &lt;/strong&gt;template a field named &lt;strong&gt;Order&lt;/strong&gt;. This field is not shown by default.&lt;/p&gt;  &lt;p&gt;SharePoint 2007, 2010 and 2013 have a possibility to specify the order in a UI, using the _layouts page: &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;{SiteUrl}/_layouts/Reorder.aspx?List={ListId}&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;In SharePoint 2010 and 2013 it is possible to add a custom action to a list. It is possible to add a custom action to order list items as follows (SharePoint 2010 description):&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Open SharePoint Designer 2010&lt;/li&gt;    &lt;li&gt;Navigate to a list&lt;/li&gt;    &lt;li&gt;Select &lt;strong&gt;Custom Actions &amp;gt; List Item Menu       &lt;br /&gt;&lt;/strong&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/image_451D7EB2.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="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/soever/image_thumb_6A3AC91E.png" width="603" height="250" /&gt;&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;Fill in the dialog box:     &lt;br /&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/SNAGHTML100ead33_616AC0D2.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="SNAGHTML100ead33" border="0" alt="SNAGHTML100ead33" src="http://weblogs.asp.net/blogs/soever/SNAGHTML100ead33_thumb_5FB9F4FE.png" width="574" height="509" /&gt;&lt;/a&gt;      &lt;br /&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/SNAGHTML100f1567_5E09292A.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="SNAGHTML100f1567" border="0" alt="SNAGHTML100f1567" src="http://weblogs.asp.net/blogs/soever/SNAGHTML100f1567_thumb_03267397.png" width="574" height="509" /&gt;&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;Open &lt;strong&gt;List Settings &amp;gt; Advanced Settings &amp;gt; Content Types&lt;/strong&gt;, and set &lt;strong&gt;Allow management of content types&lt;/strong&gt; to &lt;strong&gt;No&lt;/strong&gt;&amp;#160; &lt;/li&gt;    &lt;li&gt;On &lt;strong&gt;List Settings&lt;/strong&gt; select &lt;strong&gt;Column Ordering&lt;/strong&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/image_0175A7C3.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="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/soever/image_thumb_204C1BA1.png" width="702" height="319" /&gt;&lt;/a&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;This results in the following UI in the browser:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/image_711A3009.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="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/soever/image_thumb_2475F366.png" width="618" height="393" /&gt;&lt;/a&gt;    &lt;br /&gt;    &lt;br /&gt;Selecting the custom &lt;strong&gt;Order Items &lt;/strong&gt;action (under &lt;strong&gt;List Tools &amp;gt; Items&lt;/strong&gt;) results in:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/image_14F2E197.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="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/soever/image_thumb_6CE03277.png" width="629" height="236" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;You can change your custom action in SharePoint designer. On the list screen in the bottom right corner you can find the custom action:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/image_24B2769B.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="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/soever/image_thumb_2A8D1A34.png" width="604" height="166" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;We now need to modify the view to include the order by adding the &lt;strong&gt;Order &lt;/strong&gt;field to the view, and sorting on the &lt;strong&gt;Order&lt;/strong&gt; field. Problem is that the &lt;strong&gt;Order&lt;/strong&gt; field is hidden. It is possible to modify the schema of the &lt;strong&gt;Order &lt;/strong&gt;field to set the &lt;em&gt;Hidden&lt;strong&gt;&amp;#160;&lt;/strong&gt;&lt;/em&gt;attribute to FALSE. If we don’t want to write code to do it and still get the required result it is also possible to modify the view through SharePoint Designer:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/image_07C23630.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="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/soever/image_thumb_13777D62.png" width="594" height="185" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Modify the code of the view:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/image_71ABA4D0.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="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/soever/image_thumb_21864692.png" width="576" height="598" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;This results in:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/image_657A04DC.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="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/soever/image_thumb_03E445C6.png" width="515" height="257" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Note that if you change the view through the web UI these changes are partly lost. If this is a problem modify the &lt;strong&gt;Order &lt;/strong&gt;field schema for the list.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=9563254" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/soever/archive/tags/SharePoint/default.aspx">SharePoint</category></item><item><title>Icons from CDN (content delivery network)</title><link>http://weblogs.asp.net/soever/archive/2012/12/12/icons-from-cdn-content-delivery-network.aspx</link><pubDate>Tue, 11 Dec 2012 23:25:47 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:9562701</guid><dc:creator>svdoever</dc:creator><slash:comments>35</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/soever/rsscomments.aspx?PostID=9562701</wfw:commentRss><comments>http://weblogs.asp.net/soever/archive/2012/12/12/icons-from-cdn-content-delivery-network.aspx#comments</comments><description>&lt;p&gt;Sometimes you need an icon in a site, but don’t want to (or can’t) add the icons themselves to the site. A good example is &lt;a href="http://jsfiddle.net"&gt;http://jsfiddle.net&lt;/a&gt; (a playground for web developers) where you can only edit html, Javascript and css, but can’t add any icons. In my case I need some icons for a custom SharePoint list action on Office365. I could add the icons to a SharePoint picture library, but I don’t want to do that. So after some search I stumbled upon &lt;a href="http://stackoverflow.com/questions/4637397/anyone-knows-cdn-for-icons" target="_blank"&gt;this StackOverflow question&lt;/a&gt;. In one of the answers the site the site &lt;a title="http://www.iconfinder.com" href="http://www.iconfinder.com"&gt;http://www.iconfinder.com&lt;/a&gt;&lt;strong&gt;&amp;#160;&lt;/strong&gt;was mentioned, together with a link to a post describing that linking to the icons from their CDN is allowed (if licence permits it): &lt;/p&gt;  &lt;p&gt;&lt;a title="https://getsatisfaction.com/iconfinder/topics/direct_linking_to_icons_from_iconfinder" href="https://getsatisfaction.com/iconfinder/topics/direct_linking_to_icons_from_iconfinder"&gt;https://getsatisfaction.com/iconfinder/topics/direct_linking_to_icons_from_iconfinder&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;I love their search UI where you can specify a search term, that you want a transparent background, the size of the icon, and that you want an unlicensed icon.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/image_6F3D2790.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="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/soever/image_thumb_26A338BF.png" width="967" height="132" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;To get the CDN url, select the icon, and on the following screen right-click on the icon and select &lt;strong&gt;Copy Image Location&lt;/strong&gt;.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/image_1315D91E.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="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/soever/image_thumb_6A96F709.png" width="471" height="394" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;This results in the following url: &lt;a title="http://cdn1.iconfinder.com/data/icons/fugue/icon/edit-list-order.png" href="http://cdn1.iconfinder.com/data/icons/fugue/icon/edit-list-order.png"&gt;http://cdn1.iconfinder.com/data/icons/fugue/icon/edit-list-order.png&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=9562701" width="1" height="1"&gt;</description></item><item><title>Google image search: exact size and file type missing</title><link>http://weblogs.asp.net/soever/archive/2012/12/12/google-image-search-exact-size-and-file-type-missing.aspx</link><pubDate>Tue, 11 Dec 2012 23:04:41 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:9562613</guid><dc:creator>svdoever</dc:creator><slash:comments>21</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/soever/rsscomments.aspx?PostID=9562613</wfw:commentRss><comments>http://weblogs.asp.net/soever/archive/2012/12/12/google-image-search-exact-size-and-file-type-missing.aspx#comments</comments><description>&lt;p&gt;When I need an icon I use Google search for images, type in the usage for the icon, for example &lt;strong&gt;order&lt;/strong&gt;, and specify an exact size for the icon.&lt;/p&gt;  &lt;p&gt;Until recently…&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Google in their infinite wisdom decided to change the image search UI:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/image_366855C2.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="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/soever/image_thumb_72D0A49F.png" width="800" height="155" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Select &lt;strong&gt;Search tools&lt;/strong&gt;:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/image_2383AC4B.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="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/soever/image_thumb_5FEBFB28.png" width="802" height="339" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;As you can see, no exact size can be specified… you can specify &lt;strong&gt;Icon&lt;/strong&gt;, but no size for the icon.&lt;/p&gt;  &lt;p&gt;After some searching I found this question nicely &lt;a href="http://www.seroundtable.com/google-image-exact-image-size-15923.html" target="_blank"&gt;answered&lt;/a&gt;. An the answer is…. add the following to your search terms:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;imagesize:&lt;/strong&gt;&lt;em&gt;width&lt;/em&gt;&lt;strong&gt;x&lt;/strong&gt;&lt;em&gt;height&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;So search for: &lt;strong&gt;order imagesize:16x16&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;This results in some messed up UI:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/image_2FE1A9A7.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="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/soever/image_thumb_665F2F1E.png" width="866" height="253" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The next step is that I want to specify the type of image. In the new UI I get the following options:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/image_72ECDC3A.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="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/soever/image_thumb_11C35019.png" width="391" height="264" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;That’s not what I mean…I want to say &lt;strong&gt;gif&lt;/strong&gt; or &lt;strong&gt;png&lt;/strong&gt;!&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;If we go to the Google advanced image search page (&lt;a title="http://www.google.com/advanced_image_search" href="http://www.google.com/advanced_image_search"&gt;http://www.google.com/advanced_image_search&lt;/a&gt;), we see some other options:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/image_107EB73A.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="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/soever/image_thumb_00233F81.png" width="888" height="336" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;After some fiddling we extend our search to: &lt;strong&gt;order imagesize:16x16 filetype:png&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/image_52C1A9B0.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="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/soever/image_thumb_70BFB7A4.png" width="968" height="248" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The Google search UI is modified again!&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Happy image searching!&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=9562613" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/soever/archive/tags/Google/default.aspx">Google</category></item><item><title>SharePoint 2013 is running on .Net 4 framework</title><link>http://weblogs.asp.net/soever/archive/2012/07/20/sharepoint-2013-is-running-on-net-4-framework.aspx</link><pubDate>Thu, 19 Jul 2012 23:20:07 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8761093</guid><dc:creator>svdoever</dc:creator><slash:comments>64</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/soever/rsscomments.aspx?PostID=8761093</wfw:commentRss><comments>http://weblogs.asp.net/soever/archive/2012/07/20/sharepoint-2013-is-running-on-net-4-framework.aspx#comments</comments><description>&lt;p&gt;The new SharePoint is running on the .Net 4 framework, but still using ASP.NET web forms, and not ASP.NET MVC. As far as I can see its running on ASP.NET Web Forms 4.0, although Chris O’Brian (&lt;a title="http://www.sharepointnutsandbolts.com/2012/07/sharepoint-2013-my-view-on-whats-new.html" href="http://www.sharepointnutsandbolts.com/2012/07/sharepoint-2013-my-view-on-whats-new.html"&gt;http://www.sharepointnutsandbolts.com/2012/07/sharepoint-2013-my-view-on-whats-new.html&lt;/a&gt;) says that ASP.NET Web Forms 4.5 is used.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/image_084E2468.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="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/soever/image_thumb_02930AC2.png" width="841" height="343" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;What is the best method to see which version of ASP.NET web forms is running?&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8761093" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/soever/archive/tags/SharePoint/default.aspx">SharePoint</category></item><item><title>Getting SharePoint 2013 dev machine up and running in 5 minutes</title><link>http://weblogs.asp.net/soever/archive/2012/07/20/getting-sharepoint-2013-dev-machine-up-and-running-in-5-minutes.aspx</link><pubDate>Thu, 19 Jul 2012 22:08:14 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8760892</guid><dc:creator>svdoever</dc:creator><slash:comments>33</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/soever/rsscomments.aspx?PostID=8760892</wfw:commentRss><comments>http://weblogs.asp.net/soever/archive/2012/07/20/getting-sharepoint-2013-dev-machine-up-and-running-in-5-minutes.aspx#comments</comments><description>&lt;p&gt;I’m a happy customer of &lt;a href="http://www.cloudshare.com"&gt;http://www.cloudshare.com&lt;/a&gt;, and only days after the release of SharePoint 2013 preview I was able to spin up an instance of SharePoint Server 2013 with the following configuration:&lt;/p&gt;  &lt;p&gt;&lt;em&gt;SharePoint Server 2013 Preview&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Description:&lt;/strong&gt; OS: Windows Server 2012 RC x64     &lt;br /&gt;Spec: 80 GB HD / 8 GB RAM     &lt;br /&gt;Installed:     &lt;br /&gt;• SharePoint Server 2013 Preview     &lt;br /&gt;• SQL Server 2012 Standard     &lt;br /&gt;• Visual Studio 2012 RC Ultimate Edition     &lt;br /&gt;• SharePoint Designer 2013 Preview     &lt;br /&gt;• Adobe Reader&lt;/p&gt;  &lt;p&gt;The machine works like a breeze, although I already had some SharePoint crashes. But hey, it’s a preview!&lt;/p&gt;  &lt;p&gt;Kudo’s to CloudShare for getting a template machine up and running so fast.&lt;/p&gt;  &lt;p&gt;PS: I’m in no way affiliated to CloudShare, just a happy customer.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8760892" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/soever/archive/tags/SharePoint/default.aspx">SharePoint</category></item><item><title>SharePoint.DesignFactory.ContentFiles 1.4.0.3 - bugfix release, how to update</title><link>http://weblogs.asp.net/soever/archive/2012/07/17/sharepoint-designfactory-contentfiles-1-4-0-3-bugfix-release-how-to-update.aspx</link><pubDate>Tue, 17 Jul 2012 11:14:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8750203</guid><dc:creator>svdoever</dc:creator><slash:comments>1103</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/soever/rsscomments.aspx?PostID=8750203</wfw:commentRss><comments>http://weblogs.asp.net/soever/archive/2012/07/17/sharepoint-designfactory-contentfiles-1-4-0-3-bugfix-release-how-to-update.aspx#comments</comments><description>&lt;p mce_keep="true"&gt;Today I released version 1.4.0.3. of &lt;a title="SharePoint.DesignFactory.ContentFiles" href="http://weblogs.asp.net/soever/pages/sharepoint-designfactory-contentfiles.aspx" target="_blank" mce_href="http://weblogs.asp.net/soever/pages/sharepoint-designfactory-contentfiles.aspx"&gt;SharePoint.DesignFactory.ContentFiles&lt;/a&gt;. This is a bugfix release where the following issues are fixed:&lt;/p&gt;  &lt;p mce_keep="true"&gt;&lt;font face="Courier New"&gt;Change Log - SharePoint.DesignFactory.ContentFiles v1.4.0.3     &lt;br /&gt;===========================================================&lt;/font&gt;&lt;/p&gt;  &lt;p mce_keep="true"&gt;&lt;font face="Courier New"&gt;Product Version:&lt;/font&gt;&lt;/p&gt;  &lt;p mce_keep="true"&gt;&lt;font face="Courier New"&gt;1.4.0.3     &lt;br /&gt;- Fixed issue: Documentation and Sample.ps1 machine configuration file had missing ';' after first line of configuration (SharePointDeployment = 'ClientObjectModel')      &lt;br /&gt;- Fixed issue: UseClaims flag of machine configuration was not passed correctly, so Claims Authenticated deployment with client object model (Office365 for example) was not working      &lt;br /&gt;- Fixed issue: Custom configurations not working due to missing parameter in Deploy.cmd and Redeploy.cmd       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; See: &lt;/font&gt;&lt;a href="http://myspworld.wordpress.com/2012/06/25/deploy-content-files-to-sharepoint-using-sharepoint-designfactory-contentfiles/"&gt;&lt;font face="Courier New"&gt;http://myspworld.wordpress.com/2012/06/25/deploy-content-files-to-sharepoint-using-sharepoint-designfactory-contentfiles/&lt;/font&gt;&lt;/a&gt;&lt;font face="Courier New"&gt; (thanks Amadeu)     &lt;br /&gt;1.4.0.2      &lt;br /&gt;- Fixed issue: Code outside begin block when doing ClientObjectModel deployment      &lt;br /&gt;- Fixed issue: Not all files packaged (fixed by Danny)      &lt;br /&gt;- Fixed issue: Deployment path incorrect (one letter missing)&lt;/font&gt;&lt;/p&gt;  &lt;p mce_keep="true"&gt;&lt;font face="Courier New"&gt;1.4.0.1     &lt;br /&gt;- Fixed issue: Mapped folder ABC would also deploy files in unmapped folder ABCD due to startswith() logic.&lt;/font&gt;&lt;/p&gt;  &lt;p mce_keep="true"&gt;&lt;font face="Courier New"&gt;1.4.0.0     &lt;br /&gt;- Initial release to general public.&lt;/font&gt;&lt;/p&gt;  &lt;p mce_keep="true"&gt;To upgrade the NuGet package to a new version execute the following steps:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;     &lt;div mce_keep="true"&gt;To upgrade your NuGet package following the following steps:&lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;Right-click on solution or project, and select &lt;strong&gt;Manage NuGet packages…&lt;/strong&gt;&lt;/li&gt;    &lt;li&gt;In the &lt;strong&gt;Manage NuGet Packages &lt;/strong&gt;screen click left on &lt;strong&gt;Updates&lt;/strong&gt;      &lt;br /&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/clip_image002_7AC0DAD3.jpg"&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="clip_image002" border="0" alt="clip_image002" src="http://weblogs.asp.net/blogs/soever/clip_image002_thumb_45D3D596.jpg" width="818" height="767" /&gt;&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;Select the &lt;strong&gt;SharePoint.DesignFactory.ContentFiles&lt;/strong&gt; package and press the &lt;strong&gt;Update&lt;/strong&gt; button&lt;/li&gt;    &lt;li&gt;Open from the menu &lt;strong&gt;Build&lt;/strong&gt; the &lt;strong&gt;Configuration Manager&lt;/strong&gt;&lt;/li&gt;    &lt;li&gt;Make the project configurations match the solution configurations (always mixed up after uninstall/install or update)     &lt;br /&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/clip_image004_49FDAD5B.jpg"&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="clip_image004" border="0" alt="clip_image004" src="http://weblogs.asp.net/blogs/soever/clip_image004_thumb_00F78B95.jpg" width="709" height="443" /&gt;&lt;/a&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;This should get you up and running!&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8750203" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/soever/archive/tags/SharePoint.DesignFactory.ContentFiles/default.aspx">SharePoint.DesignFactory.ContentFiles</category></item><item><title>Facebook makes some of its core libraries open source (C++)</title><link>http://weblogs.asp.net/soever/archive/2012/06/14/facebook-maakt-aantal-van-zijn-core-libraries-open-source-c.aspx</link><pubDate>Thu, 14 Jun 2012 12:55:02 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8607133</guid><dc:creator>svdoever</dc:creator><slash:comments>41</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/soever/rsscomments.aspx?PostID=8607133</wfw:commentRss><comments>http://weblogs.asp.net/soever/archive/2012/06/14/facebook-maakt-aantal-van-zijn-core-libraries-open-source-c.aspx#comments</comments><description>&lt;p&gt;For Facebook with 900.000.000 users one of the most important things is performance. Core libraries of Facebook are written in C++, and some of these libraries are now open-source on github: &lt;a href="https://github.com/facebook/folly"&gt;https://github.com/facebook/folly&lt;/a&gt;. See also the blog post &lt;a href="http://herbsutter.com/2012/06/02/facebook-folly-oss-c-libraries/"&gt;http://herbsutter.com/2012/06/02/facebook-folly-oss-c-libraries/&lt;/a&gt; and the discussions in this post where other C++ libraries open sourced by big companies are mentioned. There is already someone working on getting the libraries to work under Windows and Visual Studio at the fork: &lt;a href="https://github.com/jbandela/folly/tree/vc11/"&gt;https://github.com/jbandela/folly/tree/vc11/&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8607133" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/soever/archive/tags/Other+Stuff/default.aspx">Other Stuff</category></item><item><title>SharePoint.DesignFactory.ContentFiles–building WCM sites</title><link>http://weblogs.asp.net/soever/archive/2012/05/26/sharepoint-designfactory-contentfiles-building-wcm-sites.aspx</link><pubDate>Sat, 26 May 2012 21:09:45 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8536489</guid><dc:creator>svdoever</dc:creator><slash:comments>449</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/soever/rsscomments.aspx?PostID=8536489</wfw:commentRss><comments>http://weblogs.asp.net/soever/archive/2012/05/26/sharepoint-designfactory-contentfiles-building-wcm-sites.aspx#comments</comments><description>&lt;p&gt;One of the use cases where we use the &lt;a href="http://weblogs.asp.net/soever/pages/sharepoint-designfactory-contentfiles.aspx"&gt;SharePoint.DesignFactory.ContentFiles&lt;/a&gt; tooling is in building SharePoint Publishing (WCM) solutions for SharePoint 2007, SharePoint 2010 and Office365.&lt;/p&gt;  &lt;p&gt;Publishing solutions are often solutions that have one instance, the publishing site (possibly with subsites), that in most cases need to go through &lt;a href="http://en.wikipedia.org/wiki/Development,_testing,_acceptance_and_production" target="_blank"&gt;DTAP&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;If you dissect a publishing site, in most case you have the following findings:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;The publishing site spans a site collection &lt;/li&gt;    &lt;li&gt;The branding of the site is specified in the root site, because:      &lt;ul&gt;       &lt;li&gt;Master pages live in the root site (/_catalogs/masterpage) &lt;/li&gt;        &lt;li&gt;Page layouts live in the root site (/_catalogs/masterpage) &lt;/li&gt;        &lt;li&gt;The style library lives in the root site ( /Style Library) and contains images, css, javascript, xslt transformations for your CQWP’s, … &lt;/li&gt;        &lt;li&gt;Preconfigured web parts live in the root site (/_catalogs/wp) &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;    &lt;li&gt;The root site and subsites contains a document library called Pages (or your language-specific version of it) containing publishing pages using the page layouts and master pages &lt;/li&gt;    &lt;li&gt;The site collection contains content types, fields and lists &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;When using the &lt;a href="http://weblogs.asp.net/soever/pages/sharepoint-designfactory-contentfiles.aspx"&gt;SharePoint.DesignFactory.ContentFiles&lt;/a&gt; tooling it is very easy to create, test, package and deploy the artifacts that can be uploaded to the SharePoint content database. This can be done in a fast and simple way without the need to create and deploy WSP packages. If we look at the above list of artifacts we can use &lt;a href="http://weblogs.asp.net/soever/pages/sharepoint-designfactory-contentfiles.aspx"&gt;SharePoint.DesignFactory.ContentFiles&lt;/a&gt; for master pages, page layouts, the style library, web part configurations, and initial publishing pages (these are normally made through the SharePoint web UI).&lt;/p&gt;  &lt;p&gt;Some artifacts like content types, fields and lists in the above list can NOT be handled by &lt;a href="http://weblogs.asp.net/soever/pages/sharepoint-designfactory-contentfiles.aspx"&gt;SharePoint.DesignFactory.ContentFiles&lt;/a&gt;, because they can’t be uploaded to the SharePoint content database. The good thing is that these artifacts are the artifacts that don’t change that much in the development of a SharePoint Publishing solution. There are however multiple ways to create these artifacts:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Use paper script: create them manually in each of the environments based on documentation&lt;/li&gt;    &lt;li&gt;Automate the creation of the artifacts using (PowerShell) script &lt;/li&gt;    &lt;li&gt;Develop a WSP package to create these artifacts &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;I’m not a big fan of the third option (see my blog post &lt;a href="http://weblogs.asp.net/soever/archive/2012/05/20/thoughts-on-building-deployable-and-updatable-share-point-solutions.aspx" target="_blank"&gt;Thoughts on building deployable and updatable SharePoint solutions&lt;/a&gt;). It is a lot of work to create content types, fields and list definitions using all kind of XML files, and it is not allowed to modify these artifacts when in use. I know… SharePoint 2010 has some content type upgrade possibilities, but I think it is just too cumbersome.&lt;/p&gt;  &lt;p&gt;The first option has the problem that content types and fields get ID’s, and that these ID’s must be used by the metadata on for example page layouts. No problem for &lt;a href="http://weblogs.asp.net/soever/pages/sharepoint-designfactory-contentfiles.aspx"&gt;SharePoint.DesignFactory.ContentFiles&lt;/a&gt;, because it supports deploy-time resolving of these ID’s using PowerShell. For example consider the following metadata definition for the page layout &lt;strong&gt;contactpage-wcm.aspx.properties.ps1&lt;/strong&gt;:&lt;/p&gt;    &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:6eb191f8-ad9d-4efb-b8d3-e792f7626c72" class="wlWriterEditableSmartContent"&gt; &lt;div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt; &lt;div style="background: #000080; color: #fff; font-family: Verdana, Tahoma, Arial, sans-serif; font-weight: bold; padding: 2px 5px"&gt;Metadata page layout&lt;/div&gt; &lt;div style="background: #ddd; max-height: 300px; overflow: auto"&gt; &lt;ol style="background: #ffffff; margin: 0 0 0 2.5em; padding: 0 0 0 5px;"&gt; &lt;li&gt;&lt;span style="color:#008000"&gt;# This script must return a hashtable @{ name=value; ... } of field name-value pairs&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;&lt;span style="color:#008000"&gt;# for the content file that this script applies to.&lt;/span&gt;&lt;/li&gt; &lt;li&gt;&lt;span style="color:#008000"&gt;# On deployment to SharePoint, these values are written as fields in the corresponding list item (if any)&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;&lt;span style="color:#008000"&gt;# Note that fields must exist; they can be updated but not created or deleted.&lt;/span&gt;&lt;/li&gt; &lt;li&gt;&lt;span style="color:#008000"&gt;# This script is called right after the file is deployed to SharePoint.&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;&amp;nbsp;&lt;/li&gt; &lt;li&gt;&lt;span style="color:#008000"&gt;# You can use the script parameters and arbitrary PowerShell code to interact with SharePoint.&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;&lt;span style="color:#008000"&gt;# e.g. to calculate properties and values at deployment time.&lt;/span&gt;&lt;/li&gt; &lt;li&gt;&amp;nbsp;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;&lt;span style="color:#0000ff"&gt;param&lt;/span&gt;&lt;span style="color:#000000"&gt;([&lt;/span&gt;&lt;span style="color:#008080"&gt;string&lt;/span&gt;&lt;span style="color:#000000"&gt;]&lt;/span&gt;&lt;span style="color:#800080"&gt;$SourcePath&lt;/span&gt;&lt;span style="color:#000000"&gt;, [&lt;/span&gt;&lt;span style="color:#008080"&gt;string&lt;/span&gt;&lt;span style="color:#000000"&gt;]&lt;/span&gt;&lt;span style="color:#800080"&gt;$RelativeUrl&lt;/span&gt;&lt;span style="color:#000000"&gt;, &lt;/span&gt;&lt;span style="color:#800080"&gt;$Context&lt;/span&gt;&lt;span style="color:#000000"&gt;)&lt;/span&gt;&lt;/li&gt; &lt;li&gt;&lt;span style="color:#000000"&gt;@{&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#000000"&gt;&lt;/span&gt;&lt;span style="color:#800000"&gt;&amp;quot;ContentTypeId&amp;quot;&lt;/span&gt;&lt;span style="color:#000000"&gt; &lt;/span&gt;&lt;span style="color:#ff0000"&gt;=&lt;/span&gt;&lt;span style="color:#000000"&gt; &lt;/span&gt;&lt;span style="color:#800080"&gt;$Context&lt;/span&gt;&lt;span style="color:#000000"&gt;.GetContentTypeID(&lt;/span&gt;&lt;span style="color:#800000"&gt;&amp;#39;GeneralPage&amp;#39;&lt;/span&gt;&lt;span style="color:#000000"&gt;);&lt;/span&gt;&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#000000"&gt;&lt;/span&gt;&lt;span style="color:#800000"&gt;&amp;quot;MasterPageDescription&amp;quot;&lt;/span&gt;&lt;span style="color:#000000"&gt; &lt;/span&gt;&lt;span style="color:#ff0000"&gt;=&lt;/span&gt;&lt;span style="color:#000000"&gt; &lt;/span&gt;&lt;span style="color:#800000"&gt;&amp;quot;Cloud Aviator Contact pagelayout (wcm - don&amp;#39;t use)&amp;quot;&lt;/span&gt;&lt;span style="color:#000000"&gt;;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#000000"&gt;&lt;/span&gt;&lt;span style="color:#800000"&gt;&amp;quot;PublishingHidden&amp;quot;&lt;/span&gt;&lt;span style="color:#000000"&gt; &lt;/span&gt;&lt;span style="color:#ff0000"&gt;=&lt;/span&gt;&lt;span style="color:#000000"&gt; &lt;/span&gt;&lt;span style="color:#800000"&gt;&amp;quot;1&amp;quot;&lt;/span&gt;&lt;span style="color:#000000"&gt;;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#000000"&gt;&lt;/span&gt;&lt;span style="color:#800000"&gt;&amp;quot;PublishingAssociatedContentType&amp;quot;&lt;/span&gt;&lt;span style="color:#000000"&gt; &lt;/span&gt;&lt;span style="color:#ff0000"&gt;=&lt;/span&gt;&lt;span style="color:#000000"&gt; &lt;/span&gt;&lt;span style="color:#800080"&gt;$Context&lt;/span&gt;&lt;span style="color:#000000"&gt;.GetAssociatedContentTypeInfo(&lt;/span&gt;&lt;span style="color:#800000"&gt;&amp;#39;GeneralPage&amp;#39;&lt;/span&gt;&lt;span style="color:#000000"&gt;)&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;&lt;span style="color:#000000"&gt;}&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt;  &lt;p&gt;The PowerShell functions &lt;strong&gt;GetContentTypeID&lt;/strong&gt; and &lt;strong&gt;GetAssociatedContentTypeInfo&lt;/strong&gt; can at deploy-time resolve the required information from the server we are deploying to.&lt;/p&gt;  &lt;p&gt;I personally prefer the second option: automate creation through PowerShell, because there are PowerShell scripts available to export content types and fields.&lt;/p&gt;  &lt;p&gt;An example project structure for a typical SharePoint WCM site looks like:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/image_6DB5DA2C.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="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/soever/image_thumb_770F0EAF.png" width="471" height="1013" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Note that this project uses &lt;a href="http://weblogs.asp.net/soever/archive/tags/DualLayout/default.aspx" target="_blank"&gt;DualLayout&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;So if you build Publishing sites using SharePoint, checkout out the completely free &lt;a href="http://weblogs.asp.net/soever/pages/sharepoint-designfactory-contentfiles.aspx"&gt;SharePoint.DesignFactory.ContentFiles&lt;/a&gt; tooling and start flying!&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8536489" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/soever/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://weblogs.asp.net/soever/archive/tags/SharePoint.DesignFactory.ContentFiles/default.aspx">SharePoint.DesignFactory.ContentFiles</category></item><item><title>SharePoint.DesignFactory.ContentFiles - Installation</title><link>http://weblogs.asp.net/soever/archive/2012/05/20/sharepoint-designfactory-contentfiles-installation.aspx</link><pubDate>Sun, 20 May 2012 21:02:54 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8510105</guid><dc:creator>svdoever</dc:creator><slash:comments>17</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/soever/rsscomments.aspx?PostID=8510105</wfw:commentRss><comments>http://weblogs.asp.net/soever/archive/2012/05/20/sharepoint-designfactory-contentfiles-installation.aspx#comments</comments><description>&lt;p&gt;The &lt;a href="http://weblogs.asp.net/soever/pages/sharepoint-designfactory-contentfiles.aspx" target="_blank"&gt;SharePoint.DesignFactory.ContentFiles&lt;/a&gt; tooling can be used to develop, test, package and deploy SharePoint files and metadata that can be uploaded to the SharePoint content database. Use this tooling for developing and packaging your master pages, page layouts, style library files, web part configurations and any file you can think of that can be uploaded to the SharePoint content database. Works on SharePoint 2007 (on SharePoint server), SharePoint 2010 (on SharePoint server or remote) and Office365 (remote).&lt;/p&gt;  &lt;p&gt;Installation is simple. In this post I will show the steps required to install the &lt;strong&gt;SharePoint.DesignFactory.ContentFiles&lt;/strong&gt; on a Visual studio project.&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Fire-up Visual Studio 2010 and create a new project (File &amp;gt; New &amp;gt; Project…)&lt;/li&gt;    &lt;li&gt;Under Installed Templates select &lt;strong&gt;Visual C#&lt;/strong&gt; &amp;gt; &lt;strong&gt;Web&lt;/strong&gt;&lt;/li&gt;    &lt;li&gt;Select the .Net Framework 3.5, then select the &lt;strong&gt;ASP.NET Web Application&lt;/strong&gt; project      &lt;br /&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/image_65DB50D8.png"&gt;&lt;strong&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="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/soever/image_thumb_03D95ECD.png" width="803" height="453" /&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;Note that the resulting project contains all kind of artifacts that are not relevant in the context of a &lt;strong&gt;SharePoint.DesignFactory.ContentFiles&lt;/strong&gt; project:      &lt;br /&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/image_1B24633E.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="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/soever/image_thumb_0EB64015.png" width="266" height="275" /&gt;&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;If NuGet is not installed yet on your Visual Studio (&lt;strong&gt;Tools&lt;/strong&gt; &amp;gt; &lt;strong&gt;Library Package Manager&lt;/strong&gt; is missing), start the Visual Studio Extension Manager (&lt;strong&gt;Tools&lt;/strong&gt; &amp;gt; &lt;strong&gt;Extension Manager…&lt;/strong&gt;). In the Extension Manager window select the &lt;strong&gt;Online Gallery&lt;/strong&gt; at the left and search for &lt;strong&gt;NuGet&lt;/strong&gt;. Select the &lt;strong&gt;NuGet Package Manager&lt;/strong&gt; and press the &lt;strong&gt;Download &lt;/strong&gt;button to install NuGet. Preferably use NuGet 1.7 or up to use all features available in the &lt;strong&gt;SharePoint.DesignFactory.ContentFiles&lt;/strong&gt; NuGet package.      &lt;br /&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/image_3F6947C0.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="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/soever/image_thumb_446B856F.png" width="803" height="453" /&gt;&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;Right-click on the just created Web Application project and in the context menu select &lt;strong&gt;Manage NuGet Packages…&lt;/strong&gt;.      &lt;br /&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/image_6988CFDB.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="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/soever/image_thumb_20EEE10A.png" width="502" height="421" /&gt;&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;In the Manage NuGet Packages window select &lt;strong&gt;Online &lt;/strong&gt;at the left and search for &lt;strong&gt;SharePoint.DesignFactory.ContentFiles&lt;/strong&gt;. Select the &lt;strong&gt;SharePoint.DesignFactory.ContentFiles package&lt;/strong&gt; and press the &lt;strong&gt;Install &lt;/strong&gt;button.      &lt;br /&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/image_311AA903.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="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/soever/image_thumb_3D3C232A.png" width="876" height="506" /&gt;&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;After installation where a lot of project manipulation magic happens the following message appears. An assembly is installed in the solution folder containing Visual studio Solution Explorer context menu actions that makes working with &lt;strong&gt;SharePoint.DesignFactory.ContentFiles&lt;/strong&gt; even easier. This assembly is magically loaded by a Visual Studio extension called&lt;strong&gt; Managed Menu Extension (MME)&lt;/strong&gt;. Although this extension is not required and it is perfectly possible to work without the additional context menu actions, it is advised to install the Managed Menu Extensions (explained in the next step).      &lt;br /&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/image_1B704A99.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="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/soever/image_thumb_52D65BC7.png" width="642" height="389" /&gt;&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;Install the &lt;strong&gt;Managed Menu Extensions (MME)&lt;/strong&gt; through the &lt;strong&gt;Extension Manager&lt;/strong&gt; (&lt;strong&gt;Tools&lt;/strong&gt; &amp;gt; &lt;strong&gt;Extension Manager…&lt;/strong&gt;). Select &lt;strong&gt;Online Gallery&lt;/strong&gt; and search for &lt;strong&gt;MME&lt;/strong&gt;.      &lt;br /&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/image_5844CC6B.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="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/soever/image_thumb_5D470A1A.png" width="884" height="454" /&gt;&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;Visual studio requires a restart for the &lt;strong&gt;Managed Menu Extensions&lt;/strong&gt; to work and the context menu extension for &lt;strong&gt;SharePoint.DesignFactory.ContentFiles&lt;/strong&gt; to work. Close Visual Studio, and reopen Visual Studio with our new solution in one of two ways (First starting Visual Studio and then loading the solution does not load the menu extensions):&lt;/li&gt;    &lt;ol&gt;     &lt;li&gt;By starting the solution through the start menu       &lt;br /&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/image_46A4BBD3.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="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/soever/image_thumb_2BF81FBA.png" width="484" height="542" /&gt;&lt;/a&gt;&lt;/li&gt;      &lt;li&gt;By double-clicking the solution file in the explorer       &lt;br /&gt;&lt;/li&gt;   &lt;/ol&gt;    &lt;li&gt;We are done with installation! The project is cleaned up, all unwanted files are removed. You are presented with a readme file explaining some things about the &lt;strong&gt;SharePoint.DesignFactory.ContentFiles&lt;/strong&gt; tooling.      &lt;br /&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/image_2A4753E6.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="image" border="0" alt="image" src="http://weblogs.asp.net/blogs/soever/image_thumb_63E9EDD0.png" width="891" height="642" /&gt;&lt;/a&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;In a next blog post I will give a tour through a &lt;strong&gt;SharePoint.DesignFactory.ContentFiles&lt;/strong&gt; enabled Visual Studio project.    &lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8510105" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/soever/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://weblogs.asp.net/soever/archive/tags/SharePoint.DesignFactory.ContentFiles/default.aspx">SharePoint.DesignFactory.ContentFiles</category></item><item><title>Thoughts on building deployable and updatable SharePoint solutions</title><link>http://weblogs.asp.net/soever/archive/2012/05/20/thoughts-on-building-deployable-and-updatable-share-point-solutions.aspx</link><pubDate>Sat, 19 May 2012 22:56:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8505594</guid><dc:creator>svdoever</dc:creator><slash:comments>32</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/soever/rsscomments.aspx?PostID=8505594</wfw:commentRss><comments>http://weblogs.asp.net/soever/archive/2012/05/20/thoughts-on-building-deployable-and-updatable-share-point-solutions.aspx#comments</comments><description>&lt;div style="width: 595px;" id="__ss_12996079"&gt; &lt;strong style="margin: 12px 0px 4px; display: block;"&gt;&lt;a title="Thoughts on building deployable and updatable share point solutions" href="http://www.slideshare.net/svdoever/thoughts-on-building-deployable-and-updatable-share-point-solutions" target="_blank" mce_href="http://www.slideshare.net/svdoever/thoughts-on-building-deployable-and-updatable-share-point-solutions"&gt;Thoughts on building deployable and updatable share point solutions&lt;/a&gt;&lt;/strong&gt; &lt;iframe height="497" marginHeight="0" src="http://www.slideshare.net/slideshow/embed_code/12996079?startSlide=2" frameBorder="0" width="595" marginWidth="0" scrolling="no" mce_src="http://www.slideshare.net/slideshow/embed_code/12996079?startSlide=2"&gt;&lt;/iframe&gt; &lt;div style="padding: 5px 0px 12px;"&gt; View more &lt;a href="http://www.slideshare.net/thecroaker/death-by-powerpoint" target="_blank" mce_href="http://www.slideshare.net/thecroaker/death-by-powerpoint"&gt;PowerPoint&lt;/a&gt; from &lt;a href="http://www.slideshare.net/svdoever" target="_blank" mce_href="http://www.slideshare.net/svdoever"&gt;svdoever&lt;/a&gt; &lt;/div&gt; &lt;/div&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8505594" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/soever/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://weblogs.asp.net/soever/archive/tags/SharePoint.DesignFactory.ContentFiles/default.aspx">SharePoint.DesignFactory.ContentFiles</category></item><item><title>SharePoint.DesignFactory.ContentFiles NuGet package released</title><link>http://weblogs.asp.net/soever/archive/2012/05/19/sharepoint-designfactory-contentfiles-nuget-package-released.aspx</link><pubDate>Sat, 19 May 2012 02:18:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8501505</guid><dc:creator>svdoever</dc:creator><slash:comments>11</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/soever/rsscomments.aspx?PostID=8501505</wfw:commentRss><comments>http://weblogs.asp.net/soever/archive/2012/05/19/sharepoint-designfactory-contentfiles-nuget-package-released.aspx#comments</comments><description>&lt;p&gt;Wouldn’t it be great to edit your SharePoint 2007/2010/Office365 content files like master pages, page layouts, web part files, style library files etc. etc. in Visual Studio, use intellisense, source control and the XSLT debugger, but without the overhead of creating complex xml files, manifest files and WSP packages? Wouldn’t it be great if you could package those file and deploy them through Dev, Test, Acceptation and Production without WSP packages? Now you can!&lt;/p&gt;  &lt;p&gt;Create an ASP.NET Web Application Project, add the &lt;strong&gt;SharePoint.DesignFactory.ContentFiles&lt;/strong&gt; NuGet package and start building!&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/blogs/soever/SharePoint.DesignFactory.ContentFiles-NuGet_12D6CBE0.png" mce_href="http://weblogs.asp.net/blogs/soever/SharePoint.DesignFactory.ContentFiles-NuGet_12D6CBE0.png"&gt;&lt;img style="border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="SharePoint.DesignFactory.ContentFiles-NuGet" border="0" alt="SharePoint.DesignFactory.ContentFiles-NuGet" src="http://weblogs.asp.net/blogs/soever/SharePoint.DesignFactory.ContentFiles-NuGet_thumb_4A1D531B.png" width="811" height="624" mce_src="http://weblogs.asp.net/blogs/soever/SharePoint.DesignFactory.ContentFiles-NuGet_thumb_4A1D531B.png"&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;See the included documentation for more information. More information will follow on this blog!&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8501505" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/soever/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://weblogs.asp.net/soever/archive/tags/SharePoint.DesignFactory.ContentFiles/default.aspx">SharePoint.DesignFactory.ContentFiles</category></item><item><title>SharePoint 15: What is coming?</title><link>http://weblogs.asp.net/soever/archive/2012/02/01/sharepoint-15-what-is-coming.aspx</link><pubDate>Wed, 01 Feb 2012 20:25:01 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8276177</guid><dc:creator>svdoever</dc:creator><slash:comments>41</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/soever/rsscomments.aspx?PostID=8276177</wfw:commentRss><comments>http://weblogs.asp.net/soever/archive/2012/02/01/sharepoint-15-what-is-coming.aspx#comments</comments><description>&lt;p&gt;Something everyone busy with SharePoint would like to know: what will be the new features of SharePoint? What has been changed in the existing functionality? A lot of information that will point us in the right direction is available now from the source… &lt;/p&gt;  &lt;p&gt;See the Office 15 Technical Preview - Open Specification Update @ &lt;a title="http://blogs.msdn.com/b/officeinteroperability/archive/2012/01/30/office-15-technical-preview-open-specification-update.aspx" href="http://blogs.msdn.com/b/officeinteroperability/archive/2012/01/30/office-15-technical-preview-open-specification-update.aspx"&gt;http://blogs.msdn.com/b/officeinteroperability/archive/2012/01/30/office-15-technical-preview-open-specification-update.aspx&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;The material is sometimes hard to read, but there is a lot of information hidden in the documents.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8276177" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/soever/archive/tags/SharePoint/default.aspx">SharePoint</category></item></channel></rss>