Hi all, I'm familiar with web service compression and how to implement
it in a Winforms app. What I'm trying to figure out how to do at this
point is how to consume the service from an ASP.NET page. I've surfed
around quite a bit looking for an answer to this, but most of the stuff
I'm seeing is either talking about consuming from a Winforms app or
enabling web compression for ASPX pages to the user's browser.
Here's our setup: We have two servers. One of them is the ASP.NET
application, which is what the users are accessing. The second server
only hosts the web service that the ASP.NET app is calling. We're
going to have a respectable amount of requests from the ASP.NET
application the web service, so we want to enable web compression
through GZip to minimize bandwidth between them. On the server hosting
the web server we have installed a third-party application which gives
us more advanced support for GZipped compressed requests/responses (the
main reason we went with it is for the reports and monitoring tools it
comes with). We are only interested in enabling compression between
the web server and the web service server, NOT between the web server
and the user's browser.
So at this point, I'm not exactly sure of what to do on the ASP.NET
application's end of things; since it's running through IIS, can I
simply tell it to request the compressed response and expect that it'll
know how to decode the response?
Or do we have to code to tell the ASP.NET application to insert the
GZip header in the request and then make a SoapInputFilter to handle
the response (exactly like a Winforms app)?
Thanks in advance for any help! 1 1491
the webservice call from asp.net is the same as one for winforms (same
code). you will have to do the same work.
-- bruce (sqlwork.com)
"Andy" <re****@gmail.c omwrote in message
news:11******** **************@ b28g2000cwb.goo glegroups.com.. .
Hi all, I'm familiar with web service compression and how to implement
it in a Winforms app. What I'm trying to figure out how to do at this
point is how to consume the service from an ASP.NET page. I've surfed
around quite a bit looking for an answer to this, but most of the stuff
I'm seeing is either talking about consuming from a Winforms app or
enabling web compression for ASPX pages to the user's browser.
Here's our setup: We have two servers. One of them is the ASP.NET
application, which is what the users are accessing. The second server
only hosts the web service that the ASP.NET app is calling. We're
going to have a respectable amount of requests from the ASP.NET
application the web service, so we want to enable web compression
through GZip to minimize bandwidth between them. On the server hosting
the web server we have installed a third-party application which gives
us more advanced support for GZipped compressed requests/responses (the
main reason we went with it is for the reports and monitoring tools it
comes with). We are only interested in enabling compression between
the web server and the web service server, NOT between the web server
and the user's browser.
So at this point, I'm not exactly sure of what to do on the ASP.NET
application's end of things; since it's running through IIS, can I
simply tell it to request the compressed response and expect that it'll
know how to decode the response?
Or do we have to code to tell the ASP.NET application to insert the
GZip header in the request and then make a SoapInputFilter to handle
the response (exactly like a Winforms app)?
Thanks in advance for any help! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 stopping.
Please advise how to stop the service.
Thanks,
SP
|
by: FS Liu |
last post by:
Hi,
I am writing ATL Service application (XML Web service) in
VS.NET C++.
Are there any sample programs that accept XML as input and
XML as output
in the web service?
Thank you very much.
|
by: kbs |
last post by:
Hi,
I'm looking for some good examples that illustrate how to code a web service
that exposes a custom collection so that the properties of the collection are
accessible on the client without having to do a httpwebreqeust call.
|
by: Claudio Grondi |
last post by:
What started as a simple test if it is better to load uncompressed data
directly from the harddisk or
load compressed data and uncompress it (Windows XP SP 2, Pentium4 3.0 GHz
system with 3 GByte RAM)
seems to show that none of the in Python available compression libraries
really works for large sized
(i.e. 500 MByte) strings.
Test the provided code and see yourself.
|
by: NutsAboutVB |
last post by:
Hello,
I am a .NET programmer and I have a JPEG image file (from digital
camera) of about 109 KB's in size, when I open it and save it
(without making any alterations at all, just going to File --> Save) in
MS Photo Editor, the file is automatically shrunk in size to 81 KB's.
When doing the same thing in MS Paint, the file is shrunk to 54 KB's.
The file has the same number of pixels after both saves (as expected).
My question follows...
| |
by: huz |
last post by:
I need some advice, here is the situation: I have a web service (ASP 2.0)
published on IIS, how can i make that only trusted (my) web applications
consume it, and successfuly block all others???
|
by: rew190 |
last post by:
Hi guys,
I'm currently working on an application that is heavily dependant on
web services. The web services are being run on an Apache Service
through Axis. We'll be using mod_gzip to get the server side of things
to compress the response (given that the header request specfies that
it accepts gzip encoding).
The application that will be consuming this service is a winforms .NET
1.1 application. I've been looking around for a few...
|
by: Rishika |
last post by:
Hi,
Im trying to create a web service client in visual basic.net.
When the web service gets invoked in the client:
Dim results() As Object = Me.Invoke("GetInstantaneousFlowData", New Object(-1) {}) an error is generated.
The error I am getting is:
Unhandled Exception: System.Web.Services.Protocols.SoapException: Exception: Compression is Not Enabled,This Web Service expects clients to support GZIP,Deflate Compression
I think this is...
|
by: lowlyscrub |
last post by:
I have an ASP.NET application that makes 12 different web service calls
from a single method call. Each of the web services themselves don't
do much more than run a small query (I've run the queries elsewhere and
they complete virtually instantaneously) on some database and return a
dataset. As it so happens, the 12 calls are split up between 4
different web services on the same server, and the web services
themselves are ASP.NET apps...
|
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: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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: 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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |