473,467 Members | 1,507 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

ASP.Net Web Service

9 New Member
I have more than 4 web servers which has the same code.This is for Load Balance.

Now, we have upload control in our page which uploads certain files(Say Zip file) to the Web Server.

Problem # 1 :Irrespective of the web server, the user gets connected , when he uploads the ZIP it should go into all the Wer Servers .

My Solution :
I started doing this with a web service., The same web Service are available in all the 4 web servers .So when an Upload happens I planned to call all the web serivices of other web servers.
This works fine when I explicitly add Web reference of all the other web servers to the project.

Problem # 2 : The number of Web Servers could increase in future, So the mgmt decided to keep this in a customizable format so that the prj doent required to be Build again . So I went for WebConfig.

I created a Proxy class for 1 WebService in 1 Web Server.
Now how can I access other WebServer's Web Service with this Proxy Class.

Note :
All the web service are same in all the web servers. So when the user uploads a Zip, all the web server should get this file.


Pls help me out, Im out of Ideas..
Oct 29 '07 #1
5 831
radcaesar
759 Recognized Expert Contributor
Its different and you can't achieve this if you prefer this approach.

You have to think of webfarms and state management for this requirement.

Try this

http://support.microsoft.com/kb/815162/en-us
Oct 29 '07 #2
itsSase
9 New Member
Its different and you can't achieve this if you prefer this approach.

You have to think of webfarms and state management for this requirement.

Try this

http://support.microsoft.com/kb/815162/en-us
-------------------------------------------------------------------------------------------------
Thanks for ur reply, but the Management wants to do in this way.

Morever the Upload is done by the end user not the Deployment Team.
I used Proxy Class for a web server. however I have to create seperate proxy class for each proxy servers. This is not the way they wanted.
Oct 29 '07 #3
itsSase
9 New Member
Is it Possible to create Dynamic Proxy Class
Oct 29 '07 #4
radcaesar
759 Recognized Expert Contributor
Its a bad approach dude.

If u want, store the server information in config file and use that when you create proxy by some search on the server name.

Thanks.
Oct 29 '07 #5
itsSase
9 New Member
Its a bad approach dude.

If u want, store the server information in config file and use that when you create proxy by some search on the server name.

Thanks.

Can you pls provide me an vb.net example ?
Oct 31 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Hardy Wang | last post by:
Hi all: I read an article from http://www.c-sharpcorner.com/Code/2003/Sept/InstallingWinServiceProgrammatically.asp about how to install a windows service programmatically. Based ont the code...
7
by: Mike | last post by:
I want to create a windows service that will monitor another window service. what i need for the service to do is, if a service is stopped I need it to start the service back up example: ...
9
by: SP | last post by:
Hi All, I wrote a windows service which is supposed to stop after specified amount of time. I am calling OnStop() after specified time. OnStop() methods executed but I dont see the service...
3
by: Jeremy S. | last post by:
On my dev machine (XP/Pro with VS.NET 2003) I have been developing a Windows Service and installing it on the local machine by opening the Visual Studio Command Prompt and then executing . Now I...
2
by: letibal | last post by:
Hello, I have written a windows service and created an installer for it. The service runs under the system accounts. When started, it launches a GUI. By default, the InteractiveProcess property...
4
by: kkt49 | last post by:
# vim: et sw=4 ts=8 sts from wxPython.wx import * import sys, os, time import pywintypes import win32serviceutil import win32service import win32event import win32process
4
by: carson | last post by:
I have written two windows services: - service A does some crunching of local data files and uploads them to a central processing computer via http. - service B monitors a manifest file on a...
3
dmjpro
by: dmjpro | last post by:
plz send me a good link which can clearify me how the J2EE framework works i want the details information .... plz help thanx
20
by: =?Utf-8?B?cmtibmFpcg==?= | last post by:
I was executing the steps given in http://suppor.microsoft.com/kb/308359 for testing a sample web service application. However, the following line gives a compilation error: localhost.Service1...
5
by: dm3281 | last post by:
I'm really starting to hate writing services -- or trying to, anyway. Why do I need to rename my project to the service name? Why do I need to set the "ServiceName" property to my service name?...
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...
0
marktang
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,...
0
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
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...
0
agi2029
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,...
0
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.