I've got a C# ASP.NET app that I'm working on. There are three assemblies involved - the assembly of the ASP.NET app itself, a second assembly that the app uses, and a third assembly that's used by the second one.
So the calls go like this:
ASP.NET Assembly ------> SecondAssembly---------> Third Assembly.
What I need to do in the third assembly is get the name of the ASP.NET Assembly that called the second assembly.
Assembly.GetExecutingAssembly().ManifestModule.Name returns the name of the Second assembly.
Does anybody know if there is a way to get to the assembly name of the ASP.NET Assembly?
I can't change the ASP.NET assembly right now (it's deployed to production and we don't want to update it right now for various reasons). I'd rather not do any HTTP Context dependent things in the Third Assembly as we are trying to write the third assembly to be used by windows and ASP.NET apps with no changes.
Any help would be appreciated.
Thanks
Rick
So the calls go like this:
ASP.NET Assembly ------> SecondAssembly---------> Third Assembly.
What I need to do in the third assembly is get the name of the ASP.NET Assembly that called the second assembly.
Assembly.GetExecutingAssembly().ManifestModule.Name returns the name of the Second assembly.
Does anybody know if there is a way to get to the assembly name of the ASP.NET Assembly?
I can't change the ASP.NET assembly right now (it's deployed to production and we don't want to update it right now for various reasons). I'd rather not do any HTTP Context dependent things in the Third Assembly as we are trying to write the third assembly to be used by windows and ASP.NET apps with no changes.
Any help would be appreciated.
Thanks
Rick