ASP.NET

How to use selectable list controls in ASP.NET page in VB.NET

ASP.NET selectable list controls include the DropDownList, ListBox, CheckBoxList and RadioButtonList controls. They allow users to select one or more of the contained items. When the page is posted back, you can check which items were chosen. By default, the RadioButtonList and CheckBoxList render multiple option buttons or check boxes.

The next table lists additional RadioButtonList and …

Learn more

How to use selectable list controls in ASP.NET page in C#

ASP.NET selectable list controls include the DropDownList, ListBox, CheckBoxList and RadioButtonList controls. They allow users to select one or more of the contained items. When the page is posted back, you can check which items were chosen. By default, the RadioButtonList and CheckBoxList render multiple option buttons or check boxes.

The next table lists additional RadioButtonList and CheckBoxList …

Learn more

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