Asp net webservice not updating
To deploy my web application project I use one-click publish and web deploy. I checked the code it loads in the browser by using F12 and it still loads the file before update. Are there IIS settings I need to change to make it work?I assume all goes through fine since in vs output window after few seconds of waiting I see: ........................................................... thanks Usually a change on label does not require to restart IIS. Event Args e) #region Web Form Designer generated code override protected void On Init(Event Args e) When this method is called back, the request has already completed, the response has already been sent to the client, and you are out of luck. Label lbl Word Count; private Async Callback My Word Count Callback; private void Page_Load(object sender, System. NET developer platform with tools and libraries specifically for building web apps. Get quick answers to questions with an active community of developers on Stack Overflow, ASP.
Is there any other places apart from web.config to check if caching causes this headache ?The basic web browser (HTTP) model is request/reply: the browser requests a page and the web app server (ASPX, or whatever) delivers a page, possibly a dynamically generated page. In your scenario, at this point, there is a value in a database somewhere that has changed.The way to get the web page to be updated is for the browser to re-request the page. The server cannot tell the browser anything unless the browser asks for it.I am making changes to both web and code files, compile the application and then use Publish.If delete all files on the destination before I deploy all I see is a list of directories and files of the application in the browser.