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 827417
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T03:34:16+00:00 2026-05-15T03:34:16+00:00

I am building a set of class libraries that produce office open xml based

  • 0

I am building a set of class libraries that produce office open xml based reports and I am using a static Windsor IoC container.

My problem is that one possible entry point to the reporting system is via a web front end which means that the reporting systems static IoC Container is being shared amongst multiple web requests which causes exceptions as for each new request the reporting system is trying re-register components in Windsor that were already registered by an earlier request.

I dont want to move the registration into the web app global.asax as my reporting system will no longer be stand-alone.

How can I have a Windsor IoC container that can be shared amongst my reporting classes but not shared across multiple web requests?

  • 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-15T03:34:16+00:00Added an answer on May 15, 2026 at 3:34 am

    Don’t recreate the container over and over again. Do create and setup it once per your application in global start point. You can still make your components self contained by encapsulating all registration in installers. Then in global.asax you’ll only install the installers which is fairly easy to do and in upcoming Windsor 2.5 it’s literally 2 lines of code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building a set of SVG files that include an unfortunate number of hardcoded
I'm designing/building a system of classes that all derive from a single base class.
I'm building a class or two based on StdRegProv to handle Windows Registry via
I'm building a Rails application using Devise. Devise is all set up even omniauth.
I'm building a simple Ruby on Rails plugin and I'm considering using the Set
I have a cocoa class set up that I want to use to connect
I am building an user class that manage the creation, deletion and modification of
I'm currently building a class using TDD. The class is responsible for waiting for
I am building an Eclipse plug-in that provides a set of core features in
I am building a class that only receive a Zend_Db_Rowset throught its params and

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.