473,385 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Architecture/Design Question

Hi guys,

I am planning on building a rather large (in terms of publicly visible
methods) distributed application.

since the user (rich) windows forms client uses the application from inside
and outside the LAN, I thought of exposing these methods as webMethods
categorized into web services (instead of remoting I should point out -
which was the other option).

my initial thought was to create a windows service that will host the server
application. the webMethods will 'talk' to the service in order to execute
the commands (thus making the web services only wrappers around te service
itself).
in addition there will be an administrative application (like a control
panel) for configuring and monitoring the service.

Please make comments about this and offer other design options for me to
consider.
How do you think a web service should communicate with a windows service
running on the same machine?
is remoting the only option?
I understand that VS2005 offers a new remoting cahnnel - IPC. does this
apply here?

Thanx in advance,
Picho
Nov 16 '05 #1
3 1193
Picho,

If the web service is going to be exposed from the same machine that the
service is on, then you can use the IPC channel.

I am curious though, why not just make the web service the service? Why
have the overhead of another service?

Since the web service is going to be the entry point for everything, I
don't see the need for the additional service. You can place methods on the
web service to change the nature of how it operates (your administrative
application).

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Picho" <SP********@telhai.ac.il> wrote in message
news:uO**************@TK2MSFTNGP10.phx.gbl...
Hi guys,

I am planning on building a rather large (in terms of publicly visible
methods) distributed application.

since the user (rich) windows forms client uses the application from
inside and outside the LAN, I thought of exposing these methods as
webMethods categorized into web services (instead of remoting I should
point out - which was the other option).

my initial thought was to create a windows service that will host the
server application. the webMethods will 'talk' to the service in order to
execute the commands (thus making the web services only wrappers around te
service itself).
in addition there will be an administrative application (like a control
panel) for configuring and monitoring the service.

Please make comments about this and offer other design options for me to
consider.
How do you think a web service should communicate with a windows service
running on the same machine?
is remoting the only option?
I understand that VS2005 offers a new remoting cahnnel - IPC. does this
apply here?

Thanx in advance,
Picho

Nov 16 '05 #2
Thanks for the reply Nicholas.

I realy do not have a good answer to that. It might be just me feeling
uncomfertable doing in in an IIS application (thats what it is after all...)
But I would like to hear what you propose. If you can develope this
direction a bit.

thanks again,
Picho
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:Op**************@TK2MSFTNGP10.phx.gbl...
Picho,

If the web service is going to be exposed from the same machine that
the service is on, then you can use the IPC channel.

I am curious though, why not just make the web service the service?
Why have the overhead of another service?

Since the web service is going to be the entry point for everything, I
don't see the need for the additional service. You can place methods on
the web service to change the nature of how it operates (your
administrative application).

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Picho" <SP********@telhai.ac.il> wrote in message
news:uO**************@TK2MSFTNGP10.phx.gbl...
Hi guys,

I am planning on building a rather large (in terms of publicly visible
methods) distributed application.

since the user (rich) windows forms client uses the application from
inside and outside the LAN, I thought of exposing these methods as
webMethods categorized into web services (instead of remoting I should
point out - which was the other option).

my initial thought was to create a windows service that will host the
server application. the webMethods will 'talk' to the service in order to
execute the commands (thus making the web services only wrappers around
te service itself).
in addition there will be an administrative application (like a control
panel) for configuring and monitoring the service.

Please make comments about this and offer other design options for me to
consider.
How do you think a web service should communicate with a windows service
running on the same machine?
is remoting the only option?
I understand that VS2005 offers a new remoting cahnnel - IPC. does this
apply here?

Thanx in advance,
Picho


Nov 16 '05 #3
Picho,

I would say the service is justified if you are going to use it to
process some long-running request, and the web service will be used to
initiate the operation. Other than that, I would just have the web requests
handle everything.

I would use a service if I needed it to perform work outside of what is
directly requested by the web services.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Picho" <SP********@telhai.ac.il> wrote in message
news:es**************@tk2msftngp13.phx.gbl...
Thanks for the reply Nicholas.

I realy do not have a good answer to that. It might be just me feeling
uncomfertable doing in in an IIS application (thats what it is after
all...)
But I would like to hear what you propose. If you can develope this
direction a bit.

thanks again,
Picho
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote
in message news:Op**************@TK2MSFTNGP10.phx.gbl...
Picho,

If the web service is going to be exposed from the same machine that
the service is on, then you can use the IPC channel.

I am curious though, why not just make the web service the service?
Why have the overhead of another service?

Since the web service is going to be the entry point for everything, I
don't see the need for the additional service. You can place methods on
the web service to change the nature of how it operates (your
administrative application).

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Picho" <SP********@telhai.ac.il> wrote in message
news:uO**************@TK2MSFTNGP10.phx.gbl...
Hi guys,

I am planning on building a rather large (in terms of publicly visible
methods) distributed application.

since the user (rich) windows forms client uses the application from
inside and outside the LAN, I thought of exposing these methods as
webMethods categorized into web services (instead of remoting I should
point out - which was the other option).

my initial thought was to create a windows service that will host the
server application. the webMethods will 'talk' to the service in order
to execute the commands (thus making the web services only wrappers
around te service itself).
in addition there will be an administrative application (like a control
panel) for configuring and monitoring the service.

Please make comments about this and offer other design options for me to
consider.
How do you think a web service should communicate with a windows service
running on the same machine?
is remoting the only option?
I understand that VS2005 offers a new remoting cahnnel - IPC. does this
apply here?

Thanx in advance,
Picho



Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Michael Crawford | last post by:
Hi, Where would one start for this type of application: I want to create an vb.net container application that has the gives the end user the ability to install and uninstall plugins or add-in...
6
by: Gary James | last post by:
This may not be a direct C# question, but since I'll be using using C# for development, I thought I'd pose the question here. I'll soon be involved in the design of a new software product that...
3
by: Michael Crawford | last post by:
Hi, Where would one start for this type of application: I want to create an vb.net container application that has the gives the end user the ability to install and uninstall plugins or add-in...
2
by: John A | last post by:
I have a Web Service that I am reponsible for that we use for data integration purposes. Recently I have been tasked with sending some of this data to a third party. Because they need to receive...
3
by: CSharpguy | last post by:
I have a 03 .NET web that does not use Typed DataSets, it uses a Busines Layer/DataLayer classes. Alot of my reading on .NET 05 is using the DataSets for the datalayer/business layer. I have a 05...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.