.NETGURU
dynamic creation of .net assemblies
Messages   Related Types
This message was discovered on ASPFriends.com 'ngfx-compiledynamic' list.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.

Chris
I have a list of .net assemblies that I want to create dynmically in
another .net assembly.

Can anyone point me int he right direction to do this?

I believe that I have to create the asssemblies that I want to call
using a strong name and then use reflection to invoke them from another
assembly. I'm still early on in my research on the subject though. Any
help would be much appreciated.

Thanks,
Chris
Reply to this message...
 
    
Saurabh Nandu (VIP)
Chris,
.NET has an Reflection.Emit API that allows you to Emit Dynamic
Assemblies at Runtime ! But of course here you deal with IL OpCodes for
creating your Assembly.
Although you don't need to have a strong name, any assembly (of course
having the appropriate Permission Set) can emit an Dynamic Assembly,
either transient assembly that's just created in memory and destroyed
after the original application is closed or persistent assemblies that
can be saved to disk.

I have just submitted an Article to C#Today (www.csharptoday.com
<http://www.csharptoday.com/> ) that deals with this, but I am not sure
when it will be published online .. if you are interested, I will e-mail
you when it comes online !

Regards,
Saurabh Nandu
Web Master: http://www.MasterCSharp.com <http://www.mastercsharp.com/>
Master C#, the easy way...

-----Original Message-----
From: Chris [mailto:Click here to reveal e-mail address]
Sent: Thursday, January 03, 2002 11:02 AM
To: ngfx-compiledynamic
Subject: [ngfx-compiledynamic] dynamic creation of .net assemblies

I have a list of .net assemblies that I want to create dynmically in
another .net assembly.

Can anyone point me int he right direction to do this?

I believe that I have to create the asssemblies that I want to call
using a strong name and then use reflection to invoke them from another
assembly. I'm still early on in my research on the subject though. Any
help would be much appreciated.

Thanks,
Chris
| [ngfx-compiledynamic] member Click here to reveal e-mail address = YOUR ID |
http://www.aspfriends.com/aspfriends/ngfx-compiledynamic.asp = JOIN/QUIT
Reply to this message...
 
    
Chris
Saurabh,

If you were to email me it would be much appreciated - I'm definately intereseted in reading your post. I'll keep an eye on the site as well.

Thanks,
Chris
----- Original Message -----
From: Saurabh Nandu
To: ngfx-compiledynamic
Sent: Wednesday, January 02, 2002 11:17 PM
Subject: [ngfx-compiledynamic] RE: dynamic creation of .net assemblies

Chris,

.NET has an Reflection.Emit API that allows you to Emit Dynamic Assemblies at Runtime ! But of course here you deal with IL OpCodes for creating your Assembly.
Although you don't need to have a strong name, any assembly (of course having the appropriate Permission Set) can emit an Dynamic Assembly, either transient assembly that's just created in memory and destroyed after the original application is closed or persistent assemblies that can be saved to disk.

I have just submitted an Article to C#Today (www.csharptoday.com) that deals with this, but I am not sure when it will be published online .. if you are interested, I will e-mail you when it comes online !

Regards,

Saurabh Nandu

Web Master: http://www.MasterCSharp.com

Master C#, the easy way...

-----Original Message-----
From: Chris [mailto:Click here to reveal e-mail address]
Sent: Thursday, January 03, 2002 11:02 AM
To: ngfx-compiledynamic
Subject: [ngfx-compiledynamic] dynamic creation of .net assemblies

I have a list of .net assemblies that I want to create dynmically in
another .net assembly.

Can anyone point me int he right direction to do this?

I believe that I have to create the asssemblies that I want to call
using a strong name and then use reflection to invoke them from another
assembly. I'm still early on in my research on the subject though. Any
help would be much appreciated.

Thanks,
Chris

| [ngfx-compiledynamic] member Click here to reveal e-mail address = YOUR ID | http://www.aspfriends.com/aspfriends/ngfx-compiledynamic.asp = JOIN/QUIT

| [ngfx-compiledynamic] member Click here to reveal e-mail address = YOUR ID | http://www.aspfriends.com/aspfriends/ngfx-compiledynamic.asp = JOIN/QUIT
Reply to this message...
 
    
Saurabh Nandu (VIP)
Fine .. I will definitely let you know when it comes up :-) .
BTW: If you have any other questions in between let me know :-)

Regards,
Saurabh Nandu
Web Master: http://www.MasterCSharp.com <http://www.mastercsharp.com/>
Master C#, the easy way...

-----Original Message-----
From: Chris [mailto:Click here to reveal e-mail address]
Sent: Thursday, January 03, 2002 11:04 PM
To: ngfx-compiledynamic
Subject: [ngfx-compiledynamic] RE: dynamic creation of .net assemblies

Saurabh,

If you were to email me it would be much appreciated - I'm definately
intereseted in reading your post. I'll keep an eye on the site as well.

Thanks,
Chris
----- Original Message -----
From: Saurabh <mailto:Click here to reveal e-mail address> Nandu
To: ngfx-compiledynamic <mailto:Click here to reveal e-mail address>
Sent: Wednesday, January 02, 2002 11:17 PM
Subject: [ngfx-compiledynamic] RE: dynamic creation of .net assemblies

Chris,
.NET has an Reflection.Emit API that allows you to Emit Dynamic
Assemblies at Runtime ! But of course here you deal with IL OpCodes for
creating your Assembly.
Although you don't need to have a strong name, any assembly (of course
having the appropriate Permission Set) can emit an Dynamic Assembly,
either transient assembly that's just created in memory and destroyed
after the original application is closed or persistent assemblies that
can be saved to disk.

I have just submitted an Article to C#Today (www.csharptoday.com
<http://www.csharptoday.com/> ) that deals with this, but I am not sure
when it will be published online .. if you are interested, I will e-mail
you when it comes online !

Regards,
Saurabh Nandu
Web Master: http://www.MasterCSharp.com <http://www.mastercsharp.com/>
Master C#, the easy way...

-----Original Message-----
From: Chris [mailto:Click here to reveal e-mail address]
Sent: Thursday, January 03, 2002 11:02 AM
To: ngfx-compiledynamic
Subject: [ngfx-compiledynamic] dynamic creation of .net assemblies

I have a list of .net assemblies that I want to create dynmically in
another .net assembly.

Can anyone point me int he right direction to do this?

I believe that I have to create the asssemblies that I want to call
using a strong name and then use reflection to invoke them from another
assembly. I'm still early on in my research on the subject though. Any
help would be much appreciated.

Thanks,
Chris
Reply to this message...
 
 
System.Reflection.Emit.OpCodes




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification