It's pretty popular in corp environments. #IIS still runs a lot of the #intranet.
I've been doing #PowerShell #WebDev for about 16 years now.
These days it's mostly cross-platform. #HttpListener + #PowerShell in a #Container #FTW
It's pretty popular in corp environments. #IIS still runs a lot of the #intranet.
I've been doing #PowerShell #WebDev for about 16 years now.
These days it's mostly cross-platform. #HttpListener + #PowerShell in a #Container #FTW
The more isolated context you can run your script in, the safer it will be.
The more isolated context you can run your script in, the safer it will be.
#PHP in #IIS used to be fun.
#PowerShell in IIS used to be fun, until I realized how much easier it was to just use an HttpListener.
At least IIS in on the long road out. I don't know how much it will be missed.
#PHP in #IIS used to be fun.
#PowerShell in IIS used to be fun, until I realized how much easier it was to just use an HttpListener.
At least IIS in on the long road out. I don't know how much it will be missed.
The standard libary and all of the keywords are implemented as agents in a message passing system. `Fs read-all`, `spawn HttpListener` and `agent Alice {}` are all messages to another agent.
To make a quine, that means I've implemented `Io` and `Fs`. And a banner 😜 #rust
The standard libary and all of the keywords are implemented as agents in a message passing system. `Fs read-all`, `spawn HttpListener` and `agent Alice {}` are all messages to another agent.
To make a quine, that means I've implemented `Io` and `Fs`. And a banner 😜 #rust
I completely rewrote the way the Listener works to be super duper async and abandoned the old client and request model I had written in favor of HTTPListener. Read more: github.com/RobynLlama/S...
I completely rewrote the way the Listener works to be super duper async and abandoned the old client and request model I had written in favor of HTTPListener. Read more: github.com/RobynLlama/S...
You `spawn HttpListener { port=8080; delegate=me }` and then pattern match on `[http _request GET "users" _user] {...}` in your `agent`. This will be opensource.
You `spawn HttpListener { port=8080; delegate=me }` and then pattern match on `[http _request GET "users" _user] {...}` in your `agent`. This will be opensource.
GitHub.com/PowerShellWe...
Gonna be using that to add a #Turtle #Graphics server to another project ( probably build after next )
GitHub.com/PowerShellWe...
Gonna be using that to add a #Turtle #Graphics server to another project ( probably build after next )
People are saying it affects IIS as well but my first problem is httplistener because that's how my app talks to its service, for 200k+ users!
People are saying it affects IIS as well but my first problem is httplistener because that's how my app talks to its service, for 200k+ users!
Basically, you create a HttpListener, Listen for requests, and respond to them.
See this #gist
gist.github.com/StartAutomat...
Basically, you create a HttpListener, Listen for requests, and respond to them.
See this #gist
gist.github.com/StartAutomat...