Remoting in C#

  • Thread starter Thread starter benzfan
  • Start date Start date
B

benzfan

I'm using .NET 2.0, Visual Studio 2008 and C#. I'm trying to create a
very simple application that uses .NET remoting to connect to a series
of classes which are located on another server. I've been reading a
few articles online, however none I cannot get any of their sample
code to work. The last thing I tried I kept getting a serialization
error when using Strings and Lists.

Can anyone point me in the right direction? Where can I find a step-
by-step simple example of how to build a simple, basic connection to a
remote object?

Thanks for any info you can provide.
 
benzfan said:
I'm using .NET 2.0, Visual Studio 2008 and C#. I'm trying to create a
very simple application that uses .NET remoting to connect to a series
of classes which are located on another server. I've been reading a
few articles online, however none I cannot get any of their sample
code to work. The last thing I tried I kept getting a serialization
error when using Strings and Lists.

Can anyone point me in the right direction? Where can I find a step-
by-step simple example of how to build a simple, basic connection to a
remote object?

Thanks for any info you can provide.


They way I understand it, MS is leveraging ASP.NET Web service (regular) and
..Net Remoting out. MS is pushing Windows Communications Foundation (WCF)
with ASP.NET WCF Web service and WCF for remoting application over TCP,
because MS has taken the path of making WCF a more viable and easier
technology to use and will continue to do so.

Where you should be headed is .NET WCF and not .NET Remoting.


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4068 (20090512) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
benzfan said:
I'm using .NET 2.0, Visual Studio 2008 and C#. I'm trying to create a
very simple application that uses .NET remoting to connect to a series
of classes which are located on another server. I've been reading a
few articles online, however none I cannot get any of their sample
code to work. The last thing I tried I kept getting a serialization
error when using Strings and Lists.

Can anyone point me in the right direction? Where can I find a step-
by-step simple example of how to build a simple, basic connection to a
remote object?

Thanks for any info you can provide.


They way I understand it, MS is leveraging ASP.NET Web service (regular) and
..Net Remoting out. MS is pushing Windows Communications Foundation (WCF)
with ASP.NET WCF Web service and WCF for remoting application over TCP,
because MS has taken the path of making WCF a more viable and easier
technology to use and will continue to do so.

Where you should be headed is .NET WCF and not .NET Remoting.


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4068 (20090512) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
My understanding is that WCF only works with 3.0 or newer. I have to
develop in 2.0. Am I wrong on the .NET version with WCF? Please let
me know.
 
My understanding is that WCF only works with 3.0 or newer. I have to
develop in 2.0. Am I wrong on the .NET version with WCF? Please let
me know.
 
Hello benzfan,
My understanding is that WCF only works with 3.0 or newer. I have to
develop in 2.0. Am I wrong on the .NET version with WCF? Please let
me know.

WCF indeed comes with Framework 3.0 and newer. If you need a good reference
on .NET Remoting (and if you're relatively new to this, I reccommend you
do), then get Advanced .NET Remoting by Ingo Rammer.
 
Hello benzfan,
My understanding is that WCF only works with 3.0 or newer. I have to
develop in 2.0. Am I wrong on the .NET version with WCF? Please let
me know.

WCF indeed comes with Framework 3.0 and newer. If you need a good reference
on .NET Remoting (and if you're relatively new to this, I reccommend you
do), then get Advanced .NET Remoting by Ingo Rammer.
 
Mr. Arnold said:
They way I understand it, MS is leveraging ASP.NET Web service (regular)
and .Net Remoting out. MS is pushing Windows Communications Foundation
(WCF) with ASP.NET WCF Web service and WCF for remoting application over
TCP, because MS has taken the path of making WCF a more viable and
easier technology to use and will continue to do so.

Where you should be headed is .NET WCF and not .NET Remoting.
That is a good statement. I've picked up WCF and would recommend 2 books:

1. Programming WCF Services - Juval Lowy - O'reilly
2. Essential WCF - Resnick et. al. - Addison Wesley

Bill
 
Mr. Arnold said:
They way I understand it, MS is leveraging ASP.NET Web service (regular)
and .Net Remoting out. MS is pushing Windows Communications Foundation
(WCF) with ASP.NET WCF Web service and WCF for remoting application over
TCP, because MS has taken the path of making WCF a more viable and
easier technology to use and will continue to do so.

Where you should be headed is .NET WCF and not .NET Remoting.
That is a good statement. I've picked up WCF and would recommend 2 books:

1. Programming WCF Services - Juval Lowy - O'reilly
2. Essential WCF - Resnick et. al. - Addison Wesley

Bill
 
I'm using .NET 2.0, Visual Studio 2008 and C#.  I'm trying to create a
very simple application that uses .NET remoting to connect to a series
of classes which are located on another server.  I've been reading a
few articles online, however none I cannot get any of their sample
code to work.  The last thing I tried I kept getting a serialization
error when using Strings and Lists.

Can anyone point me in the right direction?  Where can I find a step-
by-step simple example of how to build a simple, basic connection to a
remote object?

Have you tried the MSDN how-tos?

http://msdn.microsoft.com/en-us/library/txct33xt(VS.80).aspx
http://msdn.microsoft.com/en-us/library/ecc85927(VS.80).aspx
http://msdn.microsoft.com/en-us/library/y6dc64f2(VS.80).aspx

If you have specific troubles with those samples, then please post
more details on what kinds of errors you're getting.
 
I'm using .NET 2.0, Visual Studio 2008 and C#.  I'm trying to create a
very simple application that uses .NET remoting to connect to a series
of classes which are located on another server.  I've been reading a
few articles online, however none I cannot get any of their sample
code to work.  The last thing I tried I kept getting a serialization
error when using Strings and Lists.

Can anyone point me in the right direction?  Where can I find a step-
by-step simple example of how to build a simple, basic connection to a
remote object?

Have you tried the MSDN how-tos?

http://msdn.microsoft.com/en-us/library/txct33xt(VS.80).aspx
http://msdn.microsoft.com/en-us/library/ecc85927(VS.80).aspx
http://msdn.microsoft.com/en-us/library/y6dc64f2(VS.80).aspx

If you have specific troubles with those samples, then please post
more details on what kinds of errors you're getting.
 
benzfan said:
I'm using .NET 2.0, Visual Studio 2008 and C#. I'm trying to create a
very simple application that uses .NET remoting to connect to a series
of classes which are located on another server. I've been reading a
few articles online, however none I cannot get any of their sample
code to work. The last thing I tried I kept getting a serialization
error when using Strings and Lists.

Can anyone point me in the right direction? Where can I find a step-
by-step simple example of how to build a simple, basic connection to a
remote object?

Thanks for any info you can provide.

Also, if your using VS2008, you COULD use .NET 3.5. It's a project
options property and in oder to use WCF, you'll need to set the Target
Framework >= .NET 3.0.

Bill
 
benzfan said:
I'm using .NET 2.0, Visual Studio 2008 and C#. I'm trying to create a
very simple application that uses .NET remoting to connect to a series
of classes which are located on another server. I've been reading a
few articles online, however none I cannot get any of their sample
code to work. The last thing I tried I kept getting a serialization
error when using Strings and Lists.

Can anyone point me in the right direction? Where can I find a step-
by-step simple example of how to build a simple, basic connection to a
remote object?

Thanks for any info you can provide.

Also, if your using VS2008, you COULD use .NET 3.5. It's a project
options property and in oder to use WCF, you'll need to set the Target
Framework >= .NET 3.0.

Bill
 
Bill said:
Also, if your using VS2008, you COULD use .NET 3.5. It's a project
options property and in oder to use WCF, you'll need to set the Target
Framework >= .NET 3.0.

Unless it is a typo then he most be developing on 3.5/2008 but
deploying on 2.0.

Arne
 
Bill said:
Also, if your using VS2008, you COULD use .NET 3.5. It's a project
options property and in oder to use WCF, you'll need to set the Target
Framework >= .NET 3.0.

Unless it is a typo then he most be developing on 3.5/2008 but
deploying on 2.0.

Arne
 
benzfan said:
My understanding is that WCF only works with 3.0 or newer. I have to
develop in 2.0. Am I wrong on the .NET version with WCF?

You are correct.

Arne
 
benzfan said:
My understanding is that WCF only works with 3.0 or newer. I have to
develop in 2.0. Am I wrong on the .NET version with WCF?

You are correct.

Arne
 
Back
Top