473,326 Members | 2,732 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,326 software developers and data experts.

Configuration of webservices

Hi there

What is the best way to handle configuration of a Webservice ?

I use Visual Express to make the webservices.

Best regards
Søren Reinke
Nov 17 '05 #1
4 953
What particular problem are you running into that using Visual Studio
isn't handling? Using the IDE to create a reference to the web service
isn't easiest and fastest...if that is what you mean by configuration.

As for creating a web service, start with the ASP.NET web service
template.

Brett

Nov 17 '05 #2

"brett" <ac*****@cygen.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
What particular problem are you running into that using Visual Studio
isn't handling? Using the IDE to create a reference to the web service
isn't easiest and fastest...if that is what you mean by configuration.

As for creating a web service, start with the ASP.NET web service
template.


Ahh sorry, might not have specified my problem enough,

The webservice part is working well :)

But i would like to be able to configure my webservice from a config file,
enable/disable loggin, enable/disable caching, how long cached data should
live and stuff like that.

--
Best regards Søren Reinke
www.Xray-Mag.com/ - Your free diving magazin on the net. Download it in PDF
Cover story: CAYMAN ISLANDS main features by John Collins and Alex Mustard.
Leigh Cunningham: Gear Configuration
Nov 17 '05 #3
For details on web.config attributes see
http://www.codeproject.com/cs/webser...omnisearch.asp or google it
under "c# web.config attribute caching".

For more granular caching support, try:
[WebMethod(CacheDuration = 30,
Description="Returns an array of Clients.")]
public ClientData[] GetClientData(int Number)
{

Brett

Nov 17 '05 #4

"Brett Romero" <ac*****@cygen.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
For details on web.config attributes see
http://www.codeproject.com/cs/webser...omnisearch.asp or google it
under "c# web.config attribute caching".


Hi Brett

Thanks for the URL, i'll take a look at it.

/Søren
Nov 17 '05 #5

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

Similar topics

0
by: Rick G. Garibay | last post by:
Has anyone seen this one? When trying to execute an asmx (i.e. testing a web service I am working on), I get this error which refers to a referenced assembly that I reference that contains...
0
by: Brian Riley | last post by:
Hi all, I'm new to the .NET environment, and have run into an issue configuring the ..NET environment and deploying my code onto our production server. Everything runs fine on our development box,...
3
by: Kai Huener | last post by:
Hello, I have a problem to add a config File to a windows forms application. The File (UploadClient.exe.config) is in the same folder as the CodeFiles (namespace is UploadClient), but when I try...
0
by: Oscar_Uio | last post by:
I have a shared dll component installed in the GAC, this component use a configuration file (.config). I use that component in several projects webservices and configured the in the web.config the...
8
by: Shimon Sim | last post by:
Hi I converted my existing ASP.NET project to VS.NET 2005. Build gives me some warnings about config file. I have custom section definition in web.config. Were there any changes in this for...
0
by: Cameron | last post by:
Hi All, I've just written a small program to use a locally hosted webservice which works fine. However I've also written a SOAPExtension for the client and I'm having trouble with the...
1
by: Russ | last post by:
I have a windows service written in C#, and whenever I start it up, I get the error "Configuration System failed to initialize" when ever I call ConfigurationManager.AppSettings. I tried hard...
7
by: Mike Livenspargar | last post by:
We have an application converted from v1.1 Framework to v2.0. The executable references a class library which in turn has a web reference. The web reference 'URL Behavior' is set to dynamic. We...
2
by: Mufasa | last post by:
Can anybody give me an opinion on which is more efficient - Saving parameters in a database that is on the same machine as the web site or Reading parameters from a .config file ? It seems...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.