Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / September 2006

Tip: Looking for answers? Try searching our database.

Web service architecture issue

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ghause - 06 Sep 2006 20:16 GMT
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?
John Saunders - 06 Sep 2006 21:30 GMT
>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
[quoted text clipped - 7 lines]
> 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
Gaurav Vaish (www.EduJiniOnline.com) - 07 Sep 2006 01:02 GMT
>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?

Signature

Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.com
http://articles.edujinionline.com/webservices
-------------------


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.