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

  • Home
  • SEARCH
  • 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 8592103
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T23:40:36+00:00 2026-06-11T23:40:36+00:00

I need to enumerate types in a certain namespace which physically lies in a

  • 0

I need to enumerate types in a certain namespace which physically lies in a Silverlight dll. But I have to do it on a server (asp.net app).

I have xap file, I can read it with zip and get the dll I need.

However I want not to load that assembly in memory (I think it might not get loaded as it is Silverlight app) also as long as I remember loaded assembly cannot be unloaded (dont want to junk server memory just to get few strings).

Any ideas?

EDIT : ReflectionOnlyLoad does not work for Silverlight assembly.. Any other ideas?

  • 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-06-11T23:40:37+00:00Added an answer on June 11, 2026 at 11:40 pm

    You should use:

    Assembly.ReflectionOnlyLoad(string assemblyString)
    

    This will load the assembly (without depencies) in a special context. You can not execute any methods. You can unload this assembly, without unloading the complete AppDomain.

    MSDN: Assembly.ReflectionOnlyLoad

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

Sidebar

Related Questions

I have 290 Group Policy Backup xml files which I need to enumerate in
I need to enumerate all the user defined types created in a SQL Server
I need a generic collection class which I can add to, and enumerate over.
Why do we need reference types in .NET? I can think of only 1
For GUI purposes I need by current state of state machine to enumerate possible
How can I enumerate all possible instances of System.Char ? I need to see
i need Enumarable value from below class but give error public static Enumerable LoadDataByName(string
Need some regular expressions help. So far I have my code working to allow
Need some help... I have jasperserver 4.1 installed on my ubuntu. It runs via
Need help with a query that I wrote: I have three tables Company id

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.