Sharepoint Interview Question Part1
asp.net execution with
IIS
http handlers and modules
custom web part using user control
what is the best way to use user control in SharePoint
GC external calling
dispose, finalize
feature creation and deployment in SharePoint
SharePoint designer
form installation in SharePoint
ensure child control use?
shall i migrate sub site from SP 2010 to SP 2013
how can i do load and stress testing in SharePoint
performance testing in SharePoint
how to write custom workflow using WWF
http handlers and modules
custom web part using user control
what is the best way to use user control in SharePoint
GC external calling
dispose, finalize
feature creation and deployment in SharePoint
SharePoint designer
form installation in SharePoint
ensure child control use?
shall i migrate sub site from SP 2010 to SP 2013
how can i do load and stress testing in SharePoint
performance testing in SharePoint
how to write custom workflow using WWF
• What is Office 365 ,
SharePoint online?
• How does SharePoint online actually work?
• What is the use of SQL server in SharePoint & use of Virtual path provider?
• What is Ghosting and UnGhosting in SharePoint?
• How can we create a site in SharePoint online?
• How can we Customize a SharePoint Site?
• What kind of ready made functional modules exists collaboration?
• Can you display a simple Custom Page in SharePoint?
• How can we implement behind code ASPX pages in SharePoint?
• What is the concept of features in SharePoint?
• I want a feature to be only displayed to admin?
• How do we debug SharePoint error’s?
• Why customized pages are parsed using no-compile mode?
• Can you explain SPO model?
• How can we use custom controls in SharePoint?
• How can we display ASCX control in SharePoint pages?
• What is WebPart and App Part?
• How can we achieve customization and personalization using App Part?
• How does SharePoint online actually work?
• What is the use of SQL server in SharePoint & use of Virtual path provider?
• What is Ghosting and UnGhosting in SharePoint?
• How can we create a site in SharePoint online?
• How can we Customize a SharePoint Site?
• What kind of ready made functional modules exists collaboration?
• Can you display a simple Custom Page in SharePoint?
• How can we implement behind code ASPX pages in SharePoint?
• What is the concept of features in SharePoint?
• I want a feature to be only displayed to admin?
• How do we debug SharePoint error’s?
• Why customized pages are parsed using no-compile mode?
• Can you explain SPO model?
• How can we use custom controls in SharePoint?
• How can we display ASCX control in SharePoint pages?
• What is WebPart and App Part?
• How can we achieve customization and personalization using App Part?
What are the
scheduling options to run a session
Can you start a batches with in a batch?
Can you start a session inside a batch individually?
what is inline view?
checkout and check in in informatica 8.6
how did u understand business requirement?
How do you configure mapping in informatica?
How to Join Tables my Source is having 15 table target is one?
How many types of dimensions are available in Informatica?
What is the difference between stop and abort?
How can you recognize whether or not the newly added rows in the source are gets insert in the target?
What is the difference between Informatica 7.0 and 8.0 ?
Performance tuning in Informatica?
Can you start a batches with in a batch?
Can you start a session inside a batch individually?
what is inline view?
checkout and check in in informatica 8.6
how did u understand business requirement?
How do you configure mapping in informatica?
How to Join Tables my Source is having 15 table target is one?
How many types of dimensions are available in Informatica?
What is the difference between stop and abort?
How can you recognize whether or not the newly added rows in the source are gets insert in the target?
What is the difference between Informatica 7.0 and 8.0 ?
Performance tuning in Informatica?
What does AllowUnsafeUpdates do?
If your code modifies Windows SharePoint Services data in some way, you may need to allow unsafe updates on the Web site, without requiring a security validation. You can do by setting the AllowUnsafeUpdates property. C#:
view sourceprint?
using(SPSite mySite = new SPSite("yourserver"))
{ using(SPWeb myWeb = mySite.OpenWeb())
{
myWeb.AllowUnsafeUpdates = true;
SPList interviewList = myWeb.Lists["listtoinsert"];
SPListItem newItem = interviewList.Items.Add();
newItem["interview"] = "interview";
newItem.Update();
}
}
What does RunWithElevatedPrivileges do?
Assume that you have a Web Part in which you want to display information obtained through the Windows SharePoint Services object model, such as the name of the current site collection owner, usage statistics, or auditing information. These are examples of calls into the object model that require site-administration privileges. Your Web Part experiences an access-denied error if it attempts to obtain this information when the current user is not a site administrator. The request is initiated by a nonprivileged user. you can still successfully make these calls into the object model by calling the RunWithElevatedPrivileges method provided by the SPSecurity class. C#:
view sourceprint?
SPSite siteColl = SPContext.Current.Site;
SPWeb site = SPContext.Current.Web;
SPSecurity.RunWithElevatedPrivileges(delegate()
{
using (SPSite ElevatedsiteColl = new SPSite(siteColl.ID))
{
using (SPWeb ElevatedSite = ElevatedsiteColl.OpenWeb(site.ID))
{
string SiteCollectionOwner = ElevatedsiteColl.Owner.Name;
string Visits = ElevatedsiteColl.Usage.Visits.ToString();
string RootAuditEntries = ElevatedSite.RootFolder.Audit.GetEntries().Count.ToString();
}
}
});
- What is a SharePoint Feature? What files are used to define a feature?
A SharePoint Feature is a functional component that can be activated and deactivate at various scopes throughout a SharePoint instances.
Scopes include
• Farm
• WebApplication
• Site (site collection)
• Web (site)
Features have their own receiver architecture, which allow you to trap events such as when a feature is
• installing
• uninstalling
• activated
• deactivated
The element types that can be defined by a feature include
• menu commands
• link commands
• page templates
• page instances
• list definitions
• list instances
• event handlers
• workflows
The two files that are used to define a feature are
• feature.xml
• manifest file(elements.xml)
The feature XML file defines the actual feature and will make SharePoint aware of the installed feature. The manifest file contains details about the feature such as functionality.
Common stsadm commands associated with feature are
• stsadm -o installfeature
• stsadm -o uninstallfeature
• stsadm -o activatefeature
• stsadm -o deactivatefeature
- What are content types ?
A content type is a flexible and reusable WSS type definition that defines the columns and behavior for an item in a list or a document in a document library.
For example,
-you can create a content type for a customer presentation document with a unique set of columns, an event handler, and its own document template.
-You can create a second content type for a customer proposal document with a different set of columns, a workflow, and a different document template.
Then you can attach both the contenttypes to a document library, which allows you to capture metadata based on the contenttype selected during creation of the document.
Content type can be created by the following
• from the rootweb of a site collection, go to Site Action > Site Settings > Galleries > Site content types
• using a feature
Workflow can be applied to what all elements of SharePoint ?
While workflow associations are often created directly on lists and document libraries, a workflow association can also be created on a content type that exists within the Content Type Gallery for the current site or content types defined within a list.
In short, it can be applied ...
• At the level of a list (or document library)
• At the level of a content type defined at site scope
• At the level of a site ( Sharepoint 2010 )
- What are the ways to initiate the workflow ?
• Automatic (on item added or item deleted)
• Manual (standard WSS UI interface)
• Manual (Custom UI Interface)
• Programatically through custom code
7. What are the types of input forms that can be created for a workflow ?
You can create four different types of input forms including an association form, an initiation form, a modification form, and a task edit form. Note that these forms are optional when you create a workflow template.
8. What are ways to create input forms for workflow ?
Two different approaches can be used to develop custom input forms for a WSS workflow template.
• You can create your forms by using custom application pages, which are standard .aspx pages deployed to run out of the _layouts directory. ( disadv: lot of code required when compared to Infopath approach)
• using Microsoft Office InfoPath 2007 (disadv: picks up a dependenct on MOSS, i.e. it cannot run in a standalone WSS environment)
9. What is the difference between method activity and event activity in WF ?
A method activity is one that performs an action, such as creating or updating a task. An event activity is one that runs in response to an action occurring.
10. What does SPWeb.EnsureUser method do?
Checks whether the specified login name belongs to a valid user of the Web site, and if the login name does not already exist, adds it to the Web site. e.g SPUser usr = myWeb.EnsureUser("mmangaldas");
11. While creating a Webpart, which is the ideal location to Initialize my new controls ?
Override the CreateChildControls method to include your new controls. To make sure that the new controls are initialized.. call 'EnsureChildControls' in the webparts Render method. You can control the exact Rendering of your controls by calling the .Render method in the webparts Render method.
12. How to query from multiple lists ?
Use SPSiteDataQuery to fetch data from multiple lists. more details..
13.How Does SharePoint work?
The browser sends a DAV packet to IIS asking to perform a document check in. PKMDASL.DLL, an ISAPI DLL, parses the packet and sees that it has the proprietary INVOKE command. Because of the existence of this command, the packet is passed off to msdmserv.exe, who in turn processes the packet and uses EXOLEDB to access the WSS, perform the operation and send the results back to the user in the form of XML.
14. What is the difference between Syncronous & Asyncronous events?
Syncronous calls ending with 'ing' E.g. ItemDeleting Event Handler code execute BEFORE action is committed WSS waits for code to return Option to cancel and return error code
Asyncronous calls ending with 'ed' E.g. ItemDeleted Event Handler code executes AFTER action is committed WSS does not wait for code to return Executed in its own Worker thread.
15. What is ServerUpdate() ?
Any changes in the list, i.e. new addition or modification of an item.. the operation is complete by calling the Update method.But if a List is set to maintain versions .. and you are editing an item, but don't want to save it as a new version, then use the SystemUpdate method instead and pass in 'false' as the parameter.
16. What is query.ViewAttributes OR how can you force SPQuery to return results from all the folders of the list?
If you use SPQuery on any SPlist .. it will bring back results from the current folder only. If you want to get results from all the folders in the list.. then you need to specify the scope of the query by the use of ViewAttributes..
e.g. query.ViewAttributes = "Scope=\"Recursive\"";
Business Impact with existing applications:
Slow responsiveness to business and user needs
Costly custom development and maintenance
Poor sharing inside and outside the organization
Difficult to find the right content, data, and people
Increasing information management risk
Solution for above problems…. MOSS 2007
A unified, enterprise-ready solution that boosts organizational
Effectiveness by:
• making information and knowledge sharing intuitive and easy
• controlling and reusing content while reducing information management risk
Enabling faster and more insightful decision making
Is there any way to send Email in sharepoint?
Ans) Using SPUtility we can send Emails, but we can’t set priority of the email.
We can send a email using Sysntem.Net.Mail.
SPUtility.SendEmail(site, false, false, "e-mail_address", "Web Discussion Report", Msg);
http://www.fpweb.net/support/sharepoint-hosting/
Web parts: http://www.fpweb.net/support/sharepoint-hosting/download-web-parts.asp
How to Change the Logo on Your SharePoint Site
Change the Header image:
1. Log in to your SharePoint Site
2. On the right, click Site Actions >> Site Settings
3. Under Look and Feel click Title, Description, and Icon
4. Skip down to the Logo URL and Description section.
5. In the URL field, enter the full URL for the logo image you want at the top of your SharePoint site.
NOTE: If it’s your own image, you can first upload it to a document library on your SharePoint Site and copy the URL.
6. Click Click Here to Test to ensure the image appears correctly.
7. If the imageappears correctly, enter an Alternative text description for the image. This text will appear when you hover over the picture.
8. Click OK to complete the process.
To change the Site Image
1. Log in to your SharePoint Site
2. On the right, click Site Actions >> Edit Page. You will now be in Page Editing Mode.
3. Above the Site Image, you’ll see a box that says Site Image with edit in the right corner. Click edit.
4. Click Modify Shared Web Part
5. In the first field, entitled Image Link, insert the URL of the image that you would like to use.
NOTE: If it’s your own image, you can first upload it to a document library on your SharePoint Site and copy the URL.
6. Click Test Link to ensure the image appears correctly
7. If the imageappears correctly, enter an Alternative text description for the image. This text will appear when you hover over the picture.
8. Change any other options on the appearance of your Site Image.
9. Click Apply to view the change or OK to complete the process.
How to Change the Title on Your SharePoint Site
The SharePoint title is the title at the top of your SharePoint site and also in the top bar of your Web browser when you access your SharePoint site. Changing the title is simple, however you must have full control permissions to do so. If you meet this criteria, simply follow the steps below.
1. Log in to your SharePoint site
2. Click Site Actions >> Site Settings
3. Under Look and Feel click Title, Description, and Icon
4. In the Title and Description section, fill in the Title.
5. Click OK.
Q. What are the data types which are supported as Lookup column in SharePoint.?
Ans). Only Single Line of Text and Calculated columns are supported as lookup columns.
Q: Name at least two shared services available in MOSS 2007
A: Shared Services Providers in MOSS 2007 can provide the following shared services:
• User Profiles
• Audiences
• Personal Sites
• Search
• Excel Services
• Forms Services
• Business Data Catalog (Requires Enterprise Edition)
Q: (i) Describe the purpose of a content type and; (ii) give an example of where they might be used.
A: (i) A content type groups a set of list columns together so that they can be reused in the same way across sites. (ii) They could be used as a set of metadata columns that need to be applied to every document in a site collection
Q: What is the performance impact of RunWithElevatedPrivileges?
A: RunWithElevatedPrivileges creates a new thread with the App Pool's credentials, blocking your current thread until it finishes
Q: Describe the difference between a list and a library.
A: Lists are collections of metadata or columns, which can have attached documents.
Libraries are collections of documents (Excel, InfoPath, Word, etc.) plus optional metadata.
Q: Why would you use a custom column?
A: It allows you to re-use the column in multiple libraries. Particularly useful if you use a Choice type to restrict the user input to a predefined set of answers, and when that list of answers will likely change.
Q. When modifying a list item, what is the "main" difference between using SPListItem.Update() and SPListItem.SystemUpdate()?
A. Using SystemUpdate() will not create a new version and will also retain timestamps.
Sharepoint document library source page on the server?
Ans)1
When you create a document library template files from the "12 hive" are ghosted into the SharePoint content database (SQL). The only proper way to edit those pages at that point is to use Microsoft SharePoint Designer.
Open SharePoint Designer and open the SharePoint web site in question and you will see your document library listed in the file explorer. Under your document library you will see a Forms folder, that Forms folder is what contains the source files that are rendered to the browser
Ans)2
SharePoint does not store the pages directly in the filesystem. The mechanism is a little less straightforward.
To understand this mechanism, You have to understand the concepts of Ghosting/Unghosting, and the ASP.NET Virtual Path Provider. The SharePoint stores the pages in the Database as BLOBS, and serves them up using the ASP.NET Virtual path provider.
The ASP.NET Virtual Path Provider provides an abstraction between ASP.NET and FileSystem. Instead of getting a System.IO.FileStream object directly from the filesystem, the provider uses MapPathBasedVirtualPathProvider and the MapPathBasedVirtualFile classes to get the FileStream object.
This abstraction allows ASP.NET to serve up pages from anywhere, without having to store the pages in an actual file system. This concept is used to implement Ghosting/Unghosting which basically means having a single copy of the page, and serving them up as different pages.
SharePoint leverages this new feature in ASP.NET 2.0, along with the improved BLOB storage functionality in SQL Server 2005 to serve up pages
If your code modifies Windows SharePoint Services data in some way, you may need to allow unsafe updates on the Web site, without requiring a security validation. You can do by setting the AllowUnsafeUpdates property. C#:
view sourceprint?
using(SPSite mySite = new SPSite("yourserver"))
{ using(SPWeb myWeb = mySite.OpenWeb())
{
myWeb.AllowUnsafeUpdates = true;
SPList interviewList = myWeb.Lists["listtoinsert"];
SPListItem newItem = interviewList.Items.Add();
newItem["interview"] = "interview";
newItem.Update();
}
}
What does RunWithElevatedPrivileges do?
Assume that you have a Web Part in which you want to display information obtained through the Windows SharePoint Services object model, such as the name of the current site collection owner, usage statistics, or auditing information. These are examples of calls into the object model that require site-administration privileges. Your Web Part experiences an access-denied error if it attempts to obtain this information when the current user is not a site administrator. The request is initiated by a nonprivileged user. you can still successfully make these calls into the object model by calling the RunWithElevatedPrivileges method provided by the SPSecurity class. C#:
view sourceprint?
SPSite siteColl = SPContext.Current.Site;
SPWeb site = SPContext.Current.Web;
SPSecurity.RunWithElevatedPrivileges(delegate()
{
using (SPSite ElevatedsiteColl = new SPSite(siteColl.ID))
{
using (SPWeb ElevatedSite = ElevatedsiteColl.OpenWeb(site.ID))
{
string SiteCollectionOwner = ElevatedsiteColl.Owner.Name;
string Visits = ElevatedsiteColl.Usage.Visits.ToString();
string RootAuditEntries = ElevatedSite.RootFolder.Audit.GetEntries().Count.ToString();
}
}
});
- What is a SharePoint Feature? What files are used to define a feature?
A SharePoint Feature is a functional component that can be activated and deactivate at various scopes throughout a SharePoint instances.
Scopes include
• Farm
• WebApplication
• Site (site collection)
• Web (site)
Features have their own receiver architecture, which allow you to trap events such as when a feature is
• installing
• uninstalling
• activated
• deactivated
The element types that can be defined by a feature include
• menu commands
• link commands
• page templates
• page instances
• list definitions
• list instances
• event handlers
• workflows
The two files that are used to define a feature are
• feature.xml
• manifest file(elements.xml)
The feature XML file defines the actual feature and will make SharePoint aware of the installed feature. The manifest file contains details about the feature such as functionality.
Common stsadm commands associated with feature are
• stsadm -o installfeature
• stsadm -o uninstallfeature
• stsadm -o activatefeature
• stsadm -o deactivatefeature
- What are content types ?
A content type is a flexible and reusable WSS type definition that defines the columns and behavior for an item in a list or a document in a document library.
For example,
-you can create a content type for a customer presentation document with a unique set of columns, an event handler, and its own document template.
-You can create a second content type for a customer proposal document with a different set of columns, a workflow, and a different document template.
Then you can attach both the contenttypes to a document library, which allows you to capture metadata based on the contenttype selected during creation of the document.
Content type can be created by the following
• from the rootweb of a site collection, go to Site Action > Site Settings > Galleries > Site content types
• using a feature
Workflow can be applied to what all elements of SharePoint ?
While workflow associations are often created directly on lists and document libraries, a workflow association can also be created on a content type that exists within the Content Type Gallery for the current site or content types defined within a list.
In short, it can be applied ...
• At the level of a list (or document library)
• At the level of a content type defined at site scope
• At the level of a site ( Sharepoint 2010 )
- What are the ways to initiate the workflow ?
• Automatic (on item added or item deleted)
• Manual (standard WSS UI interface)
• Manual (Custom UI Interface)
• Programatically through custom code
7. What are the types of input forms that can be created for a workflow ?
You can create four different types of input forms including an association form, an initiation form, a modification form, and a task edit form. Note that these forms are optional when you create a workflow template.
8. What are ways to create input forms for workflow ?
Two different approaches can be used to develop custom input forms for a WSS workflow template.
• You can create your forms by using custom application pages, which are standard .aspx pages deployed to run out of the _layouts directory. ( disadv: lot of code required when compared to Infopath approach)
• using Microsoft Office InfoPath 2007 (disadv: picks up a dependenct on MOSS, i.e. it cannot run in a standalone WSS environment)
9. What is the difference between method activity and event activity in WF ?
A method activity is one that performs an action, such as creating or updating a task. An event activity is one that runs in response to an action occurring.
10. What does SPWeb.EnsureUser method do?
Checks whether the specified login name belongs to a valid user of the Web site, and if the login name does not already exist, adds it to the Web site. e.g SPUser usr = myWeb.EnsureUser("mmangaldas");
11. While creating a Webpart, which is the ideal location to Initialize my new controls ?
Override the CreateChildControls method to include your new controls. To make sure that the new controls are initialized.. call 'EnsureChildControls' in the webparts Render method. You can control the exact Rendering of your controls by calling the .Render method in the webparts Render method.
12. How to query from multiple lists ?
Use SPSiteDataQuery to fetch data from multiple lists. more details..
13.How Does SharePoint work?
The browser sends a DAV packet to IIS asking to perform a document check in. PKMDASL.DLL, an ISAPI DLL, parses the packet and sees that it has the proprietary INVOKE command. Because of the existence of this command, the packet is passed off to msdmserv.exe, who in turn processes the packet and uses EXOLEDB to access the WSS, perform the operation and send the results back to the user in the form of XML.
14. What is the difference between Syncronous & Asyncronous events?
Syncronous calls ending with 'ing' E.g. ItemDeleting Event Handler code execute BEFORE action is committed WSS waits for code to return Option to cancel and return error code
Asyncronous calls ending with 'ed' E.g. ItemDeleted Event Handler code executes AFTER action is committed WSS does not wait for code to return Executed in its own Worker thread.
15. What is ServerUpdate() ?
Any changes in the list, i.e. new addition or modification of an item.. the operation is complete by calling the Update method.But if a List is set to maintain versions .. and you are editing an item, but don't want to save it as a new version, then use the SystemUpdate method instead and pass in 'false' as the parameter.
16. What is query.ViewAttributes OR how can you force SPQuery to return results from all the folders of the list?
If you use SPQuery on any SPlist .. it will bring back results from the current folder only. If you want to get results from all the folders in the list.. then you need to specify the scope of the query by the use of ViewAttributes..
e.g. query.ViewAttributes = "Scope=\"Recursive\"";
Business Impact with existing applications:
Slow responsiveness to business and user needs
Costly custom development and maintenance
Poor sharing inside and outside the organization
Difficult to find the right content, data, and people
Increasing information management risk
Solution for above problems…. MOSS 2007
A unified, enterprise-ready solution that boosts organizational
Effectiveness by:
• making information and knowledge sharing intuitive and easy
• controlling and reusing content while reducing information management risk
Enabling faster and more insightful decision making
Is there any way to send Email in sharepoint?
Ans) Using SPUtility we can send Emails, but we can’t set priority of the email.
We can send a email using Sysntem.Net.Mail.
SPUtility.SendEmail(site, false, false, "e-mail_address", "Web Discussion Report", Msg);
http://www.fpweb.net/support/sharepoint-hosting/
Web parts: http://www.fpweb.net/support/sharepoint-hosting/download-web-parts.asp
How to Change the Logo on Your SharePoint Site
Change the Header image:
1. Log in to your SharePoint Site
2. On the right, click Site Actions >> Site Settings
3. Under Look and Feel click Title, Description, and Icon
4. Skip down to the Logo URL and Description section.
5. In the URL field, enter the full URL for the logo image you want at the top of your SharePoint site.
NOTE: If it’s your own image, you can first upload it to a document library on your SharePoint Site and copy the URL.
6. Click Click Here to Test to ensure the image appears correctly.
7. If the imageappears correctly, enter an Alternative text description for the image. This text will appear when you hover over the picture.
8. Click OK to complete the process.
To change the Site Image
1. Log in to your SharePoint Site
2. On the right, click Site Actions >> Edit Page. You will now be in Page Editing Mode.
3. Above the Site Image, you’ll see a box that says Site Image with edit in the right corner. Click edit.
4. Click Modify Shared Web Part
5. In the first field, entitled Image Link, insert the URL of the image that you would like to use.
NOTE: If it’s your own image, you can first upload it to a document library on your SharePoint Site and copy the URL.
6. Click Test Link to ensure the image appears correctly
7. If the imageappears correctly, enter an Alternative text description for the image. This text will appear when you hover over the picture.
8. Change any other options on the appearance of your Site Image.
9. Click Apply to view the change or OK to complete the process.
How to Change the Title on Your SharePoint Site
The SharePoint title is the title at the top of your SharePoint site and also in the top bar of your Web browser when you access your SharePoint site. Changing the title is simple, however you must have full control permissions to do so. If you meet this criteria, simply follow the steps below.
1. Log in to your SharePoint site
2. Click Site Actions >> Site Settings
3. Under Look and Feel click Title, Description, and Icon
4. In the Title and Description section, fill in the Title.
5. Click OK.
Q. What are the data types which are supported as Lookup column in SharePoint.?
Ans). Only Single Line of Text and Calculated columns are supported as lookup columns.
Q: Name at least two shared services available in MOSS 2007
A: Shared Services Providers in MOSS 2007 can provide the following shared services:
• User Profiles
• Audiences
• Personal Sites
• Search
• Excel Services
• Forms Services
• Business Data Catalog (Requires Enterprise Edition)
Q: (i) Describe the purpose of a content type and; (ii) give an example of where they might be used.
A: (i) A content type groups a set of list columns together so that they can be reused in the same way across sites. (ii) They could be used as a set of metadata columns that need to be applied to every document in a site collection
Q: What is the performance impact of RunWithElevatedPrivileges?
A: RunWithElevatedPrivileges creates a new thread with the App Pool's credentials, blocking your current thread until it finishes
Q: Describe the difference between a list and a library.
A: Lists are collections of metadata or columns, which can have attached documents.
Libraries are collections of documents (Excel, InfoPath, Word, etc.) plus optional metadata.
Q: Why would you use a custom column?
A: It allows you to re-use the column in multiple libraries. Particularly useful if you use a Choice type to restrict the user input to a predefined set of answers, and when that list of answers will likely change.
Q. When modifying a list item, what is the "main" difference between using SPListItem.Update() and SPListItem.SystemUpdate()?
A. Using SystemUpdate() will not create a new version and will also retain timestamps.
Sharepoint document library source page on the server?
Ans)1
When you create a document library template files from the "12 hive" are ghosted into the SharePoint content database (SQL). The only proper way to edit those pages at that point is to use Microsoft SharePoint Designer.
Open SharePoint Designer and open the SharePoint web site in question and you will see your document library listed in the file explorer. Under your document library you will see a Forms folder, that Forms folder is what contains the source files that are rendered to the browser
Ans)2
SharePoint does not store the pages directly in the filesystem. The mechanism is a little less straightforward.
To understand this mechanism, You have to understand the concepts of Ghosting/Unghosting, and the ASP.NET Virtual Path Provider. The SharePoint stores the pages in the Database as BLOBS, and serves them up using the ASP.NET Virtual path provider.
The ASP.NET Virtual Path Provider provides an abstraction between ASP.NET and FileSystem. Instead of getting a System.IO.FileStream object directly from the filesystem, the provider uses MapPathBasedVirtualPathProvider and the MapPathBasedVirtualFile classes to get the FileStream object.
This abstraction allows ASP.NET to serve up pages from anywhere, without having to store the pages in an actual file system. This concept is used to implement Ghosting/Unghosting which basically means having a single copy of the page, and serving them up as different pages.
SharePoint leverages this new feature in ASP.NET 2.0, along with the improved BLOB storage functionality in SQL Server 2005 to serve up pages
WIPRO SharePoint Interview
1. What are the new features that are introduced in SP 2007?
2.Difference between WSS 3.0 and MOSS 2007?
3. What is a feature in SP?
4.What Application Definition File contains?
5.Difference between SPSite and SPWeb?
6. Explain Object model in Sharepoint?
7. Sharepoint Architecture?
8. Asynchronous and Synchronous events in Sp?
1. What are the new features that are introduced in SP 2007?
2.Difference between WSS 3.0 and MOSS 2007?
3. What is a feature in SP?
4.What Application Definition File contains?
5.Difference between SPSite and SPWeb?
6. Explain Object model in Sharepoint?
7. Sharepoint Architecture?
8. Asynchronous and Synchronous events in Sp?
intelligroup Interview
Merge data from 2 custom list using spquery
How to create custom list definition in sharepoint
What is the base class used to create custom web part
How many ways we can create custom web part
What are the method names in custom web part
What is the method name to declare controls in custom web part
How to call user control in web part
List definition and list template
Can I customize application page and site page
Where will be available application page and site page
What is the use of element and feature xml files
How to declare feature dependency
Item.add and system.item.add diff
Merge data from 2 custom list using spquery
How to create custom list definition in sharepoint
What is the base class used to create custom web part
How many ways we can create custom web part
What are the method names in custom web part
What is the method name to declare controls in custom web part
How to call user control in web part
List definition and list template
Can I customize application page and site page
Where will be available application page and site page
What is the use of element and feature xml files
How to declare feature dependency
Item.add and system.item.add diff
Interview Guidelines
Make sure you remember one word during interview and that is Professionalism
Interviews are like anything else in life, they take practice to perfect. The job market is highly competitive so you should always maintain a high standard of professionalism. This is most certain going to impress your potential employer, as it will show focus and maturity.
Professionalism is: Presentation, Punctuality and Preparation.
Presentation:
Your physical presentation will mark your first impression. Wear a business suit for your interview. Interviewers start evaluating candidates the moment they enter the room. Hence, make it a point to dress smartly and impress the panelist.·
Always wear a smile on your face. It will positively contribute to your pleasing personality.·
Maintain eye contact with the interviewer. This adds a dash of confidence to your replies.·
Keep a track of your nervous gestures. Looking at your watch continuously or fidgeting with your pen will send wrong signals to the interviewer.·
Remember your interviewers’ names and pronounce them correctly.·
Do not begin with any negative note like, I had been waiting since long or it was too difficult to find venue etc..·
Punctuality:
Being on time is essential to a successful interview. Give yourself plenty of time to get to your destination, map out a route if you are unsure in any way. Being early gives you time to relax and prepare for your interview. If you are going to be late or unable to attend for any unforeseeable reason call ahead and let them know. This will show them that you are serious and that you take your commitments seriously. In case of delay from company side, they would be aware that there is a delay, no need to remind them once interview starts or expect a sorry, rather make best use of time available.
Preparation:
Keep extra copies of your resume with you. You may be asked to hand out a copy of resume to each of the interviewers for their reference.·
DISECT company website thoroughly. Thoroughly research the company’s features, standards, past performance and current news. Your overall knowledge about the company will be discussed.·
Have an idea about what is expected of you and what you expect of the company. You should be able to effectively articulate your expectations and voice your concerns to avoid any misunderstandings from either side.·
Keep your answers ready for questions regarding reasons to resign from the previous company, your current salary and expected pay package.·
Do not lie, even though you might be tempted to bend certain facts. Employers can easily verify your statements and lying will only destroy your image.·
Make sure you remember one word during interview and that is Professionalism
Interviews are like anything else in life, they take practice to perfect. The job market is highly competitive so you should always maintain a high standard of professionalism. This is most certain going to impress your potential employer, as it will show focus and maturity.
Professionalism is: Presentation, Punctuality and Preparation.
Presentation:
Your physical presentation will mark your first impression. Wear a business suit for your interview. Interviewers start evaluating candidates the moment they enter the room. Hence, make it a point to dress smartly and impress the panelist.·
Always wear a smile on your face. It will positively contribute to your pleasing personality.·
Maintain eye contact with the interviewer. This adds a dash of confidence to your replies.·
Keep a track of your nervous gestures. Looking at your watch continuously or fidgeting with your pen will send wrong signals to the interviewer.·
Remember your interviewers’ names and pronounce them correctly.·
Do not begin with any negative note like, I had been waiting since long or it was too difficult to find venue etc..·
Punctuality:
Being on time is essential to a successful interview. Give yourself plenty of time to get to your destination, map out a route if you are unsure in any way. Being early gives you time to relax and prepare for your interview. If you are going to be late or unable to attend for any unforeseeable reason call ahead and let them know. This will show them that you are serious and that you take your commitments seriously. In case of delay from company side, they would be aware that there is a delay, no need to remind them once interview starts or expect a sorry, rather make best use of time available.
Preparation:
Keep extra copies of your resume with you. You may be asked to hand out a copy of resume to each of the interviewers for their reference.·
DISECT company website thoroughly. Thoroughly research the company’s features, standards, past performance and current news. Your overall knowledge about the company will be discussed.·
Have an idea about what is expected of you and what you expect of the company. You should be able to effectively articulate your expectations and voice your concerns to avoid any misunderstandings from either side.·
Keep your answers ready for questions regarding reasons to resign from the previous company, your current salary and expected pay package.·
Do not lie, even though you might be tempted to bend certain facts. Employers can easily verify your statements and lying will only destroy your image.·
Microsoft SharePoint
Interview
Search:
1. What is the scope?
2. How will you change
the scheduling the scope?
3. How will you
configure search particular files like .pdf or .docx etc
4. Sharepoint
installed on server by default search is configured or not?
5. How will you to
configure search in particular webapplication?
Webpart:
1. What is webpart?
2. What is the
difference between visual webpart and normal webpart?
3. When your deployed
the visual webpart what are 4 files going to deploy
4. Tell me the steps
to deploy the solution? other than powershell,stsdam tool is there any other
way can we deploy the solution?
5. With
out restart the iis can we deploy any custom solutions
(webpart)?
6. What is the
difference between sandbox solutions and form solutions?
Timerjob:
1. What is the
timerjob?
2. How will you debug
the timerjob?
3. How can you deploy
timerjob in multiple servers(sharepoint servers)?
Workflow:
1. What are the new
workflows and events in SP2013?
2. When you will use
sequentional workflow and when will you use statemachine workflows?
3. How can we reopen
existing sharepoint visual studio workflow using sharepoint designer?
4. what is the
difference between (2010,2013) spd workflows and vs workflows?
Event Receivers:
1. What is the
difference between event receiver and workflow?(steps and real time scenarios)
2. Hierarchies of
event receivers
General:
1. What is feature?
2. What is the scope?
3. What is feature
stapling?
4. Any idea about
installation sharepoint server and configuration?
5. Some questions are
real time scenarios
Accenture SharePoint Interview
1. In C#, create a list that creates a notification (fires an
event) whenever the list contents are changed. You may reuse any existing
collection or .NET element. Focus on demonstrating notification not
implementing all the list methods.
2. What is garbage collection?
2. What is garbage collection?
Ans: garbage
collecter is menory management in .net framework. It will remove unused manage
objects from memory.
3. What is managed code and managed data?
Ans: the code which runs in CLR is managed code.The code which CLR can't understand that is unmanged code.
Ans: the code which runs in CLR is managed code.The code which CLR can't understand that is unmanged code.
4. Can I use COM objects from a .NET Framework program?
Ans: Yes, using com wraper class we can call COM objects.
Ans: Yes, using com wraper class we can call COM objects.
5. Create an interface hierarchy for UI elements: TextBox,
ListBox, ComboBox. Note, ComboBox “is-a” TextBox and a ListBox. Use UML and
code.
Ans:
6. What is the output of the program:
using System;
class A
{
~A() {
Console.WriteLine("Destruct instance of A");
}
}
class B
{
object Ref;
public B(object o) {
Ref = o;
}
~B() {
Console.WriteLine("Destruct instance of B");
}
}
class Test
{
static void Main() {
B b = new B(new A());
b = null;
GC.Collect();
GC.WaitForPendingFinalizers();
}
}
class A
{
~A() {
Console.WriteLine("Destruct instance of A");
}
}
class B
{
object Ref;
public B(object o) {
Ref = o;
}
~B() {
Console.WriteLine("Destruct instance of B");
}
}
class Test
{
static void Main() {
B b = new B(new A());
b = null;
GC.Collect();
GC.WaitForPendingFinalizers();
}
}
Ans:Destruct
instance of B
Destruct instance of A
Destruct instance of A
7. Write a class declaration for class A and B. Class B inherits
from A. Class A has-a integer element x and class B has-a integer element y.
Show how you could print out the fields x or x and y depending on the class
using the same “print” statement.
Ans) class Program
{
static void Main()
{
{
static void Main()
{
B b = new B();
b.printfromb();
b.printfromb();
}
}
public class A
{
public int x = 1;
}
public class A
{
public int x = 1;
}
class B : A
{
int y = 2;
public void printfromb()
{
Console.WriteLine("Print x" + x);
Console.WriteLine("Print x" + y);
class B : A
{
int y = 2;
public void printfromb()
{
Console.WriteLine("Print x" + x);
Console.WriteLine("Print x" + y);
}
}
8. Use the following class to create an Ellipse and Box class:
public abstract class Shape
{
public abstract void Paint(Graphics g);
}
public abstract class Shape
{
public abstract void Paint(Graphics g);
}
Show how you would
“paint”
Ans:
class Program
{
static void Main()
{
Graphics g;
Ellipse e = new Ellipse();
e.Paint(g);
class Program
{
static void Main()
{
Graphics g;
Ellipse e = new Ellipse();
e.Paint(g);
Box b = new Box();
b.Paint(g);
b.Paint(g);
}
}
public abstract class Shape
{
public abstract void Paint(Graphics g)
{
}
public abstract class Shape
{
public abstract void Paint(Graphics g)
{
}
}
public class Box:Shape
{
public void Paint(Graphics g)
{
Console.WriteLine("Print x" + g);
}
public class Box:Shape
{
public void Paint(Graphics g)
{
Console.WriteLine("Print x" + g);
}
}
class Ellipse : Shape
{
int y = 2;
public void Paint(Graphics g)
{
Console.WriteLine("Print x" + g);
class Ellipse : Shape
{
int y = 2;
public void Paint(Graphics g)
{
Console.WriteLine("Print x" + g);
}
}
9. Show how you would create a list programmatically in C# and
SharePoint with your own custom code.
SPSite site =
SPContext.Current.Site
SPWeb web = site.OpenWeb();
web.AllowUnsafeUpdates = true;
SPListTemplateCollection customListTemplates = site.GetCustomListTemplates(web);
SPListTemplate listTemplate = customListTemplates["listtemplatename"];
web.Lists.Add("User_Data", "A custom list to store user data", listTemplate)
web.Update();
SPWeb web = site.OpenWeb();
web.AllowUnsafeUpdates = true;
SPListTemplateCollection customListTemplates = site.GetCustomListTemplates(web);
SPListTemplate listTemplate = customListTemplates["listtemplatename"];
web.Lists.Add("User_Data", "A custom list to store user data", listTemplate)
web.Update();
10. Describe in point form how you would create your own event
receiver in SharePoint.
iteam added,
deleted, modefied.
11. Use C# and SharePoint API to demonstrate how you would
assign permission levels to an existing group.
SPSite site = null;
SPWeb web = null;
site = new SPSite("http://server:100/sites/DevSite/");
web = site.OpenWeb();
SPRoleAssignment roleAssignment = new SPRoleAssignment("domain\\user","alias@domain.com","test","You!");
SPRoleDefinition roleDefinition = web.RoleDefinitions.GetByType(SPRoleType.Contributor);
roleAssignment.RoleDefinitionBindings.Add(roleDefinition);
web.RoleAssignments.Add(roleAssignment);
SPWeb web = null;
site = new SPSite("http://server:100/sites/DevSite/");
web = site.OpenWeb();
SPRoleAssignment roleAssignment = new SPRoleAssignment("domain\\user","alias@domain.com","test","You!");
SPRoleDefinition roleDefinition = web.RoleDefinitions.GetByType(SPRoleType.Contributor);
roleAssignment.RoleDefinitionBindings.Add(roleDefinition);
web.RoleAssignments.Add(roleAssignment);
virtualization
web services
web services
web application
policy sharepoint 2010
sharepoint assign group permissions using object model code
sharepoint assign group permissions using object model code
web application
policy sharepoint 2010.
What is .NET Reflection?
.NET Framework's
Reflection API allows you to fetch type (assembly) information at runtime
programmatically. We can also achieve late binding by using .NET Reflection. At
runtime, the Reflection mechanism uses the PE file to read information about
the assembly. Reflection enables you to use code that is not available at
compile time. .NET Reflection allows an application to collect information
about itself and also to manipulate on itself. It can be used effectively to
find all types in an assembly and/or dynamically invoke methods in an assembly.
This includes information about the type, properties, methods, and events of an
object. With Reflection, we can dynamically create an instance of a type, bind
the type to an existing object, or get the type from an existing object and
invoke its methods or access its fields and properties. We can also access
attribute information using Reflection.
Using Reflection,
you can get any kind of information which you can see in a class viewer; for
example, information on the methods, properties, fields, and events of an
object
Sharepoint Developer Interview
How to get all
event receiver which i have added to server
Diff b/w .DWP and .webpart
Base calss for evert recivers
base class for custom web part
base class for sharepoint timer job
how to send email in sharepoint
base class for email sending
in item adding event how get item id
What is the CSS file name in sharepoint
What is application page and site page
what type of authontications are there in infopath..like trust levels
what is the extention of infpath
how infopath data will store in sharepoint
SSPs in MOSS 2007
farm installation
how to take the backup of sub site tell me STSADM command
what are the default OOB workflows in sharepoint.
how to deploy user control in sharepoint
how to call user control in webpart
data view web part and list view webpart
how to add data view web part in to sharepoint
how to add List view webpart in sharepoint
runwith elevated prvila..
how to add list item using objecy model code
how get list name using object model code
how many ways we can create object for site collection in object model
what we have use safe control
whare will be the feature available in sharepoint
how to make sharepoint 2010 site public
How to get todays items in a list
Diff b/w .DWP and .webpart
Base calss for evert recivers
base class for custom web part
base class for sharepoint timer job
how to send email in sharepoint
base class for email sending
in item adding event how get item id
What is the CSS file name in sharepoint
What is application page and site page
what type of authontications are there in infopath..like trust levels
what is the extention of infpath
how infopath data will store in sharepoint
SSPs in MOSS 2007
farm installation
how to take the backup of sub site tell me STSADM command
what are the default OOB workflows in sharepoint.
how to deploy user control in sharepoint
how to call user control in webpart
data view web part and list view webpart
how to add data view web part in to sharepoint
how to add List view webpart in sharepoint
runwith elevated prvila..
how to add list item using objecy model code
how get list name using object model code
how many ways we can create object for site collection in object model
what we have use safe control
whare will be the feature available in sharepoint
how to make sharepoint 2010 site public
How to get todays items in a list
What is Claim based
auth
Data view webpart
what is classic based
What is Sand box solution why we have to use
Custom site defination and site template which one will use in which cases
If i have application page in my solution which solution type i have to select and why
while running with run with elevated which account name will dispay
what we have install for "co authoring in sharepoint 2010"
what is req file to runn silverlight application sharepoint
How to get top 4 rows from sharepoint list using query
What is client object model- Give me objects related to Client Object Model.
How garbage collector will work in Sharepoint
How can i make my silverlight webpart live mean if i do some changes in SIlverLight it should change in Sharepoint web part.
Sharepoint Document management.
Document ID, Document set in Sharepoint.
Rooting of document, ex when i add excel file to document library it has to move to another library.
How to stop the event in Sharepoint 2010.
After and before properties in sharepoint.
User profiles in Sharepoint 2010.
What is infopath extention
A).xsn
Document Set in Sharepoint 2010
Document ID in Sharepoint 2010
Data view webpart
what is classic based
What is Sand box solution why we have to use
Custom site defination and site template which one will use in which cases
If i have application page in my solution which solution type i have to select and why
while running with run with elevated which account name will dispay
what we have install for "co authoring in sharepoint 2010"
what is req file to runn silverlight application sharepoint
How to get top 4 rows from sharepoint list using query
What is client object model- Give me objects related to Client Object Model.
How garbage collector will work in Sharepoint
How can i make my silverlight webpart live mean if i do some changes in SIlverLight it should change in Sharepoint web part.
Sharepoint Document management.
Document ID, Document set in Sharepoint.
Rooting of document, ex when i add excel file to document library it has to move to another library.
How to stop the event in Sharepoint 2010.
After and before properties in sharepoint.
User profiles in Sharepoint 2010.
What is infopath extention
A).xsn
Document Set in Sharepoint 2010
Document ID in Sharepoint 2010
Wipro SharePoint
Interview
Q)How to add
javascript in master page of sharepoint
Ans: We can add directly Js file in master page by adding
Ans: We can add directly Js file in master page by adding
asp:ScriptManager
Scripts
asp:ScriptReference
Scripts
asp:ScriptReference
Sharepoint2010
Javascript
Another way is by
adding webpart zone in masterpage and add Content Editor Web Part.
Q)How to configure
advanced search in sharepoint
How to configure form authentication in sharepoint
once i configure form auth advaced search will work or not?
if not what i have to do to work
how to configure document emailing
if mt sharepoint site is not working what i have to check first.
how to deploy wsp
how can we show friendlt error messages in sharepoint
How to configure form authentication in sharepoint
once i configure form auth advaced search will work or not?
if not what i have to do to work
how to configure document emailing
if mt sharepoint site is not working what i have to check first.
how to deploy wsp
how can we show friendlt error messages in sharepoint
DELL Sharepoint Interview
web part page life
cycle.
how to move Dev sharepoint site to QA
How to add Javascript in Sharepoint
Type of custom pages in sharepoint
what is WSP, how can we create WSP
how to validate stat date and end date values when users selects end date less than start date, with out code and javascript.
how to connect BSC.
How dispaly current logedin user.
Can i deply my BCS on announcement or task list.
A) No, we can do on external list only
what is the difference GAC deployment and site deployment of a web part
how to do restore and back up in sharepoint 2010
how to do export and import
how to change my search result in sharepoint 2010
When i access my sharepoint site, i have to use http://SERVER"port/Site page/a.aspx...Now i don't want to show site page, How can i do this.
Alternate access maping
what is sandbox solution, in what case you will go for sandbox and farm?
can i deploy my custom webpart in sandbox solution
what is event receivers
how to move Dev sharepoint site to QA
How to add Javascript in Sharepoint
Type of custom pages in sharepoint
what is WSP, how can we create WSP
how to validate stat date and end date values when users selects end date less than start date, with out code and javascript.
how to connect BSC.
How dispaly current logedin user.
Can i deply my BCS on announcement or task list.
A) No, we can do on external list only
what is the difference GAC deployment and site deployment of a web part
how to do restore and back up in sharepoint 2010
how to do export and import
how to change my search result in sharepoint 2010
When i access my sharepoint site, i have to use http://SERVER"port/Site page/a.aspx...Now i don't want to show site page, How can i do this.
Alternate access maping
what is sandbox solution, in what case you will go for sandbox and farm?
can i deploy my custom webpart in sandbox solution
what is event receivers
Value Labs Sharepoint Interview
How to debug
webpart in sp2010
what is exe name we will attach the process .
what is exe name we will attach the process .
Ans:w3wp.exe
what the features in enterprice vertion of sharepoint
what is use of add safe control to sharepoint
how to deploy a wsp in sharepoint
how to do ajax enable sharepoint site
how to add bcs connection to sharepoint
what is the namespace used in sharepoint for customworkflow
what changes we have to do in web.config for ajax sharepoint site
what are the limitataion in document librarary sharepoint 2010
how to migrate moss 2007 to sp2010
design patterns
rss feeds in sharepoint 2010
type of templates in sharepoint
which template we will use for CMS application
what is use of publishing websites
how to add .stp file to feature
how will deploy .stp file to sharepoint server
what r the diff b/w client and server in sharepoint 2010
can i install moss 2007 and sp2010 in same box (64bit)
show list data in using SSIS
sharepoint 2010 taxonomy example
what the features in enterprice vertion of sharepoint
what is use of add safe control to sharepoint
how to deploy a wsp in sharepoint
how to do ajax enable sharepoint site
how to add bcs connection to sharepoint
what is the namespace used in sharepoint for customworkflow
what changes we have to do in web.config for ajax sharepoint site
what are the limitataion in document librarary sharepoint 2010
how to migrate moss 2007 to sp2010
design patterns
rss feeds in sharepoint 2010
type of templates in sharepoint
which template we will use for CMS application
what is use of publishing websites
how to add .stp file to feature
how will deploy .stp file to sharepoint server
what r the diff b/w client and server in sharepoint 2010
can i install moss 2007 and sp2010 in same box (64bit)
show list data in using SSIS
sharepoint 2010 taxonomy example
TCS SharePoint
Interview
1) what is the architecture of the solution Packages
2) what kind of workflows needs to be developed to support for the 10 different Custom lists.
3) what are the Features Scopes?
4) what is Data View Web Part? is it out of box or not? how to develop it.
5) what are the Object Model Programming concepts used?
6) when we do not dispose the spsite or spweb objects? explain Scanario.
7) What is SPDataQuery?
8) What a is content Type?
9) How to attach Content Type with workflow
10) Create a master page?
11) Sharepoint Designer?
12) What is List Content type?
14) How to deploy the solutions in Dev, Sandbox and Staging to Production
15) How to add the modifications for the existing WSP Solutions
16) how many ways webpart can be developed? what are the classes? what is the diff between sharepoint WebPart and DotNet WebPart?
17) what type of security will sharepoint provide?
18) what are techical differences between MOSS 2007 and SP 2010
what is visual Webpart.
what is content type?
what is ULS?
what are sharepoint Logs?
what is farm based authentication?
how to make site and Public users and Admin Users?
how to show the data on the custom list for own users and when admin logs in, it should show complete data?
what are web parts?
what is Safe Control Entry?
what is difference between GAC and BIN Folder?
what is difference between Sharepoint Object Model and Client Object Model?
difference between Customlist and Document Library?
how to use sessions in sharepoint?
what is Sandbox Solution? difference between Farm Solution and Sandbox Solutions/
How to access the Resource from the Template folder when we use SandBox Solutions.
What is office 365?
What is visual webparts?
In which format Data will be stored in sharepoint?
difference between Application Pages and Site Pages?
What are Infopath forms?
What is BCS? diff between BDC and BCS?
what are Syncronous and Asyncronous Events?
1) what is the architecture of the solution Packages
2) what kind of workflows needs to be developed to support for the 10 different Custom lists.
3) what are the Features Scopes?
4) what is Data View Web Part? is it out of box or not? how to develop it.
5) what are the Object Model Programming concepts used?
6) when we do not dispose the spsite or spweb objects? explain Scanario.
7) What is SPDataQuery?
8) What a is content Type?
9) How to attach Content Type with workflow
10) Create a master page?
11) Sharepoint Designer?
12) What is List Content type?
14) How to deploy the solutions in Dev, Sandbox and Staging to Production
15) How to add the modifications for the existing WSP Solutions
16) how many ways webpart can be developed? what are the classes? what is the diff between sharepoint WebPart and DotNet WebPart?
17) what type of security will sharepoint provide?
18) what are techical differences between MOSS 2007 and SP 2010
what is visual Webpart.
what is content type?
what is ULS?
what are sharepoint Logs?
what is farm based authentication?
how to make site and Public users and Admin Users?
how to show the data on the custom list for own users and when admin logs in, it should show complete data?
what are web parts?
what is Safe Control Entry?
what is difference between GAC and BIN Folder?
what is difference between Sharepoint Object Model and Client Object Model?
difference between Customlist and Document Library?
how to use sessions in sharepoint?
what is Sandbox Solution? difference between Farm Solution and Sandbox Solutions/
How to access the Resource from the Template folder when we use SandBox Solutions.
What is office 365?
What is visual webparts?
In which format Data will be stored in sharepoint?
difference between Application Pages and Site Pages?
What are Infopath forms?
What is BCS? diff between BDC and BCS?
what are Syncronous and Asyncronous Events?
Cognizant technology solutions sharepoint interview
1st Round
1. What is the b/w SPD workflow and VSTO workflows
2. How ur going to move SPD workflow (2007 & 2010) in
production server
3.What diff b/w Seq and State machine workflows
4.How ur deploy ur custom workflow?
5.How many workflows can we configure in single list?
6.How about SPD workflows?
7.How u migrate custom workflows to new version?
8.How ur going to debug the timer job
9.Y u used timer job ,We can use console application with
windows timer instead of time job?
10.what is site template?Have u created new custom template?tell
me the step..
11.What is site definition?
12.What is SPQuery?
13.How can we retrieve the multiple list items with in the site
collection?
14.What is the difference b/w SPQuery and SPDataQuery?
15.What is event receivers? Y we use?
16.What is synchronous and asynchronous events in sharepoint?
17.Y we use this event receivers?
18.I have an item in list i need to retract to delete.which
event handler u will use?
19.what is the diff b/w to debugg timerjob and webpart
20.What is custom pages and application pages
21.When we use custom pages,If i deploy where is ll save?
22.What is the default authentication for web application?
23.What is clasic based authentication?
24.What is allowunfateupdates?y we use?
26.What is the scope of feature in ur webpart?What is site and
Web?
27.What is system.update() and list.update()
28.What is innerjoin in sql?
2nd Round
1.What is system.update() and list.update();
2.Tell me migration steps?
3.What is excel services and where you implemented?
4.What is SPSite and SPWeb?
5.Tell some difficult scenario in ur sharepoint carrier?
Microsoft SharePoint Interview
how to add content type in page layout.
ex: if you want show some fields( company name and dept name)
Tell me default.aspx page path in sharepoint
if i customize default.aspx.cs where it will store? and how the data will come to site.
which case u will go for event handler and custom field
if i have 3 web front end server how you will deploy you feature what is the options?
what ferature will contains
sharepoint performance issues
page layout in sharepoint
what is page layout what are the diff types of page layouts in sharepoint
how can we find memory leakeage
how can i create 20000 sub sites in sharepoint
if i delete a feature from CA will the custom list related to that feature will be availble or not in the site?
method over load
method override
abstract class
polymorphism
profiles (SQL) in sharepoint
http://www.codeproject.com/KB/dotnet/SQLServerProfiler.aspx
how to add content type in page layout.
ex: if you want show some fields( company name and dept name)
Tell me default.aspx page path in sharepoint
if i customize default.aspx.cs where it will store? and how the data will come to site.
which case u will go for event handler and custom field
if i have 3 web front end server how you will deploy you feature what is the options?
what ferature will contains
sharepoint performance issues
page layout in sharepoint
what is page layout what are the diff types of page layouts in sharepoint
how can we find memory leakeage
how can i create 20000 sub sites in sharepoint
if i delete a feature from CA will the custom list related to that feature will be availble or not in the site?
method over load
method override
abstract class
polymorphism
profiles (SQL) in sharepoint
http://www.codeproject.com/KB/dotnet/SQLServerProfiler.aspx
sharepoint site
execution
content type
if I create a content type in sub site will it be available in root site
how can we check sharepoint 2010 upgrade check
A) STSADM.EXE -o preupgradecheck
content type
if I create a content type in sub site will it be available in root site
how can we check sharepoint 2010 upgrade check
A) STSADM.EXE -o preupgradecheck
Logica SharePoint Interview
What is crawl in
sharepoint?
Connected and disconnected data model? Example?
What is manifest file in sharepoint?
What is normalization in sql?
1st , 2nd , 3rd and 4th normalization?
How to filter table data in asp.net code?
How many columns we create in a sql table max?
Asp.net execution?
What is IL and JIT?
What is the namespace we will use in infopath custom code?
What one is good to develop infopath application either VS or sharepoint designer and Why?
How to send a email to user when new document added to doc library
How can we move copy table in using dataset property
Script manage timeout
Caching types
Connected and disconnected data model? Example?
What is manifest file in sharepoint?
What is normalization in sql?
1st , 2nd , 3rd and 4th normalization?
How to filter table data in asp.net code?
How many columns we create in a sql table max?
Asp.net execution?
What is IL and JIT?
What is the namespace we will use in infopath custom code?
What one is good to develop infopath application either VS or sharepoint designer and Why?
How to send a email to user when new document added to doc library
How can we move copy table in using dataset property
Script manage timeout
Caching types
jp morgan chase
Asp.Net Interview
Copy clone
.net frame work 3.0 installation req.
Deployment ways
Xml read, write using .net
Enable “Trace”
Client server applications in .net
How to add c#, Vb.Net files to a single solution
What is debugging, break point?
Xml file standards
Sorting in grid
Bind xml to grid
Type of joins
Assembly
Dataview
Remoting
Sql server stand alone and enterprise
Ajax
Master page
Overriding and loading
Code behind and inline file
Difference b/w .dll, .exe
.net frame work 3.0 installation req.
Deployment ways
Xml read, write using .net
Enable “Trace”
Client server applications in .net
How to add c#, Vb.Net files to a single solution
What is debugging, break point?
Xml file standards
Sorting in grid
Bind xml to grid
Type of joins
Assembly
Dataview
Remoting
Sql server stand alone and enterprise
Ajax
Master page
Overriding and loading
Code behind and inline file
Difference b/w .dll, .exe
HCL Sharepoint Interview
How to get all event receiver which i have added to server
Diff b/w .DWP and .webpart
Base calss for evert recivers
base class for custom web part
base class for sharepoint timer job
how to send email in sharepoint
base class for email sending
in item adding event how get item id
What is the CSS file name in sharepoint
What is application page and site page
what type of authontications are there in infopath..like trust levels
what is the extention of infpath
how infopath data will store in sharepoint
SSP
farm installation
how to take the backup of sub site tell me STSADM command
what are the default OOB workflows in sharepoint.
how to deploy user control in sharepoint
how to call user control in webpart
data view web part and list view webpart
how to add data view web part in to sharepoint
how to add List view webpart in sharepoint
runwith elevated prvila..
how to add list item using objecy model code
how get list name using object model code
how many ways we can create object for site collection in object model
what we have use safe control
whare will be the feature available in sharepoint
how to make sharepoint 2010 site public
How to get todays items in a list
How to get all event receiver which i have added to server
Diff b/w .DWP and .webpart
Base calss for evert recivers
base class for custom web part
base class for sharepoint timer job
how to send email in sharepoint
base class for email sending
in item adding event how get item id
What is the CSS file name in sharepoint
What is application page and site page
what type of authontications are there in infopath..like trust levels
what is the extention of infpath
how infopath data will store in sharepoint
SSP
farm installation
how to take the backup of sub site tell me STSADM command
what are the default OOB workflows in sharepoint.
how to deploy user control in sharepoint
how to call user control in webpart
data view web part and list view webpart
how to add data view web part in to sharepoint
how to add List view webpart in sharepoint
runwith elevated prvila..
how to add list item using objecy model code
how get list name using object model code
how many ways we can create object for site collection in object model
what we have use safe control
whare will be the feature available in sharepoint
how to make sharepoint 2010 site public
How to get todays items in a list
Infosys .Net
Interview Questions (.NET, Database and General)
.NET
1. How do you rate yourself in .NET
2. What is caching and types of caching
Ans)
Caching is generally used to catch frequently accessed data. When u used catching at that time u have to depend upon certain variables like parameter, time etc..But one demerit of using catching is if you are using dynamic page at that time u will unable to get the updated value.
.NET
1. How do you rate yourself in .NET
2. What is caching and types of caching
Ans)
Caching is generally used to catch frequently accessed data. When u used catching at that time u have to depend upon certain variables like parameter, time etc..But one demerit of using catching is if you are using dynamic page at that time u will unable to get the updated value.
Types of catching:
1. Data caching
2. Output caching
3. Fragment caching
1. Data caching
2. Output caching
3. Fragment caching
To improve the
performance of Web Pages, we use Caching. Caching is a used for persisting data
in memory for immediate access to the program calls. It has three types:
1. Output Caching -
to fetch page level information and data
2. Fragment Caching - to cache the information of a structure level.
3. Application Caching - to fetch the information of an application.
3. What does VS.NET contains
VS.NET contains .NET FRAMEWORK includes Window form, Web Form, Base Class Libraries, CLR and Console applications
4. What is JIT, what are types of JITS and their purpose?
Ans) just-in-time compilation (JIT), also known as dynamic translation,
is a technique for improving the runtime performance of a computer program.
2. Fragment Caching - to cache the information of a structure level.
3. Application Caching - to fetch the information of an application.
3. What does VS.NET contains
VS.NET contains .NET FRAMEWORK includes Window form, Web Form, Base Class Libraries, CLR and Console applications
4. What is JIT, what are types of JITS and their purpose?
Ans) just-in-time compilation (JIT), also known as dynamic translation,
is a technique for improving the runtime performance of a computer program.
Computer programs
had two modes of runtime operation,
Either interpreted or static compilation
Interpreted code is translated from a high-level language to a machine code continuously during every execution, whereas statically compiled code is translated into machine code before execution, and only requires this translation once.
JIT compilers represent a hybrid approach, with translation occurring continuously, as with interpreters, but with caching of translated code to minimize performance degradation. It also offers other advantages over statically compiled code at development time, such as handling of late-bound data types and the ability to enforce security guarantees.
The role of the Just-In-Time (JIT) compilers is to convert the bytecode into native code or the machine code for execution. The execution speed of the application is increased by the use of the JIT compilers. There are many JIT compilers. Some of them are LaTTe, Cacao, IBM JIT compiler, OpenJIT, SableJIT, and shuJIT.
5. What is SOAP, UDDI and WSDL
SOAP
A framework for exchanging XML-based information in a network SOAP used to be an acronym: Simple Object Access Protocol "This is no longer the case." (it is neither simple nor has anything to do with objects) the currently most hyped XML/Web service technology mostly just hot air...
WSDL (Web Service Description Language)
An XML-based language for describing network services WSDL descriptions of capabilities and locations of services like an interface description language for Web services communication using SOAP or direct HTTP
UDDI (Universal Description, Discovery, and Integration)
provides a registry mechanism for clients and servers to find each other uses SOAP for communication
http://www.ibm.com/developerworks/webservices/library/ws-wsdl/
Either interpreted or static compilation
Interpreted code is translated from a high-level language to a machine code continuously during every execution, whereas statically compiled code is translated into machine code before execution, and only requires this translation once.
JIT compilers represent a hybrid approach, with translation occurring continuously, as with interpreters, but with caching of translated code to minimize performance degradation. It also offers other advantages over statically compiled code at development time, such as handling of late-bound data types and the ability to enforce security guarantees.
The role of the Just-In-Time (JIT) compilers is to convert the bytecode into native code or the machine code for execution. The execution speed of the application is increased by the use of the JIT compilers. There are many JIT compilers. Some of them are LaTTe, Cacao, IBM JIT compiler, OpenJIT, SableJIT, and shuJIT.
5. What is SOAP, UDDI and WSDL
SOAP
A framework for exchanging XML-based information in a network SOAP used to be an acronym: Simple Object Access Protocol "This is no longer the case." (it is neither simple nor has anything to do with objects) the currently most hyped XML/Web service technology mostly just hot air...
WSDL (Web Service Description Language)
An XML-based language for describing network services WSDL descriptions of capabilities and locations of services like an interface description language for Web services communication using SOAP or direct HTTP
UDDI (Universal Description, Discovery, and Integration)
provides a registry mechanism for clients and servers to find each other uses SOAP for communication
http://www.ibm.com/developerworks/webservices/library/ws-wsdl/
6. What are clr?
cts? cls?
All .NET
applications are compiled into Intermediate Language code (MSIL). When executed
on the CLR, MSIL is converted into native machine code specific to the
operating platform. This process is done by a Just In Time (JIT) compiler. The
code executed by the CLR is called as
Managed Code. This code is type safe and thoroughly checked by the CLR before being deployed. The .NET runtime also provides a facility to incorporate existing COM components
and DLL's into a .NET application. Code that is not controlled by the CLR is called Unmanaged Code.
Managed Code. This code is type safe and thoroughly checked by the CLR before being deployed. The .NET runtime also provides a facility to incorporate existing COM components
and DLL's into a .NET application. Code that is not controlled by the CLR is called Unmanaged Code.
The .NET Framework
is further comprised of Common Type System (CTS) and Common Language
Specification (CLS). The CTS defines the common data types used by .NET
programming languages. The CTS tells you how to represent characters and
numbers in a program. The CLS represents the guidelines defined by for the .NET
Framework. These specifications are normally used by the compiler developers
and are available for all languages, which target the .NET Framework.
Database
6. What is dataset?
Datasets store a copy of data from the database tables. However, Datasets cannot directly retrieve data from Databases. DataAdapters are used to link Databases with DataSets. If we see diagrammatically,
DataSets < ----- DataAdapters < ----- DataProviders Backup And Restore
5. Steps in webpart deployment. You have no full permissions to deploy in production server. Then how you will deploy?
Ans:Use wssv22 tool. It creates wsp file( Site package file)
6. What are event hanlders in Sharepoint
Ans: Synchronous (ing) and Asynchronous (ed) doubt
7.In Sp what are event receivers?
Ans: SPList and SpItem.
What is their base class?
Ans: SpReceiverBase
8. Security Permissions in SP?
Ans: Contributor
Reader
Full Control
6. What is dataset?
Datasets store a copy of data from the database tables. However, Datasets cannot directly retrieve data from Databases. DataAdapters are used to link Databases with DataSets. If we see diagrammatically,
DataSets < ----- DataAdapters < ----- DataProviders Backup And Restore
5. Steps in webpart deployment. You have no full permissions to deploy in production server. Then how you will deploy?
Ans:Use wssv22 tool. It creates wsp file( Site package file)
6. What are event hanlders in Sharepoint
Ans: Synchronous (ing) and Asynchronous (ed) doubt
7.In Sp what are event receivers?
Ans: SPList and SpItem.
What is their base class?
Ans: SpReceiverBase
8. Security Permissions in SP?
Ans: Contributor
Reader
Full Control
9. What are content
types?
In Document Library we have Add Columns , Multi Columns
Ans: check this box “Calculated Fields” .. I= PNR/100
10. You created Doc Library Templates and HR created another library,Different people in organisation created different documents.
One should not view documents created by others. How to achieve this in Sharepoint?
Ans: Sharepoint Service Provider -> Audience And Targetting
11. What is the use of BDC ?
12. Are you using any tools for BDC? How to configure?
13. You want to get Top 5 records from a database and to display in a webpart. What is the out of box feature available in Sharepoint?
Ans: Use content query webpart.
It expects database connection and asks for a select query.
There write like this: select top 5 …
14. Infopath and Excel Services
15. Out of Box different workflow types?
Ans: Sequential
State
Steps : Initialize
Modify
Associate
16.What are the steps in creating a custom them?
Ans: hive/templates/themes
2 ways: 1. Theme gallery
2. In visual studio how u will or SPDesigner
Site.ApplyThemes
17. Namespace for webpart
18. UpdateChanges()
19.
Document Library Form Library
excel ,ppt and word ms office + Infopath form + xml files
+ flat files.(This is one of advantages in SPp 2007)
20. What is in SP collaboration portal ?
a. What is Publish , Unpublish , Report Center and Search Center.
b. Team Site
21. Different between 2007 and 2010?
22. STSADM tool is SP Administration. How to create a batch file?
23. What is Server Farm?
WebFront End Server , Application Server
Microsoft Capacity Planner, SqlServer
24. Performance Tools in SP
a. Search Tools
b. How to do crawling in content management
25. Sp + Silverlight
26. Difference WSS 3.0 and SP 2007
27. Difference Site Collection and Sites
28. Backup Restore tools
29. Webpart tools (See: Litware site)
30. How many Shared Providers can be created?
Ans: No Limit
31. Form Authentication
Ans:Create SqlProvider .Use SQLRegIIS.exe
32. Single Sign On
33. Any difference in time between SPTime and Sqlserver?
Ans: Yes
34. Write CAML sample query
In Document Library we have Add Columns , Multi Columns
Ans: check this box “Calculated Fields” .. I= PNR/100
10. You created Doc Library Templates and HR created another library,Different people in organisation created different documents.
One should not view documents created by others. How to achieve this in Sharepoint?
Ans: Sharepoint Service Provider -> Audience And Targetting
11. What is the use of BDC ?
12. Are you using any tools for BDC? How to configure?
13. You want to get Top 5 records from a database and to display in a webpart. What is the out of box feature available in Sharepoint?
Ans: Use content query webpart.
It expects database connection and asks for a select query.
There write like this: select top 5 …
14. Infopath and Excel Services
15. Out of Box different workflow types?
Ans: Sequential
State
Steps : Initialize
Modify
Associate
16.What are the steps in creating a custom them?
Ans: hive/templates/themes
2 ways: 1. Theme gallery
2. In visual studio how u will or SPDesigner
Site.ApplyThemes
17. Namespace for webpart
18. UpdateChanges()
19.
Document Library Form Library
excel ,ppt and word ms office + Infopath form + xml files
+ flat files.(This is one of advantages in SPp 2007)
20. What is in SP collaboration portal ?
a. What is Publish , Unpublish , Report Center and Search Center.
b. Team Site
21. Different between 2007 and 2010?
22. STSADM tool is SP Administration. How to create a batch file?
23. What is Server Farm?
WebFront End Server , Application Server
Microsoft Capacity Planner, SqlServer
24. Performance Tools in SP
a. Search Tools
b. How to do crawling in content management
25. Sp + Silverlight
26. Difference WSS 3.0 and SP 2007
27. Difference Site Collection and Sites
28. Backup Restore tools
29. Webpart tools (See: Litware site)
30. How many Shared Providers can be created?
Ans: No Limit
31. Form Authentication
Ans:Create SqlProvider .Use SQLRegIIS.exe
32. Single Sign On
33. Any difference in time between SPTime and Sqlserver?
Ans: Yes
34. Write CAML sample query
________________________________________
MOSS
MOSS
1. What are the new
features provided in Sharepoint 2007?
2. What are the features of Sharepoint Service Provider ?
3. Difference between Document Library and Form Library?
4. Difference between SpWeb and SPSite?
5. What is Application Definition File?
6.What is Custom List?
2. What are the features of Sharepoint Service Provider ?
3. Difference between Document Library and Form Library?
4. Difference between SpWeb and SPSite?
5. What is Application Definition File?
6.What is Custom List?
7. What is Ghosting
and Unghosting?
Ans: If you are creating a master page then it is stored in database.This is called Ghosting( storing in database)
Unghosting: Storing in File System eg: Creating a Theme.
Ans: If you are creating a master page then it is stored in database.This is called Ghosting( storing in database)
Unghosting: Storing in File System eg: Creating a Theme.
8.If you are
creating a custom webpart in Visual Studio or Sp Designer what are all the
methods present?
9.You applied a
theme in CreateChildControls method. And in Render method you applied another
theme.Which appears in webpage?
Ans: Theme applied in Render method
Ans: Theme applied in Render method
10.Where Viewstate
is created in webpart life cycle?
11. Webpart file
extension …
Ans: dwp
Ans: dwp
12. Difference
between site template and Site Definition
Ans: Site Template stored as xml file and applied on a single
Site Definition applies on bulk.
Ans: Site Template stored as xml file and applied on a single
Site Definition applies on bulk.
13.What are the
steps to follow in creating a Site Definition?
Ans: (doubt)
1 st step: edit webtemp.xml file of sharepointhive/1033/xml/
Here Sharepoint Hive is c:/programfiles/common files/microsoft shared/
2 nd step: paste the custom template in
hive/templates/sitetemplates/
Ans: (doubt)
1 st step: edit webtemp.xml file of sharepointhive/1033/xml/
Here Sharepoint Hive is c:/programfiles/common files/microsoft shared/
2 nd step: paste the custom template in
hive/templates/sitetemplates/
________________________________________
MOSS
1. Difference between WSS & MOSS
2. Webparts and Deployment
3. Difference between Document Library and Picture Library
4. Event Handlers : What is the base Class?
Ans : SPEventReceiverBase
5. Content Type
6. Site Templates
For resuability it is used.
7.How to display a pdf icon when it is uploaded into Document Library?
Ans : Use IFilter of Pdf
8. SP object model
9. Features
10. workflows (out of the box and custom workflows)
11. Deployment of Workflows using WSP, Cab?
Tools to remember:
——————-
1. WSPBuilder (codeplex)
2. BDC Metaman (U2Usite)
3.CAMLQuery Builder(U2U site)
4. Stramit Query Viewer (http://www.codeplex.com/SPCamlViewer)
MOSS
1. Difference between WSS & MOSS
2. Webparts and Deployment
3. Difference between Document Library and Picture Library
4. Event Handlers : What is the base Class?
Ans : SPEventReceiverBase
5. Content Type
6. Site Templates
For resuability it is used.
7.How to display a pdf icon when it is uploaded into Document Library?
Ans : Use IFilter of Pdf
8. SP object model
9. Features
10. workflows (out of the box and custom workflows)
11. Deployment of Workflows using WSP, Cab?
Tools to remember:
——————-
1. WSPBuilder (codeplex)
2. BDC Metaman (U2Usite)
3.CAMLQuery Builder(U2U site)
4. Stramit Query Viewer (http://www.codeplex.com/SPCamlViewer)

Comments
Post a Comment