share point 2010 administration & development

Post on 20-Nov-2014

3.273 Views

Category:

Technology

5 Downloads

Preview:

Click to see full reader

DESCRIPTION

 

TRANSCRIPT

S.M. Rabiul IslamSenior Software Engineer, SoftwarePeople, DhakaEmail: Robee_me@yahoo.com

MJ FerdousProject Manager, BrainStation-23Email: mjferdous@live.com

SharePoint 2010 Administration & Development

Audience • The first type audience is an ASP.NET

developer who is completely unfamiliar with SharePoint.

• The second type audience is the individual who is familiar with SharePoint 2007

What is SharePoint?

SharePoint is not a program, it’s a platform.

Microsoft SharePoint is a web application platform developed by Microsoft. SharePoint is typically associated with web content management and document managementsystems, but it is actually a much broader platform of web technologies, capable of being configured into a wide range of solution areas

SharePoint is a server product

The SharePoint wheel

Communities

Search

Sites

Composites

ContentInsights

Sites: The SharePoint platform fundamentally enables users to provision 'sites' (public or private) without a requirement for specialized knowledge. SharePoint is designed to become the central location for management of sites in an organization.

Communities: SharePoint aims to support the formation of communities within an organization - these communities may form around teams, projects, clients, geographic locations, etc.

Content: SharePoint provides a central location to put content such as files, documents, or general information. This can be accessed and modified within a web browser or using a client application (typicallyMicrosoft Office) via desktop or smartphone. SharePoint 2010 also provides a concurrent edit ability with Office 2010.

Search: SharePoint provides a range of search abilities, including in documents, in external content (such as network shares or public websites), and in user profiles.Insights: SharePoint provides data integration, data crawling, and report design to enable business decision making. SharePoint can integrate with SQL Server Reporting Services to surface business intelligence.

Composites: SharePoint provides an application platform based on ASP.NET 3.5 allowing no-code solutions to complex business problems using SharePoint Designer. SharePoint also allows custom code solutions to be deployed using Visual Studio Workflow

Getting Started SharePoint 2010

SharePoint Environments• Starting with SharePoint 2010, you have to go

with 64 bit operating systems and SQL server. On the same machine you will also need to install Visual Studio 2010, all other associated development tools, IIS, SQL server, active directory and SharePoint. Depending upon the specific project you're on, you may want to install either SharePoint foundation or SharePoint server.

• Download SharePoint Foundation from http://www.microsoft.com/download/en/details.aspx?id=5970

Why do you use virtual machine?• Developing for SharePoint will usually

require a lot of configurations• If you do virtualize, introducing a new

developer to your team with a consistent environment simply means giving the new developer an image of your virtual machine

• Virtualization means, your host machine stays clean.

Virtualization Software• VirtualBox from Sun• Windows Server Hyper-V• VMWare Workstation• Finally, you can boot a .VHD file

directly if your host is running Windows 7

What Did Installing SharePoint Do to My Machine?• First, it deployed certain DLLs in the GAC• The second thing was to create a special folder

called as the SharePoint root. This folder is located at c:\program files\common files\microsoft shared\web server extensions\14.

• The third thing that installing SharePoint on your server did was to configure numerous IIS web sites.

Central Administration• Central administration is a SharePoint site used to manage

all other SharePoint sites.

Creating Web Application

Creating Web Application

Creating Web Application

Web Application Content Database

Creating Web Application

Web Application Site in

IIS

Creating Site Collection

My Site Collection

My Site Collection

My Site Collection• Create Site Components

The SharePoint 2010 Feature• In SharePoint, there are three ways to deliver

functionality to the end user. 1. Using out of the box features typically tweaked right through the browser. 2. Using a thick client tool such as Excel, InfoPath, Access, and probably the most important of all, SharePoint Designer. 3. Finally, if you really need to roll up your sleeves and seriously customize SharePoint in ways that both the previous options are unsuitable for, you would pop open Visual Studio 2010 or better and deliver such functionality.

Writing Your First SharePoint Console App

Finally, write some code in your static void main, as shown in the following:

using (SPSite site = new SPSite("http://sp2010")){ Console.WriteLine(site.RootWeb.Title);}

That's basically it. Hit F5 to run your application and now you should be able to view the title of the Site at http://sp2010. There is plenty else to learn in the SharePoint object model.

Basic Object that frequently used

• SPFarm• SPWebApplication• SPSite• SPWeb• SPList• SPListItem• SPDocumentLibrary

Central Administration• Central administration is a SharePoint site used to manage

all other SharePoint sites.

System Settings

Monitoring• The Monitoring section allows you to use the Health

Analyzer, various timer jobs,and reporting functionality within SharePoint.

Backup and Restore• The Backup and Restore section allows you to do some

rudimentary backups from the user interface

Security• The Security section allows you to manage farm administrator

users, service accounts, antivirus settings, and information policy–related settings, and so on. Farm administrators are those couple of users that have the eventual responsibility for maintaining your entire SharePoint farm.

Upgrade and Migration• section allows you to upgrade to different SKUs of your SharePoint

license. For instance you can start with SharePoint foundation, and then move on to SharePoint standard or SharePoint enterprise at a later date.

The Great SharePoint Hierarchy

• At the very top of the great SharePoint hierarchy is the farm.

• After the farm you have SharePoint web applications

• These various SharePoint web applications are nothing but ASP.NET web applications with a custom web.config file that turns them into SharePoint web applications.

Getting Start with Silverlight and SharePoint 2010

How to use Silverlight with SharePoint 2010• Silverlight can be used to integrate rich,

powerful applications into SharePoint at the Web part level of integration

• With SharePoint 2010, Silverlight can live just about anywhere in the user interface

• My example will be geared toward how simple it is to publish a Silverlight application to a SharePoint site and use it in a web part.

How to use Silverlight with SharePoint 2010

Silverlight Installation (add-on for Visual Studio 2010):− Visual Studio 2010 − Silverlight 4 Tools for Visual Studio 2010 (

http://www.microsoft.com/download/en/details.aspx?id=18149)

− Silverlight Tool Kit (Optional)

How to use Silverlight with SharePoint 2010

Open Visual Studio 2010 and create a new Silverlight Application

• Uncheck the checkbox [ ] “Host the Silverlight application in a new Web site”.

• We don’t need to host Silverlight in a separate web app since SharePoint will be the host.

How to use Silverlight with SharePoint 2010

• You can add the following code at MainPage.xaml for testing if you are new with Silverlight

• Build the Application• Your Silverlight Application is ready at this stage

How to use Silverlight with SharePoint 2010

Output

• So, Develop your Silverlight application as per as your requirement

• For Example: I developed a application like below • Let’s imagine this application is ready to deploy

How to use Silverlight with SharePoint 2010

How to use Silverlight with SharePoint 2010To Deploy Application in SharePoint (1/2):

− Create Empty SharePoint Project (Run As Administrator)− Leave the sandboxed solution checked and click ok

(Pop-up will ask you to choose to deploy as a sandboxed solution or a farm solution.)

− Set SharePoint Site URL where you want to deploy

Output

How to use Silverlight with SharePoint 2010To Deploy Application in SharePoint(2/2):

− Add a new Module to the project− Open the Elements.xml file and Edit the file to

include the xap file that will be generated from the Silverlight application

− Now your application is ready to be deployed. Right click the SharePoint project and select Set as Startup Project and hit F5.

How to use Silverlight with SharePoint 2010Add Web Part in SharePoint Site:

− On the SharePoint site click the edit icon then the insert tab, select Web Part, and choose the Silverlight Web Part in the Media and Content category

− Click Add and in the Silverlight Web Part dialog enter the value from the Url field in the Elements.xml file

How to use Silverlight with SharePoint 2010Add Web Part in SharePoint Site:

− The problem is the default size for the Silverlight Web Part is 400x300 but the application is bigger than 300.

− Configure Web Part to adjust size− Your Silverlight application Deployment Done!

Output

Getting Start with MSDN Virtual Lab

Virtual Lab?Why we need this?

MSDN Virtual Lab

MSDN enable you to quickly evaluate and test Microsoft's products and technologies through a series of guide line

Go to http://msdn.microsoft.com/en-us/aa570323

MSDN Virtual Lab

Benefits:• It’s completely free. • Hands-on labs experience that you can

complete in 90 minutes (2 hours for SharePoint lab) or less.

• There is no complex setup or installation required

• You can use MSDN Virtual Labs online anytime

MSDN Virtual LabPre-requisite to Launch Virtual Lab

1. JavaScript is enabled2. Your browser can accept cookies3. You are using Internet Explorer 6 or

above4. Accept EULA (End User License

Agreement)

Go to http://msdn.microsoft.com/en-us/aa570323

MSDN Virtual LabReady to work in Virtual Lab

SharePoint Tools

SharePoint Tools• SharePoint Designer

• Visual Studio Extension for SharePoint(Built-in with VS 2010)

• SharePoint Workspace

• MSDN Virtual Lab− http://msdn.microsoft.com/en-us/aa570323

• SharePoint Team Blog− http://sharepoint.microsoft.com/blog

• My Presentation Slides− http://www.slideshare.net/ferdous

• SharePoint Tips & Trick− http://www.mssharepointtips.com

Happy Sharepointing!

Q & A

Thank youS.M. Rabiul IslamSenior Software Engineer, SoftwarePeople, DhakaEmail: Robee_me@yahoo.com

MJ FerdousProject manager, BrainStation-23Email: mjferdous@live.comBlog: http://geekswithblogs.net/ferdous

top related