Tip – Get SharePoint Version Number

37 votes, 4.14 avg. rating (82% score)

Tip – Find SharePoint Version Number

Give the SharePoint url with “_vti_pvt/service.cnf” which shows the current version of SharePoint site.

In the below example “http://app1:42466” is my SharePoint 2013 dev site



SharePoint Build Numbers list


Powershell script to display versions and language packs


February 9, 2016 · Adi · No Comments

Deploy dll to GAC using Powershell

4 votes, 5.00 avg. rating (97% score)

Deploy dll to GAC

Following snippet will help to add dll to GAC using powershell.

[System.Reflection.Assembly]::Load("System.EnterpriseServices, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")            
$publish = New-Object System.EnterpriseServices.Internal.Publish            

The above snippet will add TestApp.dll to GAC. To remove dll from GAC, use $publish.GacRemove

Enterprise Services Class

February 9, 2016 · Adi · No Comments

SharePoint 2016 Release Candidate is available now

2 votes, 5.00 avg. rating (96% score)

SharePoint 2016 RC

Microsoft has released SharePoint 2016 RC (on Jan-20-2016). SharePoint Server 2016 Beta 2 users can update to the RC by installing patch SharePoint Server 2016 Release Candidate Patch

SharePoint 2016 RC Features

Here are the list of features

Access Services

New Access features are available when you deploy Access Services in SharePoint Server 2016 Release Candidate .

For more information, see Access Services.


Compliance features

New compliance features for SharePoint Server 2016 Release Candidate include the document deletion and in-place hold policies.

For more information, see Compliance features.


Read the rest of this post »

February 8, 2016 · Adi · No Comments

SharePoint 2016 IT Preview Test VM

8 votes, 4.50 avg. rating (89% score)

SharePoint 2016 Test VM

If you are looking for SharePoint 2016 Test VM, you can get one on azure. It is SharePoint 2016 IT Preview VM.


Though SharePoint 2016 Beta2 is released recently, test ITPreview is also good one to experience the new features.

Some feel good things:
awesome UI fastness, more capabilities if you right click on the document,
No more SharePoint Designer, Download and upload files faster with BITS,
HTML 5 with deep investment in 2016 is very good for responsive design and much more……
(I will try to publish comprehensive post with new features once I setup test VM)

Keep following Bill Baer blog also for any official release information

I will keep posted on the updates with any useful information. Keep sharing your thoughts and anything that helps community
Enjoy this tech space :)

November 25, 2015 · Adi · No Comments

SharePoint 2016 Beta 2 release

2 votes, 5.00 avg. rating (96% score)

Now SharePoint 2016 moved one more step forward from IT preview. SharePoint 2016 Beta 2 is released, check out the features at


More happenings in the forum about SharePoint 2016, hangout here


You cannot install SharePoint 2016 Beta 2 in Production environment (I know you won’t ask this question though :))
No upgrade capabilities available for SharePoint Beta 2. Just test it like geek and enjoy the coming features in advance.

November 23, 2015 · Adi · No Comments

Office 365 – SharePoint Online: Creating basic SharePoint Hosted App

6 votes, 4.50 avg. rating (89% score)


Apps for SharePoint are self-contained pieces of functionality that you write to extend the capabilities of SharePoint websites to solve well-defined business problems. An app for SharePoint You can say it’s just a replacement of Sandbox solution in earlier version. An App for SharePoint can have SharePoint component or remote component. One of the best feature in SharePoint apps it’s not using the SharePoint server object model; it means it’s not running on SharePoint server. Server side code completely replace with client side code (E.g. CSOM/JSOM/REST Api). It is faster because it runs at client side

What are covered in this snippet

  • Types of SharePoint apps intro
  • Full procedure of How to Create Basic SharePoint Hosted App

Read the rest of this post »

October 28, 2015 · Adi · No Comments

Best way of Listview custom paging with Datapager and objectdatasource

3 votes, 4.33 avg. rating (87% score)


Listview with paging is very frequent usage for asp.net webapplication. In this post we will see how we can achieve best performance paging with listview.
I ended up explaining to some of the senior developers what is meant by paging and why we implement. This basic and very important thing should always be remembered.
Hope this post will cover how to implement paging for any large amount of data.

While binding listview, the best way is get only current page data. When user clicks next page, the next page data should be fetched.
Pagination display should be managed by getting total number of records in the datasource table.
If the code does not follow this basic logic, then the purpose of using paging implementation is not achieved.

What are covered in this article

  • Listview paging using datapager and objectdatasource the optimized way
  • Getting only current page contents (do not get full data)
  • Setting pager control by getting total number of records
  • Refresh objectdatasource data if any update happens
  • Load specific page
  • Access page controls in selectmethod of objectdatasource
  • Manage dispose of objectdatasource

Listview paging using datapager and objectdatasource the optimized way

Read the rest of this post »

October 18, 2015 · Adi · No Comments

Snippet – Get selected text or selected html in a div using jquery

7 votes, 5.00 avg. rating (98% score)


Snippet – Get selected text or selected html in a div using jquery very easily.

Get Selected Html of div

Read the rest of this post »

October 16, 2015 · Adi · No Comments

Quick way to copy custom text to clipboard using Jquery

3 votes, 3.67 avg. rating (77% score)


Very quick and simple code snippet with jquery to copy text to clipboard. Call the method and you can paste the text. This will be custom way of sending text to clipboard

Copy text to clipboard

function copyToClipboard(valuetocopy) 
	var $tempInput = $("<input>");
	$tempInput.val(valuetocopy).select(); //select the text
	document.execCommand("copy"); //this will trigger the copy that is selected in above line
	$tempInput.remove(); //remove the temporary input

October 16, 2015 · Adi · No Comments

Easily Download any Feed (RSS or Atom) Data in C#

2 votes, 5.00 avg. rating (96% score)


Simple and very useful code snippet to download rss feed data to xml file. It works for both RSS and ATOM feeds. It is very useful snippet without putting much lines of code. No need to compare feed types also while downloading

What are covered in this snippet

  • Download feed data irrespective of type rss or atom
  • You will not get error: ‘Element’ is an invalid XmlNodeType
  • Sorting with pubdate within xDocument object
  • Finding the type of feed

Read the rest of this post »

October 5, 2015 · Adi · No Comments