# Question to web.config

**URL:** <https://techcommunity.softwareag.com/t/question-to-web-config/58995>\
**Category:** Forum\
**Tags:** Mainframe-Integration, EntireX\
**Created:** [May 27, 2004, 12:53am UTC](https://techcommunity.softwareag.com/t/question-to-web-config/58995 "2004-05-27T00:53:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rabia](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@Rabia](https://techcommunity.softwareag.com/u/Rabia)\
**Post date:** [May 27, 2004, 12:53am UTC](https://techcommunity.softwareag.com/t/question-to-web-config/58995/1 "2004-05-27T00:53:21Z")

</div>

web.config seems to be the config file for [ASP.NET](http://ASP.NET) applications.   
  
I have two [ASP.NET](http://ASP.NET) applications both residing in the same [ASP.NET](http://ASP.NET) web service. However each will access a different Natural RPC Service on the mainframe.   
  
How can I handle this situation? Can i define more than one service in web.config?   
  
Thanks,  
Rabia

---

<div class="post-metadata">

**Author:** ![Douglas\_Kelly](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/douglas_kelly/32/102_2.png) [@Douglas\_Kelly](https://techcommunity.softwareag.com/u/Douglas_Kelly)\
**Post date:** [May 27, 2004, 11:31pm UTC](https://techcommunity.softwareag.com/t/question-to-web-config/58995/2 "2004-05-27T23:31:54Z")

</div>

From my efforts, it seems that the default configuration file for the .Net Wrapper is limited to simple situations. If the two parts of your application are in different virtual directories, you can use different web.config files in each directory.  
  
For my applications, I create my own application section in the configuration file using the AppSettingsReader to read the settings from the section of the config file.  
  
Douglas Kelly,  
Principal Consultant  
Software AG, Inc  
Sacramento, California

---

<div class="post-metadata">

**Author:** ![Rabia](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@Rabia](https://techcommunity.softwareag.com/u/Rabia)\
**Post date:** [May 28, 2004, 4:42am UTC](https://techcommunity.softwareag.com/t/question-to-web-config/58995/3 "2004-05-28T04:42:17Z")

</div>

Douglas,  
  
That helps.  
We will use the in the web.config and define the Brokeraddress, servicename for each operation of the service.   
Thanks a lot,  
Rabia

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:39pm UTC](https://techcommunity.softwareag.com/t/question-to-web-config/58995/4 "2021-04-02T14:39:35Z")

</div>


