Tuesday, 20 August 2019

The “&” character breaks Data that are stored in the web.config

//////////////// Inside the web.config file

Before


<appSettings>
<add key="Key" value="https://{s}.google.com/vt/lyrs=s&x={x}&y={y}&z={z}" />
  </appSettings>


After

<appSettings>

   <add key="Key" value="https://{s}.google.com/vt/lyrs=s&amp;x={x}&amp;y={y}&amp;z={z}" />  
  </appSettings>


No comments:

Post a Comment

How to highlight selected text in notepad++

  –> To highlight a block of code in Notepad++, please do the following steps step-1  :- Select the required text. step-2  :- Right click...