What are injection-related configuration nodes in Web. config?

Source: Internet
Author: User

The following are all injection-related configuration nodes. to upgrade your project from workflow 3.0 to workflow 4.0, add the following configuration sections.

  <?  XML version = "1.0" encoding = "UTF-8"  ?>  
< Configuration >
< Configsections >
< Section Name = "Unity" Type = "Microsoft. Practices. Unity. configuration. unityconfigurationsection, Microsoft. Practices. Unity. Configuration" />
</ Configsections >

< System. Web >
< Httpmodules >
< Add Name = "Unitymodule" Type = "Infoweb. unitymodule, infoweb" />
</ Httpmodules >
</ System. Web >
< System. Webserver >
< Modules >
< Add Name = "Unitymodule" Type = "Infoweb. unitymodule, infoweb" />
</ Modules >
</ System. Webserver >
< Unity >
< Typealiases >
<! -- Lifetime manager types -->
< Typealias Alias = "Singleton" Type = "Microsoft. Practices. Unity. containercontrolledlifetimemanager, Microsoft. Practices. Unity" />
< Typealias Alias = "Securityprovider" Type = "Waygo. Enterprise. providers. securityprovider, waygo. Enterprise. providers" />
< Typealias Alias = "Organizationprovider" Type = "Waygo. Enterprise. providers. organizationprovider, waygo. Enterprise. providers" />
< Typealias Alias = "Connectionnametypeconverter" Type = "Waygo. Enterprise. util. connectionnametypeconverter, waygo. Enterprise. util" />
< Typealias Alias = "Idbconnection" Type = "System. Data. idbconnection, system. Data, version = 2.0.0.0, culture = neutral, publickeytoken = b77a5c561934e089" />
< Typealias Alias = "Isecurityobjecthelper" Type = "Bingosoft. workflow. providers. DB. isecurityobjecthelper, bingosoft. workflow. providers. DB" />
< Typealias Alias = "Iapplicationhelper" Type = "Bingosoft. workflow. wfapi. iapplicationhelper, bingosoft. workflow. wfapi" />
</ Typealiases >
< Containers >
< Container Name = "Session" >
< Types >
< Type Type = "Organizationprovider" Mapto = "Bingosoft. workflow. providers. DB. dbwaygoorganizaiontprovider, bingosoft. workflow. providers. DB" >
< Lifetime Type = "Singleton" />
</ Type >
< Type Type = "Securityprovider" Mapto = "Bingosoft. workflow. providers. DB. dbwaygosecurityprovider, bingosoft. workflow. providers. DB" >
< Lifetime Type = "Singleton" />
</ Type >
< Type Type = "Bingosoft. workflow. providers. DB. organizationdb, bingosoft. workflow. providers. DB" >
< Typeconfig Extensiontype = "Microsoft. Practices. Unity. configuration. typeinjectionelement, Microsoft. Practices. Unity. Configuration" >
< Constructor >
< Param Name = "Connection" Parametertype = "Idbconnection" >
< Value Value = "Center" Type = "Idbconnection" Typeconverter = "Connectionnametypeconverter" />
</ Param >
</ Constructor >
</ Typeconfig >
</ Type >
< Type Type = "Isecurityobjecthelper" Mapto = "Bingosoft. workflow. providers. DB. securityobjecthelper, bingosoft. workflow. providers. DB" >
</ Type >
< Type Type = "Iapplicationhelper" Mapto = "Bingosoft. workflow. wfapi. applicationhelper, bingosoft. workflow. wfapi" >
< Lifetime Type = "Singleton" >
</ Lifetime >
</ Type >
</ Types >
</ Container >
</ Containers >
</ Unity >
</ Configuration >

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.