Why use a scripting language? The System.CodeDom namespace has
constructs for creating a compiler for a particular language and you could
use what has already been done for you.

Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
> I'm developing a C# web server and I want to implement some kind of server
> side scripting. I thought about writing my own, but that will take some
> time.. I'm not sure if there is a way to impliment something someone
> already has. Anyone have any experience with any of this and willing to
> provide me a starting point?
Chizl - 09 Jan 2008 23:15 GMT
I don't know anything about System.CodeDom so I'll have to look into that..
Thanks for the reply.
I'm somewhat new to C#, this is my first big project, which I've decided to
do just so I can learn C# in depth, but as I move along, I'm finding myself
building something that I may replace my IIS with.. lol.
I'm looking for some hard core C# developers that would like to help build
this into something big, if anyone is interested email me at "news at chizl
dot com". I would like to open source it once we get to a point of
something that can be used commercially.
It current server sets here.. http://70.136.66.85 You can see what I've
implemented and what I need to implement along with the stress test results.
> Why use a scripting language? The System.CodeDom namespace has
> constructs for creating a compiler for a particular language and you could
[quoted text clipped - 5 lines]
>> someone already has. Anyone have any experience with any of this and
>> willing to provide me a starting point?
Chizl - 09 Jan 2008 23:31 GMT
Ok, I've been looking at System.CodeDom, which looks pretty cool, however,
well this work for open text, pick it up, merge the server language with the
HTML and respond with only HTML so I can display to the browser? This
looks more for compiling EXE etc.. If I could support C# as the server
side language I would be ecstatic.
> Why use a scripting language? The System.CodeDom namespace has
> constructs for creating a compiler for a particular language and you could
[quoted text clipped - 5 lines]
>> someone already has. Anyone have any experience with any of this and
>> willing to provide me a starting point?
> I'm developing a C# web server and I want to implement some kind of server
> side scripting. I thought about writing my own, but that will take some
> time.. I'm not sure if there is a way to impliment something someone
> already has. Anyone have any experience with any of this and willing to
> provide me a starting point?
It wouldn't be hard to use PowerShell as your scripting engine.