Upload
salvatore-fazio
View
596
Download
0
Embed Size (px)
DESCRIPTION
Citation preview
Sviluppare applicazioni Silverlight per Sharepoint
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
È necessario?
• Perchè?• Come?
Quali framework di testing
TypeMock Isolator799 € anno per developer!!!Isolator for SharePoint: Special SharePoint Unit Testing
249 € anno
1048 € anno singolo developer
Comparisons of Mocking frameworks for SharePoint
Development
Moles
Delegate!!!MDateTime.NowGet = () => new DateTime(2000,1,1);
Installazione: research.microsoft.com/en-us/projects/moles
Demo
Prima
App
Object Model
Conten Database
Web UI Browser
Web Services App
Dopo
Content Database
Sharepoint Server OM
Server App Web Services
Client App
Client.svc
Client OM
Client App
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)
Demo
Silverlight
- Silverlight Web part
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
Solutions
- Settare Mapped folder al progetto- Aggiungere un file
- Module
Demo
© 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.