Transcript
Page 1: Share point 2010 administration & development

S.M. Rabiul IslamSenior Software Engineer, SoftwarePeople, DhakaEmail: [email protected]

MJ FerdousProject Manager, BrainStation-23Email: [email protected]

SharePoint 2010 Administration & Development

Page 2: Share point 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

Page 3: Share point 2010 administration & development

What is SharePoint?

Page 4: Share point 2010 administration & development

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

Page 5: Share point 2010 administration & development

SharePoint is a server product

Page 6: Share point 2010 administration & development

The SharePoint wheel

Communities

Search

Sites

Composites

ContentInsights

Page 7: Share point 2010 administration & development

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

Page 8: Share point 2010 administration & development

Getting Started SharePoint 2010

Page 9: Share point 2010 administration & development

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

Page 10: Share point 2010 administration & development

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.

Page 11: Share point 2010 administration & development

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

Page 12: Share point 2010 administration & development

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.

Page 13: Share point 2010 administration & development

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

all other SharePoint sites.

Page 14: Share point 2010 administration & development

Creating Web Application

Page 15: Share point 2010 administration & development

Creating Web Application

Page 16: Share point 2010 administration & development

Creating Web Application

Web Application Content Database

Page 17: Share point 2010 administration & development

Creating Web Application

Web Application Site in

IIS

Page 18: Share point 2010 administration & development

Creating Site Collection

Page 19: Share point 2010 administration & development

My Site Collection

Page 20: Share point 2010 administration & development

My Site Collection

Page 21: Share point 2010 administration & development

My Site Collection• Create Site Components

Page 22: Share point 2010 administration & development

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.

Page 23: Share point 2010 administration & development

Writing Your First SharePoint Console App

Page 24: Share point 2010 administration & development

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.

Page 25: Share point 2010 administration & development

Basic Object that frequently used

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

Page 26: Share point 2010 administration & development

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

all other SharePoint sites.

Page 27: Share point 2010 administration & development

System Settings

Page 28: Share point 2010 administration & development

Monitoring• The Monitoring section allows you to use the Health

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

Page 29: Share point 2010 administration & development

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

rudimentary backups from the user interface

Page 30: Share point 2010 administration & development

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.

Page 31: Share point 2010 administration & development

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.

Page 32: Share point 2010 administration & development

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.

Page 33: Share point 2010 administration & development

Getting Start with Silverlight and SharePoint 2010

Page 34: Share point 2010 administration & development

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.

Page 35: Share point 2010 administration & development

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)

Page 36: Share point 2010 administration & development

How to use Silverlight with SharePoint 2010

Open Visual Studio 2010 and create a new Silverlight Application

Page 37: Share point 2010 administration & development

• 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

Page 38: Share point 2010 administration & development

• 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

Page 39: Share point 2010 administration & development

• 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

Page 40: Share point 2010 administration & development

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

Page 41: Share point 2010 administration & development

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.

Page 42: Share point 2010 administration & development

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

Page 43: Share point 2010 administration & development

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

Page 44: Share point 2010 administration & development

Getting Start with MSDN Virtual Lab

Page 45: Share point 2010 administration & development

Virtual Lab?Why we need this?

Page 46: Share point 2010 administration & development

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

Page 47: Share point 2010 administration & development

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

Page 48: Share point 2010 administration & development

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

Page 49: Share point 2010 administration & development

MSDN Virtual LabReady to work in Virtual Lab

Page 50: Share point 2010 administration & development

SharePoint Tools

Page 51: Share point 2010 administration & development

SharePoint Tools• SharePoint Designer

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

• SharePoint Workspace

Page 52: Share point 2010 administration & development
Page 53: Share point 2010 administration & development
Page 54: Share point 2010 administration & development

• 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

Page 55: Share point 2010 administration & development

Happy Sharepointing!

Page 56: Share point 2010 administration & development

Q & A

Page 57: Share point 2010 administration & development

Thank youS.M. Rabiul IslamSenior Software Engineer, SoftwarePeople, DhakaEmail: [email protected]

MJ FerdousProject manager, BrainStation-23Email: [email protected]: http://geekswithblogs.net/ferdous


Top Related