16
Sviluppare applicazioni Silverlight per Sharepoint

Community Tour Bologna

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Community Tour Bologna

Sviluppare applicazioni Silverlight per Sharepoint

Page 2: Community Tour Bologna

Salvatore Di FazioMicrosoft Certified Professional Developer – ASP.NET 3.5

http://www.facebook.com/salvatore.difazio

http://www.twitter.com/Salvodif

http://it.linkedin.com/in/salvatoredifazio

http://bitvector.tostring.it

http://dexter.codeplex.com

Page 3: Community Tour Bologna

È necessario?

• Perchè?• Come?

Page 4: Community Tour Bologna

Quali framework di testing

TypeMock Isolator799 € anno per developer!!!Isolator for SharePoint: Special SharePoint Unit Testing

249 € anno

1048 € anno singolo developer

Page 5: Community Tour Bologna

Comparisons of Mocking frameworks for SharePoint

Development

Page 6: Community Tour Bologna

Moles

Delegate!!!MDateTime.NowGet = () => new DateTime(2000,1,1);

Installazione: research.microsoft.com/en-us/projects/moles

Page 7: Community Tour Bologna

Demo

Page 8: Community Tour Bologna

Prima

App

Object Model

Conten Database

Web UI Browser

Web Services App

Page 9: Community Tour Bologna

Dopo

Content Database

Sharepoint Server OM

Server App Web Services

Client App

Client.svc

Client OM

Client App

Page 10: Community Tour Bologna

Client Object Model– Win32 (<Drive>:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI)

• Microsoft.SharePoint.Client.dll (281 kb)• Microsoft.SharePoint.Client.Runtime.dll (145 kb)

– Javascript Client Object Model • SP.js• SP.Core.js• SP. …

– Silverlight Client Object Model (<Drive>:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\ClientBin)

• Microsoft.SharePoint.Client.Silverlight.dll (266 kb)• Microsoft.SharePoint.Client.Silverlight.Runtime.dll (142 kb)

- Microsoft.Sharepoint.dll (15.3Mb)

Page 11: Community Tour Bologna

Demo

Page 12: Community Tour Bologna

Silverlight

- Silverlight Web part

Page 13: Community Tour Bologna

Deploy

- Dove deploiare i file xap- Virtual

- Document library- Root o sub folder del site

- Physical file system- 14\Template\Layouts- 14\template\layouts\clientbin default

Page 14: Community Tour Bologna

Solutions

- Settare Mapped folder al progetto- Aggiungere un file

- Module

Page 15: Community Tour Bologna

Demo

Page 16: Community Tour Bologna

© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.

The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after

the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.