Q. What is SharePoint 2010?
Def. : SharePoint
2010 is the business collaboration platform for the Enterprise & the Web
that enables you to connect & empower people through an integrated set of
rich features. Whether deployed on-premises or as hosted services, SharePoint
2010 helps you cut costs with a unified infrastructure while allowing you to
rapidly respond to your business needs.
Q. What has changed with 12 hives in
SharePoint?
Ans. Three New Folders have been added in 12 hive structure.
It’s Called 14 hive/root in SharePoint 2010
• User Code – files used to support sandboxed solutions.
• Web Clients – used for the client Object Model.
• Web Services – .svc files.
Q. How would you re-deploy the old
custom solutions in SharePoint 2010.What Changes are needed to the old Solution
files?
Ans. SharePoint 2010 object model contains many changes and
enhancements, but our custom code will still compile and, will run as expected.
You should however, rewrite and recompile any code that refers to files and
resources in "12 hive".
Q. What’s New with SharePoint Web Parts?
A developer can create two types of web parts using Visual
Studio 2010.
1.
Visual Web parts - Allows you to Drag and Drop
the controls from the Toolbox to Web Part Design surface. You can of course
write your custom code in the code file. You can also package and deploy your web
parts directly to SharePoint from VS by pressing Clt+F5. Visual studio 2010
also provides you with three different views for developing web parts. The
views are split view, design view and Source view (as we have in designer
2007).
Note: The Visual Web part project Item basically loads a User Control as a Web Part.
2. ASP.Net Web Parts - Where a developer can build up User Interface and logic in a class file. You do not have designer for drag and drop of controls. This web part inherits from standard ASP.Net web part. For Deployment we can again use ctrl+f5 to deploy this web part.
Note: The Visual Web part project Item basically loads a User Control as a Web Part.
2. ASP.Net Web Parts - Where a developer can build up User Interface and logic in a class file. You do not have designer for drag and drop of controls. This web part inherits from standard ASP.Net web part. For Deployment we can again use ctrl+f5 to deploy this web part.
Q. What are the Visual Studio 2010 Tools for SharePoint?
Ans. Visual Studio 2010 includes SharePoint-specific project
types and project item types, and includes powerful packaging, deployment, and
debugging features that help increase your efficiency as a SharePoint 2010
developer. Some of the Templates available are:
1. Visual Web Part
project template.
2. List definition
template.
3. Content Type template.
4. Empty Project
template.
5. Event Receiver
template.
6. Some workflow template.
7. The Site Definition
template and many more....
Q. What are SharePoint Sandboxed solutions?
Ans. SharePoint 2010
provides a new sandboxed environment that enables you to run user solutions
without affecting the rest of the SharePoint farm. This environment means that
users can upload their own custom solutions without requiring intervention from
administrators, and without putting the rest of the farm at risk. This means
that the existing sites\pages or components will not be affected by the newly
added solution. Users can deploy the below four things as sandboxed solutions:
1. Web Parts.
2. Event Receivers.
3. List Definitions.
4. Workflows.
Q. What are Requirements for
SharePoint 2010?
Ans. SharePoint Server 2010 will support only 64 - bit. It
will require 64 bit Windows Server 2008 or 64 bit Windows Server 2008 R2. In
addition to this, it will require 64 bit version of SQL Server 2008 or 64-bit
version of SQL Server 2005.
Q. What is LINQ? How is it used in SharePoint?
Ans. LINQ is a
feature of the programming languages C# 3.0 and Visual Basic .NET. LINQ allows
you to query in an object-oriented way, supports compile-time check, gives you intelligence
support in Visual Studio and defines a unified, SQL like syntax to query any
data source. But unlike other languages and query syntaxes which vary from one
type of data source to another, LINQ can be used to query, in principle, any
data source whatsoever. Hence, developers may find that it is the only query
syntax that they ever need to know. It is commonly used to query objects
collections, XML and SQL server data sources. LINQ to SharePoint is officially
being supported with the 2010 release. It works similar to LINQ to SQL or LINQ
to Entity. The LINQ to SharePoint Provider is defined in the
Microsoft.SharePoint.Linq namespace. It translates LINQ queries into
Collaborative Application Markup Language (CAML) queries. The gateway class for
the LINQ to SharePoint provider is Microsoft.SharePoint.Linq.DataContext which
represents the data of a SharePoint Foundation Web site.
No comments:
Post a Comment