Bug 11331 - ServiceHost throws InvalidOperationException on call to Open method
Summary: ServiceHost throws InvalidOperationException on call to Open method
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: WCF assemblies (show other bugs)
Version: 2.10.x
Hardware: PC Linux
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-03-21 16:42 UTC by Matt Clay
Modified: 2013-03-21 16:42 UTC (History)
1 user (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
This program works under Microsoft .NET, but requires uncommenting the indicated line to work under Mono. (663 bytes, text/plain)
2013-03-21 16:42 UTC, Matt Clay
Details

Description Matt Clay 2013-03-21 16:42:11 UTC
Created attachment 3675 [details]
This program works under Microsoft .NET, but requires uncommenting the indicated line to work under Mono.

The Mono implementation of ServiceHost requires a call to AddServiceEndpoint before calling Open.  The Microsoft .NET implementation does not.

Note You need to log in before you can comment on or make changes to this bug.