简体   繁体   中英

.Net web services on linux

I have implemented some web services in .net and hosted it on windows server, how I can port it to linux ? To have the same web services on linux machine, do I have to rewrite it in Java ? Any Ideas.

A very wide scope of question , so here is a general answer

If you have implemented the service in WCF then mono ( .net on Linux ) ha limited support for it. For all the known issues look at

http://www.mono-project.com/WCF_Development

I have done this before for simple services without much problem.

If you need to support web services on both windows and Linux ,then I can recomend an alternative to WCF

https://github.com/ServiceStack/ServiceStack

Use this to avoid porting effort. This way you won't have to rewrite in java and reuse some of you .net code.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM