Add-in Express ClickOnce & Application Config

Add-in Express™ Support Service
That's what is more important than anything else

Add-in Express ClickOnce & Application Config
 
Jamil Nawaz




Posts: 22
Joined: 2018-02-10
Hi,

We are using some web services in the add-in for server side communication. We have three different servers (dev, stage & prod). We need to use some kind of config file (e.g: App.Config). How can we use that? Is that straight forward? I tried with simple way like we do in windows application but it does not work.

Please suggest?

Regards,
Jamil
Posted 10 Apr, 2018 06:45:57 Top
Andrei Smolin


Add-in Express team


Posts: 16316
Joined: 2006-05-11
Hello Jamil,

Please see section Configuring an add-in at https://www.add-in-express.com/docs/net-office-tips.php#configuring-add-in.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 10 Apr, 2018 06:57:46 Top
Jamil Nawaz




Posts: 22
Joined: 2018-02-10
Thanks! Andrei,

It was my fault. I had the config variable's value empty in the config file. That's why It was returning empty.

Thanks! for the your link, I'll read it for the details.

Regards,
Jamil
Posted 10 Apr, 2018 08:21:44 Top
Andrei Smolin


Add-in Express team


Posts: 16316
Joined: 2006-05-11
You are welcome.

I also suggest that you look into the Add-in Express manual; see the PDF file in {Add-in Express installation folder}\Docs.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 10 Apr, 2018 08:37:20 Top