跟编译普通程序一样的,Alt, P, B(Build All),Ctrl+F9(Compile)。
然后拷贝这个dll到你的IIS可执行虚拟目录下,http://localhost/scripts/xxx.dll/hello就可以了。