Using a custom section handler in place of HttpCapabilitiesSectionHandler

A

Andy

Hi

I currently have a large database of capabilities for mobile devices.
I would like the MobileCapabilities object to be populated from this
database rather than from <browserCaps> section in machine.config (as
this would require a massive update)

It looks like it is possible to use a custom section handler by
implementing the IConfigurationSectionHandler interface.
This interface has a "create" method than passes back the populated
configuration object (in the case of browserCaps a MobileCapabilities
object).

How can I populate this MobileCapabilities object that I need to
return? The properties appear to be readonly.

Any help much me much appeciated as I can't seem to find any
documentation on this and I've hit a bit of a dead end.

Cheers

Andy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,046
Latest member
Gavizuho

Latest Threads

Top