Thursday, February 14, 2008

Code activity to custom activity in Windows Workflow Foundation



URL

XMLFILE

381349_Code and Custom Activities.wmv d24d24f2-b07e-473f-a72f-3a86b7081c8f -1.86228115 isv architect 1.20070755 evangelist 3.23123815 microsoft 5.32951935 code activities 8.0457563 custom activities 10.3904842 foundation 13.3271089 code running 14.70143205 workflow 16.5443912 example 18.89135265 drag and drop 21.48224155 code activity 25.04628805 rename makes more sense 29.2340454 showmessage 32.61193205 activity 35.14211685 only thing 36.51494565 specify 38.45686175 code to execute 42.4862302 red exclamation point 46.5487699 specify 48.58041955 do that 51.67644905 switching event tab 55.0224025 properties 56.98947735 execute 59.05203405 code handler 61.4901123 code behind 63.7399853 workflow 66.02396605 console 68.2114207 writeline 73.3641599 hello world 76.36735265 save that 78.5545261 back designer 81.1482461 see it works 85.02489235 as expected 87.9599173 hello world 90.14963495 completed 91.743271 what are 93.86942525 code activities 96.0554944 good for 97.9323175 why avoid them 100.9330851 great way 103.0266021 custom code 105.4338107 in workflow quickly 108.62257715 quickly demo 110.80879825 workflow 112.7779808 not intuitive 115.715025 business process 117.9667665 workflow 120.5591259 showmessage activity 124.0305057 standard code 127.05990935 activity icon 131.21928465 share same icon 134.9689252 no custom properties 138.5019921 no way to change message 142.22226195 when activity runs 145.7501701 go and edit code 149.81583225 no properties 153.53503745 link activity 156.62880845 any other activities 160.84418825 allow data flow through 163.87864175 workflow 168.814627 aren’t very reusable 174.5659706 copy paste 178.07095245 show message copied 182.6011202 name handler is copied 186.6935658 actual code wasn’t copied 190.8519672 bug right off the bat 194.01001705 not a bug 197.19659645 simple a way 201.5069411 code runs 204.1340964 activity runs 206.7910828 button on form 210.19706695 define text in button 214.0411361 double click 217.04318595 provide some code 222.94767125 code itself it not copied 226.4789241 same case 228.981288 close that go back 231.6365363 initial workflow 235.8875862 one last thing too 240.38721885 inherently requires code 244.8289252 code behind 247.6720522 xoml only 250.39107485 xml only 253.26576875 cannot leverage 256.081847 demo today 259.51817125 code activity custom 262.73476875 activity 265.27045355 add new project 267.39430615 to solution 269.95493085 workflow 271.799288 project type 275.05020525 workflow activity library 279.1774774 activitylibrary 283.8017733 notice created 286.17671885 custom activity 288.8961769 activity1 290.86473025 delete that 292.9287166 add a new class 296.551576 new activity here 301.4282869 call this showmessage 309.89960435 default activity 312.6479082 creates for u 314.68236735 us 316.4324275 sequential 319.4316202 make up 321.4639184 our activity 323.65219845 don’t want that 326.1510477 basic activity 329.5570998 change to plain old 331.9628867 activity 333.68335265 done that 337.4652971 simply override execute 340.1243436 method 346.5886826 and to get 349.3426894 exact functionality 352.93359305 console.writeline 356.18649325 hello world 359.28029145 at end 360.71686175 return 366.8434388 activityexecution 374.12544105 whether or not 376.47081185 activity done 379.2513969 error 381.90896945 long running 383.75309305 actually done 385.46992975 return 389.2842098 activityexecutionstatus 394.3473617 closed 398.97417915 done executing our activity 402.6926871 run this right now 406.3197336 but couple little 409.12896715 extra 410.3506803 things 413.41122905 bring in existing item 416.44509645 bitmap 418.47732545 showmessage 420.4752597 bmp 422.4134524 custom icon 425.7274184 build action 428.3813436 from content 431.94487875 to embedded resource 435.60259415 add an attribute 437.8536259 toolbox 440.7597506 bitmap attribute 444.2908107 supply name 446.9181214 showmessage.bmp 451.13616335 save project 452.66890705 build 455.0122563 activitylibrary 456.9493855 go back 459.07359755 console project 462.7966055 initial workflow 466.7612971 order to use 469.95011345 reference project 473.32500005 activity library 477.0146225 project referenced 480.42298755 activity library 483.5807166 remove old code 486.6411939 bring in 489.17069735 show message 492.29748645 go ahead run the program 496.4559048 same output we had before 499.7346123 obviously 502.515491 only part of reason 505.92601025 properties 509.61184925 go back to show message 513.92408285 add property for message 518.05293995 run code snippet 521.39459755 prop 523.6805012 string 526.9266055 message variable 530.74093765 message property name 534.58395925 gives something 538.4292812 public property 543.0532869 use in our message 547.43256245 save that 551.18142975 build real quick 555.4323776 back to initial workflow 559.18568935 property window 561.80809075 define message 564.15106125 custom message 567.43329485 run our workflow again 575.309686 custom message 579.30906695 that’s really all you need 583.06111115 add custom property 587.09300575 way to provide data 590.25032205 into activity 592.718576 type of property 596.02926875 plain old property 600.3731236 connect to property 604.8774706 order to do that 606.4376225 new 608.68884925 in .net 3.0 612.34570185 dependency property 615.84566785 wpf workflow 618.5362914 very similar 621.81472455 code snippet to do that 625.81759865 remove existing property 630.09890935 code snippet 632.22447855 message 636.0999547 type of string 639.6613561 that’s it 642.0976871 lot of stuff 643.7247461 look up 646.84894335 dependency properties 650.7240454 understand 652.7587767 msdn 654.63146605 allows access 657.6966622 in dictionary style 661.57238665 definition static 665.35185265 type level 668.19360775 that existing 671.1325703 dictionary 673.3865851 allows 676.4179048 workflow foundation 680.075457 connect 682.76263725 reflection 685.2324218 run time 688.47998075 define property 693.57497055 methods on base activity class 697.54582205 get value 699.7028073 set value 704.32931865 to use property access on 710.35814745 build again 713.5155681 design time 715.98537195 initial workflow 718.45322455 activity again 722.07666445 defined before 725.4242801 custom message 728.9261792 database looking icon 732.92365425 specify message directly 736.4549252 ellipse button 739.14236625 open up and bind 742.61313495 bind other things in workflow 747.20863385 to supply message parameter 750.8347699 my workflow 753.77119395 custom workflow parameter 756.71054425 drill down 758.67804315 grab things 760.7737563 another activity 764.52233225 bind to other properties 768.30633335 happen to be in workflow 771.14927445 custom workflow 773.08582435 parameter 774.46237195 binding 775.89926875 information 778.272686 instead of actual 781.15133565 custom message 783.7739819 first part 785.6181066 converting 788.023593 code activity 790.7162268 to custom activity 793.587525 second part 796.0275239 data default 798.59098875 data validation 800.4318549 hope 801.97891725 valuable -7 first -7 custom -7 activities

No comments: