Click here to Skip to main content
15,888,590 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: VS2005 Help Problem Pin
Sathesh Sakthivel11-Jun-07 2:38
Sathesh Sakthivel11-Jun-07 2:38 
QuestionValidation Pin
imran_Shaikh10-Jun-07 1:54
imran_Shaikh10-Jun-07 1:54 
AnswerRe: Validation Pin
Christian Graus10-Jun-07 13:49
protectorChristian Graus10-Jun-07 13:49 
QuestionMaskedTextBox + KeyEventArgs.SuppressKeyPress = bug? Pin
alex3_148-Jun-07 6:37
alex3_148-Jun-07 6:37 
QuestionCustom DataGridViewComboBoxColumn Pin
MaverickDQ8-Jun-07 5:01
MaverickDQ8-Jun-07 5:01 
AnswerRe: Custom DataGridViewComboBoxColumn Pin
Robert Rohde8-Jun-07 21:48
Robert Rohde8-Jun-07 21:48 
GeneralRe: Custom DataGridViewComboBoxColumn Pin
MaverickDQ8-Jun-07 22:44
MaverickDQ8-Jun-07 22:44 
QuestionWorkflowFoundation: How to (un)persist types from different assembly versions Pin
Lord Skeletor8-Jun-07 2:31
Lord Skeletor8-Jun-07 2:31 
Hello community,

I'm experiencing problems while working with persisted workflows.
As long as I keep the assemblies containing my Activity-types unchanged everything works great.
But as soon as I make changes to my activities/workflows (i.e. deleting single child-activities from a sequence) and start my host application, those workflow instances using the changed activites won't reload and continue running.

The problem is of course, that because the types have changed, SqlWorkflowPersistenceService is not able to deserialize the data stored in our database.
What I want to do is keeping backups of my assemblies, so that even if there is a more current version of the assembly, the old workflow instances will use the backup version and thus be able to deserialize without any trouble and continue running.

I tried writing my own assembly management routines (by subscribing to AppDomain.ResolveAssembly) which would provide the backup versions. The problem is, that SqlWorkflowPersistenceService does not seem to save the whole AssemblyQualifiedName of the serialzed types, so the Service would always try and deserialze to the types held in the most current assembly.

Now my question:
Is there a way to change SqlWorkflowPersistenceService's default behaviour of only saving the type name to saving the AssemblyQualifiedName which would solve all my problems in an instant?

If there's no such way, how would I implement my own WorkflowPersistenceService? As far as I've seen, all the custom implementations out there resolve to using Activity.Load and Activity.Save, which seem to show the same behaviour (of only saving the type name without assembly qualification).

Any help would be greatly appreciated.

Greets,

The Lord
AnswerRe: WorkflowFoundation: How to (un)persist types from different assembly versions Pin
Kevin McFarlane8-Jun-07 6:37
Kevin McFarlane8-Jun-07 6:37 
GeneralRe: WorkflowFoundation: How to (un)persist types from different assembly versions Pin
Lord Skeletor10-Jun-07 23:18
Lord Skeletor10-Jun-07 23:18 
QuestionString to Byte Array Conversion Pin
M. J. Jaya Chitra8-Jun-07 1:21
M. J. Jaya Chitra8-Jun-07 1:21 
AnswerRe: String to Byte Array Conversion Pin
szukuro8-Jun-07 1:37
szukuro8-Jun-07 1:37 
AnswerRe: String to Byte Array Conversion Pin
Thomas Stockwell12-Jun-07 4:27
professionalThomas Stockwell12-Jun-07 4:27 
GeneralRe: String to Byte Array Conversion Pin
WhiteGirl2325-Jun-07 0:47
WhiteGirl2325-Jun-07 0:47 
Questionremoting service Pin
hoang minh khoi8-Jun-07 0:19
hoang minh khoi8-Jun-07 0:19 
AnswerRe: remoting service Pin
Manas Bhardwaj8-Jun-07 0:28
professionalManas Bhardwaj8-Jun-07 0:28 
Questioncan you help me Pin
hoang minh khoi8-Jun-07 0:09
hoang minh khoi8-Jun-07 0:09 
AnswerRe: can you help me Pin
szukuro8-Jun-07 1:42
szukuro8-Jun-07 1:42 
GeneralRe: can you help me Pin
hoang minh khoi8-Jun-07 15:14
hoang minh khoi8-Jun-07 15:14 
QuestionInstall two setup at same time Pin
Suhail Shahab7-Jun-07 20:46
Suhail Shahab7-Jun-07 20:46 
AnswerRe: Install two setup at same time Pin
Manas Bhardwaj8-Jun-07 0:27
professionalManas Bhardwaj8-Jun-07 0:27 
QuestionConnect FileMaker Pin
M. J. Jaya Chitra7-Jun-07 20:41
M. J. Jaya Chitra7-Jun-07 20:41 
AnswerRe: Connect FileMaker Pin
originSH8-Jun-07 5:56
originSH8-Jun-07 5:56 
GeneralRe: Connect FileMaker Pin
M. J. Jaya Chitra8-Jun-07 18:03
M. J. Jaya Chitra8-Jun-07 18:03 
QuestionCommon language runtime question. Pin
Lokean7-Jun-07 10:54
Lokean7-Jun-07 10:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.