473,508 Members | 2,370 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web service architecture issue

I am writing what is essentially a facade layer for service consumption. I
don't want this facade to be part of my web application, it needs to be a
standalone dll. This facade will contain all of my web references and public
methods exposing them to my web app.

In addition to calling the web services asynchronously is there anything I
can do to ensure the best performance possible?

Should I write a PreRequestHandler, and if I do how can I best isolate it
from the web project?

Sep 6 '06 #1
2 1056
"ghause" <gh****@discussions.microsoft.comwrote in message
news:1E**********************************@microsof t.com...
>I am writing what is essentially a facade layer for service consumption. I
don't want this facade to be part of my web application, it needs to be a
standalone dll. This facade will contain all of my web references and
public
methods exposing them to my web app.

In addition to calling the web services asynchronously is there anything I
can do to ensure the best performance possible?

Should I write a PreRequestHandler, and if I do how can I best isolate it
from the web project?
Why do you assume that you'll have a performance problem, and why do you
assume that calling the service asynchronously will solve the problem that
you assume you have?

John
Sep 6 '06 #2
>I am writing what is essentially a facade layer for service consumption. I
don't want this facade to be part of my web application, it needs to be a
standalone dll. This facade will contain all of my web references and
public
methods exposing them to my web app.
Do you mean that this main web-service will be the interceptor for other
web-services?

If that's so, I would suggess looking into something known as
WS-Addressing (the standard that supersedes WS-Routing). Although
implementing it would require WSE but then that's a standard and everybody
uses it.

It would also help you away from your-facade-service-specific issues.
In addition to calling the web services asynchronously is there anything I
can do to ensure the best performance possible?
Nopes. There's nothing special about aync calling. It's something like
starting it in a new thread on the client side. How does the server know
whether or not the call is async?
Should I write a PreRequestHandler, and if I do how can I best isolate it
from the web project?
For what? What do you plan to do there?
--
Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.com
http://articles.edujinionline.com/webservices
-------------------
Sep 6 '06 #3

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

Similar topics

3
2481
by: Fredric Ragnar | last post by:
Hi, I am making a prototype system with Remoting in the bottom of the system. An XML Web Service is using the remote object on an IIS to present data. I am using a TcpChannel for communicating...
3
6599
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
4
8136
by: Karch | last post by:
Lets say I have a number of web servers that all feed data to a common SQL Server database, which processes and sends to a master SQL Server. I am looking at a solution that involves Service Broker...
33
11809
by: JamesB | last post by:
I am writing a service that monitors when a particular app is started. Works, but I need to get the user who is currently logged in, and of course Environment.UserName returns the service logon...
2
5545
by: =?Utf-8?B?SmltIE93ZW4=?= | last post by:
Hi John, Hopefully this post will find its way back to you - or perhaps be answered by someone else. As I mentioned in my last post on the earlier portion of this thread, changing the...
0
7224
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
7118
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...
0
7379
jinu1996
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...
1
7038
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
7493
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
5625
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
4706
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
3192
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
415
bsmnconsultancy
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...

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.