<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ideas For Free &#187; General</title>
	<atom:link href="http://blog.libinuko.com/category/general/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.libinuko.com</link>
	<description>Only freedom will grow our ideas</description>
	<lastBuildDate>Sun, 18 Dec 2011 04:51:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>SharePoint 2010: RemoteStsAdm PowerShell Module is available via NuGet</title>
		<link>http://blog.libinuko.com/2011/12/18/sharepoint-2010-remotestsadm-powershell-module-is-available-via-nuget/</link>
		<comments>http://blog.libinuko.com/2011/12/18/sharepoint-2010-remotestsadm-powershell-module-is-available-via-nuget/#comments</comments>
		<pubDate>Sun, 18 Dec 2011 04:15:43 +0000</pubDate>
		<dc:creator>cakriwut</dc:creator>
				<category><![CDATA[Community Content]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[NuGet]]></category>

		<guid isPermaLink="false">http://blog.libinuko.com/?p=716</guid>
		<description><![CDATA[English: Few month ago I have introduced RemoteStsAdm, a PowerShell module that enable you to execute StsAdm.exe remotely. StsAdm.exe is a command line administration tools for SharePoint. Unfortunately to run StsAdm, one must log-in to SharePoint server member &#8211; since the tool can not be executed remotely. RemoteStsAdm is to answer this problem, allowing admin to [...] <a href="http://blog.libinuko.com/2011/12/18/sharepoint-2010-remotestsadm-powershell-module-is-available-via-nuget/">[read more...]</a>]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>English:</p>
<p>Few month ago I have introduced RemoteStsAdm, a PowerShell module that enable you to execute StsAdm.exe remotely. StsAdm.exe is a command line administration tools for SharePoint. Unfortunately to run StsAdm, one must log-in to SharePoint server member &ndash; since the tool can not be executed remotely. RemoteStsAdm is to answer this problem, allowing admin to execute StsAdm remotely. You can download the source code from <a href="http://code.msdn.microsoft.com/windowsdesktop/Remote-StsAdm-in-6fec24b8">MSDN Galery here</a> or read the <a href="http://blog.libinuko.com/2011/09/17/sharepoint-2010-remotestsadm-powershell-module/">original article in previous post here</a>.&nbsp;</p>
<p>Yesterday, I have <a href="http://blog.libinuko.com/2011/12/17/introducing-import-psmodule/">released ImportPSModule</a> that will easy PowerShell module distribution, allow update notification and configuration. The RemoteStsAdm PowerShell module is now available via NuGet, so that you don&rsquo;t need to download and extract manually. All will be done seamlessly, and whenever we got script update &ndash; you will get notified as soon as you open PowerShell session.</p>
<p>So what do you wait for, open PowerShell session and type following:</p>
<div class="wlWriterEditableSmartContent" id="scid:E8C2ABEC-2EDF-4263-8854-38F0AFB6C437:4bb12004-931d-431d-af21-4723eda453ef" style="margin: 0px; padding: 0px; float: none; display: inline;">
<pre class="brush: powershell; title: ; notranslate">Import-PSModule RemoteStsAdm </pre>
</div>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.libinuko.com/2011/12/18/sharepoint-2010-remotestsadm-powershell-module-is-available-via-nuget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerShell: Introducing Import-PSModule</title>
		<link>http://blog.libinuko.com/2011/12/17/introducing-import-psmodule/</link>
		<comments>http://blog.libinuko.com/2011/12/17/introducing-import-psmodule/#comments</comments>
		<pubDate>Sat, 17 Dec 2011 11:32:51 +0000</pubDate>
		<dc:creator>cakriwut</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[NuGet]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://blog.libinuko.com/?p=704</guid>
		<description><![CDATA[You may already know PsGet&#160;by Chaliy or PsGet by Anurse for PowerShell module distribution. They have created PowerShell module&#160;distribution mechanism with different approach. Chaliy uses PowerShell script approach and customized module directory. Everytime you want to distribute your PowerShell module, you have to fork his github project to update Directory.xml content. Even tough the instruction in [...] <a href="http://blog.libinuko.com/2011/12/17/introducing-import-psmodule/">[read more...]</a>]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>You may already know <strong><a href="http://psget.net/">PsGet</a>&nbsp;by Chaliy</strong> or <strong><a href="http://vibrantcode.com/blog/2011/2/16/psget-v02now-with-more-awesome-and-fewer-version-numbers.html">PsGet </a>by Anurse</strong> for PowerShell module distribution. They have created PowerShell module&nbsp;distribution mechanism with different approach.</p>
<p>Chaliy uses PowerShell script approach and customized module directory. Everytime you want to distribute your PowerShell module, you have to fork his github project to update Directory.xml content. Even tough the instruction in <a href="https://github.com/chaliy/psget/wiki/How-to-add-your-module-to-the-directory">https://github.com/chaliy/psget/wiki/How-to-add-your-module-to-the-directory</a>&nbsp;is very clear, however<u> I think there is risk of incorrect Directory.xml modification</u>.</p>
<p>Anurse uses PowerShell manifest approach and standard NuGet package to download and put module in appropriate location. In this case you can create a NuGet package containing PowerShell files and publish it to NuGet repository. Using his module, you will be able to get PowerShell module from NuGet repository right to your console. I like this approach because it uses standard NuGet package and publishing process. However, sometimes<strong> I want to be able to register the new module in my profile</strong>. I also want to ensure that I always use latest PowerShell Module&nbsp;package &#8211; ie. <strong>update local module automatically when there is new module in NuGet repository</strong>.</p>
<p>So then, I started to create Import-PSModule a PowerShell script module that will give you functionalities such as:</p>
<ol>
<li>Importing PS Module from NuGet repository</li>
<li>Load imported module to current session</li>
<li>Register imported module to current user profile or all user profile</li>
<li>Un-register imported module from current user profile or all user profile</li>
<li>Auto-update imported module when user start PowerShell session</li>
</ol>
<p>To start using the module, start PowerShell session and type following</p>
<p>&nbsp;&nbsp;
<pre class="brush: powershell; title: ; notranslate">(new-object Net.WebClient).DownloadString(&amp;quot;http://blog.libinuko.com/wp-content/plugins/download-monitor/download.php?id=1&amp;quot;) | iex </pre>
</p>
<p>The script will perform following actions:</p>
<ol>
<li>Download latest ImportPSModule from central NuGet repository.</li>
<li>Install the package to desired location. If you choose to install in User-Module or Global-Module, all future packages will be installed under Module path. If you choose to install in other folder, then all future package will be installed within installation folder.</li>
<li>Load the ImportPSModule to the memory. It will also&nbsp; download latest NuGet.CommandLine package if you don&#39;t have in your system.</li>
</ol>
<p>So what do you waiting for? Start to install the module and publish your PowerShell module in NuGet repository. But don&#39;t forget TAG &quot;<strong>PSModule</strong>&quot; to your NuGet package.</p>
<p>If you want to validate InstallPSModule.ps1, please click here <a class="downloadlink" href="http://blog.libinuko.com/wp-content/plugins/download-monitor/download.php?id=1" title="Version1.0.0 downloaded 115 times" >InstallPSModule (115)</a> .</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.libinuko.com/2011/12/17/introducing-import-psmodule/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SharePoint: Writing Custom Web Service for SharePoint in Supported Mode (part-1)</title>
		<link>http://blog.libinuko.com/2011/08/27/sharepoint-writing-custom-web-service-for-sharepoint-in-supported-mode-part-1/</link>
		<comments>http://blog.libinuko.com/2011/08/27/sharepoint-writing-custom-web-service-for-sharepoint-in-supported-mode-part-1/#comments</comments>
		<pubDate>Fri, 26 Aug 2011 17:27:56 +0000</pubDate>
		<dc:creator>cakriwut</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://blog.libinuko.com/2011/08/27/sharepoint-writing-custom-web-service-for-sharepoint-in-supported-mode-part-1/</guid>
		<description><![CDATA[English If you have read my comments on the Writing Custom Web Service for SharePont, Is it supported here (http://blog.libinuko.com/2011/02/16/sharepoint-writing-custom-web-service-for-sharepoint-is-it-supported/) ; you may have already created standard ASPNET web services. It is working, but with some limitation: You can not have path virtualization Virtualization is one of SharePoint’s technique provided by SPVirtualPath provider, that enable virtualization of your [...] <a href="http://blog.libinuko.com/2011/08/27/sharepoint-writing-custom-web-service-for-sharepoint-in-supported-mode-part-1/">[read more...]</a>]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>English</p>
<p>If you have read my comments on the Writing Custom Web Service for SharePont, Is it supported here (<a title="http://blog.libinuko.com/2011/02/16/sharepoint-writing-custom-web-service-for-sharepoint-is-it-supported/" href="http://blog.libinuko.com/2011/02/16/sharepoint-writing-custom-web-service-for-sharepoint-is-it-supported/">http://blog.libinuko.com/2011/02/16/sharepoint-writing-custom-web-service-for-sharepoint-is-it-supported/</a>) ; you may have already created standard ASPNET web services. It is working, but with some limitation:</p>
<ol>
<li>You can not have path virtualization
<p>Virtualization is one of SharePoint’s technique provided by SPVirtualPath provider, that enable virtualization of your web service path. For example, list.asmx will be available for <a href="http://mysite.com/_vti_bin/lists.asmx">http://mysite.com<strong>/_vti_bin/lists.asmx</strong></a> , or <a href="http://mysite.com/sites/myothersitecollection/_vti_bin/lists.asmx">http://mysite.com/sites/myothersitecollection<strong>/_vti_bin/lists.asmx</strong></a>. The site collection has been virtualized by SharePoint.</p>
<p>Without virtualization any web service consumer will have to access to the same path, usually in the root; for example <a href="http://&lt;webapps&gt;/_services/mywebservice.asmx">/_services/mywebservice.asmx&quot;&gt;/_services/mywebservice.asmx&quot;&gt;http://&lt;webapps&gt;/_services/mywebservice.asmx</a></p>
</li>
<li>You can not have SPContext
<p>SPContext is very powerful object in SharePoint development. Using this context, we can retrieve current SharePoint context without having to instantiate it. For example, you can get current SPWeb by calling SPContext.Current.Web – and you don’t need to dispose it (in fact you’re not suppose to dispose it). Still using SPContext you can have direct access to list and everything under SharePoint.</p>
<p>Without having direct access to SPContext, you have to instantiate SPWeb or SPSite using normal constructor with URL as parameter. It means new SPSite/SPWeb thread in the server memory, and you have to dispose it once you’ve done working with it.</p>
</li>
</ol>
<p>So, how can we write custom web service for SharePoint in supported mode?</p>
<p>Before we start, we have to understand SharePoint architecture and how does the processing works for web services. I take following picture from <a href="http://msdn.microsoft.com/en-us/library/bb892189(v=office.12).aspx">SharePoint Architecture</a> in MSDN. It describe how SharePoint process our request. There is SPHttpApplication which has SPRequestModule and any additional ASP.NET Module; and before the request returned back to the user SPHttpHandler is doint the job.</p>
<p><a href="http://blog.libinuko.com/files/2011/08/image.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.libinuko.com/files/2011/08/image_thumb.png" width="670" height="299" /></a></p>
<p><strong>How SharePoint process web services?</strong></p>
<p>If we dig into into the process on how SharePoint process request to web services in _vti_bin.</p>
<p><a href="http://blog.libinuko.com/files/2011/08/image2.png"><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://blog.libinuko.com/files/2011/08/image_thumb2.png" width="809" height="282" /></a></p>
<p>There are 3 scenarios of http request to the web services,</p>
<ol>
<li>Disco request, identified by suffix ?DISCO in the web service address. For example, */_vti_bin/list.asmx?Disco </li>
<li>WSDL request, identified by suffix ?WSDL in the web service address. For example, */_vti_bin/list.asmx?Wsdl </li>
<li>Web service post request. For example, */_vti_bin/list.asmx?op=GetListItems </li>
</ol>
<p>Every request will be processed by SPHttpHandler (SharePoint) and ScriptHandlerFactory (system.web.extension), but the SPHttpHandler will be selective only for Disco and Wsdl request.</p>
<p>On disco/wsdl request, SPHttpHandler will transfer the request to wsdisco.aspx or wswsdl.aspx using <strong>Server.Execute</strong> operation. This operation ensure that wsdisco.aspx/wswsdl.aspx is receiving same request object. wsDISCO.aspx or wsWSDL.aspx will then instantiate SharePoint Context object. Any *.aspx will be successfully instantiate SharePoint context object because they are managed by SPHttpApplication and hence it also impacted by SPVirtualPath provider from SharePoint which will activate path virtualization.</p>
<p>Next, wsDISCO.aspx will transfer the request to the &lt;service&gt;DISCO.aspx and wsWSDL.aspx will transfer to the &lt;service&gt;WSDL.aspx – using Server.Execute operation. So here we have seen 2 transfer operation. At the end, the result is correct WSDL/DISCO request. The correct WSDL/DISCO will point to the correct virtual path of the request. <em>(Remember how do you create &lt;service&gt;disco.aspx / &lt;service&gt;wsdl.aspx) </em></p>
<p>When a consumer use the contract and tries to consume it. The SPHttpHandler will no longer intercept the request, but the normal ScriptHandlerFactory from System.Web.Extensions. However with the correct path in disco/wsdl, now the asmx now have the ability to look into current context from SharePoint. And hence you will be able to use SPContext.Current.Web in custom web services.</p>
<p>Part-2 is how to start create custom web services. I will need help from my buddy <a href="http://codebender.denniland.com">Denni</a> , he will code for me. –<img class="wlEmoticon wlEmoticon-openmouthedsmile" alt="Open-mouthed smile" src="http://blog.libinuko.com/files/2011/08/wlEmoticon-openmouthedsmile.png" /></p>
<p>&#160;</p>
<p>References</p>
<p>1. Writing Custom Web Services for SharePoint Products and Technology (<a title="http://msdn.microsoft.com/en-us/library/dd583131(v=office.11).aspx" href="http://msdn.microsoft.com/en-us/library/dd583131(v=office.11).aspx">http://msdn.microsoft.com/en-us/library/dd583131(v=office.11).aspx</a>)</p>
<p>2. SharePoint Architecture (<a title="http://msdn.microsoft.com/en-us/library/bb892189(v=office.12).aspx" href="http://msdn.microsoft.com/en-us/library/bb892189(v=office.12).aspx">http://msdn.microsoft.com/en-us/library/bb892189(v=office.12).aspx</a> )</p>
<p>3. Architectural Overview of Windows SharePoint Services (<a title="http://msdn.microsoft.com/en-us/library/dd583133(v=office.11).aspx" href="http://msdn.microsoft.com/en-us/library/dd583133(v=office.11).aspx">http://msdn.microsoft.com/en-us/library/dd583133(v=office.11).aspx</a>)</p>
<p>4. Modifying Built-In SharePoint Files (<a title="http://msdn.microsoft.com/en-us/library/bb803457(v=office.12).aspx" href="http://msdn.microsoft.com/en-us/library/bb803457(v=office.12).aspx">http://msdn.microsoft.com/en-us/library/bb803457(v=office.12).aspx</a>)</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.libinuko.com/2011/08/27/sharepoint-writing-custom-web-service-for-sharepoint-in-supported-mode-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerShell : Compress files with Windows an improved version</title>
		<link>http://blog.libinuko.com/2011/06/09/powershell-compress-files-with-windows-an-improved-version/</link>
		<comments>http://blog.libinuko.com/2011/06/09/powershell-compress-files-with-windows-an-improved-version/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 14:43:00 +0000</pubDate>
		<dc:creator>cakriwut</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Howto]]></category>

		<guid isPermaLink="false">http://blog.libinuko.com/?p=666</guid>
		<description><![CDATA[English When I am looking for a way to compress file(s) into Zip, I find a blog from David Aiken here (Compress Files with Windows PowerShell then package a Windows Vista Sidebar Gadget) . I will just focus on Add-Zip function and nothing more. Here is the original code: &#160; function Add-Zip { param([string]$zipfilename) [...] <a href="http://blog.libinuko.com/2011/06/09/powershell-compress-files-with-windows-an-improved-version/">[read more...]</a>]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>English</p>
<p>When I am looking for a way to compress file(s) into Zip, I find a blog from David Aiken here (<a href="http://blogs.msdn.com/b/daiken/archive/2007/02/12/compress-files-with-windows-powershell-then-package-a-windows-vista-sidebar-gadget.aspx">Compress Files with Windows PowerShell then package a Windows Vista Sidebar Gadget</a>) . I will just focus on Add-Zip function and nothing more.</p>
<p>Here is the original code:</p>
<p>&#160;</p>
<pre class="brush: ps; highlight: [12,16]; html-script: false">function Add-Zip
{
    param([string]$zipfilename) 

    if(-not (test-path($zipfilename)))
    {
           set-content $zipfilename (&quot;PK&quot; + [char]5 + [char]6 + (&quot;$([char]0)&quot; * 18))
           (dir $zipfilename).IsReadOnly = $false
     } 

     $shellApplication = new-object -com shell.application
     $zipPackage = $shellApplication.NameSpace($zipfilename) 

     foreach($file in $input)
     {
            $zipPackage.CopyHere($file.FullName)
            Start-sleep -milliseconds 500
     }
}

usage: dir c:\demo\files\*.* -Recurse | add-Zip c:\demo\myzip.zip</pre>
<p>I am raising two problems with the code:</p>
<p>1. Looking at the usage example, it is clear that the function accept <strong>only fully path filename</strong>. The reason, on line-12 , the $shellApplication.NameSpace parameter is $zipfilename; and this is not possible without giving fully path filename. </p>
<p>2. On line-16, the operation expect that $input array will contains object with FullName properties, that why the usage example uses DIR. What about if you just want to specify a filename?</p>
<p>With the 2 problem above, I am ready to improve that function. In the new improved version, Get-ChildItem will help us to convert any string representation of a file to a fully path filename. It won’t break DIR piping functionality, since actually Get-ChildItem is dir (and extra) functionality.</p>
<p>Here is the improved version:</p>
<pre class="brush: ps; highlight: [5,15,16]; html-script: false">function Add-Zip
{
	param([string]$zipfilename)

    $currFile = $zipfilename | get-childitem
	if(-not (test-path($zipfilename)))
	{
		set-content $currFile.FullName (&quot;PK&quot; + [char]5 + [char]6 + (&quot;$([char]0)&quot; * 18))
		(dir $currFile.FullName).IsReadOnly = $false
	}

	$shellApplication = new-object -com shell.application
	$zipPackage = $shellApplication.NameSpace($currFile.Fullname)

	$input | % {
            $file = $_ | get-childitem
            $zipPackage.CopyHere($file.FullName)
            Start-sleep -milliseconds 500
	}
}

usage: &quot;FileInThisFolder.txt&quot; -Recurse | add-Zip &quot;ZipInThisFolder.zip&quot;
        dir c:\demo\files\*.* -Recurse | add-Zip c:\demo\myzip.zip</pre>
<p>So, I hope you enjoy the improved version.</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.libinuko.com/2011/06/09/powershell-compress-files-with-windows-an-improved-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010: Largest Number in SharePoint Numeric Column</title>
		<link>http://blog.libinuko.com/2011/05/01/sharepoint-2010-largest-number-in-sharepoint-numeric-column/</link>
		<comments>http://blog.libinuko.com/2011/05/01/sharepoint-2010-largest-number-in-sharepoint-numeric-column/#comments</comments>
		<pubDate>Sun, 01 May 2011 15:36:02 +0000</pubDate>
		<dc:creator>cakriwut</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Boundaries]]></category>
		<category><![CDATA[Numeric column]]></category>

		<guid isPermaLink="false">http://blog.libinuko.com/2011/05/01/sharepoint-2010-largest-number-in-sharepoint-numeric-column/</guid>
		<description><![CDATA[English: So what is the largest number in SharePoint numeric column? Before we can answer this question, let take a look how SharePoint store the data in SQL table. By design, SharePoint will map specific column type in SharePoint into SQL data type; they are nvarchar, ntext, sqlvariant, int, float and bit. For example, true/false column will [...] <a href="http://blog.libinuko.com/2011/05/01/sharepoint-2010-largest-number-in-sharepoint-numeric-column/">[read more...]</a>]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>English:</p>
<p><u>So what is the largest number in SharePoint numeric column?</u></p>
<p>Before we can answer this question, let take a look how SharePoint store the data in SQL table. By design, SharePoint will map specific column type in SharePoint into SQL data type; they are nvarchar, ntext, sqlvariant, int, float and bit. For example, true/false column will be mapped to bit and numeric column will be mapped to float.</p>
<p>There are two types of float data type in SQL, 7 digits or 15 digits precisions (<a title="http://msdn.microsoft.com/en-us/library/ms173773.aspx" href="http://msdn.microsoft.com/en-us/library/ms173773.aspx">http://msdn.microsoft.com/en-us/library/ms173773.aspx</a>). And of course, Microsoft’s engineer will choose the larger precision 15 digits – using 8 bytes storage. (See table below)</p>
<table border="0" cellspacing="0" cellpadding="2" width="400">
<tbody>
<tr>
<td valign="top" width="133"><strong><em>n</em>value</strong></td>
<td valign="top" width="133"><strong>Precision</strong></td>
<td valign="top" width="133"><strong>Storage size</strong></td>
</tr>
<tr>
<td valign="top" width="133">1-24</td>
<td valign="top" width="133">7 digits</td>
<td valign="top" width="133">4 bytes</td>
</tr>
<tr>
<td valign="top" width="133">25-53</td>
<td valign="top" width="133">15 digits</td>
<td valign="top" width="133">8 bytes</td>
</tr>
</tbody>
</table>
<p><em>n is the number of bits that are used to store the mantissa of the float number in scientific notation.</em> </p>
<p>The <em>n</em>value represent the number of bits that are used to store the mantissa of the float number. Therefore the maximum value of the float number is 2^53 =&#160; <strong>9.00719925 × 10<sup>15</sup></strong> . </p>
<p>Precision represent the length of significant digit to which a number can be represented. When a number contains digits more than max precision digits, then it will be rounded up/down to the precision digits. For example, 12345 will be seen as 1.2345 x 10<sup>4</sup> in 5 digits precisions or 1.235 x 10<sup>4</sup> in 4 digits precisions. Hence bigger precision is desirable to represent the exact number, otherwise it will only represents approximation value.</p>
<p>Since SQL Server specifies 15 digits precision for its floating point, then you must be-careful for any number with more than 15 digits. For example, the <strong>999,999,999,999,999</strong> is maximum exact value based on 15 digits precision. Any number above that, even with different as small as 0.1 will be an approximate value; for example 999,999,999,999,999<strong>.1</strong> is same as 999,999,999,999,999 . And if you do arithmetic operation – then you may end-up with big floating error. </p>
<p>So what is the impact?</p>
<ol>
<li>Storage Boundaries (2^53)      <br />This boundaries limits the maximum value which can be stored in a numeric column. You can’t save 9.00719925<strong><u>6</u></strong> x 10<sup>15</sup> without rounding. And everything beyond this storage boundaries will be ignored and saved as 2^53 value. </li>
<li>Precision Boundaries (15 digits)      <br />This boundaries limit the number of digits before SQL starts to round-up/round-down. <strong>Remember floating data is approximate , and therefore not all value can be represented as is</strong>.&#160; As you may guess, if you try to save 999,999,999,999,999<strong>.5</strong> – you will end-up with <strong>1,000,000,000,000,000</strong> value. </li>
</ol>
<p>The good news is, we have used SQL floating data type without any problem; so we put the same faith to SharePoint numeric column. However, if you want to use SharePoint or SQL table, please ensure that you have enough precision for your data.</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.libinuko.com/2011/05/01/sharepoint-2010-largest-number-in-sharepoint-numeric-column/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint : Writing Custom Web Service for SharePoint, is it supported?</title>
		<link>http://blog.libinuko.com/2011/02/16/sharepoint-writing-custom-web-service-for-sharepoint-is-it-supported/</link>
		<comments>http://blog.libinuko.com/2011/02/16/sharepoint-writing-custom-web-service-for-sharepoint-is-it-supported/#comments</comments>
		<pubDate>Wed, 16 Feb 2011 15:31:00 +0000</pubDate>
		<dc:creator>cakriwut</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Office 2010]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[WebServices]]></category>

		<guid isPermaLink="false">http://blog.libinuko.com/2011/02/16/sharepoint-writing-custom-web-service-for-sharepoint-is-it-supported/</guid>
		<description><![CDATA[English You may already read this following article &#8220;Writing Custom Web Service for SharePoint Products and Technologies&#8221; (http://msdn.microsoft.com/en-us/library/dd583131(v=office.11).aspx) or &#8220;Walkthrough: Creating a Custom ASP.NET Web Service&#8221; (http://msdn.microsoft.com/en-us/library/ms464040.aspx). The steps can be summarized as follows: Create normal ASPNET web service In this step you will create ASPNET Web Services using Visual Studio as you always do. From this [...] <a href="http://blog.libinuko.com/2011/02/16/sharepoint-writing-custom-web-service-for-sharepoint-is-it-supported/">[read more...]</a>]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>English</p>
<p>You may already read this following article &ldquo;Writing Custom Web Service for SharePoint Products and Technologies&rdquo; (<a href="http://msdn.microsoft.com/en-us/library/dd583131(v=office.11).aspx" title="http://msdn.microsoft.com/en-us/library/dd583131(v=office.11).aspx">http://msdn.microsoft.com/en-us/library/dd583131(v=office.11).aspx</a>) or &ldquo;Walkthrough: Creating a Custom ASP.NET Web Service&rdquo; (<a href="http://msdn.microsoft.com/en-us/library/ms464040.aspx" title="http://msdn.microsoft.com/en-us/library/ms464040.aspx">http://msdn.microsoft.com/en-us/library/ms464040.aspx</a>). The steps can be summarized as follows:</p>
<ol>
<li>Create normal ASPNET web service <br />
		In this step you will create ASPNET Web Services using Visual Studio as you always do. From this step, you will have <strong><em>&lt;Service&gt;.</em></strong>asmx, where <em>&lt;Service&gt;</em> is your web service asmx file.</li>
<li>Create corresponding <strong>.disco</strong> file and a<strong> .wsdl</strong> file <br />
		In this step you will create extract of DISCO<em>very</em>&nbsp; file and WSDL of ASPNET web service from step #1, and add reference to Microsoft.SharePoint assembly. From this step, you will have 2 files <strong><em>&lt;Service&gt;</em>disco</strong>.aspx and <strong><em>&lt;Service&gt;</em>wsdl</strong>.aspx.</li>
<li>Copy the 3 files to _vti_bin (12hive\ISAPI) <br />
		In this step you will copy the 3 files (&lt;Service&gt;.asmx, &lt;Service&gt;disco.aspx and &lt;Service&gt;wsdl.aspx) into 12hive\ISAPI. Of course in real deployment, you can use WSP.</li>
<li>Register the new web service in spdisco.aspx <br />
		In this step you will <strong>modify built-in SharePoint file spdisco.aspx,</strong> so that your web service will be recognized by SharePoint.</li>
</ol>
<p>Until here you will have working custom web service in SharePoint but&nbsp; <font style="background-color: rgb(255, 255, 0);"><strong>are you sure that your SharePoint farm is still supported?</strong></font></p>
<p>If you read &ldquo;Modifying Built-In SharePoint Files&rdquo; (<a href="http://msdn.microsoft.com/en-us/library/bb803457(v=office.12).aspx" title="http://msdn.microsoft.com/en-us/library/bb803457(v=office.12).aspx">http://msdn.microsoft.com/en-us/library/bb803457(v=office.12).aspx</a>) rules, the step #4 is unsupported. Step#4 is to modify spdisco.aspx so that the custom web service will work.</p>
<p>So do you still want to built custom web service using that technique? <br />
	My suggestion, think twice! In fact you can still use ASPNET web service without SharePoint integration &ndash; it will work but lost SharePoint context. Moreover, you can&rsquo;t tell WSP to modify spdisco.aspx unless you use event handler &ndash; which mean more complexity.</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.libinuko.com/2011/02/16/sharepoint-writing-custom-web-service-for-sharepoint-is-it-supported/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Office 2010 Cumulative Update December 2010</title>
		<link>http://blog.libinuko.com/2011/01/06/office-2010-cumulative-update-december-2010/</link>
		<comments>http://blog.libinuko.com/2011/01/06/office-2010-cumulative-update-december-2010/#comments</comments>
		<pubDate>Thu, 06 Jan 2011 14:08:07 +0000</pubDate>
		<dc:creator>cakriwut</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Office 2010]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Cumulative Update]]></category>

		<guid isPermaLink="false">http://blog.libinuko.com/2011/01/06/office-2010-cumulative-update-december-2010/</guid>
		<description><![CDATA[English Microsoft just released cumulative update package for December 2010. The CU will contains hotfix package for Office 2010 Client and Servers. See full release from Microsoft in this KB :KB2479673.  <a href="http://blog.libinuko.com/2011/01/06/office-2010-cumulative-update-december-2010/">[read more...]</a>]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>English</p>
<p>Microsoft just released cumulative update package for December 2010. The CU will contains hotfix package for Office 2010 Client and Servers. </p>
<p>See full release from Microsoft <a href="http://support.microsoft.com/kb/2479673" target="_blank">in this KB :KB2479673</a>.</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.libinuko.com/2011/01/06/office-2010-cumulative-update-december-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Live Writer</title>
		<link>http://blog.libinuko.com/2009/09/01/windows-live-writer/</link>
		<comments>http://blog.libinuko.com/2009/09/01/windows-live-writer/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 13:25:08 +0000</pubDate>
		<dc:creator>cakriwut</dc:creator>
				<category><![CDATA[Socialities]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Bloging tools]]></category>
		<category><![CDATA[Windows Live Writer]]></category>

		<guid isPermaLink="false">http://blog.libinuko.com/2009/09/01/windows-live-writer/</guid>
		<description><![CDATA[Setelah lama menggunakan BlogJet, hari ini nampaknya saya akan beralih menggunakan Windows Live Writer. Yach, kita harus menghormati pembuat BlogJet yang menuntut pembayaran lisensi; sementara menulis di Blog adalah pekerjaan sambilan yang semestinya juga gratis. Jadi tidak logis kalau saya harus merogoh kocek untuk membeli BlogJet. Dilain pihak, Microsoft menawarkan Windows Live Writer secara gratis kepada [...] <a href="http://blog.libinuko.com/2009/09/01/windows-live-writer/">[read more...]</a>]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>Setelah lama menggunakan BlogJet, hari ini nampaknya saya akan beralih menggunakan Windows Live Writer. Yach, kita harus menghormati pembuat BlogJet yang menuntut pembayaran lisensi; sementara menulis di Blog adalah pekerjaan sambilan yang semestinya juga gratis. Jadi tidak logis kalau saya harus merogoh kocek untuk membeli BlogJet.</p>
<p>Dilain pihak, Microsoft menawarkan Windows Live Writer secara gratis kepada para pengguna Windows. Jadi mungkin ini adalah saat yang tepat untuk berpindah kelain hati. Goodby BlogJet, and welcome Windows Live Writer.</p>
<p>Pertama saya pikir, Windows Live Writer tidak secantik ini. Ternyata WLW ini memberikan pengalaman menulis blog yang kaya. Saya seolah-olah menulis langsung di halaman blog.</p>
<p><a href="http://blog.libinuko.com/wp-content/uploads/2009/09/image.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" src="http://blog.libinuko.com/wp-content/uploads/2009/09/image_thumb.png" border="0" alt="image" width="373" height="103" /></a></p>
<p>Bagian preview pun tak kalah menariknya, karena menampilkan preview tampilan blog kita secara utuh dengan themes yang digunakan. Nampaknya, saya akan segera jatuh cinta pada Windows Live Writer.</p>
<p>Misalnya, ketika saya mengganti account blog ke blog yang lain, WLW secara otomatis akan mendownload themes dan file-file yang dibutuhkan untuk menampilkan perview. Dan hasilnya saya memang seolah-olah melihat tampilan posting di web.</p>
<p><a href="http://blog.libinuko.com/wp-content/uploads/2009/09/image1.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" src="http://blog.libinuko.com/wp-content/uploads/2009/09/image_thumb1.png" border="0" alt="image" width="244" height="136" /></a></p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.libinuko.com/2009/09/01/windows-live-writer/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SharePoint Conference 2009</title>
		<link>http://blog.libinuko.com/2009/08/17/sharepoint-conference-2009/</link>
		<comments>http://blog.libinuko.com/2009/08/17/sharepoint-conference-2009/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 16:00:00 +0000</pubDate>
		<dc:creator>cakriwut</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[SharePoint Conference]]></category>

		<guid isPermaLink="false">http://blog.libinuko.com/2009/08/17/sharepoint-conference-2009/</guid>
		<description><![CDATA[English I never aware of SharePoint Conference before, but this year there will be SharePoint Conference 2009 with almost 250 sessions planned. And I hope we can get closer to know SharePoint 2010. Taken from MS SharePoint Team blog, here are the sessions…. SharePoint 2010 Overview and What’s New Upgrading to SharePoint 2010 SharePoint [...] <a href="http://blog.libinuko.com/2009/08/17/sharepoint-conference-2009/">[read more...]</a>]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>English    </p>
<p>I never aware of SharePoint Conference before, but this year there will be SharePoint Conference 2009 with almost 250 sessions planned. And I hope we can get closer to know SharePoint 2010.</p>
<p>Taken from <a href="http://blogs.msdn.com/sharepoint/archive/2009/08/13/session-sneak-peek-for-the-sharepoint-conference-2009.aspx">MS SharePoint Team blog</a>, here are the sessions….</p>
<ul>
<li>SharePoint 2010 Overview and What’s New </li>
<li>Upgrading to SharePoint 2010 </li>
<li>SharePoint 2010 Capacity and Performance Planning </li>
<li>SharePoint 2010 Security and Identity Management: What’s New. </li>
<li>Visual Studio 2010 Tools for Office Development </li>
<li>SharePoint 2010 Ribbon, ECMAScript and Dialog Framework Development </li>
<li>Developing with REST and LINQ in SharePoint 2010 </li>
<li>Upgrading SharePoint Server 2007 Code to SharePoint 2010 </li>
<li>Building SharePoint Composite Applications with the Microsoft Application Platform </li>
<li>What’s New in Business Connectivity Services (The Business Data Catalog Evolves!) </li>
<li>FAST Search for SharePoint – Capabilities Deep-Dive </li>
<li>Advanced Dashboard Creation with PerformancePoint Services for SharePoint 2010 </li>
<li>Overview of Visio 2010 and Visio Services for SharePoint 2010 </li>
<li>SharePoint 2010 Web Content Management Deep-Dive </li>
<li>If You Build It, They Will Come: Driving End User Adoption </li>
</ul>
<p>I wish I could come to the conference.</p>
<p>&#160;</p>
<p>Indonesian    </p>
<p>Sejak mengenal SharePoint, saya tidak pernah tahu akan adanya SharePoint Conference; namun di tahun 2009 ini akan diselenggarakan SharePoint Conference dengan menampilkan sekitar 250 sesi. Melihat sesi-sesi yang akan ditampilkan, nampaknya SharePoint Conference 2009 ini akan memperkenalkan SharePoint 2010 kepada masyarakat umum. </p>
<p>Berikut ini adalah rancangan sesi yang akan tampil di konferensi, diambil dari blog MS <a href="http://blogs.msdn.com/sharepoint/archive/2009/08/13/session-sneak-peek-for-the-sharepoint-conference-2009.aspx">SharePoint Team</a>….</p>
<ul>
<li>SharePoint 2010 Overview and What’s New </li>
<li>Upgrading to SharePoint 2010 </li>
<li>SharePoint 2010 Capacity and Performance Planning </li>
<li>SharePoint 2010 Security and Identity Management: What’s New. </li>
<li>Visual Studio 2010 Tools for Office Development </li>
<li>SharePoint 2010 Ribbon, ECMAScript and Dialog Framework Development </li>
<li>Developing with REST and LINQ in SharePoint 2010 </li>
<li>Upgrading SharePoint Server 2007 Code to SharePoint 2010 </li>
<li>Building SharePoint Composite Applications with the Microsoft Application Platform </li>
<li>What’s New in Business Connectivity Services (The Business Data Catalog Evolves!) </li>
<li>FAST Search for SharePoint – Capabilities Deep-Dive </li>
<li>Advanced Dashboard Creation with PerformancePoint Services for SharePoint 2010 </li>
<li>Overview of Visio 2010 and Visio Services for SharePoint 2010 </li>
<li>SharePoint 2010 Web Content Management Deep-Dive </li>
<li>If You Build It, They Will Come: Driving End User Adoption </li>
</ul>
<p>I wish I could come to the conference.</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.libinuko.com/2009/08/17/sharepoint-conference-2009/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Office 2010 Technical Preview</title>
		<link>http://blog.libinuko.com/2009/08/05/office-2010-technical-preview/</link>
		<comments>http://blog.libinuko.com/2009/08/05/office-2010-technical-preview/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 03:44:02 +0000</pubDate>
		<dc:creator>cakriwut</dc:creator>
				<category><![CDATA[Free offer]]></category>
		<category><![CDATA[SharePoint 2007]]></category>

		<guid isPermaLink="false">http://blog.libinuko.com/?p=355</guid>
		<description><![CDATA[English Wow the wave of Office 2010 is going closer and closer.  After the announcement of limited invitation to Office 2010 Technical preview , thus who does not have a good luck could browse to watch introduction video here.  <a href="http://blog.libinuko.com/2009/08/05/office-2010-technical-preview/">[read more...]</a>]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>English</p>
<p>Wow the wave of Office 2010 is going closer and closer.  After the announcement of <a href="http://blogs.msdn.com/excel/archive/2009/05/12/microsoft-office-2010-technical-preview.aspx">limited invitation to Office 2010 Technical preview </a>, thus who does not have a good luck could browse to watch introduction <a href="http://www.microsoft.com/office/2010/">video here</a>.</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.libinuko.com/2009/08/05/office-2010-technical-preview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

