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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T11:31:25+00:00 2026-05-11T11:31:25+00:00

I’ve edited and trimmed this to try and get it closed because the site

  • 0

I’ve edited and trimmed this to try and get it closed because the site is prompting me to accept an answer or add a bounty.

I did an experiment which had calls to GetUserStoreForAssembly and GetUserStoreForDomain in a library referenced by a console app but didn’t understand why I was getting more stores than I expected in one case and less in another.

Preet helped me tune my experiment and I ended up with two slightly differnt issues:

  • when I copied the console app to another directory (so the name remained the same), I got two user/assembly stores i.e. one per copy when I expected them to share

  • when I loaded my library into multiple domains within the console app they all still used the same user/assembly/domain store when I expected them to not share

By then, the question was cold. I did my own reading and I thought I found the answers so answered the question myself hoping someone would confirm/correct. But it was so far down the list there was no chance. I was just going to leave it but then got prompted to accept or add bounty.

So I’ve moved my answer here and now just need someone to add some helpful comment either confirming or correcting so I can accept it and know that this will actually be useful to anyone else wanting to better understand isolated storage:

Possible answer to first question:

Strong named assemblies are of course identified by their strong name. Weakly named (not sure if that’s an official term but whatever) are identified by their URL or file location. So the same weakly named assmebly copied to a different directory will have it’s own separate isolated store.

Possible answeranswer to second question (less certain about this one):

The scope returned by GetUserStoreForDomain is restricted to the machine, user, application and assembly, specifically that assembly running within a specific application.

My experiment created multiple additional domains but they are all in the same application. Therefore, they are all using the same domain store.

Therefore, to simulate domain isolation, I actually need to reference the library from two different console applications.

And this will only work properly if the library (and hence both console applications) are strong named. Referencing an assembly results in it being copied meaning if it’s weakly named it will have a seperate isolation store.

I just tried the whole experiment out with strong naming I now get 2 domain stores and 1 assembly store as expected.

  • 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. 2026-05-11T11:31:26+00:00Added an answer on May 11, 2026 at 11:31 am

    You can create multiple app domains in a single program/process. Inside the appdomain you can load the assembly. The call the methods in each app domain/assembly

    There are examples here (appdomains) and here (AssemblyIdentity) and here

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

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
link Im having trouble converting the html entites into html characters, (&# 8217;) i
Does anyone know how can I replace this 2 symbol below from the string
this is what i have right now Drawing an RSS feed into the php,
I have a French site that I want to parse, but am running into
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
I have some data like this: 1 2 3 4 5 9 2 6
Seemingly simple, but I cannot find anything relevant on the web. What is the
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
That's pretty much it. I'm using Nokogiri to scrape a web page what has

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.