asp.net 3.5

How to manage the ASP.NET web service session state in C#

Web services do not support session state by default. In most cases they should be designed to be stateless if you want to achieve high scalability. Sometimes, you can decide to manage state if you want to retain user-specific information or to optimize performance in a specific scenario. In this case, you need to use the  …

Learn more

How to manage the ASP.NET web service data caching in VB.NET

Data caching, supported by ASP.NET, allows you to store full-fledged object in the cache. You can use data caching through the Cache object which is available through the Context.Cache property in your web service code. With this object you can temporarily store information that is expensive to create that the web method can reuse it for …

Learn more

How to manage the ASP.NET web service data caching in C#

Data caching, supported by ASP.NET, allows you to store full-fledged object in the cache. You can use data caching through the Cache object which is available through the Context.Cache property in your web service code. With this object you can temporarily store information that is expensive to create that the web method can reuse it for …

Learn more

How to manage the ASP.NET web service output caching in VB.NET

Web services which use output caching provide identical response, until the cache information expires, when requests are identical. In this case you can increase performance of your site, even if you store a response only for w few seconds.

You should use output caching only for straightforward information retrieval or data-processing functions. You should not …

Learn more

How to manage the ASP.NET web service output caching in C#

Web services which use output caching provide identical response, until the cache information expires, when requests are identical. In this case you can increase performance of your site, even if you store a response only for w few seconds.

You should use output caching only for straightforward information retrieval or data-processing functions. You should not …

Learn more

How to refine a web service in ASP.NET

You can refine a web service, by using features provided by the WebMethod attribute. You can use the WebMethod attribute to the methods you want to expose as a part of a web service and you can use the Description property to attach a description. The next table lists several additional WebMethod attribute properties, you can …

Learn more

How to use timeout property of the proxy class in VB.NET

In some cases for your web-page client, which consume a web service, you need to specify the maximum amount of time it has to wait. The article How to create an ASP.NET web-page client for a web service in VB.NET does not cover this area. By default the timeout is 100,000 milliseconds (10 seconds).

You …

Learn more

How to use timeout property of the proxy class in C#

In some cases for your web-page client, which consume a web service, you need to specify the maximum amount of time it has to wait. The article How to create an ASP.NET web-page client for a web service in C# does not cover this area. By default the timeout is 100,000 milliseconds (10 seconds).

You …

Learn more