47 Comments on “Part 2 Creating a remoting service and a web service”

  1. I really like your style and your efforts. Keep up the great work. While executing your example the line of code doesnt allow me to select Label1.Text = Client. GetMessage — GetMessage doesnt populate. Any insights to this? I have researched for about 1.5 hours now to no avail.

  2. One important thing to remember is that you have to run your application through IIS ant not through default VS IIS express . Otherwise you will see HTTP Error 403.14 – Forbidden error message.

  3. thanks for the great video series. i have a question. i have single windows forms application running on two other machines in Intranet. i have installed sql server on both machines. all i want is to share the database with each other like i want my database to be hosted on first machine and second machine should use the database from there, i am looking for solution over a week ago but nothing is working for me. please help me solve this. thank you !

  4. You mention at the beggining of the video that .NET remoting is for .NET to .NET communication, is not interoperable, at the end of the video you mention that maybe is posible just taking care of the client-objects, events, some stuff and knowing that is not the purpose of that technology. So, is it possible? as the video shows is tricky to coding for .net to .net and this is only for a simple service.

    But well just want to make it clear 🙂 Cheers!

  5. Hi @venkat, on HelloWebServicesHost proyect the method that you choose does not exist,
    RemotingConfiguration.GetRegisteredWellKnownServiceType
    (typeof(HelloRemotingService.HelloRemotingService),"GetMessage",WellKnownObjectMode.Singleton);

    maybe is my .net version but doesn't work instead of that I used the next
    RemotingConfiguration.GetRegisteredWellKnownServiceType(); /No overloadings available/
    Everything looks fine at building and run the service, but when I run the windows form client i get a not handled exception :

    *********** Texto de la excepción ************
    System.Runtime.Remoting.RemotingException: No se encontró el servicio solicitado
    ( **Requested service not found)

    Server stack trace:
    en System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)

    What can I do 😛 ?

    I understood the main idea but this is a tricky code, I hope real WCF doesn't work like that.

    Regards!!

  6. Hello Venkat, i am sorry to say this but this is the first time i haven't understood something in your videos. You just kept writing line of codes without clearly mentioning the intention.

  7. Hello sir, I am using visual studio 2915, but i am not getting any response ( but just blank) when I click on the get message button. I did all same as you did, please help me out. Thank you.

  8. Excellent Videos. The way you have explained each concept with details along with the practical coding in Visual Studio makes it all the more easier to understand the concepts clearly.

    Thank you so much and keep up the good work. These set of videos are the best I have found!

    🙂

  9. Best Video to easy understand the Remoting service.It's traditional service I want to learning from Webservice to WCF .I have one Question. In real time what scenarios prefer webservice? and what scenarios used for Remoting?.Could you please clarify it.

  10. Hi,

    I am getting this error while button click in RemotingServiceClientForm that is "System.Net.Sockets.SocketException (0x80004005): No such host is known". Is there any setting to make it correct?

  11. It is the perfect .Net Channel i have ever seen and really i have a lot of benefits from those videos thank you very much also if you can publish XAML and windows phone courses it will be a great thing
    thank you very much

  12. Can you please explain why you need to create an instance of HelloRemotingService if you do not use it? It will be created automatically once client connects to the server. Isn't it?
    Another thing is that they ask to use security flag in RegisterChannel method.. you didn't say anything about it.

  13. I am a ltlle confused in the 1st video you siad wcf was introduced to unify commuincation technologies so why and when would I implement a remoting service. Thanks I love your videos excellent work wish I could find the same quality of videos for java

Leave a Reply

Your email address will not be published. Required fields are marked *