swilson
Posts: 84
|
Posted: 10/05/2005, 9:54 AM |
|
I am able to get an outside contol to work when I add the necessary code to the web.config file. But this is regenerated when I publish.
Here's the code that I add to the web config that works:
under <appSettings>
<add key="DynamicImage.ServiceUrl" value="DynamicImageService.axd?" />
<add key="DynamicImage.UseInMemoryCache" value="true" />
<add key="DynamicImage.CacheForMinutes" value="1" />
<add key="DynamicImage.UseTempDirectory" value="true" />
<add key="DynamicImage.TempDirectory" value="~/tmp" />
under <system.web>
<compilation defaultLanguage="c#" debug="true" />
<httpHandlers>
<add verb="GET" path="DynamicImageService.axd" type="ProjXpert.DynamicImage.DynamicImageHandler,DynamicImage" />
</httpHandlers>
How and where do I incorporate this code in CCS so it's generated correctly?
_________________
It continues to amaze me, how often the solutions to seemingly complex problems are so very simple. |
|
|
Stan
|
Posted: 10/06/2005, 12:15 AM |
|
You can open Common Files in CCS IDE, find the web.config and make necessary changes. But after this web.config will not be regenerated, even if you change some project settings.
Stan
|
|
|
swilson
Posts: 84
|
Posted: 10/06/2005, 5:20 PM |
|
THANKS! I appreciate your taking time to answer.
Steve
_________________
It continues to amaze me, how often the solutions to seemingly complex problems are so very simple. |
|
|
|