index > Windows Workflow Foundation > PublicToken for custom assemblies

PublicToken for custom assemblies

Hi

When we eg. want to add a service or the like from web config i see something like the following:

<add type="System.Workflow.Runtime.Hosting.WorkflowWebHostingModule, System.Workflow.Runtime, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="WorkflowHost"/>

If i create my own WorkflowWebHostingModule (inherited from HttpModule) how would i add it from web config then? I don't have that publicKeyToken. I guess its a strong signed token right? But do I need that for my own private testing project? If not. How should the <add type ...> section look then without the token?

Thanks in regards

Anders

anderskj1

Found the answere my self. I can just do like.

<add type="FQN, AssemblyName" name="SomeName"/>

Anders

anderskj1
For a regular, not strong named, assembly, that should work, although the real fully qualified name would be:

AssemblyName, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null

Obviously you'd replace the version and culture with the correct values.



Tomas Restrepo [MVP]
Tomas Restrepo
reply 3

You can use google to search for other answers

 

More Articles

• Beta2 lab - [ExternalDataExchange] or [ExternalDataExchange] ?
• how does the instanceId get set on SqlWorkflowPersistenceService
• WWF and sql server requirement
• IndexOutOfRangeException while invoking WorkflowRuntime.getWorkfl...
• How one can create workflow project?
• How to store application specific data using WF SqlTracking Servi...
• Can Beta2 be insatlled and used without Vista?
• WinFx Installtion problem
• Tracking Profile
• (State Machine || Sequential Workflow) || (State Machine + Sequen...
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• Workflow Compile Error
• Long run and threading- are they related?
• ASP.NET Workflow Requirement
• IncludeDebugInformation not working
• SerializationException while Persisting
• refactored TimerService sample?
• API Documentation RC2?
• properties - file dialog
• PersistOnCloseAttribute seems to unload
• very small bug with PolicyActivity (RC4)
• Create a code expression with RuleCondit
• Implementing IDynamicPropertyTypeProvider
• Added activities from the DesignerAction
• Redistribute?
• Find activity during Design Time

Hot Articles

• Worklist of workflow instances for a user
• Downloadable Workflow Themes
• How does the serialization work?
• Runtime heavy CPU Load
• delay InitializeTimeoutDuration problem
• Asp.Net WF - OnIdle Event is stopping my
• sql services
• How to persists a state machine workflow
• How to add tiemout functionality to an E
• use of fields in tables - SQL Tracking S
• Binding Custom Activity Property Collect
• Problems defragmenting
• Problem in sending mail through web inst
• How to run a workflow in a WPF application
• [FeatureReq] A "data flow" gra

Recommend Articles

• Custom Activity Scope Example
• Find Top Level Activities of Current Act
• Correct way to create a State Machine
• Go Live?
• support of login-based rss-feeds?
• Custom Composite Activities and Correlat
• How Windows WF could behave as a page-fl
• Invoking a HandleExternalEventActivity f
• Oracle persistence service ?
• Interval between WorkflowIdled and persi
• How do I keep the parent alive?
• installing WF error - service pack requi
• how to implement human workflow in asp.net
• how to implement a simple approval using
• Run workflow from a specify activity,how