I have been working in the past few days on getting the basic RSS feed sample from MSDN to work in Mono.
The sample is at the bottom of this page: http://msdn.microsoft.com/en-us/library/bb412174.aspx
I haven't committed all the fixes yet, but the status is that a valid RSS feed is generated. The part that consumes the RSS feed is not working yet.
There is also an additional small bug discovered that I did not fix yet in the following code:
Uri baseAddress = new Uri("http://localhost:8000/BlogService");
WebServiceHost svcHost = new WebServiceHost(typeof(Service), baseAddress);
svcHost.open();
The host does not listen on the base address. The workaround is to add an additional Endpoint before penning the host, like this:
svcHost.AddServiceEndpoint (typeof (IService), new WebHttpBinding (), baseAddress);
I will update when the entire sample is working.
Noam
Wednesday, June 4, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment