This is something that I never had to face before excusing me if I sound ignorant.
The main problem that I am facing is that when working in Visual Studio 2010, any changes that I create seem to be caught in some kind of cache.
For example, I will make a change on the page, run the solution, and then I need to press Ctrl + F5 to force update the cache to see the changes. This is with ASP.NET/HTML/CSS and JavaScript code. Same.
In the past, Visual Studio used to clear the cache every time I started, so I'm a little disappointed, to say the least.
Also, when I deploy the solution to the IIS server, the same thing happens for users. Although there have been changes to the ASP.NET page, users continue to upgrade the cached version until they clear their cache. I mitigated this problem to an extent by renaming files (especially javascript) with version numbers so that the client always sees them as a new file and loads them instead of downloading from the cache.
Are there any settings in Visual Studio or web.config that might be causing this?
EDIT: Here is my web.config file
<configuration> <system.web> <sessionState cookieless="UseCookies" timeout="1440" mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424"/> <compilation debug="true" targetFramework="4.0"> <assemblies> <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxx"/> <add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxx"/> <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxx"/> </assemblies> </compilation> <authentication mode="Windows"/> <pages> <controls> <add tagPrefix="ajaxtoolkit" namespace="AjaxControlToolkit" assembly="AjaxControlToolKit"/> </controls> </pages> </system.web> <system.web.extensions> <scripting> <webServices> <jsonSerialization maxJsonLength="50000000"/> </webServices> </scripting> </system.web.extensions> </configuration>