Interactive C# shell for server monitoring

View: New views
5 Messages — Rating Filter:   Alert me  

Interactive C# shell for server monitoring

by PABLOSANTOSLUAC@terra.es :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Any experience anyone using Interactive C# shell
(http://www.mono-project.com/CsharpRepl) embedded into a server process
for monitoring purposes (accessible through a socket maybe?)

Thanks,

        pablo
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@...
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: Interactive C# shell for server monitoring

by Jb Evain-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey Pablo,

On 11/11/09, pablosantosluac@... <pablosantosluac@...> wrote:
>  Any experience anyone using Interactive C# shell
>  (http://www.mono-project.com/CsharpRepl) embedded into a server process
>  for monitoring purposes (accessible through a socket maybe?)

It's doable using the attach functionality of Mono:

http://tirania.org/blog/archive/2008/Sep-29.html

--
Jb Evain  <jb@...>
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@...
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: Interactive C# shell for server monitoring

by PABLOSANTOSLUAC@terra.es :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sure, I've seen that.

My question is if anyone already played with it, introducing it into an
app and giving a network access to it.

Jb Evain wrote:

> Hey Pablo,
>
> On 11/11/09, pablosantosluac@... <pablosantosluac@...> wrote:
>>  Any experience anyone using Interactive C# shell
>>  (http://www.mono-project.com/CsharpRepl) embedded into a server process
>>  for monitoring purposes (accessible through a socket maybe?)
>
> It's doable using the attach functionality of Mono:
>
> http://tirania.org/blog/archive/2008/Sep-29.html
>
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@...
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: Interactive C# shell for server monitoring

by Miguel de Icaza-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

> Sure, I've seen that.
>
> My question is if anyone already played with it, introducing it into  
> an
> app and giving a network access to it.

The problem today with CSharp and attach is that it is not integrated  
with the main loop of an application, so it is inherently unsafe.

For Gtk# based applications, since we know that there is a main loop,  
we plug naturally into the main loop, so it is not an issue, but with  
server applications it is anyone's guess what kind of event processing  
exists.

In those cases, it would be best if the specific server application  
provides an explicit interface to get C# source and evaluate it.

Miguel.

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@...
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: Interactive C# shell for server monitoring

by PABLOSANTOSLUAC@terra.es :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok, thanks Miguel.

Miguel de Icaza wrote:

> Hello,
>
>> Sure, I've seen that.
>>
>> My question is if anyone already played with it, introducing it into an
>> app and giving a network access to it.
>
> The problem today with CSharp and attach is that it is not integrated
> with the main loop of an application, so it is inherently unsafe.
>
> For Gtk# based applications, since we know that there is a main loop, we
> plug naturally into the main loop, so it is not an issue, but with
> server applications it is anyone's guess what kind of event processing
> exists.
>
> In those cases, it would be best if the specific server application
> provides an explicit interface to get C# source and evaluate it.
>
> Miguel.
>
>
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@...
http://lists.ximian.com/mailman/listinfo/mono-devel-list