Is fragment caching possible at client side or server side?
View Complete Post
I'm having a problem with an asp.net 3.0 application using a gridview to display data. The problem seems to be that despite a brand new .selectCommand being sent to the sqlDataSource, the gridview starts displaying data from *someone else's* query. For example, user A is logged in and will be working fine until a few page submissions later when the gridview data starts suddenly showing information that belongs to another user.
This is my first asp.net application, though I've been working with classic asp and ADO for years so I'm used to sending a SQL string and getting back the results from that string. Apparently there is a complex caching system which is interferring which I do not at all understand so at this point I just want to stop the server from caching any data whatsoever. Is this possible?
Any and all help will be much appreciated!!
I am just trying to understand the basics flow to the MVC framework by putting in some breakpoints in the beginning of the actions of a couple of controllers.
One break point is at the HomeController/Index action where it just returns View() of the "Welcome to MVC". The Second break point is at a SecondController/Index action where it uses the Entity Framework and returns a View() of a list from the db.
When I run this in debug, it breaks at the points I expected when I go from Home page to the Second page controller and back to Home. However, when I go to the Second page again, it doesn't break at all? Is the results of the Second page being cached and how and where? How do you trigger for it to get check if data is old?
I check to see if the persistence is done on the db, by changing the value of a field on the db side and it still did not cause it to break on that action and displays old information in the view. I am concerned because it is displaying incorrect values on the UI. I do not have the OutputCache attribute above this action or specified any cache on my web.config.
Thanks in advance for your time :)
I have a large SQL Database in the server from which I can create a dataset of about 10000 rows. My question is about caching this data. Which type of data caching should I choose (Server side or Client side)? Which one will provide better performance?
Thanks in advance
SOA makes application scalability easier, but getting the best performance out of your SOA means paying close attention to the details. We'll give you some tips for coding your app more effectively and using distributed caching to remove data access bottlenecks.
MSDN Magazine June 2010
This column covers Web application performance with distributed caching, a utility for object-object mapping, and a look at interesting blogs.
MSDN Magazine September 2009
Developers frequently face issues related to scalability bottlenecks when they have applications that need to handle a lot of load. This article describes the role of a distributed cache in building scalable applications.
MSDN Magazine July 2009
Microsoft Velocity exposes a unified, distributed memory cache for client application consumption. We show you how to add Velocity to your data-driven apps.
MSDN Magazine June 2009
This month's products include DatabaseSpy, FileZilla, NCache, and more.
MSDN Magazine October 2007
Edited by Nancy Michell
MSDN Magazine January 2005
MSDN Magazine September 2004
Performance is an important concern for any application, but becomes critical when the app is a Web Service accessed by thousands of clients simultaneously. One hardware approach to distributing Web Services requests evenly is a Web farm consisting of multiple servers. Once on a Web farm, Web Service performance can be improved by using ADO.NET DataSet objects to cache frequently accessed data, reducing round-trips to the database. Here the author describes data caching in a Web farm environment and discusses how to avoid the cross-server synchronization problems inherent in this approach.
MSDN Magazine December 2002
MSDN Magazine May 2001
hi,i have a website named 'bizlis.com'which i have built a website in asp.net 2.0 with sql 2005 database.it is a database search engine which searches buyers and sellers all around the world....when user enters url 'bizlis.com'.my home page opens .loading time of home page is fast.homepage has .. user has to select country from dropdown box,he selects category from dropdown(buyer/seller)he then selects a criteria from dropdown(exact phase search,anyword search or all word search) after that he enter product name in the textbox which he wants to search ...after that searching is done ..the problem is that my searching for the first page takes very long time it takes 8-10 seconds (try searching for steel sellers from india as it has maximu records)..after first page is loaded in 9-10 sec ..then 50 records are shown .it has navigation button on click of next navigation button data comes faster as compared to loading(starting first page-which brings data for the first time ) page.this is because cahing is applied...hence now my biggest problem is that how to make my first datapage fast(starting first page-which brings data for the first time) some of my friends told me to apply pre caching i can do it in 2 ways 1.either by load
I have a banner on the master page that I don't want cached even though some of the content pages are cached. I'm using the adrotator control, which I know doesn't cache, but I have code in the AdCreated event, and that does cause it to cache.
I've been struggling with this for several days now. I've tried putting the code in another page and using an iframe to display it. This worked except at times what got displayed was the headers of a page within a page withing a page. This would mysteriously come and go, but when it happened, it would crach browsers and it looked terrible.
I'm thinking of using ajax, but I don't already have a scriptmanager control on the master page. Before I remove the scriptmanager control from all the content pages, I'd like to try to use partial page caching. I've Googled it, but I don't understand what I've read. CAn someone simplify this for me?