Quantcast
Channel: Configuration & Scripting
Viewing all articles
Browse latest Browse all 780

Adding serviceautostartprovider via code (in applicationHost.config) C#

$
0
0

I  would like to know how to add serviceautostartprovider's entry in applicationHost.config file.

I would like to register my custom Preload client. I know how to edit and register manually. But I need to do it via code. Are there any APIs for doing that.  I would like to add this code:

<serviceAutoStartProviders><add name="RegisterApplicationHandler" type="X.RegisterApplicationHandler, X"/></serviceAutoStartProviders>

Because for setting "PreloadEnabled" and other attributes, it is possible via code.


Viewing all articles
Browse latest Browse all 780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>