WEB-Service versus Service hosted by System.Runtime.Remoting in windows-Application

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I have tried to host a WEB-Service in my Windows Application
with
Dim channelProperties As New System.Collections.Specialized.ListDictionary()
channelProperties.Add("port", 9000)

Dim channel As New HttpChannel(channelProperties, New
SoapClientFormatterSinkProvider(), New SoapServerFormatterSinkProvider())

System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel(channel,
False)

RemotingConfiguration.RegisterWellKnownServiceType(GetType(AsyncWebService.service1),
"service1", WellKnownObjectMode.Singleton)



But I believe, that is not the same like a real-WEB-Service created with

Public Class Service1
Inherits System.Web.Services.WebService

And hosted in IIS



I am looking for an example where an WEB-Service is hosted in a
windows-Application.





Thanks
Peter










.



Relevant Pages

  • Re: AxShDocVw.AxWebBrowser.Navigate and object headers
    ... around from Windows form host to web application window, ... which is exactly what a web-service ... representation of the Car when it has completed it's method. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Host a Web Service in a Windows Forms Application
    ... I must Host a WEB-Service in a Windows form Application. ... In the CASSINI-Example example there is now way, ... app, running on a remote PC, and you want to do it via web services. ...
    (microsoft.public.dotnet.framework.webservices)
  • Forward Credentials from ASP.NET Web-application to ASP.NET Web-Service?
    ... I have an ASP.NET web-application using Windows Based authentication ... that references a web-service to do business logic type things. ... XML-Web-service request myself using the base classes? ...
    (microsoft.public.dotnet.security)
  • How to integrate a WEB-Service in my Windows-Applacation
    ... I am using VS2003 and VS2005 on WINDOWS XP Professional SP2. ... Application A1 on PC A should send information via WEB-Service to ... I have already studied AsyncWebService sample in VS.2003 ...
    (microsoft.public.dotnet.framework.aspnet.webservices)