Your SlideShare is downloading. ×
TechDays 2010 Portugal - WCF RIA Services 16x9
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

TechDays 2010 Portugal - WCF RIA Services 16x9

1,081
views

Published on

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,081
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
31
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • MSCUIBusiness Application Template
  • MSCUIBusiness Application Template
  • MSCUIBusiness Application Template
  • Transcript

    • 1. WCF RIA Services “do Geral ao Detalhe”
      WUX303
      NunoGodinho
      Partner & CTO @ ITech4All
      nuno.godinho@itech4all.com
      @NunoGodinho
    • 2. Session abstract
      Session title
    • 3. Speaker Bio and Photo
      Speaker Name
    • 4. Nuno Filipe Godinho
      Partner & CTO @ ITech4all
      Mail: Nuno.Godinho@itech4all.com
      Nuno.Godinho@sapo.pt
      Blogs: http://pontonetpt.com/blogs/nunogodinho
      http://xamlpt.com/blogs/nunogodinho
      http://weblogs.asp.net/nunogodinho
      http://msmvps.org/blogs/nunogodinho
      Twitter: @NunoGodinho
      About Me
    • 5. Introduction
      RIA Services
      Q&A
      Note: Use #techdays2010pt and #WUX303 hashtags for requests and comments about this session on TechDays Portugal 2010
      Agenda
    • 6. Introduction
    • 7. Sample Line-of-Business Application
      without WCF RIA Services
    • 8. Common Problems
      N-Tier Development
      Controls
      Rich Text Support
      Multi-language Support
      Customer Devices Interaction
      Communications
      Extensibility
      Offline Support
      Interoperability
      Problem Statement
    • 9. The validation needs to run on Client and On Server as well as on Mid-Tiers
      Common validation across the tiers
      Services that may be shared with other applications
      Challenges using N-Tier applications
    • 10. Value Proposition
    • 11. Simplify RIA-style application development
      n-tier is hard, and un-natural
      Focus on data-driven apps
      Bring ASP.NET-style productivity to RIA development
      Building blocks for data, security, etc.
      Focus on scenarios
      Vision and Goals
    • 12. Focus on data in an end-to-end manner
      A unified story for client and server development
      A prescriptive framework that targets key scenarios, and leads the common developer to a pit of success
      Value Propositions
    • 13. Simplify application development across tiers and trust boundary
      Provides a set of tools to build the multiple tiers of an application together
      Application logic remains aware of tier and trust boundaries
      Uses the end-to-end flow of data and metadata described earlier
      Code generation and shared code
      Enhance the experience by providing multiple choices for sharing logic while respecting tier and trust boundaries
      Value Propositions
    • 14. Sample Line-of-Business Application
      with WCF RIA Services
    • 15. Client is an extension of the server
      A single logical application
      Service
      Rich Internet Application
      Browser
      Application
      DB
      Other Applications
      Unified Story
      Presentation
      Logic
      Data Access Layer
      App
      Logic
      HTML
      Network
      Services
    • 16. A Prescriptive Pattern
      Services
      Rich Internet Application
      Presentation
      Logic
      Data Access Layer
      App
      Logic
      Network
      DomainContext
      Domain
      Service
      Under the covers infrastructure
      DB
    • 17. Support for multiple presentation tiers and data access technologies
      Single Pattern that Scales and Grows
      .NET Clients
      Silverlight, WPF
      Databases
      ADO.NET,
      ORMs (LTS, EF, …)
      Standards Clients
      JavaScript
      App
      Logic
      CLR Lists/Objects
      Repository
      (nHibernate, …)
      Server Rendering
      HTML, SEO,
      Printing, …
      Services
      REST/SOAP
      (Azure, …)
      Unit Test Code
      SOAP, XML, JSON,
      Binary
      Services
      WCF
    • 18. RIA Services
    • 19. WCF RIA Services
    • 20. Data Access
      DataBinding
      Validation
      Extensibility
      RIA Services
    • 21. .NET Remoting
      ASMX & WSE
      Interop
      with other
      Platforms & WS-*
      Extensibility
      Location transparency
      Attribute-
      Based
      Programming
      Message-
      Oriented
      Programming
      REST / HTTP Programming
      Enterprise Services
      System.Messaging
      HTTP Services
      Unified Programming Model
    • 22. Windows Communication Foundation (WCF)
      Architecture
      Programming Model
      Core Services
      Web HTTP Services
      Data Services
      Workflow Services
      RIA Services
      Service Model
      Data Contract
      Service Contract
      Service Behavior
      Channel Model
      Formats
      (Atom, JSON, XML,…)
      Transports
      (HTTP, TCP, …)
      Protocols
      (SOAP, HTTP, OData, …)
    • 23. Client project
      WCF RIA Services - Design-time view
      Solution (Application)
      Server project
      Entities
      Entities
      Data Access Layer (DAL)
      Views
      DomainService
      DomainContext
      Build, reflect & code-gen
    • 24. WCF RIA Services - Run-time view
      Application
      Silverlight
      Entity lifecycle
      Web server
      Query
      DomainContext
      DomainService
      Data Access Layer (DAL)
      Entities
      Entities
      Views
      Submit
      Submit
      Results
      Results
      Load
      context.Load(GetRestaurantsQuery(…).Skip(10).Take(10))
      context.SubmitChanges()
      GetRestaurants(…).Skip(10).Take(10)
      Submit(changeSet)
    • 25. Authentication
      Roles
      User profile
      All integrate w/ ASP.NET infrastructure
      Services Out-of-the-Box