c# - Override some Methodes of VirtualPathProvider -


i want use default implemented virtualpathprovider of asp.net mvc web application.

in other words want inherit own virtualpathprovider default asp.net virtualpathprovider , override getcachekey method.

what should do?

anyone can help?

cheers

create custom virtual path provider class, overriding method want, , call hostingenvironment.registervirtualpathprovider within application_start (defined in global.asax.cs) install it:

protected void application_start() {     hostingenvirontment.registervirtualpathprovider(new myvpprovider()); } 

Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo