I coded a simple example in c#
In which their is a client and a server using a dll . I am confused on
the Point that u have to use the .dll on both sides .Cant we have a
solution of having a dll on server side and the client calling the
remote service .
Also Can any1 tell that whats the Practical use of remoting .How u
differentiate btw remoting and Web Services 8 4255
"sandy82" wrote... I coded a simple example in c# In which their is a client and a server using a dll . I am confused on the Point that u have to use the .dll on both sides .Cant we have a solution of having a dll on server side and the client calling the remote service .
That depends on your definition of "remoting".
You can absolutely access remote servers without the need for any dll, e.g.
by using raw sockets and reading/writing "raw bytes" to the streams, but
then you'll also need to write all of the code needed to "translate" what
you read and write through the streams.
If you mean using the Remoting libraries in .NET, you'll come to this
situation:
How to know what methods you can call
from the client on the server?
That's where the dll:s come into play. In them are the classes and
interfaces needed for the client to know what to commuicate with.
Also Can any1 tell that whats the Practical use of remoting. How u differentiate btw remoting and Web Services
In general, when using web services, you're locked into using a text-based
transfer protocol (using XML), while Remoting (as above) in simple terms,
doesn't need that conversion/deconversion to/from text, but sends "the
objects" as they are, hence a more efficient communication.
// Bjorn A
..NET supports both binary remoting and web services. There are a lot
of things to consider when choosing the right solution for you
application, but generally web services are better if you need to
expose you service across a firewall using HTTP, and binary remoting is
better if your service will be contained with your local network and
performance is a priority.
HTH,
Chris
gr8 can u throw light on whats difference btw binary and simple
remoting ..
How do you define simple remoting?
When u call a remote method stored on some other machine or may b on
same machine .. a similar of Remote Procedure Call .
I think Binary Remoting is the same but I still Doubt can u explain a
bit more .
When u call a remote method stored on some other machine or may b on
same machine .. a similar of Remote Procedure Call .
I think Binary Remoting is the same but I still Doubt can u explain a
bit more .
Hi Chris. This is more for the Doc writers...
I never understood why they make it a point of saying that in the docs.
Remoting is really just an abstraction over sockets ( or NegotiatedStrea m in
secure remoting). So at the low level, it just uses TCP sockets like any
other TCP app on the net. Firewalls don't have an issue with sockets. Its
really a lazy way to say "I don't want to have to talk about firewall
configurations, so I will just say use Web services (HTTP) over port 80 as
it is probably configured already and we want to push IIS." But you can
still use remoting over HTTP, so not sure what they are talking about.
Remoting works fine over the INET. The issue, imo, is more that with
remoting you have to deploy a server side, were with IIS you deploy dlls and
IIS hosts them. The other issue is how you want to program with objects or
XML and web services. They both have pros and cons I guess.
--
William Stacey [MVP]
"Chris Fulstow" <ch**********@h otmail.com> wrote in message
news:11******** *************@z 34g2000cwc.goog legroups.com...
| .NET supports both binary remoting and web services. There are a lot
| of things to consider when choosing the right solution for you
| application, but generally web services are better if you need to
| expose you service across a firewall using HTTP, and binary remoting is
| better if your service will be contained with your local network and
| performance is a priority.
|
| HTH,
|
| Chris
|
"Vadym Stetsyak" <va*****@ukr.ne t> wrote in message news:eJ******** ******@TK2MSFTN GP03.phx.gbl... Hello, sandy82!
s> I coded a simple example in c# s> In which their is a client and a server using a dll . I am confused on s> the Point that u have to use the .dll on both sides .
dll has to be on both sides as it holds metainfo about types. As you use typed var in the client and server.
If memory serves.
If you design the server side as implementing an interface. Then all the client needs is the
interface and not the class itself.
Bill This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Sean Newton |
last post by:
I am absolutely bewildered by now by the Microsoft.Samples SSPI and Security
assemblies. I've been trying to set these up in a very straightforward
harness in the way that I'd like to be able to use them. No IIS. Use TCP,
binary. Standard server example with a console host and console client. .NET
1.1, windows XP. (I tried posting to the remoting newsgroup, no answers in
the last couple days, trying here in hopes that more people watch this...
|
by: bettervssremoting |
last post by:
To view the full article, please visit
http://www.BetterVssRemoting.com
Better VSS Remote Access Tool
This article makes a detailed comparison among SourceAnyWhere,
SourceOffSite, VSS Remoting and possible others.
Keywords: VSS Remote Access, VSS Web Access, VSS Internet Access,
|
by: mayamorning123 |
last post by:
A comparison among six VSS remote tools including SourceOffSite ,
SourceAnyWhere, VSS Connect, SourceXT, VSS Remoting, VSS.NET
To view the full article, please visit
http://www.BetterVssRemoting.com
Better VSS Remote Access Tool
This article makes a detailed comparison among SourceAnyWhere 4.0,
SourceOffSite 4.1, VSS Connect 1.5, SourceXT 2.1, VSS Remoting 2.5,
|
by: bettervssremoting |
last post by:
To view the full article, please visit
http://www.BetterVssRemoting.com
Better VSS Remote Access Tool including SourceOffSite, SourceAnyWhere
and VSS Remoting
This article makes a detailed comparison among SourceAnyWhere,
SourceOffSite, VSS Remoting and possible others.
|
by: Uchiha Jax |
last post by:
Hello everyone,
I am a plenty silly person who is trying to
learn .NET remoting through trial and error (all articles I read are going
over my head at the moment (mostly) so I thought i'd give it a go).
What I want to do is this:
Have a server instance of the program, this server instance will receive
communication from client programs (as demonstrated in the AddMessage()
| |
by: bettervssremoting |
last post by:
To view the full article, please visit
http://www.BetterVssRemoting.com
Better VSS Remote Access Tool
This article makes a detailed comparison among SourceAnyWhere,
SourceOffSite, VSS Remoting and possible others.
Keywords: VSS Remote Access, VSS Web Access, VSS Internet Access,
|
by: Martijn Damen |
last post by:
Hi,
At the moment I am trying to develop an application that uses another app
over .net remoting and having some problems with it (ok, that is ofcourse
why I am here), hope somebody can shine a light on the following:
I have been given a sample winforms app, which works without problem, I can
connect, send queries and become response from the other application.
When I try to implement this in webforms, this unfortunately does not...
|
by: Raju Joseph |
last post by:
Hi All,
I am just trying to get an opinion here. I know this is always a tough
choice to make.
We are in the process of converting our VB6 based Healthcare Information
System (a full-fledged package) to .NET. Our clients have been asking for
lot of new stuff namely being able to send patient information to devices,
being able to fix appointments online, etc.
|
by: erbilkonuk |
last post by:
Hi,
I am very new to .NET Remoting and I try to run a simple program to
subscribe to an event raised by Remoting Class. The Remoting Server
initiates an instance of Remoting Class as Singleton / Server
activated mode on startup. The Remoting Client accesses the Remoting
Class through the interface of the Class and subscribes to an event
of
the Remoting Class that will be fired upon the private member value
change.
|
by: Kristian Reukauff |
last post by:
Hi
I have a problem with the .Net-Securty-Functions.
I've got a client and a server.
When I try to register a channel at the server with this line:
ChannelServices.RegisterChannel(chan, false);
I get the following error - doesn't matter if I try it local from my machine
or from a remote machine.
(After the Errormessage is more text ;))
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |