web services

How to manage the ASP.NET web service transaction option in VB.NET

Web service can initiate ADO.NET transactions. Web services can also participate in COM+ transactions. You can use COM+ transactions when you want to span multiple different data sources as a SQL Server database and an Oracle database. COM+ transactions commit or rollback automatically. However, they are always slower than using ADO.NET client-initiated/stored procedure transactions, because COM+ …

Learn more

How to manage the ASP.NET web service transaction option in C#

Web service can initiate ADO.NET transactions. Web services can also participate in COM+ transactions. You can use COM+ transactions when you want to span multiple different data sources as a SQL Server database and an Oracle database. COM+ transactions commit or rollback automatically. However, they are always slower than using ADO.NET client-initiated/stored procedure transactions, because COM+ …

Learn more

How to manage the ASP.NET web service buffer response

You can use the BufferResponce property to control when the data returned from the web service is sent to the client. The property is set to true by default. In this case the entire result is serialized before it is sent to the client. By setting this property to false, ASP.NET starts returning output as it …

Learn more

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

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 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