Open Source Alternatives to WCF [closed]
Asked Answered
A

4

11

Could you tell me the open source alternatives to WCF?? I'm a newbie and just started using WCF. I wanted to know about the alternatives that are open source too. Also, what makes them better options/not so good compared to WCF.

Thanks, Thothathri

Algesia answered 3/6, 2011 at 22:44 Comment(2)
Is there anything you miss from WCF?Officiate
WCF was open-sourced today.Shophar
J
6

There are open source projects for REST services - for example Open Rasta Perhaps you will also find some open source projects for basic SOAP services but I doubt that there is an open source project implementing all WS-* related stuff implemented in WCF. WS-* protocols are mostly implemented only in API from big companies - MS, IBM, Oracle, SAP, etc. Reasons are:

  • Complexity - implementing WS-* protocols means diving deep into tons of specifications. You must also implement them very carefully to be really interoperable and to do not reduce performance too much.
  • Support - WS-* protocols are usually used in B2B solutions where enterprises demands some guarantees and support.
  • Costs - developing such API takes really long time.

Even WCF implements only subset of WS-* protocols. But WCF is highly extensible so anybody can try to implement some of these missing protocols himself.

WCF doesn't states only for REST and SOAP services. It is also replacement of .NET Remoting and Enterprise services from older .NET versions. You will not find a .NET API which will also offer all this functionality.

Joyajoyan answered 3/6, 2011 at 23:5 Comment(0)
R
4

I also highly recommend checking out ServiceStack, it's a config-free web service framework I started that lets you easily and rapidly develop web services with very little friction.

It provides an expressive friction-less environment as you're able to develop web services by using you're own POCO C# DTO's which also encourages best-practices web service development since you're easily able to create more batch-full, coarse-grained APIs.

It's aims to be more productive by closely fusing C# with HTTP where all C# objects returned get automatically serialized to the requested format with (XML, JSON, JSV, CSV, SOAP 1.1/1.2, HTML) supported out-of-the-box. C# Exceptions also get automatically serialized for you making the tedious things effortless.

One of the major benefits is not needing to be concerned with external formats and endpoints (which are taken care by the framework) and you're left with developing your logic in a clean-room, auto-wired and highly testable, DDD-like IService class.

Raspings answered 6/6, 2011 at 10:7 Comment(2)
It's a pain to use without the paid extensionsBindle
@Daniel All development of ServiceStack prior to September 2013 is available under BSD at github.com/servicestackv3/servicestackv3 - All development after September 2013 has been made by full-time paid employees in v4 which is what's supports full-time development of ServiceStack.Raspings
D
2

You could use RestCake if you're trying to create RESTful services.

Dirty answered 3/6, 2011 at 23:1 Comment(0)
L
0

Mono project has an ongoing effort for WCF hosted in Github. As you know, System.ServiceModel is the main engine for WCF. You can find Mono implementations of these namespaces under /mono/mcs/class/System.ServiceModel.* . You can find project related updates and relevant contribution information here

Libration answered 15/3, 2013 at 18:47 Comment(1)

© 2022 - 2024 — McMap. All rights reserved.