<?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>Pritam Baldota, Author at Pritam&#039;s Blog</title>
	<atom:link href="https://www.pritambaldota.com/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.pritambaldota.com/author/admin/</link>
	<description>cloud technology, enterprise architecture</description>
	<lastBuildDate>Thu, 13 Feb 2020 03:50:14 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8</generator>
	<item>
		<title>The request body did not contain the specified number of bytes. Got 0, expected xxx &#8211; Internet Explorer Issue</title>
		<link>https://www.pritambaldota.com/the-request-body-did-not-contain-the-specified-number-of-bytes-got-0-expected-xxx-internet-explorer-issue/</link>
					<comments>https://www.pritambaldota.com/the-request-body-did-not-contain-the-specified-number-of-bytes-got-0-expected-xxx-internet-explorer-issue/#respond</comments>
		
		<dc:creator><![CDATA[Pritam Baldota]]></dc:creator>
		<pubDate>Fri, 19 Jun 2015 23:56:17 +0000</pubDate>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[re-post error]]></category>
		<guid isPermaLink="false">http://www.pritambaldota.com/?p=135</guid>

					<description><![CDATA[<p>When you try to re-POST subsequent requests from Internet Explorer browser it only sends only the header data is posted. As a result you will&#8230;</p>
<p>The post <a href="https://www.pritambaldota.com/the-request-body-did-not-contain-the-specified-number-of-bytes-got-0-expected-xxx-internet-explorer-issue/">The request body did not contain the specified number of bytes. Got 0, expected xxx &#8211; Internet Explorer Issue</a> appeared first on <a href="https://www.pritambaldota.com">Pritam&#039;s Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>When you try to re-POST subsequent requests from Internet Explorer browser it only sends only the header data is posted. As a result you will receive error in response &#8211; <strong>The request body did not contain the specified number of bytes. Got 0, expected xxx</strong>. There is already a Hotfix available at Microsoft Knowledge Base <a href="https://support.microsoft.com/en-gb/kb/895954" target="_blank" rel="noopener noreferrer">https://support.microsoft.com/en-gb/kb/895954</a>.</p>
<p><strong>General Repro Steps &#8211;</strong></p>
<ol>
<li>For every first XMLHttpRequest, a keep alive connection (TCP Connection) is created which is used by any subsequent request. If the connection is forcibly closed by the browser, then browsers will try to create a new connection by resubmitting the request.</li>
<li>For GET Requests it will work without any issues. But for POST it will only send Request Headers and not the body in Internet Explorer. That&#8217;s why you will receive error &#8211; <strong>The request body did not contain the specified number of bytes. Got 0, expected xxx</strong>.</li>
<li>As a solution either install above mentioned Hotfix or Use NEW unique URL by adding TimeStamp to URL to avoid any re-POST request.</li>
</ol>
<p>For e.g.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="js">var urlToPost = "ajaxUrlToPost.svc?stamp=' + new Date().getTime();</pre>
<p>The post <a href="https://www.pritambaldota.com/the-request-body-did-not-contain-the-specified-number-of-bytes-got-0-expected-xxx-internet-explorer-issue/">The request body did not contain the specified number of bytes. Got 0, expected xxx &#8211; Internet Explorer Issue</a> appeared first on <a href="https://www.pritambaldota.com">Pritam&#039;s Blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.pritambaldota.com/the-request-body-did-not-contain-the-specified-number-of-bytes-got-0-expected-xxx-internet-explorer-issue/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>SharePoint 2010/2013 Date Comparison in different Time Zones</title>
		<link>https://www.pritambaldota.com/sharepoint-2010-2013-date-comparison-in-different-time-zones/</link>
					<comments>https://www.pritambaldota.com/sharepoint-2010-2013-date-comparison-in-different-time-zones/#respond</comments>
		
		<dc:creator><![CDATA[Pritam Baldota]]></dc:creator>
		<pubDate>Wed, 03 Jun 2015 23:55:48 +0000</pubDate>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[SharePoint 2013]]></category>
		<category><![CDATA[Date Operation in different time zones]]></category>
		<category><![CDATA[DateTime Conversion in SharePoint]]></category>
		<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[sharepoint 2013]]></category>
		<guid isPermaLink="false">http://www.pritambaldota.com/?p=123</guid>

					<description><![CDATA[<p>Working with DateTime in SharePoint is always tricky since it stores values internally in UTC and when we tried to access it in CSOM or&#8230;</p>
<p>The post <a href="https://www.pritambaldota.com/sharepoint-2010-2013-date-comparison-in-different-time-zones/">SharePoint 2010/2013 Date Comparison in different Time Zones</a> appeared first on <a href="https://www.pritambaldota.com">Pritam&#039;s Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Working with DateTime in SharePoint is always tricky since it stores values internally in UTC and when we tried to access it in CSOM or SOM in different Time zone we have to be very careful while filtering on Created, Modified Date columns.</p>
<p>Time Zone plays very crucial roles in any Date Time difference calculation. When we do difference in two date times, it must be in same Time Zone offset otherwise the result will never be correct. Here, <a href="https://msdn.microsoft.com/en-us/library/system.timezoneinfo(v=vs.110).aspx" target="_blank" rel="noopener noreferrer">TimeZoneInfo</a> class plays main role. To get specific time zone details we have to use <a href="https://msdn.microsoft.com/en-us/library/system.timezoneinfo.findsystemtimezonebyid(v=vs.110).aspx" target="_blank" rel="noopener noreferrer">TimeZoneInfo.FindSystemTimeZoneById</a> method which will take input of Zone Id. All available Time Zone Id&#8217;s can be found at MSDN <a href="https://msdn.microsoft.com/en-us/library/gg154758.aspx" target="_blank" rel="noopener noreferrer">https://msdn.microsoft.com/en-us/library/gg154758.aspx</a>.</p>
<p>To explain this problem lets take a example that we need to find all SharePoint List items which was created in last 5 minutes.</p>
<p>First we will retrieve all Items from a List which is created Today. We will use CAML Query to get these items.</p>


<pre class="wp-block-code"><code>// Store result in temporary Table
DataTable dataResult = new DataTable();
dataResult.Columns.Add("ID");
dataResult.Columns.Add("Title");

//Get List Data
SPWeb sbWeb = SPContext.Current.Site.RootWeb;
SPList list = sbWeb.GetList("MyCustomList");
SPQuery listQuery = new SPQuery();

// Get items for todays date
listQuery.Query = "&lt;Where>&lt;Eq>&lt;FieldRef Name='Created' />&lt;Value Type='DateTime'>&lt;Today />&lt;/Value>&lt;/Eq>&lt;/Where>";
SPListItemCollection items = list.GetItems(listQuery);</code></pre>



<p>Iterate through each list item and perform Date time conversion.</p>



<pre class="wp-block-code"><code>foreach(SPListItem item in items) {
	if (item&#91;“Title”] != null &amp;&amp; item&#91;“ID”] != null) {

		// Get UTC Now Date Time
		DateTime utcNowDate = new DateTime(DateTime.UtcNow.Ticks, DateTimeKind.Utc);

		// Find the Server Time Zone Info which is configured under Central Administration -> Web Application -> General Settings
		TimeZoneInfo timeZoneInfo = TimeZoneInfo.FindSystemTimeZoneById(“Pacific Standard Time”);

		// Convert UTC Now Date Time to server’s Time Zone i.e. into Pacific Standard Time in our example.
		DateTime convertedUtcNowDateTime = TimeZoneInfo.ConvertTimeFromUtc(utcNowDate, timeZoneInfo);

		// Find the Date time difference into TimeSpan
		TimeSpan diffResult = convertedUtcNowDateTime–Convert.ToDateTime(item&#91;“Created”]);

		// Create 5 Minutes Time Span object
		TimeSpan fiveMinutesSpan = new TimeSpan(0, 5, 0);

		// Compare method will return -1 if first time interval is shorter than second and return 0 if both time interval are equal. Read more about this at https://msdn.microsoft.com/en-us/library/system.timespan.compare(v=vs.110).aspx
		int result = TimeSpan.Compare(diffResult, fiveMinutesSpan);

		// If result is 0 Or -1 it means items is created in last five minutes.
		if (a &lt; 1) {
			DataRow row = dataResult.NewRow();
			row&#91;"Title"] = item&#91;SPBuiltInFieldId.EncodedAbsUrl].ToString();
			row&#91;"ID"] = item&#91;ColumnName.ReportUrl].ToString();
			data.Rows.Add(dr);
		}
	}
}</code></pre>



<p> Resulting DataTable will have the filtered result. </p>
<p>The post <a href="https://www.pritambaldota.com/sharepoint-2010-2013-date-comparison-in-different-time-zones/">SharePoint 2010/2013 Date Comparison in different Time Zones</a> appeared first on <a href="https://www.pritambaldota.com">Pritam&#039;s Blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.pritambaldota.com/sharepoint-2010-2013-date-comparison-in-different-time-zones/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>jQuery based Resource Localization</title>
		<link>https://www.pritambaldota.com/jquery-based-resource-localization/</link>
					<comments>https://www.pritambaldota.com/jquery-based-resource-localization/#respond</comments>
		
		<dc:creator><![CDATA[Pritam Baldota]]></dc:creator>
		<pubDate>Sun, 31 May 2015 10:17:00 +0000</pubDate>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[SharePoint 2013]]></category>
		<category><![CDATA[jquery resources localization]]></category>
		<category><![CDATA[localization in javascript]]></category>
		<category><![CDATA[sharepoint localization in jquery]]></category>
		<category><![CDATA[web application localization in jquery]]></category>
		<guid isPermaLink="false">http://www.pritambaldota.com/?p=119</guid>

					<description><![CDATA[<p>Create client side (JavaScript) based Resource Localization in any web application. Extremely light-weight library, just 3KB (Minified) and 8KB(Debug) version. Implementing client side localization into&#8230;</p>
<p>The post <a href="https://www.pritambaldota.com/jquery-based-resource-localization/">jQuery based Resource Localization</a> appeared first on <a href="https://www.pritambaldota.com">Pritam&#039;s Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Create client side (JavaScript) based Resource Localization in any web application. Extremely light-weight library, just 3KB (Minified) and 8KB(Debug) version.</p>
<p>Implementing client side localization into any web application is always challenge. Most of web technologies provide localization using server-side technologies. For e.g. .Net application uses Resources Files(.resx) to implement localization into globalization application.</p>
<p>Nowadays world is extensively moving towards Asynchronous development models like AJAX / SPA. Several frameworks, libraries are already available on the web. To access these server side resources requires custom REST services / handlers to be additionally implemented into the host application.</p>
<p>This plugin makes life easier where you can manage all your localized resources into plain Text or JavaScript file. Based on current culture provided to this plugin, it loads associated resource entries for use. To enhance performance it Cache data for subsequent Initialization calls. So now no more server side development required for managing localization. It can be used in any web applications like SharePoint On-Premise / Online, Php, ASP.Net MVC, JAVA and many more as long as these technologies supports JavaScript.</p>
<p>Download Pugin from Github <a href="https://github.com/pritambaldota/jQuery-Resource-Localization" target="_blank">Github</a>.</p>
<p>Install via <a href="https://www.nuget.org/packages/PritamBaldota.JqueryResourceLocalization/" target="_blank">Nuget Package</a>.</p>
<p>The post <a href="https://www.pritambaldota.com/jquery-based-resource-localization/">jQuery based Resource Localization</a> appeared first on <a href="https://www.pritambaldota.com">Pritam&#039;s Blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.pritambaldota.com/jquery-based-resource-localization/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>JQuery Culture Information Plugin</title>
		<link>https://www.pritambaldota.com/jquery-culture-information-plugin/</link>
					<comments>https://www.pritambaldota.com/jquery-culture-information-plugin/#respond</comments>
		
		<dc:creator><![CDATA[Pritam Baldota]]></dc:creator>
		<pubDate>Sat, 30 May 2015 04:24:12 +0000</pubDate>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[javascript locale]]></category>
		<category><![CDATA[Jquery culture information plugin]]></category>
		<category><![CDATA[LCID Culture]]></category>
		<guid isPermaLink="false">http://www.pritambaldota.com/?p=104</guid>

					<description><![CDATA[<p>Accessing Culture Information for all available cultures in JavaScript is always difficult and most of the web developer has to search on internet for this&#8230;</p>
<p>The post <a href="https://www.pritambaldota.com/jquery-culture-information-plugin/">JQuery Culture Information Plugin</a> appeared first on <a href="https://www.pritambaldota.com">Pritam&#039;s Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Accessing Culture Information for all available cultures in JavaScript is always difficult and most of the web developer has to search on internet for this information. There may be several options available to fetch this information into Server-side technologies like ASP.Net, JAVA, PHP, and etc. But in JavaScript it is very difficult to find this information at one place.</p>
<p>To solve this problem, I have created small jQuery plugin which will give you this information at one place. You can search for Culture information by LCID (for e.g. 1033) or by Culture Name (for e.g. en-US), which will return you JSON Object. This plugin can be used in any of your favorite application which supports JavaScript.</p>
<ol>
<li>Refer to the Github Project <a href="https://github.com/pritambaldota/Jquery-Culture-Info" target="_blank">JQuery Culture Information Plugin</a> </li>
<li>Install via the <a href="https://www.nuget.org/packages/PritamBaldota.JqueryCultureInfo" target="_blank">NuGet Package</a> <strong>Install-Package PritamBaldota.JqueryCultureInfo</strong></li>
</ol>
<p>Sharing is Caring <img src="https://s.w.org/images/core/emoji/15.1.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>The post <a href="https://www.pritambaldota.com/jquery-culture-information-plugin/">JQuery Culture Information Plugin</a> appeared first on <a href="https://www.pritambaldota.com">Pritam&#039;s Blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.pritambaldota.com/jquery-culture-information-plugin/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Associate Custom Content Type with SharePoint 2010/2013 List Or Library using PowerShell</title>
		<link>https://www.pritambaldota.com/associate-custom-content-type-with-sharepoint-2010-2013-list-or-library-using-powershell/</link>
					<comments>https://www.pritambaldota.com/associate-custom-content-type-with-sharepoint-2010-2013-list-or-library-using-powershell/#respond</comments>
		
		<dc:creator><![CDATA[Pritam Baldota]]></dc:creator>
		<pubDate>Tue, 19 May 2015 04:44:57 +0000</pubDate>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[SharePoint 2013]]></category>
		<category><![CDATA[content types]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[sharepoint 2013]]></category>
		<guid isPermaLink="false">http://www.pritambaldota.com/?p=89</guid>

					<description><![CDATA[<p>To automate deployment in SharePoint 2010/2013 on-premise solution, we have to use PowerShell. One of the deployment activity is creating SharePoint Custom Lists/Libraries and associating&#8230;</p>
<p>The post <a href="https://www.pritambaldota.com/associate-custom-content-type-with-sharepoint-2010-2013-list-or-library-using-powershell/">Associate Custom Content Type with SharePoint 2010/2013 List Or Library using PowerShell</a> appeared first on <a href="https://www.pritambaldota.com">Pritam&#039;s Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>To automate deployment in SharePoint 2010/2013 on-premise solution, we have to use PowerShell. One of the deployment activity is creating SharePoint Custom Lists/Libraries and associating them with custom created content types. In this article we will be focusing only how to add/remove content types from the List/Library.</p>
<p><strong>To add content type follow below steps &#8211;</strong></p>
<ul>
<li>Get Reference to Site collection and root web to get the content types.</li>
</ul>
<p>[shell]</p>
<p>$siteRef = Get-SPSite http://domain/site<br />
$rootWebRef = $siteRef.RootWeb</p>
<p>[/shell]</p>
<ul>
<li>Get the target web reference to which content type will be added for List/Library.</li>
</ul>
<p>[shell]<br />
$web = Get-SPWeb http://domain/site/web<br />
[/shell]</p>
<ul>
<li>Get the reference to target list / library</li>
</ul>
<p>[shell]<br />
$listRef = $web.Lists[&#8220;List Title&#8221;]<br />
[/shell]</p>
<ul>
<li>Enable the management of content type for this list/library.</li>
</ul>
<p>[shell]</p>
<p>$listRef.ContentTypesEnabled  = $true<br />
$listRef.Update()</p>
<p>[/shell]</p>
<ul>
<li>Get the deployed Content Type reference from root web which will be added to the target list.</li>
</ul>
<p>[shell]<br />
$targetContentType= $rootWebRef.ContentTypes[&#8220;CustomContentType&#8221;]<br />
[/shell]</p>
<ul>
<li>Check if Content is already exists from ContentTypes collection of a List. If not found then add the content type to the list.</li>
</ul>
<p>[shell]<br />
$contentTypeExist = $listRef.ContentTypes[$contentType.Name]<br />
if($contentTypeExist -ne $null)<br />
{<br />
$listRef.ContentTypes.Add($targetContentType)<br />
$listRef.Update()<br />
}<br />
[/shell]</p>
<p><strong>To delete content type follow below steps &#8211;</strong></p>
<p>To delete content type association from list, we have to get the reference of associated content type and pass the Id of content type to Delete method on ContentTypes collection.</p>
<p>[shell]</p>
<p>$contentTypeExist = $listRef.ContentTypes[$contentType.Name]</p>
<p>$listRef.ContentTypes.Delete($contentTypeExist.Id)</p>
<p>[/shell]</p>
<p><strong>This is how the complete code will look like &#8211;</strong></p>
<p>[shell]</p>
<p>$siteRef = Get-SPSite http://domain/site<br />
$rootWebRef = $siteRef.RootWeb<br />
$web = Get-SPWeb http://domain/site/web</p>
<p>$listRef = $web.Lists[&#8220;List Title&#8221;]<br />
if ($listRef -ne $null)<br />
{<br />
$listRef.ContentTypesEnabled  = $true<br />
$listRef.Update()<br />
$targetContentType = $rootWebRef.ContentTypes[$contentType.Name]<br />
if($targetContentType -ne $null)<br />
{<br />
$contentTypeExist = $listRef.ContentTypes[$contentType.Name]<br />
if($contentTypeExist -ne $null)<br />
{<br />
Write-Host &#8220;Adding Content Type &#8211; &#8221; $targetContentType.Name -ForegroundColor Green<br />
$listRef.ContentTypes.Add($targetContentType)<br />
}<br />
else<br />
{<br />
Write-Host &#8221;  Content Type already exists &#8211; &#8221; $targetContentType.Name -ForegroundColor Green<br />
}<br />
}<br />
$listRef.Update()<br />
}</p>
<p>[/shell]</p>
<p>Happy Coding <img src="https://s.w.org/images/core/emoji/15.1.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>The post <a href="https://www.pritambaldota.com/associate-custom-content-type-with-sharepoint-2010-2013-list-or-library-using-powershell/">Associate Custom Content Type with SharePoint 2010/2013 List Or Library using PowerShell</a> appeared first on <a href="https://www.pritambaldota.com">Pritam&#039;s Blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.pritambaldota.com/associate-custom-content-type-with-sharepoint-2010-2013-list-or-library-using-powershell/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Understanding Features and Feature Scope in SharePoint 2010</title>
		<link>https://www.pritambaldota.com/understanding-features-and-feature-scope-in-sharepoint-2010/</link>
					<comments>https://www.pritambaldota.com/understanding-features-and-feature-scope-in-sharepoint-2010/#respond</comments>
		
		<dc:creator><![CDATA[Pritam Baldota]]></dc:creator>
		<pubDate>Thu, 21 Jun 2012 09:04:47 +0000</pubDate>
				<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[feature scope in sharepoint 2010]]></category>
		<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[sharepoint 2010 feature]]></category>
		<category><![CDATA[sharepoint feature scope]]></category>
		<category><![CDATA[sharepoint solutions]]></category>
		<guid isPermaLink="false">http://www.pritambaldota.com/?p=76</guid>

					<description><![CDATA[<p>What is SharePoint 2010 Features? SharePoint Features is part of Packaging and Deployment in SharePoint 2010 Features make it easier to activate or deactivate functionality&#8230;</p>
<p>The post <a href="https://www.pritambaldota.com/understanding-features-and-feature-scope-in-sharepoint-2010/">Understanding Features and Feature Scope in SharePoint 2010</a> appeared first on <a href="https://www.pritambaldota.com">Pritam&#039;s Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>What is <a title="Microsoft SharePoint 2010" href="http://sharepoint.microsoft.com/en-in/" target="_blank" rel="noopener noreferrer">SharePoint 2010</a> Features?</strong></p>
<ul>
<li>SharePoint Features is part of Packaging and Deployment in SharePoint 2010</li>
<li>Features make it easier to activate or deactivate functionality in the course of a deployment, and administrators can easily transform the template or definition of a site by simply toggling a particular Feature on or off in the user interface.</li>
<li>Features are stored under <strong>%ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\FEATURES</strong></li>
<li>The Feature subfolder includes a Feature.xml file and any number of supporting element files.</li>
<li>Features can be installed/uninstalled using STSADM tool, SharePoint Management Shell, Or Object Model.</li>
</ul>
<p><strong>Understanding Feature Scope</strong></p>
<ul>
<li>Sharepoint 2010 Can be scoped to Farm, Web Application, Site Collection, and Web Site level.</li>
<li>Feature Scope id defined by <strong>Scope </strong> attribute in feature.xml</li>
<li>Sample Feature will look like this</li>
</ul>
<p>&lt;Feature Id=&#8221;F62C96CF-79FD-44be-8882-E9BFBD199184&#8243;</p>
<p>Title=&#8221;Feature Title&#8221;</p>
<p>Description=&#8221;Feature Description&#8221;</p>
<p>Version=&#8221;1.0.0.0&#8243;</p>
<p><strong>Scope=&#8221;Site&#8221;</strong></p>
<p>Hidden=&#8221;false&#8221;&gt;</p>
<p>&lt;/Feature&gt;</p>
<p><strong>Web Site scoped Feature (Scope=&#8221;Web&#8221;)</strong></p>
<ul>
<li>Web Site Scoped feature can be activated at individual Web site level.</li>
<li>List Instances, Event Receivers, Custom Actions etc are the custom elements for Website scope features.</li>
<li>It can be activated by STSADM command like &#8221; stsadm &#8220;o installfeature &#8220;name FeatureFolderName &#8220;url <a href="http://sharepointserver/site/subsite">http://sharepointserver/site/subsite</a></li>
<li>Alternatively open site features page by site actions -&gt; site settings -&gt; modify all site settings -&gt;site features and click activate.</li>
</ul>
<p><strong>Site Collection scoped Feature (Scope=&#8221;Site&#8221;)</strong></p>
<ul>
<li>Site Collection Scoped feature can be activated at the site collection level.</li>
<li>It can contains item that can apply to Site Collection as a whole like content types that are shared across the site collection, as well as items that can be activated per site for e.g. List Instances, Event Receivers, Custom Actions etc</li>
<li>It can be activated by STSADM command like &#8221; stsadm &#8220;o installfeature &#8220;name FeatureFolderName &#8220;url <a href="http://sharepointserver/site/sitecollectionname">http://sharepointserver/site/sitecollectionname</a></li>
<li>Alternatively open site features page by site actions -&gt; site settings -&gt; modify all site settings -&gt;site features and click activate.</li>
</ul>
<p><strong>Web Application scoped Feature (Scope=&#8221;WebApplication&#8221;)</strong></p>
<ul>
<li>Web Application Scoped feature can be activated at the Web application level.</li>
<li>It can contains item like administrative web application links, delegate control registrations, document forms registration etc.</li>
<li>It can be activated by STSADM command like &#8221; stsadm &#8220;o installfeature &#8220;name FeatureFolderName &#8220;url <a href="http://sharepointserver/">http://sharepointserver</a></li>
<li>Alternatively open Manage Web Application Features from Central Administrator Central Administrator -&gt; Application Management -&gt; Manage Application Features and click activate.</li>
</ul>
<p><strong>Farm scoped Feature (Scope=&#8221;Farm&#8221;)</strong></p>
<ul>
<li>Farm Scoped feature can be activated at the Farm level.</li>
<li>It can contain number of element like application logic etc which can be applicable anywhere within deployment. It contacts links to /_layouts pages and files, /_admin pages etc.</li>
<li>It can be activated by STSADM command like &#8221; stsadm &#8220;o installfeature &#8220;name FeatureFolderName</li>
<li>Alternatively open Manage Farm Features from Central Administrator Central Administrator -&gt; Operations -&gt; Manage Application Features and click activate.</li>
<li>Farm scope feature will be activated automatically once it is installed on server.</li>
</ul>
<p><strong>References</strong></p>
<p><a href="http://msdn.microsoft.com/en-us/library/ms460318.aspx">http://msdn.microsoft.com/en-us/library/ms460318.aspx</a></p>
<p><a href="http://www.etechplanet.com/blog/understanding-scope-of-sharepoint-features-%28wss-30moss-2007%29.aspx">http://www.etechplanet.com/blog/understanding-scope-of-sharepoint-features-(wss-30moss-2007).aspx</a></p>
<p>The post <a href="https://www.pritambaldota.com/understanding-features-and-feature-scope-in-sharepoint-2010/">Understanding Features and Feature Scope in SharePoint 2010</a> appeared first on <a href="https://www.pritambaldota.com">Pritam&#039;s Blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.pritambaldota.com/understanding-features-and-feature-scope-in-sharepoint-2010/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Web Application Limits and Boundaries in SharePoint 2010</title>
		<link>https://www.pritambaldota.com/web-application-limits-and-boundaries-in-sharepoint-2010/</link>
					<comments>https://www.pritambaldota.com/web-application-limits-and-boundaries-in-sharepoint-2010/#respond</comments>
		
		<dc:creator><![CDATA[Pritam Baldota]]></dc:creator>
		<pubDate>Thu, 21 Jun 2012 08:24:28 +0000</pubDate>
				<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[sharepoint 2010 limits and boundaries]]></category>
		<category><![CDATA[sharepoint web application limits]]></category>
		<guid isPermaLink="false">http://www.pritambaldota.com/?p=72</guid>

					<description><![CDATA[<p>This article describes Microsoft SharePoint Server 2010 software boundaries and limits. These include the following: Exceeding any of Supported limits may cause Performance Issue in&#8230;</p>
<p>The post <a href="https://www.pritambaldota.com/web-application-limits-and-boundaries-in-sharepoint-2010/">Web Application Limits and Boundaries in SharePoint 2010</a> appeared first on <a href="https://www.pritambaldota.com">Pritam&#039;s Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This article describes <a title="Microsoft SharePoint 2010" href="http://sharepoint.microsoft.com/en-in/Pages/default.aspx" target="_blank" rel="noopener noreferrer">Microsoft SharePoint Server 2010</a> software boundaries and limits. These include the following:</p>
<p>Exceeding any of Supported limits may cause Performance Issue in SharePoint 2010.</p>
<ul>
<li>Maximum size of Document in SharePoint 2010 is 2GB</li>
<li>Default Threshold of Document Size in SharePoint 2010 is 50MB</li>
<li><strong>250000 maximum recommended number of site collections</strong> per Web application is supported in SharePoint 2010</li>
<li><strong>300 Content Databases</strong> Per Web Application are supported</li>
<li><strong>Maximum 5 Zones per Web Application</strong>. (Default, Intranet, Internet, Extranet, and Custom. Zones limit defined for farm is hard-coded.</li>
<li>Managed paths are cached on the Web server, and CPU resources are used to process incoming requests against the managed path list. Maximum 20 number of Managed Path per Web Application supported.</li>
<li><strong>Maximum 300 MB Solution Cache Size per Web Application</strong>. The solution cache allows the InfoPath Forms service to hold solutions in cache in order to speed up retrieval of the solutions.</li>
</ul>
<p>&nbsp;</p>
<p><strong>References:</strong></p>
<p><a href="http://technet.microsoft.com/en-us/library/cc262787.aspx">http://technet.microsoft.com/en-us/library/cc262787.aspx</a></p>
<p>The post <a href="https://www.pritambaldota.com/web-application-limits-and-boundaries-in-sharepoint-2010/">Web Application Limits and Boundaries in SharePoint 2010</a> appeared first on <a href="https://www.pritambaldota.com">Pritam&#039;s Blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.pritambaldota.com/web-application-limits-and-boundaries-in-sharepoint-2010/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is AJAX</title>
		<link>https://www.pritambaldota.com/what-is-ajax/</link>
					<comments>https://www.pritambaldota.com/what-is-ajax/#respond</comments>
		
		<dc:creator><![CDATA[Pritam Baldota]]></dc:creator>
		<pubDate>Fri, 15 Apr 2011 07:41:04 +0000</pubDate>
				<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[web]]></category>
		<guid isPermaLink="false">http://www.pritambaldota.com/?p=65</guid>

					<description><![CDATA[<p>What is AJAX ? AJAX is Asynchronous JavaScript And XML. The XmlHttpRequest is an actual object which works behind the scene. Ajax implementation uses JavaScript&#8230;</p>
<p>The post <a href="https://www.pritambaldota.com/what-is-ajax/">What is AJAX</a> appeared first on <a href="https://www.pritambaldota.com">Pritam&#039;s Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1><strong>What is AJAX ?</strong></h1>
<ul>
<li><a title="AJAX - Asynchronous JavaScript And XML" href="http://en.wikipedia.org/wiki/Ajax_(programming)" target="_blank" rel="noopener noreferrer">AJAX </a>is <strong>A</strong>synchronous <strong>J</strong>avaScript <strong>A</strong>nd <strong>X</strong>ML.</li>
<li>The <a title="XMLHttpRequest" href="http://www.w3.org/TR/XMLHttpRequest/" target="_blank" rel="noopener noreferrer">XmlHttpRequest </a>is an actual object which works behind the scene.</li>
<li>Ajax implementation uses JavaScript functions to call methods from a webservice, webpage request in response to get response.</li>
<li>Response data is parsed using <a title="DOM - Document Object Model" href="http://en.wikipedia.org/wiki/Document_Object_Model" target="_blank" rel="noopener noreferrer">DOM</a>.</li>
<li>Asynchronous data retrieval using XmlHttpRequest</li>
</ul>
<h2><strong>Advantages of AJAX</strong></h2>
<ul>
<li>Reduce the traffic travels between the client and the server.</li>
<li>Response time is faster so increases performance and speed.</li>
<li>You can use <a title="JSON - JavaScript Object Notation" href="http://en.wikipedia.org/wiki/JSON" target="_blank" rel="noopener noreferrer">JSON </a>(JavaScript Object Notation) which is alternative to <a title="XML - Extensible Markup Language" href="http://en.wikipedia.org/wiki/XML" target="_blank" rel="noopener noreferrer">XML</a>. JSON is key value pair and works like an array.</li>
<li>You can use Firefox browser with an add-on called as Firebug to debug all Ajax calls.</li>
<li>Ready Open source JavaScript libraries available for use &#8211; JQuery, Prototype, Scriptaculous, etc..</li>
<li>AJAX communicates over <a title="HTTP (Hypertext Transfer Protocol)" href="http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol" target="_blank" rel="noopener noreferrer">HTTP </a>Protocol.</li>
</ul>
<h2><strong>Disadvantages of AJAX</strong></h2>
<ul>
<li>It can increase design and development time</li>
<li>More complex than building classic web application</li>
<li>Security is less in AJAX application as all files are downloaded at client side.</li>
<li>Search Engine like <a title="Google" href="http://en.wikipedia.org/wiki/Google" target="_blank" rel="noopener noreferrer">Google</a> cannot index AJAX pages.</li>
<li>JavaScript disabled browsers cannot use the application.</li>
<li>Due to security constraints, you can only use it to access information from the host that served the initial page. If you need to display information from another server, it is not possible within the AJAX.</li>
</ul>
<p><strong><span style="font-weight: normal;"><br />
</span></strong></p>
<p>The post <a href="https://www.pritambaldota.com/what-is-ajax/">What is AJAX</a> appeared first on <a href="https://www.pritambaldota.com">Pritam&#039;s Blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.pritambaldota.com/what-is-ajax/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Garbage Collection in .NET</title>
		<link>https://www.pritambaldota.com/garbage-collection-in-net/</link>
					<comments>https://www.pritambaldota.com/garbage-collection-in-net/#respond</comments>
		
		<dc:creator><![CDATA[Pritam Baldota]]></dc:creator>
		<pubDate>Fri, 15 Apr 2011 03:29:32 +0000</pubDate>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[ASP.Net]]></category>
		<guid isPermaLink="false">http://www.pritambaldota.com/?p=61</guid>

					<description><![CDATA[<p>Garbage Collection in .NET Garbage Collector provide automatic Memory Management in .NET. It is Component of .net CLR (Common Language Runtime). Follow are the advantages&#8230;</p>
<p>The post <a href="https://www.pritambaldota.com/garbage-collection-in-net/">Garbage Collection in .NET</a> appeared first on <a href="https://www.pritambaldota.com">Pritam&#039;s Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1>Garbage Collection in .NET</h1>
<p>Garbage Collector provide automatic Memory Management in .NET. It is Component of .net CLR (Common Language Runtime). Follow are the advantages of Garbage Collection â€“</p>
<ul>
<li>It allocates memory objects on heap efficiently.</li>
<li>Develop application without worrying about releasing of memory.</li>
<li>Reclaims object that are no longer in use, clear their memory and keep it available for future memory allocations.</li>
<li>Memory Safe as cannot direct access memory of other objects.</li>
</ul>
<h2><strong>Fundamentals of Memory â€“ </strong></h2>
<ul>
<li>Each process has its own, separate virtual address space; on 32-bit computers each process has a 2-GB user-mode virtual address space.</li>
<li>Garbage collector is responsible for Allocation and frees virtual memory on Managed Heap.</li>
<li>Virtual memory can be in three state â€“ FREE , RESERVED, COMMITTED</li>
<li>We can run out of memory if run out of virtual address space to reserve or physical space to commit.</li>
</ul>
<h2><strong>When Garbage Collection runs-</strong></h2>
<ul>
<li>System has low physical memory</li>
<li>The memory that is used by allocated objects on the managed heap surpasses an acceptable threshold. This means that a threshold of acceptable memory usage has been exceeded on the managed heap. This threshold is continuously adjusted as the process runs.</li>
<li>The GC.Collect method is called. In almost all cases, you do not have to call this method, because the garbage collector runs continuously. This method is primarily used for unique situations and testing.</li>
</ul>
<h2><strong>What is Managed Heap?</strong></h2>
<ul>
<li>Garbage Collector allocates segment of memory for objects which is called Managed Heap.</li>
<li>Each managed process has managed heap.</li>
<li>Win32<strong> VirtualAlloc </strong>and <strong>VirtualFree </strong> functions called by garbage collector to reserve or release segment of memory.<strong> </strong></li>
<li>After triggering Garbage Collector, it reclaims the memory occupied by dead objects and compact live objects so they live together. This process will make heap smaller.</li>
<li>Heap can be considered as : <strong>Large Object Heap</strong> and <strong>Small Object Heap</strong></li>
<li>Objects with size 85000 bytes and larger will go on <strong>Large Object Heap.</strong></li>
</ul>
<h2><strong>Generations</strong></h2>
<ul>
<li>Heap is organized into generations which can easily handle long live objects and short lived objects.</li>
<li>There are three generations â€“ Generation 0 , Generation 1, Generation 2</li>
<li><strong>Generation 0 â€“ </strong>This is youngest generation for newly created objects. Garbage collector reclaims memory from this Generation most frequently. For e.g. Temporary variables, new objects<strong> </strong></li>
<li><strong>Generation 1 â€“ </strong>Short lived objects are resides in this generation. As soon as Garbage collector starts reclaiming memory, objects from Generation 0 will move to Generation 1 if they are still in use.<strong> </strong></li>
<li><strong>Generation 2 â€“ </strong>Long lived objects are resides in this generation. For e.g. Static variables.<strong> </strong></li>
</ul>
<p>You can find detailed article on &#8211; <a title="Microsoft MSDN - Garbage Collection" href="http://msdn.microsoft.com/en-us/library/ee787088.aspx" target="_blank" rel="noopener noreferrer">http://msdn.microsoft.com/en-us/library/ee787088.aspx</a></p>
<p>The post <a href="https://www.pritambaldota.com/garbage-collection-in-net/">Garbage Collection in .NET</a> appeared first on <a href="https://www.pritambaldota.com">Pritam&#039;s Blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.pritambaldota.com/garbage-collection-in-net/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Web Service in ASP.Net (SOAP)</title>
		<link>https://www.pritambaldota.com/web-service-in-asp-net-soap/</link>
					<comments>https://www.pritambaldota.com/web-service-in-asp-net-soap/#respond</comments>
		
		<dc:creator><![CDATA[Pritam Baldota]]></dc:creator>
		<pubDate>Thu, 03 Feb 2011 08:52:56 +0000</pubDate>
				<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[soap]]></category>
		<guid isPermaLink="false">http://www.pritambaldota.com/?p=59</guid>

					<description><![CDATA[<p>What is Web Service in ASP.net (SOAP) SOAP is an XML-based messaging framework specifically designed for exchanging formatted data across the Internet, for example using&#8230;</p>
<p>The post <a href="https://www.pritambaldota.com/web-service-in-asp-net-soap/">Web Service in ASP.Net (SOAP)</a> appeared first on <a href="https://www.pritambaldota.com">Pritam&#039;s Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>What is Web Service in ASP.net (SOAP)</strong></p>
<ul>
<li>SOAP is an XML-based messaging framework specifically designed for exchanging formatted data across the Internet, for example using request and reply messages or sending entire documents.</li>
<li>completely neutral with respect to operating system, programming language, or distributed computing platform</li>
<li>A better way was needed to describe the messages and how they are exchanged. The Web Services Description Language (WSDL) is a particular form of an XML Schema, developed by Microsoft and IBM for the purpose of defining the XML message, operation, and protocol mapping of a web service accessed using SOAP or other XML protocol.</li>
<li>The WSDL syntax allows both the messages and the operations on the messages to be defined abstractly, so they can be mapped to multiple physical implementations.</li>
<li>WSDL creates web service definitions by mapping a group of endpoints into a logical sequence of operations on XML messages. The same XML message can be mapped to multiple operations (or services) and bound to one or more communications protocols (using &#8220;ports&#8221;).</li>
<li>The Universal Description, Discovery, and Integration (UDDI) framework defines a data model (in XML) and SOAP APIs for registration and searches on business information, including the web services a business exposes to the Internet.</li>
<li>UDDI is an independent consortium of vendors, founded by Microsoft, IBM, and Ariba, for the purpose of developing an Internet standard for web service description registration and discovery.</li>
<li>The information in UDDI is categorized according to industry type and geographical location, allowing UDDI consumers to search through lists of potentially matching businesses to find the specific one they want to contact.</li>
<li>When you create a Web reference, Visual Studio creates an XML Web service proxy class automatically and adds it to your project. This proxy class exposes the methods of the XML Web service and handles the marshalling of appropriate arguments back and forth between the XML Web service and your application. Visual Studio uses the Web Services Description Language (WSDL) to create the proxy.</li>
</ul>
<p>The post <a href="https://www.pritambaldota.com/web-service-in-asp-net-soap/">Web Service in ASP.Net (SOAP)</a> appeared first on <a href="https://www.pritambaldota.com">Pritam&#039;s Blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.pritambaldota.com/web-service-in-asp-net-soap/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
