Mono doesn't support C++/CLI.
On Tue, Sep 24, 2013 at 4:10 PM, Yifeng <[email protected]> wrote: > I'm using WCF in C++/CLI. I'm wondering if MONO supports NetTcpBinding in > C++/CLI. > Before I start to get into MONO, I just need some confirmation if it is > supported by MONO. > Any comment would be appreciated. Thanks. > > some sample code, would these kind of WCF code supported using MONO? > Service: > host->AddServiceEndpoint(IService1::typeid, gcnew NetTcpBinding(), > L"net.tcp://localhost:6000/service"); > host->Open(); > NetTcpBinding^ binding = gcnew NetTcpBinding(); > EndpointAddress^ address = gcnew > EndpointAddress(String::Format(L"net.tcp://localhost:6000/service", > Environment::MachineName)); > ChannelFactory<IService1^>^ factory = gcnew > ChannelFactory<IService1^>(binding, address); > proxy = factory->CreateChannel(); > > Client: > NetTcpBinding^ binding = gcnew NetTcpBinding(); > EndpointAddress^ address = gcnew > EndpointAddress(String::Format(L"net.tcp://localhost:6000/service", > Environment::MachineName)); > ChannelFactory<IService1^>^ factory = gcnew > ChannelFactory<IService1^>(binding, address); > IService1^ proxy = factory->CreateChannel(); > > > > -- > View this message in context: > http://mono.1490590.n4.nabble.com/NetTcpBinding-supported-in-C-CLI-tp4660958.html > Sent from the Mono - General mailing list archive at Nabble.com. > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list >
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
