What is Event Recursion in SharePoint 2010? How to avoid it?

Event recursion or Event handler recursion is a problem which occurs in event receiver. Event recursion will update your item again and again. Event recursion is a reason for poor performance of SharePoint site. How to Avoid Event Recursion When working with event receivers, there is always a chance that your code will trigger the … Read more

Interface explained in easy steps

Interface is similar to a class but with only declaration and no definition. Below are few code to explain interface in easy steps. Interface member can not have definition. They have only declaration. interface ITest{void Method();} All members in interface are by default public. No need to add explicit accessmodifier. interface can not contain fields.In … Read more

Interview questions for SharePoint asked in companies

Hi readers, I am sharing the experience of the SharePoint interview in this article.Here are few questions that were asked in some major companies in SharePoint interview. Let’s see few important questions for interview purpose which are useful for SharePoint Developer job. Important SharePoint Interview Questions 1. What is workflow ?2. How you will access … Read more

Custom Event Receiver in SharePoint

What is Event Receiver in SharePoint? By creating event receivers, you can respond when a user interacts with SharePoint objects such as lists or list items. Feature receivers provide developers with an opportunity to execute code as a feature goes through different stages. The following is the list of feature event receivers: FeatureActivated  FeatureDeactivating   … Read more

Allow unsafe update vs run with elevated privileges in sharepoint

In this blog, we will see the differences between AllowUnsafeUpdates and RunWithElevatedPrivileges What is allow unsafe update and run with elevated privileges in SharePoint 2010? What are the differences between Allow unsafe update and RWEP. AllowUnsafeUpdates Vs RunWithElevatedPrivileges AllowUnsafeUpdates –  AllowUnsafeUpdates is set to true when you are trying to update the database.To GET the … Read more

How to automatically generate unique id in sql?

In sql there are many options to generate unique number. Here I am explaining about how to generate standard unique number in sql. Below is sql query : CREATE TABLE dbo.tblTable1  (ID INT IDENTITY(1,1) NOT NULL PRIMARY KEY CLUSTERED,   UserID AS UID + RIGHT(00000000 + CAST(ID AS VARCHAR(8)), 8) PERSISTED,   username varchar(200),city varchar(200)  )

what are differences between classic mode and claim based authentication in SharePoint 2010

what are differences between classic mode and claim based authentication in SharePoint 2010 Classic mode authentication: This is nothing but windows authentication. It means it will work based on you windows logged in credentials. There is a problem in classic mode authentication. Once a site is created under this authentication then Form based authentication can … Read more

How to work with features in SharePoint?

How to work with features in SharePoint? Feature deployment and activation in sharepoint Feature is used to give some enhancement in SharePoint site. Please follow below steps to use feature in SharePoint site.Paste these two .xml files in below location.C:Program FilesCommon FilesMicrosoft Sharedwebserver extensions12TEMPLATEFEATURESmyfolderHere is both .xml files. feature.xml (code)<?xml version=”1.0″ encoding=”utf-8″ ?><Feature xmlns=”http://schemas.microsoft.com/sharepoint/”Id=”5DFD12AF-D0AA-4c63-8FB8-C49DB1191083″    … Read more

Introduction to WCF.

What is WCF? WCF stands for Windows Communication Foundation. The main use of WCF is to develop distributed system. WCF main feature is interoperability. What are Advantages of using WCF? 1. Interoperability 2. Scalability 3. Enhance security and reliability compared to ASMX (Web services) WCF services have following elements Message – This is the object … Read more

RSS
YouTube
YouTube
Instagram