Hi
we have
asp.net APP but use oracle service, now the oracle service has been integrated in Ironfoundry v1
some part of web.config regarding data connect as following:
<connectionStrings>
<add name="ZTCConnection" connectionString="Data Source = ironnet;user id = iron;password = iron" providerName="System.Data.OracleClient"/>
</connectionStrings>
<appSettings>
<add key="WebDAL" value="Demo.DAL"/>
</appSettings>
after vmc push the web.config as following:
<connectionStrings>
<add name="ZTCConnection" connectionString="Data Source = ironnet;user id = iron;password = iron" providerName="System.Data.OracleClient" />
</connectionStrings>
<appSettings>
<add key="WebDAL" value="Demo.DAL" />
<add key="HOME" value="C:\IronFoundry\apps\ZTCDemo-0-e7127c6e46d444f1a8ae757913626e49" />
<add key="VCAP_APPLICATION" value="{"instance_id":45,"instance_index":0,"name":"ZTCDemo","uris":["
ztcdemo.vcap.me"],"users":["i@i"],"version":"a3c9664734e8120415a2118f2a18e63ab83df7e9-1","runtime":"aspdotnet40"}" />
<add key="VCAP_SERVICES" value="{"oracle-11.2":{"name":"oracle-4b2f1","type":"generic","label":"oracle-11.2","vendor":"oracle","version":"11.2","tags":["Oracle","oracle-11.2","relational","oracle-11.2","oracle"],"plan":"free","plan_option":null,"credentials":{"hostname":"10.10.102.138","host":"10.10.102.138","port":"1521","name":"u74cdac669ba542aa8e9276574b4fc","username":"u74cdac669ba542aa8e9276574b4fc","password":"p83e29d0fa3304da2955fb6a598df6"}}}" />
<add key="VCAP_APP_HOST" value="10.10.103.208" />
</appSettings>
we want the data connection was managed by oracle service in ironfoundry, not use TNS config(Data Source = ironnet) direct。if we disable the windows local TNS the connect will lost.
how can i bind the oracle service with
asp.net APP.
thanks