We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Search found 2 matches

Go to advanced search

by smroy
Thu Apr 15, 2021 6:12 pm
Forum: Common Problems
Topic: JSON Edit file doubles backslashes messing my connection string
Replies: 4
Views: 7167
 
Jump to post

Re: JSON Edit file doubles backslashes messing my connection string

Hi, thank you for the reply.

While writing a json file with a property with a fixed value putting a single \ is acceptable. However, when updating a json in an upgrade, the installer read the property (eg: ServerName\\InstanceName ) and double escape it in the writing process. So each upgrade ...
by smroy
Tue Mar 23, 2021 6:36 pm
Forum: Common Problems
Topic: JSON Edit file doubles backslashes messing my connection string
Replies: 4
Views: 7167
 
Jump to post

JSON Edit file doubles backslashes messing my connection string

Hi,

I have a appsettings.json file for my net core app. I used the json file option of version 18 to create the file using properties.

My connection string is in this file. Instance name is in this format "serverName\\InstanceName" and is stored in a property. When I setup a string node in my json ...

Go to advanced search