What is SPDisco.aspx file in Sharepoint 2010?

SPDisco.aspx file is a directory of all web services available in SharePoint. This file contains names and locations of all web service endpoints which is available in SharePoint.If you are creating  custom web service in SharePoint then you must do an entry of endpoints in SPDisco.aspx file. Location of SPDsico.aspx file is:“C:Program FilesCommon FilesMicrosoft SharedWeb … Read more

How to get the internal name of a column in a sharepoint list?

I was working on a SharePoint project, suddenly i got this error saying “The property or field not initialized”. I searched over net and found that the internal name of a field or column in SharePoint list might be different. Then I searched how to know the internal name of a field in sharepoint list … Read more

What is collection in C#

Collection classes are used to store data of specific types. All types of collection support IEnumerable interface. Below are collection classes used in C#.net, all classes come under System.Collection namespace. List – An array does not allow dynamic resize, but a list allows dynamic size. Example: List<int> list = new List<int>(); list.Add(1); list.Add(5); list.Add(7); list.Add(10); … Read more

Difference between constant, readonly and static in C#

Constant and ReadOnly keyword are used to make a field constant which value cannot be modified. Static keyword is used to make members static that can be shared by all the class. ConstantConstant fields or local variables must be assigned a value at the time of declaration and after that they cannot be modified. By … Read more

Exception handling in C#

Exception Handling in C#. Most .NET languages support exception handling. Essentially, when an error occurs in the application, the .NET Framework throws an exception that represents the problem. You can catch this object using an exception handler. If you fail to catch exception, code will be aborted, and the user will see an error message … Read more

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 False in Response.Redirect? The first parameter in Response.Redirect() define redirection to the next page. And … Read more

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 site, you can no longer save that site as a template. This is something you … Read more

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 part from visual studio to SharePoint site, you need to care about few things.There are … Read more

Difference between interface and abstract class

Difference between abstract class and interface is one of the most asked question in interview.Lets have a look on difference between interface and abstract class.  Abstract Class vs Interface  Abstract classed can have implementation for some of its members, but interface can not have implementation of any members.  An interface can not contain fields but … Read more

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 output will be combination of these both. 2 types of pages available in SharePoint  Application … Read more

RSS
YouTube
YouTube
Instagram