Download presentation
Presentation is loading. Please wait.
Published byAngela Richard Modified over 8 years ago
1
KORAK PRED OSTALIMI VISUAL STUDIO LIGHTSWITCH Danijel Malik Artifis Danijel Malik s.p.
2
WHAT IS VISUAL STUDIO LIGHTSWITCH? Tool to build business applications using Silverlight 4.0 Automatic generation of user interface on the basis of the data model Multiple built-in data sources Easy customization, maintenance and upgrade No need for XAML or C# code „Build for today, prepare for tomorrow“
3
DEMO Simple LightSwitch Application
4
ARCHITECTURE Presentation Silverlight 4.0 WCF RIA Services Client Office AutomationPresentation Silverlight 4.0 WCF RIA Services Client Office AutomationLogic ASP.NET 4.0 WCF RIA Services Entity Framework ODataLogic ASP.NET 4.0 WCF RIA Services Entity Framework ODataStorage SQL Server SQL Server Express SQL Azure SharePointStorage SQL Server SQL Server Express SQL Azure SharePoint
5
PRESENTATION Data Services Data Services Hosting Shell UI (MVVM) Theming Screens Screens Data & Logic Layout Visual No XAML Data WorkspaceData Workspace Data Service Client Entities Relationships CRUD
6
LOGIC Data Services Data Services Encapsulates all access Endpoint for each Data Source Entity Sets Entity Sets Entity Data Models Operations Operations Query Submit Custom Pipeline Transaction ManagementTransaction Management Per Data Workspace Single Data Source at once Data ProvidersData Providers ADO.NET Entity Framework WCF Data Services WCF RIA DomainService
7
STORAGE Data Storage Service Data Provider Supported Features Not Supported Microsoft SQL Server SQL Server 2005 SQL Server 2008 SQL Server 2008 R2 including Express versions SqlClient for the Entity Framework Referential integrity Transactions SQL authentication Integrated Windows authentication SQL Server Compact Stored Procedures Microsoft SQL AzureSqlClient for the Entity Framework Referential integrity Transactions SQL authentication Stored Procedures Integrated Windows authentication Azure Federated authentication Microsoft SharePoint SharePoint 2010 OData client DataServiceContext DataServiceContext Lists Relationships Attachments Transactions Other (RIA)Requires a custom WCF RIA DomainService..DomainService Default queries Parameterized queries Transactions Entity operations Custom operations Complex types Query “Includes”
8
DEMO Advanced Application
9
SUMMARY PROS Rapid Application Development 3-tier architecture Extensible Automatic UI generating Easy customization, maintenance, upgrade and deploy Built-in security and data validation Office integration No need to write XAML or C# code … CONS Blackbox Doesn’t support complex types and import functions No custom workflows, web services, … Missing multilingual support
10
RESOURCES http://blogs.msdn.com/b/lightswitch/ http://blogs.msdn.com/b/bethmassi/
11
QUESTIONS?
12
DANIJEL MALIK http://arkcore.wordpress.com danijel@artifis.si @DanijelMalik
13
Po zaključku predavanja prosim izpolnite vprašalnik. Vprašalniki bodo poslani na vaš e-naslov, dostopni pa bodo tudi preko profila na spletnem portalu konference. www.ntk.si.www.ntk.si Z izpolnjevanjem le tega pripomorete k izboljšanju konference. Hvala!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.