Google App Engine ASP.net

2019-07-11 19:09发布

I am new to Google App Engine. What i really need to go is host my web service which is written in ASP.net & C# on google app engine.

My web service gets a string and translate that string from already stored translated values in the database which is SQL server 2008 R2. This translated string is in the form of spans. i then return the string.

thanks

3条回答
做个烂人
2楼-- · 2019-07-11 19:15

The Google App Engine currently supports applications written in Python, Java and Go and won't run ASP.net applications unless some heavy magic (such as compiling it to Java bytecode) is involved and I'm not aware of anything that can do that specific trick.

Maybe you should consider Microsoft's Azure. It's kind of an equivalent PaaS solution, but will play with Microsoft's stack.

Note: Google has since added PHP support.

Note: Now Google has the "custom runtime" that allows you to host pretty much anything you can run on a Linux machine.

查看更多
仙女界的扛把子
3楼-- · 2019-07-11 19:25

You can not host C# applications.

Google App Engine is focused in supporting three application environments only: Java, Python and Go.

Additionally App Engine applications can also be written in any JVM-compatible language (e.g. JRuby, Groovy, Scala, etc.) and run in a Java 6 runtime environment.

查看更多
够拽才男人
4楼-- · 2019-07-11 19:37

It should now be possible to host ASP.NET applications on App Engine. Use the custom runtime feature on App Engine and Microsoft's ASP.NET Docker image with your application. Also, you need to create a route for /_ah/health and respond with HTTP status code 200 and a blank message body (see lifecycle events).

查看更多
登录 后发表回答