Silverlight 4 @ MSDN Live
Upcoming SlideShare
Loading in...5
×
 

Silverlight 4 @ MSDN Live

on

  • 1,831 views

My Silverlight 4 presentation from MSDN Live sprint 2010.

My Silverlight 4 presentation from MSDN Live sprint 2010.

Statistics

Views

Total Views
1,831
Views on SlideShare
1,823
Embed Views
8

Actions

Likes
0
Downloads
19
Comments
0

2 Embeds 8

http://www.slideshare.net 6
http://www.linkedin.com 2

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Om meg:28 år og bor i TrondheimSelvutnevnt «Software Craftsman» Senior konsulent i CapgeminiMicrosoft MVPStyret i NNUG
  • http://www.artima.com/weblogs/viewpost.jsp?thread=51769

Silverlight 4 @ MSDN Live Silverlight 4 @ MSDN Live Presentation Transcript

  • Silverlight 4
    MSDN Live våren 2010
    Gøran Hansen
    Aspiring Software CraftsmanSenior Consultant @ Capgemini
    http://blog.goeran.no|@goeran|mail@goeran.no
  • Agenda
    Silverlight 4
    Forretningsapplikasjoner
    Out Of Browser
    Ny funksjonalitet
    Demoer underveis
  • «The goal of Silverlight is to enable it anywhere» - @scottgu, Silverlight Release (15. april 2010) keynote
    http://www.microsoft.com/presspass/presskits/silverlight/videogallery.aspx
  • Er Silverlight klar for forretningsapplikasjoner?
  • 1. Støtte for pluginbasert arkitektur
  • Hvorfor?
  • Open-Close Principle – OCP
    ”Should be openfor extensions but closed for modification” – Bertrand Meyer (1988)
    http://www.objectmentor.com/resources/articles/ocp.pdf
  • Managed Extensibility Framework
  • Managed Extensibility Framework
    Order
    MessageSender
    3. Compose
    1. Import
    EmailSender
    SMSSender
    MessageSender
    2. Export
  • Pluginbasert arkitektur
  • Smeedee - Plugins
    Slide
    Traybar Widget
    Traybar Widget
    Traybar Widget
  • 2. Effektiv utvikling
  • WCF RIA Services
  • Rik Internett Applikasjon
    RIA = webapp som oppfører seg som en deskop app
    • Rik
    • Responsiv
    Dele kode mellom klient og server
    • Validering
    • Forretningslogikk
    • CRUD
    Nettleser
    Applikasjonslogikk
    Webapplikasjon
    Applikasjonslogikk
    Data Access
    Tjenester
    DB
  • Effektiv utvikling
  • Recap
    Nettleser
    Applikasjonslogikk
    DomainContext – CodeGen proxy
    RIA Services link – Genererer proxy
    Webapplikasjon
    Applikasjonslogikk
    DomainService - CRUD
    Data Access
    Entiteter - EF/Linq2Sql/Nhibernate/POCO
    Tjenester
    DB
  • 3. Støtter best pratices
  • Designet for enhetstesting og TDD
  • Støtte for MVVM
  • Design Data
  • Best pratices
  • Ja, Silverlight 4 er definitivt klar for forretningsapplikasjoner!
  • 1. Støtte for pluginbasert arkitektur (Managed Extensibility Framework)
  • 2. Effektiv utvikling(WCF RIA Services)
  • 3. Støtter best pratices(TDD, MVVM, Design Data)
  • Out Of Browser
  • Et nytt hjem for Silverlight
  • Kjører OOB
  • OOB - Elevated Trust
  • OOB – Elevated Trust
    Toast notifications
    Window customization (Chrome)
    WebBrowser hosting
    Relaxed Cross-Domain Access Restrictions
    Full-Screen with keyboard input
    File System Access (MyDocuments, MyMusic, MyPictures and MyVideos)
    Native Integration
    http://msdn.microsoft.com/en-us/library/ee721083(VS.96).aspx
  • Ny funksjonalitet
  • varprintDocument = newPrintDocument();
    printDocument.PrintPage += (s, args) =>
    {
    args.PageVisual = newTextBlock()
    {
    Text = "Hello world"
    };
    };
    printDocument.Print("Title");
  • Webcam & mikrofon API
    var captureSource = newCaptureSource();
    captureSource.CaptureImageCompleted += (o, ee) =>
    {
    //Do something
    };
    captureSource.VideoCaptureDevice = CaptureDeviceConfiguration.GetDefaultVideoCaptureDevice();
    captureSource.CaptureImageAsync();
  • Drag drop target
  • RichTextArea
  • Clipboard access
  • Godbiter
  • Ytelse
    Dobbelt så rask
    30 % raskere oppstartstid
    Profiling support (API)
  • Silverlight 4
    Er definitivt klar for forretningsapplikasjoner
    Gøran Hansen
    Aspiring Software CraftsmanSenior Consultant @ Capgemini
    http://blog.goeran.no|@goeran|mail@goeran.no
  • Have you ever been slowed down by bad code?
    - Robert C. Martin aka. Unclebob
  • Webapplikasjon
    Klient
    Nettleser
    <HTML>
    Webapplikasjon
    Server
    Presentasjonslogikk
    Applikasjonslogikk
    Data Access
    Tjenester
    DB
  • Databases
    ADO.NET,
    ORMs (LTS, EF, …)
    .NET Clients
    Silverlight, Phone,
    WPF
    Standards Clients
    JavaScript
    App
    Logic
    Lists/Objects
    Repository
    (NHibernate, …)
    Server Rendering
    HTML, Sitemaps
    Services
    REST/SOAP
    (Azure, …)
    Services
    SOAP, XML,
    JSON, OData
    Unit Test Code
  • “It is easier to consider Presentation Modelas an abstract of the viewthat is not dependent on a specific GUI framework.”
    View (XAML)
    “A view then simply projects the state of the presentation model onto the glass.”
    Change notification
    Commands
    Data Binding
    ViewModel
    Domain Model
    State
    Username, Password, ErrorMessage
    Commands
    Login, Cancel
    WS
    DB
    FS