Monday, February 09, 2015

Exam 70-488 - Implement Authentication and Authorization in SharePoint 2013


70-488 Exam preparation guide on "Implement Authentication and Authorization in SharePoint 2013".

Download Link Open in new window or Tab} : Implement Authentication and Authorization in SharePoint 2013"

I am preparing this notes for understanding the exam syllabus and co relating the each aspect with my real time experience , so I am firmly hope it will be useful for developers who wants to take exam and updates them quickly without spending much time.

In this document I covered the below topics with screenshot, brief notes and my own screenshot which is tested on my local VM before to understand the theory.


  1. Creating custom claim provider
  2. Details about default Identity Provider
  3. Kerberos Authentication in SharePoint 2013
  4. Microsoft Single Sign - On Assistant for Client application authentication
  5. How to deploy the claim provider in the SharePoint Farm.
  6. App authentication and Authorization.
  7. App authorization - Types of Policy
  8. OAuth - How to and When to use.
  9. TokenHelper Class
  10. Updating / revoke the App Permission.

You can also find my recent exam preparation notes on "Plan and design SharePoint sites".
Download link  {Open in new window or Tab } Plan and design SharePoint sites


Download link :
Notes on "Access and manage data in SharePoint 2013 App"


Friday, February 06, 2015

SharePoint 2016 preview

Last couple of years Microsoft closely focused on cloud technologies and mobilities and SharePoint capabilities to Office 365. The best suites are Power BI and Yammer integration.

Recently Office Delve,been announced.Its new search approach that targets on Office 365 products such as Office documents thats shared with public in OneDrive,people and conversation in the social sites.

Still most of the companies are yet to move and don't want scrap all the investment in their SharePoint infrastructure over the night.

Considering this, Microsoft started to announce the new version of SharePoint with bunch of new features those are specific to Cloud environment yet still around in on on-premise.

May be advanced hybrid SharePoint environment with cloud experience.

Click the link for further details  SharePoint 2016 Preview.


Monday, January 26, 2015

JSOM in SharePoint 2013 Application Page.

In this  post, I am talking about how to use the auto intellisense in the Visual Studio 2012  when you decided to use the JavaScript Object Model in an application page.

If you are familiar with SharePoint App model development using NAPA or Visual Studio, you might seen the required JS files from JSOM,

  • jquery-1.9.1.js
  • MicrosoftAjax.js
  • SP.Core.js"
  • SP.Runtime.js
  • SP.js
loads from the _layout folders but those are not useful when you wanted to use auto intellisense in the Visual Studio.
The hardcore developer knows how the intellisense are useful in the language,especially on Debugging.

There are so many namespaces,properties and methods are introduced in SP.JS,and we can identify them and leverage in our application using the auto intellisense feature of Visual Studio.


Follow these steps to achieve this,

Inside your layout folder in the Solution add the "Script" folder.
Create the _references.js file
Add the below JS files from the "Layout" folder under "Template" folder in 15 hive.

  • jquery-1.9.1.js
  • MicrosoftAjax.js
  • SP.Core.js
  • SP.Runtime.js
  • SP.js

Now in your application page under"PageHead" content area include the script tags and reference them using src property.

Now you are ready to go javascript function,and check the auto intellisense available for your objects.
But be ensure that _reference.js files looks like in the screen and added to your script folder inside your layout project folder.



Saturday, January 17, 2015

Remote event receiver in SharePoint 2013.

Quick glance on   Remote event receiver.

  • Remote event receiver can be attached to SharePoint list event , List item event.


When you add the remote event receiver item, Visual Studio 2012 adds the WCF service to your project as shown here.
After adding the remote event receiver template from the Visual studio to your project, a wcf service file .svc will be added to your web project and list type file will be added to your SharePoint App project.Click and choose the properties of the list type, select the desired events to be triggered on your SharePoint app.





  • Remote event triggered by web service (WCF) in which turn communicates with SharePoint and SharePoint send back to Access Control Service (Azure - AD or on premise AD) to get its token to be validated.


  • Once the token validates by the ACS,then remote event receiver starts to firing.
  • Remote Event receivers works only on Provider host not on SharePoint hosted app.


  • Remote event receiver can be debugged by configuring the Visual Studio 2012. On project select the SharePoint tab ,Check the "Enable remote event debugging".


To do this,you need to create the "Service Bus" service in Azure subscription. This is basically debug has to be run outside of your SharePoint environment and validate your Office 365 user authentication to trigger the event on SharePoint.


  • Remote event receiver supports synchronous and asynchronous using methods.

ProcessEvent (sync) method that takes SPRemoteEventProperties - Item Adding,deleting..etc parameter and
ProcessOneWayEvent (async) (SPRemoteEventProperties properties) - Item added,item deleted..