90 likes | 105 Views
Develop web services, write client proxies, and handle offline scenarios effortlessly with Orcas Web Server Application Services. This new feature in .NET 2.0+ release code-named "Orcas" allows for the easy development of smart clients closely coupled to web application services.
E N D
Client Application Services in OrcasAuthentication, Roles & Web Settings Saurabh Pant Program Manager Microsoft Corporation
User Scenario Rich Client Applications closely coupled to Web Services Scenario ‘possible’ in .Net 2.0 Develop web service, write client proxies, handle offline scenarios … Scenario made effortless in .Net 2.0+ code named “Orcas” Web Server / IIS Web Client Application Web Services Data Format: SOAP Laptop
Application Services New feature in .Net 2.0+ release code-named “Orcas” Works towards the end goal of building rich AJAX/WinForms/WPF applications Refers to three Web services implementations that expose Forms Authentication Roles Profiles Authentication Role Management Profiles
Application Services … Profiles: Roles Forms Authentication: • Get a User’s Profile Data • Set a User’s Profile Data • Supports Anonymous User Profile • Extensibility: Programmatically select Profiles Provider • Login : Issues a Cookie • Logout : Clears Cookie • IsLoggedIn: Determine if a user presenting a cookie is logged in • Programmatically select Membership Provider • Issue Persistent Cookies • Customize Cookie and Auth Ticket • Get the Role of the current user • Determine if the current user is in the given role • Extensibility: Programmatically select Roles Provider Click here to learn more about Application Services
Client Application Services • Brings Web Application Services to the Client • Facilitates development of Smart Clients closely coupled to Web Application Services • Heavy lifting handled by the framework • Adding Services to applications as easy as … • Configure Provider through application configuration file • Program against Client App Services APIs • Full Offline Support • SQL Server Compact Edition used for Offline data storage
Client App Services - Architecture Client App Code App Services and Settings API App Config File Client Providers SOAP Connection Status SQL/ev (Default) Client Database • Client Providers handle plumbing needed to communicate with web services. • Providers plug into the ASP.net membership model for Authentication and Roles • Extend the local settings infrastructure to support web settings • Offline behavior of Providers governed by flag set by App developer • SQL Server Compact Edition used for offline data storage
Resources • Saurabh's Blog [http://blogs.msdn.com/saurabh] • WindowsForms.Net [http://www.windowsforms.net] • Asp.net [http://www.asp.net] • Web Application Services Talk • Orcas Oct CTP
Live from Redmond … • 10-Oct [Mir Tariq] • Application Services in "Atlas" link • 7-Nov [Saurabh Pant] • Configuring ClickOnce to best work for your deployment scenario link • 14-Nov [Steve Lasker] • Smart Client: Offline Data Synchronization and Caching for Smart Clients link • 28-Nov [Saurabh Pant] • Client Application Services in Orcas link • 4-Dec [Steve Lasker] • Developing Local and Mobile Data Solutions with SQL Server Everywhere link • Dec 6 [Mahesh Prakriya] • IronPython: Developing agile but rich client applications using Python link