SharePointCafe Admin
When Should We Use Response.Redirect(url,false) in C# code?
.
In this article, we are going to learn about Response.Redirect() in C#. So, Response.Redirect() may accept 2 parameters, one is the URL and another one is a boolean value i.e. True or False. What is the use of True and…
How to enable publishing feature in a team site in SharePoint 2010
.
How to enable publishing feature in a team site in SharePoint 2010 On a team site also publishing feature can be enabled.But once you enable the Publishing feature on a collaborative site, such as a team site or a blank…
Type is not registered as safe- Error is coming when deploying the web part to SharePoint site.
.
Type is not registered as safe- Error is coming when deploying the web part to SharePoint site. Type is not registered as safe Error is coming when deploying the web part to SharePoint site.As you all know while deploying web…

Abstract Class Vs Interface in C#
.
Abstract Class Vs Interface is one of the most asked questions in an interview. In this article, we will learn what are the main differences between abstract class and interface. And also we will know in which cases abstract classes…
What are types of pages in SharePoint ? Explain the concept of ghosting and unghosting
.
All sites in SharePoint are the collection of web pages. There are 2 types of concept in paging. Ghosting and unghosting. SharePoint pages from 2 places on are from database or another one from disk i.e. from virtual path.Ideally the…
Getting started with LINQ in C#
.
What is LINQ? LINQ stands for Language Integrated Query. LINQ defines keywords that you can use to select, filter, sort, group, and transform data. The minor miracle of LINQ is that different LINQ providers allow these keywords to work with…
SharePoint 2010 Search
.
Crawler: Crawling is the process of gathering data from content sources and storing it in databases for use by the query server. Indexer: Indexing is the process of turning data gathered by the crawler into logical structured data that is usable by…
Caching in ASP.NET
.
Cache means to store it in a temp memory for future use. Caching is often used to store information thatโs frequently served to users in a faster manner.In this blog, I will write about Caching in ASP.net. What is caching…

All about Web Service, SOAP and RESTful Service
.
In the previous blog, we have seen โWhat is SOA (Service Oriented Architecture)?โIn this blog, we will see in detail about Web Services, SOAP-based web services, and RESTful web services. You may also see one of my blogs WCF vs Web…
Error while restoring sql database in microsoft sql server 2012
.
I found below error while restoring a database to Microsoft SQL Server 2012.System.Data.SqlClient.SqlError: The operating system returned the error 5(Access is denied.) I solved this problem by doing below step:In restore window, from left side pane click on FilesThen in…
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…
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…
How to work with Event Handler step by step in Share Point?
.
How to work with Event Handler step by step in Share Point? Even handler is executed when some operation occurs in SharePoint site.Suppose you want to add event handler when an item will be added, or item will be deleted…
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…
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…
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 –…
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…
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…
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…
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…


