Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 912133
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T17:19:45+00:00 2026-05-15T17:19:45+00:00

By ASP.NET MVC plugin architecture, Plug-in architecture for ASP.NET MVC I have separated DLL(plugin)

  • 0

By ASP.NET MVC plugin architecture, Plug-in architecture for ASP.NET MVC

I have separated DLL(plugin) which contains the views, css and javascript files in the resources. So my own VirtualPathProvider will load the content out from the DLL if that is for the plugin. It works all fine during development. But It appears not working once I deployed it in IIS. (I mapped the whidcard in IIS 6 and the views are showing)

I have registered my VirtualPathProvider in global.asax as

protected void Application_Start()
{
    RegisterRoutes(RouteTable.Routes);
    HostingEnvironment.RegisterVirtualPathProvider(new MyVirtualPathProvider());
}

For example.
http://localhost/Plugin/MyPlugin.dll/Styles.MyStyles.css

This should be loaded from the plugin.dll but IIS returns 404.

I guess the static files are all handled by the IIS and not went through asp.net and my VirtualPathProvider ? Is there way to get around this? Please shed some light.

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T17:19:46+00:00Added an answer on May 15, 2026 at 5:19 pm

    I’ve found the workaround by adding the staticFileHandler in the web.config httpHandlers element.

    <add verb="GET,HEAD,POST" path="*" type="System.Web.StaticFileHandler" validate="true" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any plugin or library that enables javascript views in asp.net mvc 3
I currently have a ASP.Net MVC web application that needs to upload large files
I'm currently using ASP.NET MVC 4 CSS/JavaScript Optimizer. It works good with my own
I am working on a plugin system for Asp.net MVC 2. I have a
For my asp.net mvc 3 application I'm using this plugin . But I have
I am doing some plugin kind of work using asp.net mvc. I have two
I am using asp.net mvc 3 and knockoutjs 2.0 and mapping plugin I have
I'm using Chosen JQuery Plugin for a ASP.NET MVC (Razor) Project. For a Dropdownlist
I'm trying to use the jquery flot graphing plugin with asp.net mvc. I'm trying
ASP.NET MVC 3 can generate scaffold code for us(controllers and views). The generated views

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.