Tuesday, May 24, 2011

What Is SharePoint Development

In this blog I’ll try to describe about SharePoint development. It is necessary to know about the Development, how to work with.
What Is SharePoint Development?
Development in SharePoint is an interesting hybrid of several Microsoft 
Technologies and styles of development. For example, when you build a
Custom web part or custom application page in SharePoint, it will feel very
Similar to creating a web part or web page with ASP.NET. This may make
You think that SharePoint development is just like ASP.NET development.
But just when you are feeling confident, you hit the barrier of packaging
and deployment. To deploy that web part or web page, you will have to
use SharePoint’s packaging and deployment system, which is a system
that uses custom XML files to define what SharePoint calls “features.”
Those features are packaged with their associated files into a .WSP file
(basically a CAB file renamed to .WSP). Finally, you must run a command
line tool on the SharePoint server to process the WSP file and install the
web part or web page.
If you want to customize the behavior of a SharePoint list, development
in SharePoint begins to feel more like the customization of a rich client
application such as Office. You create a .NET assembly that handles a set of
events raised by a particular SharePoint list. You interact with SharePoint’s
object model much like Office customizations interact with the Office object
model. Then you use SharePoint’s packaging and deployment system to
install your .NET assembly.
If you want to create a custom SharePoint list, a custom content type, or
a site definition, development in SharePoint begins to feel like declarative
programming. SharePoint has a custom XML language called CAML,
which is used to define key objects such as lists, columns, and content types.
This XML language can be difficult to learn and manipulate to get the
results you want. In this book, we will typically recommend using Share-
Point Designer as the “WYSIWYG” editor for editing the XML that defines
these custom SharePoint types. As before, you then use SharePoint’s packaging
and deployment system to install your custom SharePoint types.
If you want to develop custom workflows in SharePoint, another
Microsoft technology must be learned—the Windows Workflow Foundation.
SharePoint’s workflow features are often used to automate workflow
that people participate in for items in a list or even workflow that occurs at
a site level. If you have worked with workflow, this will feel familiar to
you—it is yet another style of development used within SharePoint. Typically
your workflow also interacts with the SharePoint object model to get
interesting things to happen.
SharePoint can feel like ASP.NET at times, like event-driven customizations
at other times, like declarative programming, like workflow programming,
and like code focused on automating an object model at other
times. This can make SharePoint programming difficult—you have to get
comfortable with many styles of programming to get interesting things
done.

SharePoint Question and Answer

Important Question and Answer of SharePoint frequently asked in Interviews:-

1.     What is Microsoft Windows Services?
Microsoft Windows Services is the engine that allows administrators to create Web sites for information sharing and document collaboration. Windows SharePoint Services provides additional functionality to the Microsoft Office System and other desktop applications, as well as serving as a plat form for application development. SharePoint sites provide communities for team collaboration, enabling users to work together on documents, tasks, and projects. The environment for easy and flexible deployment, administration, and application development.
2.     What is the relationship between Microsoft SharePoint Portal Server and Microsoft Windows Services?
Microsoft SharePoint Products and Technologies (including SharePoint Portal Server and Windows SharePoint Services) deliver highly scalable collaboration solutions with flexible deployment and management tools. Windows SharePoint Services provides sites for team collaboration, while Share Point Portal Server connects these sites, people, and business processes—facilitating knowledge sharing and smart organizations. SharePoint Portal Server also extends the capabilities of Windows SharePoint Services by providing organizational and management tools for SharePoint sites, and by enabling teams to publish information to the entire organization.
3.     Who is Office SharePoint Server 2007 designed for?
Office SharePoint Server 2007 can be used by information workers, IT administrators, and application developers.
is designed
4.  What are the main benefits of Office SharePoint Server 2007?

Office SharePoint Server 2007 provides a single integrated platform to manage intranet, extranet, and Internet applications across the enterprise.
* Business users gain greater control over the storage, security, distribution, and management of their electronic content, with tools that are easy to use and tightly integrated into familiar, everyday applications.
* Organizations can accelerate shared business processes with customers and partners across organizational boundaries using InfoPath Forms Services–driven solutions.
* Information workers can find information and people efficiently and easily through the facilitated information-sharing functionality and simplified content publishing. In addition, access to back-end data is achieved easily through a browser, and views into this data can be personalized.
* Administrators have powerful tools at their fingertips that ease deployment, management, and system administration, so they can spend more time on strategic tasks.
* Developers have a rich platform to build a new class of applications, called Office Business Applications, that combine powerful developer functionality with the flexibility and ease of deployment of Office SharePoint Server 2007. Through the use of out-of-the-box application services, developers can build richer applications with less code.
5.  What is the difference between Microsoft Office SharePoint Server 2007 for Internet sites and Microsoft Office SharePoint Server 2007?

Microsoft Office SharePoint Server 2007 for Internet sites and Microsoft Office SharePoint Server 2007 have identical feature functionality. While the feature functionality is similar, the usage rights are different.
If you are creating an Internet, or Extranet, facing website, it is recommended that you use Microsoft Office SharePoint Server 2007 for Internet sites which does not require the purchase client access licenses. Websites hosted using an “Internet sites” edition can only be used for Internet facing websites and all content, information, and applications must be accessible to non-employees. Websites hosted using an “Internet sites” edition cannot be accessed by employees creating, sharing, or collaborating on content which is solely for internal use only, such as an Intranet Portal scenario. See the previous section on licensing for more information on the usage scenarios.
6.  What suites of the 2007 Microsoft Office system work with Office SharePoint Server 2007?
Office Outlook 2007 provides bidirectional offline synchronization with SharePoint document libraries, discussion groups, contacts, calendars, and tasks.
Microsoft Office Groove 2007, included as part of Microsoft Office Enterprise 2007, will enable bidirectional offline synchronization with SharePoint document libraries.
Features such as the document panel and the ability to publish to Excel Services will only be enabled when using Microsoft Office Professional Plus 2007or Office Enterprise 2007.
Excel Services will only work with documents saved in the new Office Excel 2007 file format (XLSX).
7.  How do I invite users to join a Windows SharePoint Services Site? Is the site secure?
SharePoint-based Web sites can be password-protected to restrict access to registered users, who are invited to join via e-mail. In addition, the site administrator can restrict certain members' roles by assigning different permission levels to view post and edit.
8. Can I post any kind of document?
You can post documents in many formats, including .pdf, .htm and .doc. In addition, if you are using Microsoft Office XP, you can save documents directly to your Windows SharePoint Services site.
9.   Can I download information directly from a SharePoint site to a personal digital assistant (PDA)?
No you cannot. However, you can exchange contact information lists with Microsoft Outlook.
10.  How long does it take to set up the initial team Web site?
It only takes a few minutes to create a complete Web site. Preformatted forms let you and your team members contribute to the site by filling out lists. Standard forms include announcements, events, contacts, tasks, surveys, discussions and links.
11.   Can I create custom templates?
Yes you can. You can have templates for business plans, doctor's office, lawyer's office etc.
12.  How can I make my site public? By default, all sites are created private.
If you want your site to be a public Web site, enable anonymous access for the entire site. Then you can give out your URL to anybody in your business card, e-mail or any other marketing material. The URL for your Web site will be:
http:// yoursitename.wss.bcentral.com
Hence, please take special care to name your site.
These Web sites are ideal for information and knowledge intensive sites and/or sites where you need to have shared Web workspace.
Remember: Under each parent Web site, you can create up to 10 sub-sites each with unique permissions, settings and security rights.
13.  How do the sub sites work?
You can create a sub site for various categories. For example:
* Departments - finance, marketing, IT
* Products - electrical, mechanical, hydraulics
* Projects - Trey Research, Department of Transportation, FDA
* Team - Retention team, BPR team
* Clients - new clients, old clients
* Suppliers - Supplier 1, Supplier 2, Supplier 3
* Customers - Customer A, Customer B, Customer C
* Real estate - property A, property B
You can keep track of permissions for each team separately so that access is restricted while maintaining global access to the parent site.
14.  How do I make my site non-restricted?
If you want your site to have anonymous access enabled (i.e., you want to treat it like any site on the Internet that does not ask you to provide a user name and password to see the content of the site), follow these simple steps:
# Login as an administrator
# Click on site settings
# Click on Go to Site Administration
# Click on Manage anonymous access
# Choose one of the three conditions on what Anonymous users can access:
** Entire Web site
** Lists and libraries
** Nothing
Default condition is nothing; your site has restricted access. The default conditions allow you to create a secure site for your Web site.
15.   Can I get domain name for my Web site?
Unfortunately, no. At this point, we don't offer domain names for SharePoint sites. But very soon we will be making this available for all our SharePoint site customers. Please keep checking this page for further update on this. Meanwhile, we suggest you go ahead and set up your site and create content for it.
16. What are picture libraries?
Picture libraries allow you to access a photo album and view it as a slide show or thumbnails or a film strip. You can have separate folder for each event, category, etc
17. What are the advantages of a hosted SharePoint vs. one that is on an in-house server?
* No hardware investment, i.e. lower costs
* No software to download - ready to start from the word go
* No IT resources - Anyone who has used a Web program like Hotmail can use it
* Faster deployment
18.  Can I ask users outside of my organization to participate in my Windows SharePoint Services site?
Yes. You can manage this process using the Administration Site Settings. Simply add users via their e-mail alias and assign permissions such as Reader or Contributor.
19.  Are there any IT requirements or downloads required to set up my SharePoint site?
No. You do not need to download any code or plan for any IT support. Simply complete the on-line signup process and provide us your current and correct email address. Once you have successfully signed up and your site has been provisioned, we will send a confirmation to the email address you provided.
20.  I am located outside of the United States. Are there any restrictions or requirements for accessing the Windows SharePoint Services?
No. There are no system or bandwidth limitations for international trial users. Additionally language packs have been installed which allow users to set up sub-webs in languages other than English. These include: Arabic, Danish, Dutch, Finnish, French, German, Hebrew, Italian, Japanese, Polish, Portuguese (Brazilian), Spanish and Swedish.
21. Are there any browser recommendations?
Yes. Microsoft recommends using the following browsers for viewing and editing Windows SharePoint Services sites: Microsoft Internet Explorer 5.01 with Service Pack 2, Microsoft Internet Explorer 5.5 with Service Pack 2, Internet Explorer 6, Netscape Navigator 6.2 or later.
22.  What security levels are assigned to users?
Security levels are assigned by the administrator who is adding the user. There are four levels by default and additional levels can be composed as necessary.
* Reader - Has read-only access to the Web site.
* Contributor - Can add content to existing document libraries and lists.
* Web Designer - Can create lists and document libraries and customize pages in the Web site.
* Administrator - Has full control of the Web site.
23.   How secure are Windows SharePoint Services sites hosted by Microsoft?
Microsoft Windows SharePoint Services Technical security measures provide firewall protection, intrusion detection, and web-publishing rules. The Microsoft operation center team tests and deploys software updates in order to maintain the highest level of security and software reliability. Software hot-fixes and service packs are tested and deployed based on their priority and level of risk. Security related hot-fixes are rapidly deployed into the environment to address current threats. A comprehensive software validation activity ensures software stability through regression testing prior to deployment.

 

SharePoint interview Question and answer

There are some important questions of SharePoint frequently asked in interviews.

1.     What is SharePoint?

SharePoint is the business collaboration platform for the enterprise and
The web ,  Allows individuals in an organization to easily create and
Manage their own collaborative Web sites

2.     what is the difference between SharePoint Portal Server and Windows SharePoint Services?
SharePoint Portal Server is the global portal offering features like global navigation and searching. Windows SharePoint Services is more content management based with document libraries and lists. You apply information to certain areas within your portal from Windows SharePoint Services or directly to portal areas.
3.     what is a document library?
A document library is where you upload your core documents. They consist of a row and column view with links to the documents. When the document is updated so is the link on your site. You can also track metadata on your documents. Metadata would consist of document properties.
4.     what is a meeting workspace?
A meeting workspace is a place to store information, attendees, and tasks related to a specific meeting.
5.     what is a document workspace?
Document workspaces consist of information surrounding a single or multiple documents.
6.     what is a web part?
Web parts consist of xml queries to full SharePoint lists or document libraries. You can also develop your own web parts and web part pages.
7.     what is the difference between a document library and a form library?
Document libraries consist of your core documents. An example would be a word document, excel, powerpoint, visio, pdf, etc… Form libraries consist of XML forms.
8.     what is a web part zone?
Web part zones are what your web parts reside in and help categorize your web parts when designing a page.
9.     how is security managed in SharePoint?
Security can be handled at the machine, domain, or sharePoint level.
10.                        how are web parts developed?
Web parts are developed in Visual Studio .Net. VS.Net offers many web part and page templates and can also be downloaded from the Microsoft site.
11.                        what is a site definition?
It’s a methods for providing prepackaged site and list content.
12.                        what is a template?
A template is a pre-defined set of functions or settings that can be used over time. There are many templates within SharePoint, Site Templates, Document Templates, Document Library and List Templates.
13.                        how do you install web parts?
Web Parts should be distributed as a .CAB (cabinet) file using the MSI Installer.
14.                        what is CAML?
stands for Collaborative Application Markup Language and is an XML-based language that is used in Microsoft Windows SharePoint Services to define sites and lists, including, for example, fields, views, or forms, but CAML is also used to define tables in the Windows SharePoint Services database during site provisioning.
15.                        What is a DWP?
The file extension of a web part.
16.                        What is the GAC?
Global Assembly Cache folder on the server hosting SharePoint. You place your assemblies there for web parts and services.
17.                        What are the differences between web part page gallery, site gallery, virtual server gallery and online gallery?
Web Part Page Gallery is the default gallery that comes installed with SharePoint. Site Gallery is specific to one site. Virtual Server gallery is specific to that virtual server and online gallery are downloadable web parts from Microsoft.
18.                        what is the difference between a site and a web?
The pages in a Web site generally cover one or more topics and are interconnected through hyperlinks. Most Web sites have a home page as their starting point. While a Web is simply a blank site with SharePoint functionality built in; meaning you have to create the site from the ground up.
19.                        What is Microsoft Windows SharePoint Services? How is it related to Microsoft Office SharePoint Server 2007?
Windows SharePoint Services is the solution that enables you to create Web sites for information sharing and document collaboration. Windows SharePoint Services — a key piece of the information worker infrastructure delivered in Microsoft Windows Server 2003 — provides additional functionality to the Microsoft Office system and other desktop applications, and it serves as a platform for application development.
Office SharePoint Server 2007 builds on top of Windows SharePoint Services 3.0 to provide additional capabilities including collaboration, portal, search, enterprise content management, business process and forms, and business intelligence.
20.                        What is Microsoft SharePoint Portal Server?
SharePoint Portal Server is a portal server that connects people, teams, and knowledge across business processes. SharePoint Portal Server integrates information from various systems into one secure solution through single sign-on and enterprise application integration capabilities. It provides flexible deployment and management tools, and facilitates end-to-end collaboration through data aggregation, organization, and searching. SharePoint Portal Server also enables users to quickly find relevant information through customization and personalization of portal content and layout as well as through audience targeting.

Sunday, May 22, 2011

New Feartures of ASP.NET 4.0

Hello… In this blog I’m going to describe you about the new features of ASP.NET 4.0 and Visual Studio 2010. It consists of a number of small-scale changes that allow developers to have a strong control of certain frequently used events. What makes ASP.NET 4.0 more effective than the already existing versions of ASP.NET are its rich features and powerful enhancements?
The motto of Microsoft’s latest ASP.NET 4 mainly has been on improving the performance and Search-engine Optimization (SEO).
The most important new features in ASP.NET 4 are:-
1.      Output cache extensibility.
2.      Session state compression.
3.      View state mode for individual control.
4.      Page.MetaKeyword and Page.MetaDescription properties.
5.      Response.RedirectPermanent method.
6.      Routing in ASP.NET.
7.      Increase the URL character length
8.      New syntax for Html Encode.
9.      Predictable Client IDs.
10.   Web.config files refactoring.
11.   Auto-Start ASP.NET applications.
12.   Improvements on Microsoft Ajax Library.
13.   Webform Routing.
14.    Data Control Enhancements


Wednesday, May 18, 2011

Benefits of communities:-

   
                  Brief description of benefits of SharePoint communities:

·         Work Together the Way You Want

With SharePoint 2010 Communities, people can work together the way they want using a full set of collaboration tools—from wikis to workflows and team sites to tagging. A single, flexible platform makes it easy to manage these tools and design the right collaborative experiences for different business needs

·         Rely on a Secure Collaboration Platform

The SharePoint 2010 collaboration platform is secure, easy to manage, and scalable. People can work together more safely with the platform’s granular security and privacy controls, centralized policy setting, and detailed reporting and analysis.

·         Extend the Value of Your Community Solutions

SharePoint 2010 provides a single collaboration platform that lets people use the tools and applications they already know. SharePoint 2010:

• Works seamlessly with the rest of the Microsoft Business Productivity infrastructure, including Microsoft Office applications, Microsoft Exchange Server, Microsoft Office Communications Server, Microsoft SQL Server, and Microsoft Dynamics.

• Adheres to open standards, so people can use third-party applications and systems.

• Uses Business Connectivity Services to surface information from other business applications.

Related feature of SharePoint communities

·         Tags

Classify and organize large amounts of information in your company by applying tags. Use standardized taxonomy tags defined by the organization and informal social tags defined by employees.

·         Blogs

Use the new SharePoint Ribbon to format blog text and easily upload images.

·         Colleague Suggestions

Keep your colleague network current with an automated service that suggests colleagues based on your reporting structure, communities membership, e-mail distribution lists, Office Communicator contact lists, and analysis of most common Office Outlook e-mail recipients.

·         My Content

Centrally store and manage your documents, favorite links, personal blog, and wiki pages on the My Content section of your My Site. Customize your pages and set access and permission levels for any content in the section.

·         Organization Browser

Navigate your organizational structure to see managers, peers, and direct reports.

·         Photos and Presence

Help people recognize each other with photos. Use presence to email, IM, or call someone with the click of a button.

·         Ratings

Rate SharePoint pages, lists, libraries, and individual documents with a five-star rating system.

·         Recent Activities

Let people know what you're up to with the Recent Activities feed on your profile page.

·         Wikis

Create pages that combine the ease of wikis with the functionality of Web Parts.