Various recipes for the Net.
Oct 29, 2008
In Ubuntu (Ibex), the examples are listed here:
$ cd /usr/share/doc/boo/examples/asp.net
You are able to type
$ xsp2
and then from your browser you can run any of the "inline" samples
http://localhost:8080/InlineBooButtonClick.aspx http://localhost:8080/InlineBooExpression.aspx http://localhost:8080/InlineBooHelloAspNet.aspx
If you want to run the code behind samples (the ones with the aspx AND aspx.boo page) then you need to compile it and place it in the bin directory
A good start is:
$ booc -t:library -o:ScriptRunner.dll ScriptRunner.aspx.boo $ mkdir bin $ cp ScriptRunner.dll bin/
from your browser:
http://localhost:8080/ScriptRunner.aspx
You can then use this to play around with some boo as if it were the booshell (booish)
Thanks to Cedric for helping me out in IRC on this.
1 Comment
Hide/Show CommentsOct 29, 2008
Matthew Campbell
In Ubuntu (Ibex), the examples are listed here:
$ cd /usr/share/doc/boo/examples/asp.net
You are able to type
$ xsp2
and then from your browser you can run any of the "inline" samples
http://localhost:8080/InlineBooButtonClick.aspx http://localhost:8080/InlineBooExpression.aspx http://localhost:8080/InlineBooHelloAspNet.aspx
If you want to run the code behind samples (the ones with the aspx AND aspx.boo page) then you need to compile it and place it in the bin directory
A good start is:
$ booc -t:library -o:ScriptRunner.dll ScriptRunner.aspx.boo
$ mkdir bin
$ cp ScriptRunner.dll bin/
from your browser:
http://localhost:8080/ScriptRunner.aspx
You can then use this to play around with some boo as if it were the booshell (booish)
Thanks to Cedric for helping me out in IRC on this.