<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Jukka on SharePoint</title><link>http://blogs.msdn.com/b/jukka/</link><description>Blabla on SharePoint and Windows Phone</description><dc:language>en-US</dc:language><generator>Telligent Community 5.6.583.17018 (Build: 5.6.583.17018)</generator><item><title>Windows Phone, Web Services and EndpointNotFoundException</title><link>http://blogs.msdn.com/b/jukka/archive/2011/08/19/windows-phone-web-services-and-endpointnotfoundexception.aspx</link><pubDate>Fri, 19 Aug 2011 12:22:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10197760</guid><dc:creator>patonki</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/jukka/rsscomments.aspx?WeblogPostID=10197760</wfw:commentRss><comments>http://blogs.msdn.com/b/jukka/archive/2011/08/19/windows-phone-web-services-and-endpointnotfoundexception.aspx#comments</comments><description>&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;Hi&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;I wanted to share once again one little piece of information that i bumped into while developing a software for my Windows Phone.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;I was trying to figure out how to test whether a web service was online so i created a simple "isAlive" method that returns a Boolean. Of course if the web service is offline the method will not respond. Actually the whole end point will throw an exception.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;There was no useful info on the web so with trial and error i noticed this behavior.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;I made a user control with Visual Studio &amp;amp; Expression Blend which indicates whether the service is online or not:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;" size="3" face="Calibri"&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-81-22/0676.service.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-81-22/0676.service.png" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;The code itself is quite straight forward. But the thing that did not cross my mind at this point was that the request is asynchronous which means that there is no place for a try catch except the proxy class (reference.cs) of the Web Service. Obviously I do not want to touch that class since it is auto-generated.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;" size="3" face="Calibri"&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-81-22/2804.ConnectionStatus.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-81-22/2804.ConnectionStatus.png" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;So what happens if the service is not alive?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-81-22/6204.isAlive.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-81-22/6204.isAlive.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-81-22/0317.Exception.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-81-22/0317.Exception.png" /&gt;&lt;/a&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-81-22/5381.Exception.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;The service proxy class will throw an EndpointNotFoundException. This is the one that you are unable to catch and go around. But guess what.. This happens only in the emulator and you can actually continue debugging by hitting F5. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;So here&amp;rsquo;s what you can do about it:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;" size="3" face="Calibri"&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-81-22/5241.solution.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-81-22/5241.solution.png" /&gt;&lt;/a&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-81-22/4405.solution.png"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;Check the e.Error from isAliveCompletedEventArgs and if that is null you did not hit an exception and vice versa.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;The phone itself does not throw the exception visible at all so with this approach you can handle the situation. Different story is should you test for overall data connectivity before making the first call.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;Happy coding!&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10197760" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/jukka/archive/tags/Windows+Phone/">Windows Phone</category><category domain="http://blogs.msdn.com/b/jukka/archive/tags/Web+Service/">Web Service</category><category domain="http://blogs.msdn.com/b/jukka/archive/tags/WP7/">WP7</category><category domain="http://blogs.msdn.com/b/jukka/archive/tags/EndpointNotFoundException/">EndpointNotFoundException</category></item><item><title>Error during SharePoint SP2 install</title><link>http://blogs.msdn.com/b/jukka/archive/2009/04/30/error-during-sharepoint-sp2-install.aspx</link><pubDate>Thu, 30 Apr 2009 11:06:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9579114</guid><dc:creator>patonki</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/jukka/rsscomments.aspx?WeblogPostID=9579114</wfw:commentRss><comments>http://blogs.msdn.com/b/jukka/archive/2009/04/30/error-during-sharepoint-sp2-install.aspx#comments</comments><description>&lt;P&gt;I just installed (x64 MOSS with SP1 &amp;amp; Feb cumulative update installed) WSS SP2, MOSS SP2, WSS fi-fi LP SP2, MOSS fi-fi LP SP2 and didn't run the config wizard until the end and this is how things went:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Try #1&lt;/P&gt;
&lt;P&gt;psconfig -cmd upgrade -wait -inplace b2b&lt;/P&gt;
&lt;P&gt;Three steps went through and then Error. Feature &lt;SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: FI; mso-fareast-language: FI; mso-bidi-language: AR-SA"&gt;'20477d83-8bdb-414e-964b-080637f7d99b' is not installed in this farm. Few little searches inside 12-hive and it seemed to be "PublishingTimerJobs" -feature.&lt;BR&gt;No panic at this point. This is&amp;nbsp; sharepoint so why not install the feature via stsadm.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: FI; mso-fareast-language: FI; mso-bidi-language: AR-SA"&gt;Try #2&lt;/SPAN&gt;&lt;/P&gt;&lt;FONT face=Calibri&gt;
&lt;P&gt;&lt;BR&gt;stsadm -o installfeature -name PublishingTimerJobs&lt;BR&gt;psconfig -cmd upgrade -wait -inplace b2b&lt;/P&gt;
&lt;P&gt;Whee. Everything works :)&lt;/P&gt;
&lt;P&gt;Hope this helps if someone hits the same issue.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: FI; mso-fareast-language: FI; mso-bidi-language: AR-SA"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9579114" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/jukka/archive/tags/WSS+3-0/">WSS 3.0</category><category domain="http://blogs.msdn.com/b/jukka/archive/tags/sharepoint/">sharepoint</category><category domain="http://blogs.msdn.com/b/jukka/archive/tags/sharepoint+2007/">sharepoint 2007</category><category domain="http://blogs.msdn.com/b/jukka/archive/tags/SP2/">SP2</category><category domain="http://blogs.msdn.com/b/jukka/archive/tags/Feature+not+installed/">Feature not installed</category></item><item><title>How to configure ssl for whole site with output caching enabled</title><link>http://blogs.msdn.com/b/jukka/archive/2008/03/03/how-to-configure-ssl-for-whole-site-with-output-caching-enabled.aspx</link><pubDate>Mon, 03 Mar 2008 21:05:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8006999</guid><dc:creator>patonki</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/jukka/rsscomments.aspx?WeblogPostID=8006999</wfw:commentRss><comments>http://blogs.msdn.com/b/jukka/archive/2008/03/03/how-to-configure-ssl-for-whole-site-with-output-caching-enabled.aspx#comments</comments><description>&lt;p&gt;I ran into a new situation which i haven't thought about before. What if you have a public facing anonymous sharepoint site and you want to add a ssl cert for the whole site + you have output caching enabled with VaryByHeaders set to User-Agent. Most of us would handle this situation by inserting the ssl cert to the extended anonymous iis website.&lt;/p&gt; &lt;p&gt;Situation: Cache flushed, first user hits &lt;a href="https://www.contoso.com"&gt;https://www.contoso.com&lt;/a&gt; and then the second user goes to &lt;a href="http://www.contoso.com"&gt;http://www.contoso.com&lt;/a&gt; and gets all the links pointing to the https site. This is because IIS + output caching is related to one IIS website at the time (one w3wp.exe process). Here's how to go around this issue.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Extend the website once more and put it with the same host header as the anonymous site but map it to port 800. This is because IIS does not allow two websites with same port &amp;amp; host header (obviously). Then add the &lt;/p&gt; &lt;p&gt;SSL cert to this new website. The picture below describes why.&lt;/p&gt; &lt;p&gt;&lt;img src="http://overcurve.pic.fi/msdn/moss-ssl.jpg"&gt;&lt;/p&gt; &lt;p&gt; Port 800 never get hits but the website responds to the https requests.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8006999" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/jukka/archive/tags/MOSS/">MOSS</category><category domain="http://blogs.msdn.com/b/jukka/archive/tags/caching/">caching</category><category domain="http://blogs.msdn.com/b/jukka/archive/tags/extend+website/">extend website</category><category domain="http://blogs.msdn.com/b/jukka/archive/tags/SSL/">SSL</category><category domain="http://blogs.msdn.com/b/jukka/archive/tags/sharepoint/">sharepoint</category></item><item><title>Windows 2008 Server and Sharepoint 2007 on my laptop</title><link>http://blogs.msdn.com/b/jukka/archive/2008/02/02/windows-2008-server-and-sharepoint-2007-on-my-laptop.aspx</link><pubDate>Sat, 02 Feb 2008 08:32:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7383015</guid><dc:creator>patonki</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/jukka/rsscomments.aspx?WeblogPostID=7383015</wfw:commentRss><comments>http://blogs.msdn.com/b/jukka/archive/2008/02/02/windows-2008-server-and-sharepoint-2007-on-my-laptop.aspx#comments</comments><description>&lt;P&gt;This is something that have been annoying me a lot since i joined Microsoft. I installed Vista Ultimate on my laptop and used Virtual PC 2007 to run my MOSS environments. There's nothing bad about it, don't get me wrong. But i'm used to check little things; where to find files under the 12hive for example, check something from the object model by launching visual studio and so on. Ok, ok, all of these might have been reached by copying the 12hive to the vista machine and so fort - No thanks. And the VPC thingie is not the fastest way of doing these things. It takes a while to boot the image.&lt;/P&gt;
&lt;P&gt;So. Now that longhorn reached its latest build I made the desicion. I'll go back to the model where i have a local MOSS and laptop running on a proper server OS. One step closer to practise what you preach :)&lt;/P&gt;
&lt;P&gt;Few basic things to do:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Install Windows Server 2008 (i used the x64 version)&lt;/LI&gt;
&lt;LI&gt;Add the IIS Role to the server and check all the necessary features (frameworks, inet mgr etc.) &lt;BR&gt;&lt;IMG src="http://overcurve.pic.fi/ServerManager.jpg" mce_src="http://overcurve.pic.fi/ServerManager.jpg"&gt;&lt;/LI&gt;
&lt;LI&gt;To make it look like Vista you'll need to add the Desktop experience feature and then after the installation you need to do start -&amp;gt; run -&amp;gt; services.msc -&amp;gt; Enable "Themes"-service and start it. And then go to Control Panel -&amp;gt; Personalization -&amp;gt; Themes and switch it on.&lt;/LI&gt;
&lt;LI&gt;Install SQL Server 2005 + SP2&lt;/LI&gt;
&lt;LI&gt;Install MOSS&lt;BR&gt;And please, while installing - the only port you'll need is for central admin. For other sites use port 80 and host headers. &lt;BR&gt;Something that I did, was to install it with my domain credentials. I know, it will be a pain in the dark hole when it's time to change password, but hey, we did the same thing back at sps 2003 times ;)&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;After a clean boot my machine is consuming about 1.3Gb of RAM. Not bad at all. I didn't enable hyper-v because then you'll loose sleep mode and that's not nice when using a laptop platform.&lt;/P&gt;
&lt;P&gt;Maybe i'll get back with you after some time and see how things have been going on with this setup.&lt;/P&gt;
&lt;P&gt;Do it!&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7383015" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/jukka/archive/tags/MOSS/">MOSS</category><category domain="http://blogs.msdn.com/b/jukka/archive/tags/laptop+install/">laptop install</category><category domain="http://blogs.msdn.com/b/jukka/archive/tags/win2k8/">win2k8</category><category domain="http://blogs.msdn.com/b/jukka/archive/tags/windows+2008+server/">windows 2008 server</category><category domain="http://blogs.msdn.com/b/jukka/archive/tags/longhorn/">longhorn</category><category domain="http://blogs.msdn.com/b/jukka/archive/tags/sharepoint+2007/">sharepoint 2007</category></item><item><title>Fastest way to create a list schema</title><link>http://blogs.msdn.com/b/jukka/archive/2007/09/20/fastest-way-to-create-a-list-schema.aspx</link><pubDate>Thu, 20 Sep 2007 19:48:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5014565</guid><dc:creator>patonki</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/jukka/rsscomments.aspx?WeblogPostID=5014565</wfw:commentRss><comments>http://blogs.msdn.com/b/jukka/archive/2007/09/20/fastest-way-to-create-a-list-schema.aspx#comments</comments><description>&lt;p&gt;Feeling frustrated, feeling like you can't make to the deadline, million lists schemas to create and so much other things to do.. Sounds familiar?&lt;/p&gt;  &lt;p&gt;Well.. Some of the people i've talked with does not recognize this method most of the time (yep, making a long story short):&lt;/p&gt;  &lt;p&gt;1) Create the list using the UI, add the content types or fields, tune up the settings etc.&lt;/p&gt;  &lt;p&gt;2) Open Windows SharePoint Services 3.0 Tools: Visual Studio 2005 Extensions&lt;/p&gt;  &lt;p&gt;3) Select the list you created and extract the schema!&lt;/p&gt;  &lt;p&gt;4) Remove the commented lines from all the files (usually on the second row: dunno why)&lt;/p&gt;  &lt;p&gt;5) Make a feature of it&lt;/p&gt;  &lt;p&gt;6) Rule the world&lt;/p&gt;  &lt;p&gt;:)&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5014565" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/jukka/archive/tags/WSS+3-0/">WSS 3.0</category><category domain="http://blogs.msdn.com/b/jukka/archive/tags/C_2300_/">C#</category><category domain="http://blogs.msdn.com/b/jukka/archive/tags/List+Schema/">List Schema</category><category domain="http://blogs.msdn.com/b/jukka/archive/tags/Windows+SharePoint+Services+3-0+Tools_3A00_+Visual+Studio+2005+Extensions_3A00_+feature/">Windows SharePoint Services 3.0 Tools: Visual Studio 2005 Extensions: feature</category></item><item><title>List definition and property DisallowContentTypes</title><link>http://blogs.msdn.com/b/jukka/archive/2007/04/26/list-definition-and-property-disallowcontenttypes.aspx</link><pubDate>Thu, 26 Apr 2007 13:32:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2285157</guid><dc:creator>patonki</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/jukka/rsscomments.aspx?WeblogPostID=2285157</wfw:commentRss><comments>http://blogs.msdn.com/b/jukka/archive/2007/04/26/list-definition-and-property-disallowcontenttypes.aspx#comments</comments><description>&lt;P&gt;Be careful with this property. If you set it true in the list definition, there is no easy way to set it back to false after the list has been populated.&lt;/P&gt;
&lt;P&gt;SPList object has two properties AllowContentTypes which is ReadOnly and ContentTypesEnabled, which you cannot set to true if the list is created as stated above.&lt;/P&gt;
&lt;P&gt;If you do an export of the list and look at the Manifest.xml you can see that there's a property called Flags which has this number combo without any sense. After some reverse engineering i found a point that this string begins with number "137" if the DisallowContentTypes is set to true.&lt;/P&gt;
&lt;P&gt;Do not touch the database. :)&lt;/P&gt;
&lt;P&gt;If you want to change that, you'll need to modify the Manifest.xml and package it back to a new cab and do an import with it. (Remove the existing list before import). I cannot provide any guarantees that will not break anything but it seems to work.&lt;/P&gt;
&lt;P&gt;There's also one interesting property in the ImportSettings class. Setting RetainObjectIdentity to True will keep the GUID's as in the source list. Nice little feature if you have data in other lists that depends on the guids of this lists items.&lt;/P&gt;
&lt;P&gt;Enjoy&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2285157" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/jukka/archive/tags/MOSS/">MOSS</category><category domain="http://blogs.msdn.com/b/jukka/archive/tags/WSS+3-0/">WSS 3.0</category><category domain="http://blogs.msdn.com/b/jukka/archive/tags/Object+Model/">Object Model</category><category domain="http://blogs.msdn.com/b/jukka/archive/tags/SPListItem/">SPListItem</category></item><item><title>How to access fields in a listitem through object model?</title><link>http://blogs.msdn.com/b/jukka/archive/2007/03/23/how-to-access-fields-in-a-listitem-through-object-model.aspx</link><pubDate>Fri, 23 Mar 2007 22:17:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1939381</guid><dc:creator>patonki</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/jukka/rsscomments.aspx?WeblogPostID=1939381</wfw:commentRss><comments>http://blogs.msdn.com/b/jukka/archive/2007/03/23/how-to-access-fields-in-a-listitem-through-object-model.aspx#comments</comments><description>&lt;blockquote&gt;   &lt;pre class="code"&gt;&amp;#xA0;&lt;/pre&gt;
&lt;/blockquote&gt;

&lt;p&gt;In a nutshell : &lt;/p&gt;

&lt;pre class="code"&gt;&lt;span style="color: rgb(43,145,175)"&gt;SPContext&lt;/span&gt;.Current.Web.Lists[&lt;span style="color: rgb(163,21,21)"&gt;&amp;quot;Documents&amp;quot;&lt;/span&gt;].Items[0][&lt;span style="color: rgb(163,21,21)"&gt;&amp;quot;Title&amp;quot;&lt;/span&gt;].ToString();&lt;/pre&gt;
&lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1939381" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/jukka/archive/tags/WSS+3-0/">WSS 3.0</category><category domain="http://blogs.msdn.com/b/jukka/archive/tags/C_2300_/">C#</category><category domain="http://blogs.msdn.com/b/jukka/archive/tags/Object+Model/">Object Model</category><category domain="http://blogs.msdn.com/b/jukka/archive/tags/SPListItem/">SPListItem</category><category domain="http://blogs.msdn.com/b/jukka/archive/tags/SPField/">SPField</category></item><item><title>Locale &amp;amp; variations</title><link>http://blogs.msdn.com/b/jukka/archive/2007/03/09/locale-variations.aspx</link><pubDate>Fri, 09 Mar 2007 21:32:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1846650</guid><dc:creator>patonki</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/jukka/rsscomments.aspx?WeblogPostID=1846650</wfw:commentRss><comments>http://blogs.msdn.com/b/jukka/archive/2007/03/09/locale-variations.aspx#comments</comments><description>&lt;P&gt;Today i was figuring out how to detect which locale is in use on a site with variation labels.&lt;/P&gt;
&lt;P&gt;Here's a little codeblock to demonstrate it:&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;// code in assembly Microsoft.SharePoint.Publishing&lt;/P&gt;
&lt;P&gt;PublishingWeb pWeb = PublishingWeb.GetPublishingWeb(SPContext.Current.Web);&lt;/P&gt;
&lt;P&gt;// returns LCID&lt;BR&gt;string curLocale = pWeb.Label.Locale;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;// code&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;Easy :)&lt;/P&gt;&lt;/FONT&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1846650" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/jukka/archive/tags/MOSS/">MOSS</category><category domain="http://blogs.msdn.com/b/jukka/archive/tags/C_2300_/">C#</category></item></channel></rss>