Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify IIS hosting config #15

Open
sweetlandj opened this issue Apr 29, 2015 · 0 comments
Open

Simplify IIS hosting config #15

sweetlandj opened this issue Apr 29, 2015 · 0 comments

Comments

@sweetlandj
Copy link
Owner

Investigate using an IHttpHandlerFactory that will create and cache PlatibusHttpHandler instances dynamically based on the baseUri attributes specified in PlatibusConfigSections in web.config.

  • Support relative paths in baseUri (e.g. "~/platibus")
  • Match HttpContext.Request.Path to relative paths in config sections and construct a baseUri dynamically
  • Catch and return PlatibusHandler instances based on the appropriate configuration sections

This will enable support for multiple instances of Platibus in a single IIS-hosed web app, and will eliminate the need to ensure that the host, ports, and paths for the site, PlatibusConfigurationSection, and configuration all match.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant