ASP.NET ships with a single site map provider, named XmlSiteMapProvider which looks for an XML file named Web.sitemap in the root of the virtual directory and retrieves site map information from it. If you want to retrieve a site map from another location or in a custom format, you’ll need to create your own site map …
asp.net
ASP.NET includes a set of navigation features that you can use to implement a navigation system in your web based project. ASP.NET navigation is flexible, configurable, and pluggable. It has three components:
– With first component you can define the navigational structure of your website. This part is the XML site map, which …
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+ …
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+ …
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 …
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 …
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 …
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 …
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 …
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 …