Максим Игнатов «Windows Worflow Foundation»
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

Максим Игнатов «Windows Worflow Foundation»

  • 902 views
Uploaded on

Maxim Ignatov...

Maxim Ignatov
Presentation from Application Developers Days 2011

More in: Technology , Sports
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
902
On Slideshare
902
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
4
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

Transcript

  • 1. Разработка приложений с использованием Workflow Foundation
    Максим Игнатов
    e-Legion Ltd.
    mail: maxim.ignatov@e-legion.com
    www.e-legion.com
    1
  • 2. Human Resource Management System
    www.e-legion.com
    2
  • 3. Цели
    Узкие места WF
    Варианты решений
    www.e-legion.com
    3
    http://www.flickr.com/photos/lofink/4501610335/
  • 4. Ретроспектива ADD Conf
    Хочется
    НЕ хочется
    Готовый продукт
    Well Done
    Новая технология
    How To
    www.e-legion.com
    4
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
  • 5. Коротко о возможностях WF
    Бизнес-процесс – как отдельная сущность
    Long running process
    Гибкий фрэймворк
    Интеграция с другими технологиями
    www.e-legion.com
    5
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
  • 6.
  • 7. Xaml or Assembly
    www.e-legion.com
    7
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
  • 8. Транзакционность процессов
    www.e-legion.com
    8
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
  • 9. Custom Activity
    www.e-legion.com
    9
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
  • 10. AppFabric
    www.e-legion.com
    10
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
  • 11. Примеры
    RSS Reader
    Factorial Calculator
    Approval Process
    Много, много, много других примеров
    www.e-legion.com
    11
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
  • 12. RSS Reader
    Xaml WF definition
    Передача в WF объектов
    0 ветвлений бизнес-процесса
    http://www.techdays.ru/videos/2470.html
    www.e-legion.com
    12
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
  • 13. www.e-legion.com
    13
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
  • 14. RSS Reader
    www.e-legion.com
    14
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
  • 15. http://www.flickr.com/photos/lofink/4501610335/
  • 16. Factorial Calculator
    Xaml WF definition
    Передача в WF объектов
    0 ветвлений бизнес-процесса
    http://www.techdays.ru/videos/2470.html
    www.e-legion.com
    16
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
  • 17. www.e-legion.com
    17
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
  • 18. Factorial Calculator
    www.e-legion.com
    18
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
  • 19. Approval process
    Code WF definition – 2 штука 
    Передача в WF объектов
    Разветвленный бизнес-процесс
    WCF взаимодействие
    www.e-legion.com
    19
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
  • 20. http://www.flickr.com/photos/lofink/4501610335/
  • 21. Approval process
    Typed Arguments
    WF
    Transferred objects
    Database objects
    Contract types
    Custom Activities
    www.e-legion.com
    21
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
  • 22.
  • 23. Подходы к проектированию WF
    Разделить процессы на подпроцессы
    Единый процесс на все
    www.e-legion.com
    23
    23
    http://www.flickr.com/photos/lofink/4501610335/
  • 24. http://www.flickr.com/photos/lofink/4501610335/
  • 25. http://www.flickr.com/photos/lofink/4501610335/
  • 26. Процессы на подпроцессы
    Удачно соотносится с моделью данных
    Логически понятней
    Менее “тяжеловесный”WF
    Нужна логика маршрутизации к нужным WF
    www.e-legion.com
    26
    26
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
  • 27. Единый процесс на все
    Маршрутизация к WF не требуется
    Модель “размазана”на весь WF
    Более “тяжеловесный”WF
    www.e-legion.com
    27
    27
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
  • 28. Что если?
    Когда в WF изменилась логика
    Когда в WF изменились входные или выходные параметры
    Когда в WF + WCF поменялось OperationName
    Изменили базу данных
    Typed Arguments
    WF
    Transferred objects
    Database objects
    Contract types
    Custom Activities
    www.e-legion.com
    28
    28
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
  • 29. О чем пойдет речь
    Версионность процессов
    Поддержка старых процессов
    Миграция
    www.e-legion.com
    29
    29
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
  • 30. ASP Pages
    DAL Services
    Get Actions
    Do Action
    WF Services
    Migrate
    XAML Service
    Save To DB
    Load From DB
    Load WF
    Persist WF
    Resume Bookmark
    WF Loader
    www.e-legion.com
    30
    30
  • 31. ASP Pages
    DAL Services
    Get Actions
    Do Action
    WF Services
    Migrate
    XAML Service
    Save To DB
    Load From DB
    Load WF
    Persist WF
    Resume Bookmark
    WF Loader
    www.e-legion.com
    31
    31
  • 32. ASP Pages
    DAL Services
    Get Actions
    Do Action
    WF Services
    Migrate
    XAML Service
    Save To DB
    Load From DB
    Load WF
    Persist WF
    Resume Bookmark
    WF Loader
    www.e-legion.com
    32
    32
  • 33. ASP Pages
    DAL Services
    Get Actions
    Do Action
    WF Services
    Migrate
    XAML Service
    Save To DB
    Load From DB
    Load WF
    Persist WF
    Resume Bookmark
    WF Loader
    www.e-legion.com
    33
    33
  • 34. ASP Pages
    DAL Services
    Get Actions
    Do Action
    WF Services
    Migrate
    XAML Service
    Save To DB
    Load From DB
    Load WF
    Persist WF
    Resume Bookmark
    WF Loader
    www.e-legion.com
    34
    34
  • 35. ASP Pages
    DAL Services
    Get Actions
    Do Action
    WF Services
    Migrate
    XAML Service
    Save To DB
    Load From DB
    Load WF
    Persist WF
    Resume Bookmark
    WF Loader
    www.e-legion.com
    35
    35
  • 36. http://www.flickr.com/photos/lofink/4501610335/
  • 37.
  • 38.
  • 39. Ограничения
    WF не должен содержать внутри нестандартных типов данных
    WF должен уметь перейти в любое из возможных состояний
    Сборки лучше не подписывать
    www.e-legion.com
    39
    39
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
  • 40. Biztalk with HWS
    www.e-legion.com
    40
    40
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
  • 41. Sharepoint
    www.e-legion.com
    41
    41
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
  • 42. Спасибо за внимание
    Максим Игнатов
    e-Legion Ltd.
    maxim.ignatov@e-legion.com
    www.e-legion.com
    42
    42
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/
    http://www.flickr.com/photos/lofink/4501610335/