开发者

Is there a simple embeddable web server available for .net that supports PHP?

开发者 https://www.devze.com 2023-01-25 04:24 出处:网络
I want to add a simple web server to my .net windows service project that supports PHP.I have scoured the internet for something that I can embed into my project without a lot of success.The closest t

I want to add a simple web server to my .net windows service project that supports PHP. I have scoured the internet for something that I can embed into my project without a lot of success. The closest thing I found was Mongoose which used to have support for c#, but as of Sept. 2010 that has been di开发者_开发百科scontinued due to problems with Vista/7. Does anyone know of any .Net libraries or open source solutions that would allow me to embed a web server into my project that supports PHP?


Why not write your own web server in C# and call PHP from within your code?

http://www.codeguru.com/csharp/.net/net_general/article.php/c4603


The best thing I found was this: http://webserver.codeplex.com/

Someone made a modification to it to support PHP and it is working great

http://webserver.codeplex.com/Thread/View.aspx?ThreadId=236909

0

精彩评论

暂无评论...
验证码 换一张
取 消