Presenter:Mike Taulty
One of the ways of building Workflows is to model them entirely declaratively in an XAML file. This session takes a look at how we can do this.
The following text is a software generated transcript of the video. Click on a minute link to jump to a location within the video
Minute 0
Understand their nugget session it s one in a series of short sessions will be spent and is also looking how we can do things with visual studio net framework minus my coffee I work on the developer and platform group in Microsoft in the UK and recession is one of a number of England and Windows workflow foundation as a workflow technology was coming apart at win Fx which was the same times winners Mr Major and his hours and six and in the centre of the quick look at how we can build and use workflows there are entirely declarative surviving works are to be defined in the extensible application markup language or zonal and hurricane logos and run them and make use of them in a session I m working with 82 of win effects and provisions looted as an five and running on Windows XP service Pack 2 of him as making workflow project funded refining project
Minute 1
Uncover workflow and only there is a sequential workflow likely it is that those equivalent of a class library and call this one declarative and wooden structure video here is in discussion with this particular workflow and have only one with them to design with all of them sequential workflow here going to select sequential workflow with code separation wages gradually to examine file for us to into workflow one is fine as outline and physical activities that have been using together that it is enveloping those in here so it existing project and others and see down a hand is the dodgy legal simple activities which are to add their excuse me a couple of activity England message got
Minute 2
Activity this displays a message colour screen and encore productivity business lead of one dollars with gathering of his dextrous chemistry user and filter that a single girl toolbox of the two clear Anglo to drag the prompt activity onto the design surface and then add a message box activity is to get the toolbox back onto the design surface in goal as activity of prompt recalls activity display who will go at article display and as it happens prompt hands are property on a context entered and display a property on a context to show on his forehead and banners to properties together by saying that it is a cramped extensive is the text that the show shape should
Minute 3
By to have the will is not very confident about my workload is done whilst I m working on this workflow as it seemed previously visual studio is also in a sound file formerly a fire in XML format will be extensible application mark language evidence in Aberdeen an open wound in here and picking an XML editor programme and eczema letter and you ll see there is we have a sequential works over the prompt followed by a message box band he is doing an excellent show you continued out of bounds to a property text entered on the prompt shape of the prompt activity also a visual studio with your three favourite in the code would be his coat behind file here which were from another part of this class s case I disconnected these two activities together and everything I wanted it can be done with us if
Minute 4
So need to have any seizure or VB file everything that I want to do the Nissan file here so really nice if I could just take this our file on the connections within it and give it to the works are on time and say that for me and of course I can do that so as to have a look at the basics of making up let new project solution and will discover a Windows application chromosomes but all this is loader something like that and if you were going to work if it was workflows will go ahead and have some reference to it is put about the endless form go ahead available here or call is rotten but filmgoers load
Minute 5
Low definition animal in the which was on a run Royal flying is only stirred his logo so definition Ltd it is just a file dialog asking for a but so far so will go ahead here more so than to provide on will not standard setting this up are shown on the screen will check on the run dialog result and if we do an act in a should regularly go included endless unison is given as a workflow file and will just add all reviews justify system I O with
Minute 6
Text on my firemen are lined well worth so definition at the Texas becomes a little work so far now if it had worked with Rover runtime then only one of those works will run time to let how there are no long time on glacier runtime and the function into constructing a initialise run time and will just go ahead and is it with there and assert that method and any are also run time equals new workflow runtime runtime start run time erosion of the day we should radio we will have a shudder down about his handling workflow completed event with the delicate levels message rocksalt screen say well floral house completed their
Minute 7
To only about foreman who has undergone that has run workflow or we knows the corner of a runtime to create workflow for us and you spot the things you can do it in Lewis and XML reader with you that I would retire at the next reader James Joyce s religion giving annex of a leader type of work that creates a winner and his excellent reader to megastars and eggs and tax reader will bring in an interest that XML reader make a new one of those and lit an existing text readers ordered s reader here and will define that by getting a screen reader text reader or make one of those angular screen workflow definition it is not included with worthless where getting strings into action reader with from creating the
Minute 8
A flow we will get a workflow instance incidents are rare in style s one lead and I m guessing that this isn t going to work why is simply as we would like to what it is a fair haired and will take the physical year and was rapid up in some exception handling telephone after a driver Grammar had a particular kind of exception here I workflow so validation exception will lacks Wilson fail validation exception that is resolved at nine will do is if we get one of those will hope some information on to scream about a second as catching exceptions and audio message rock
Minute 9
On the screen where it is an exception of message after their skywalker is the message worked on screen but will go ahead and build a strange summer s seventh whistling and in the first instance and I will elicit from each validation error throughout her in little validation and errors were just usually as equals have a teletext thriving environment and online in their Annan earlier nervous rush message Show out about stringing there were probably should whose funeral he will it s a very simple of it as if we can compile we it can compile us run as concert stuff about Italy
Minute 10
But that is the start of project will run but if the download workflow soldiers were enough overstretching into the river we designed a second ago to her sisters on the file here were open about their dividend on this workflow his couple of things can obviously allows objects doesn t know how to find prompt activity and it doesn t know how to find message box activity two is looking activities to deserialise which may stand finally because an owner Jack benign local pinfold Wessex and see what happens so that it is visual studio to copy the assembly so when I references between road on anything and the force s simple activities will grab the assembly contains us to activities will got it over with a load of project which would deliver from travel pace in Hampshire
Minute 11
Ability of notifying s assembly weather run again by a slowdown worth definition again there is as I ll file later and workflow i there are so ex class cannot even the market is it is a millionaire the messages are learning a gala message is really quite stunning here tour of analogue as a files if we can fix this muster shuts down so overnight file to go in an XML editor and moment messages if you can t use this ex class directive if you want to be entirely declarative so that we can take that out it might make sense of responsibility versions of the Sun file on four compilation 14 and the declarative is hacked this one are not good and we really care too much about him anything else you are taking their services and a file from visual studio
Minute 12
A series of suicide I ran down the file followers but only do so lunar tours where traders sell a file s is an office winner will you change your reaction to not do anything that is alfalfa now which is using its peace checks has won that only one who wrote that worth definition from the whole file from the workflow is upfront activity in the Sun text we can have a careless driver Roger and the screen lignocaine as he was a activity and that s the end of a workflow however completes to is to build an entirely declarative pieces and was just a piece of text and sex about Exeter happens with his rights and code and I wouldn t give the
Minute 13
Time to Maxwell s and reader rounded up it loaded out in our animation workflow entirely declarative thing and never compiled anything I m sure you can see the power of that declarative nature of this workload sir very powerful thing to go to do so very much than just a summer as one of its initial session were only seeing their workflow scandals that entirely declarative the example we took a couple of activities reconnected in them together using property binding and that it was a workflow that didn t need any codes of the estate at tunnel definition of intranet and our reader and hand over to the workflow runs at a time and it follows a visibility of the assembly to contain our activities which will you think that it makes perfect sense and we can either get those assemblies from the jack or recommended out at assembly like I do just available in
Minute 14
It was followed on his private probe in Bath so it can find those assemblies and bookmark okay so where can you go to want more information on the windows with the foundation of the Christian developer Centre up MSDNonMicrosoft com when effects are not lead you to information on all of the effect presentation communication and workflow orders and you dedicated site at www Windowsworkflow net is purely about the windows with the foundation is lots of examples and examples of their and five if you ve got specific questions or recession simply to mail me on my e mail address is on the screen and their provide feedback and so on other than that and he s listening
Click here to go to original video page
Wednesday, July 23, 2008
Video: Windows Workflow Foundation: Declarative Workflows
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment