1 / 32

Line of Business Applikationen mit SharePoint 2010 und Silverlight 4

Line of Business Applikationen mit SharePoint 2010 und Silverlight 4. Stefan Frutiger / Senior Consultant Microsoft .NET Trivadis AG stefan.frutiger@trivadis.com blog.trivadis.com/blogs/ stefanfrutiger. Agenda. Einführung 1. Block / Externe Daten 2. Block / Silverlight Zusammenfassung

beau
Download Presentation

Line of Business Applikationen mit SharePoint 2010 und Silverlight 4

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Line of Business Applikationen mitSharePoint 2010 und Silverlight 4 Stefan Frutiger / Senior Consultant Microsoft .NET Trivadis AG stefan.frutiger@trivadis.com blog.trivadis.com/blogs/stefanfrutiger

  2. Agenda • Einführung • 1. Block / Externe Daten • 2. Block / Silverlight • Zusammenfassung • Q&A

  3. Einführung Line of Business Applikationen und SharePoint: Ein «Dream Team»?

  4. Daten, Daten und nochmals Daten Abfragen, Anzeige, Validierung, Sicherheit SharePoint ist daten-zentrisch Listen und Bibliotheken «Externe Daten» Silverlight kann daten-zentrisch sein DataGrid, DataPager,DataForm Controls «Line of Business …», was ?

  5. SharePoint 2010 Business Connectivity Services (BCS) Externe Daten Silverlight Web Part Silverlight «Client Object Model» für SharePoint 2010 Zugriff auf Sites, Listen, Items Verteilung der Silverlight Applikation Um was geht es inhaltlich?

  6. Erster Block Externe Daten

  7. SharePoint 2007 Architektur (Rückblick) SharePoint WebParts / Pages CustomWebParts / Pages ??? ApplicationLogic Read Only !!! SharePoint Runtime andObject Model BDC SP Content MOSS, only !!! Custom Data

  8. SharePoint 2010 Architektur (SPD) SharePoint WebParts / Pages Client Object Model / Silverlight 4 VS List / External List BCS External Content Type SPD Design Tools SP Content Custom Data

  9. DEMO 1 Business Connectivity Services (BCS) External Content Types SharePoint Designer 2010 Support

  10. Die Demo Applikation: Sport-Events

  11. Basierend auf Daten des «Zürich Marathon» > 22’000 Läufer > 35’000 Resultate der Jahre 2003 - 2009 > 2’000 Anmeldungen für das Jahr 2010 Demo Applikation / Daten Basis

  12. SharePoint 2010 Architektur (VS) SharePoint WebParts / Pages Client Object Model / Silverlight 4 VS List / External List BCS SPD BDC Model bdcm ApplicationLogic mapping VS z.B. Entity Model edmx Design Tools SP Content Custom Data

  13. DEMO 2 Business Connectivity Services (BCS) External Content Types Visual Studio 2010 Support

  14. Zweiter Block Silverlight

  15. Silverlight ist… … von Microsoft … ein Browser Plug-In … ein .NET basiertes Applikations-Framework Was ist Silverlight?

  16. «Client Object Model» für SharePoint 2010 Zugriff auf Sites, Listen, Items … CAML Abfragen LINQ Support Einfache Verteilung XAP Datei in SharePoint Bibliothek Silverlight Web Part Was spricht für Silverlight & SharePoint

  17. ClientContextcontext = ClientContext.Current; Listlist = context.Web.Lists.GetByTitle("Event"); CamlQueryquery = CamlQuery.CreateAllItemsQuery(); ListItemCollectionitems = list.GetItems(query); context.Load(items); context.ExecuteQueryAsync(Succeeded, Failed); Client Object Model / Daten laden

  18. Silverlight 4 & SharePoint 2010 Silverlight WebPart Silverlight WebPart «Standalone» Silverlight Application «Hosted» Silverlight Application View Model / ViewModel ClientContext / CAML M-V-VM SharePoint 2010 Client Service SharePoint Runtime andObject Model BCS

  19. DEMO 3 Silverlight 4 + SharePoint 2010 Client Object Model CAML Queries Deployment

  20. Externe Listen / Performance External Content Type Aktion: ReadList() Filter: «röthlin» Abfrage: > 20 Sekunden Hinweis: CAML Abfrage mit <Query> und <Where> External Content Type Aktion: ReadListFiltered() Filter: «röthlin» Abfrage: < 2 Sekunden Hinweis: Finder Methoden mit Filter Deskriptoren

  21. Externe Listen / Unterschiede im Code Filter Methoden <View> <Method Name='ReadListFiltered'> <Filter Name='RunnerFilter' Value='8444'/> </Method> <ViewFields> <FieldRef Name='Id' /> <FieldRef Name='Category'/> <FieldRef Name='EventYear'/> <FieldRef Name='Runner'/> </ViewFields> </View> Filter mit CAML <View> <Method Name='ReadList'/> <ViewFields> <FieldRef Name='Id' /> <FieldRef Name='Category'/> <FieldRef Name='EventYear'/> <FieldRef Name='Runner'/> </ViewFields> <Query> <Where> <Eq> <FieldRef Name='Name'/> <Value Type='Text'> 8444</Value> </Eq> </Where> </Query> </View>

  22. Externe Listen / Datenfluss beim Öffnen Browser Aktion: Liste öffnen ReadList() Aktion: Edit List Item ReadList() ReadList() ReadItem() Aktion: View List Item ReadList() ReadList() ReadItem() Silverlight Aktion: Liste öffnen ReadList() Aktion: Edit List Item Aktion: View List Item

  23. Externe Listen / Datenfluss beim Speichern Browser Aktion: Save List Item ReadList() ReadList() ReadItem() ReadItem() ReadItem() Update() ReadList() Silverlight Aktion: Save List Item ReadItem() ReadItem() ReadItem() Update() ReadItem()

  24. Tooling / RichTextBox / WebBrowser control / Printing API / Implicit theming / Script support / Networking and Sockets / XAP Signing / Custom window chrome / Pinned full-screen mode / ContextMenu / Right-click event handling / Mouse wheel support / Webcam & microphone access / RichTextArea Control / ICommandsupport / Clipboard API / Network authentication / HTML Hosting with WebBrowser / Elevated trust applications / Local file access / Notification API / Cross-domain Networking changes / Keyboard access in full screen mode / Text trimming / ViewBox / COM interop / Right-to-left, BiDi and complex script / Offline DRM / H.264 protected content / Silverlight as a drop target / Data binding enhancements / Managed Extensibility Framework (MEF) / DataGrid enhancements / Fluid UI support in items controls / Google Chrome support Silverlight 4 / Neue Funktionen Tooling Printing API ContextMenu Mouse wheel support ICommand support Clipboard API COM interop

  25. Composite Application Guidance (aka Prism V2) UI Composition (Regions, Modules), Logging http://msdn.microsoft.com/en-us/library/dd458809.aspx Silverlight.FX UI Components, Theming, MVVM, IoC Container, Navigation http://projects.nikhilk.net/SilverlightFX Silverstone Commands, IoC Container, MVVM http://code.google.com/p/silverstone Caliburn Patterns, MVVM http://www.codeplex.com/caliburn CSLA .NET for Silverlight Data Binding, Validation, Authorization, Persistence http://www.lhotka.net/cslalight Silverlight 4 / Zusätzliche Frameworks

  26. Zusammenfassung

  27. SharePoint 2010 «Goodies» Lese- und Schreibzugriff auf externe Daten BCS ist Teil der SharePoint Foundation 2010 Der Datenfluss ist gut kontrollierbar Tools sind vorhanden Was nun: «Dream Team»,odernicht?

  28. Windows Server 2008 R2 Standard x64 SQL Server 2008 Express SP1 x64 SharePoint 2010 Foundation (BETA) SharePoint 2010 Server (BETA) SharePoint Designer 2010 (BETA) Visual Studio 2010 (RC) Silverlight 4 (RC) / Tools & Toolkit Die (Entwicklungs-) Umgebung

  29. SharePoint 2010 (BETA) RTM in April 2010 Launch Datum: 12. Mai 2010 SharePoint Designer 2010 (BETA) RTM in April 2010 Launch Datum : 12. Mai 2010 Silverlight 4 (RC) Release Datum: 12. April 2010 Visual Studio 2010 (RC) Release Datum: 12. April 2010 Tooling

  30. Gleich im Anschluss (in diesem Raum) Sandboxed(oder/und Hosted) Solutionsfür SharePoint 2010 entwickeln Michael Hofer (1stQuad Solutions GmbH) Frühere Sessions SharePoint 2010 für Entwickler (Teil 1) Olaf Feldkamp (Microsoft Schweiz GmbH) SharePoint 2010 für Entwickler (Teil 2) Olaf Feldkamp (Microsoft Schweiz GmbH) Workflows für Sharepointentwickeln Reiner Ganser (1stQuad Solutions GmbH) SharePoint 2010 for information architects Markus Böhm (Microsoft Schweiz GmbH) Migration nach SharePoint 2010 Oliver Schnider (Peaches Industries GmbH) SharePoint Sessions

  31. Thank you for your Attention! • For more Information please contact • Stefan Frutiger • Senior Consultant Microsoft .NET • stefan.frutiger@trivadis.com • blog.trivadis.com/blogs/stefanfrutiger • Tel: +41 31 928 09 60 • Mobile: +41 79 658 42 37 • Trivadis AG • Papiermühlestrasse 73 • CH – 3014 Bern

More Related