[Mono-list] General .NET Q

Joop gkokmdam@zonnet.nl
Thu, 25 Mar 2004 17:05:03 +0100


Would it be an idea to store a module (compile cs file) into the 
database? That is what Progress(tm) does with Java classes for trigger 
procedures.
wkr,
Gerke

Shawn Vose wrote:

>Dave,
>
>I have no idea. IT was someone that contacted me via my website and they
>gave very little details other than what I have indicated in my question.
>Personally I didnt think it was possible. I knew it would have required a
>recompile whenever new code was being pulled from the db and after doing
>some reading last night I also concluded that there would have to be a class
>that was already available that would allow Reflection. I have only coded
>web apps in c# and asp.net which hardly makes me competent to even know
>where to begin on this.
>With respect to snippets they would be added to the db by other developers,
>which would be based on permissions. Truthfully if the contact replies to my
>request for a specification on the project I will pass it on to you if you
>would be interested in doing it. Personally my time is limited and although
>it sounds like a challenge I just dont have the experience or the time right
>now.
>
>Regards,
>Shawn Vose
>
>
>-----Original Message-----
>From: mono-list-admin@lists.ximian.com
>[mailto:mono-list-admin@lists.ximian.com]On Behalf Of Grundgeiger, Dave
>Sent: Thursday, March 25, 2004 10:17 AM
>To: 'svose@programmerforrent.com'
>Cc: mono
>Subject: RE: [Mono-list] General .NET Q
>
>
>Hi Shawn.
>
>I know you've gotten a couple of good answers on this already, but I'm
>curious about the application. Would you mind sharing why your client wants
>to do this? Also, where do they want the code snippets to execute--on the
>client, or on the server? Will the code snippets manipulate the database?
>Where will the snippets come from?
>
>I'm intrigued by this idea.
>
>Dave
>
>-----Original Message-----
>From: Shawn Vose [mailto:svose@programmerforrent.com]
>Sent: Wednesday, March 24, 2004 8:05 PM
>To: mono
>Subject: [Mono-list] General .NET Q
>
>Does anyone know if the following is possible:
>
>Taking a snippet of .NET c# code, maybe a function, and storing it in a
>mysql db
>
>to be later called by another piece of code and executed?
>
>I was asked this question by a client and I dont have the slightest clue
>on how to answer this. My initial answer is no because it would have to
>be compiled into the calling class; however, I am thinking that
>system.reflection would be able to help me.
>
>Any opinions or direction  would be greatly appreciated.
>
>
>Regards,
>Shawn Vose
>
>_______________________________________________
>Mono-list maillist  -  Mono-list@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-list
>_______________________________________________
>Mono-list maillist  -  Mono-list@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-list
>
>_______________________________________________
>Mono-list maillist  -  Mono-list@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-list
>  
>