thanks but may be I didn't ask with the correct words. I know how refresh.bat autogenerates the client proxy, but when you deploy on a server from source control If the API is deployed at the same time that angular, how can you guarantee that service proxy has the last API version? maybe running refresh.bat as a deployment step? Or Is there a better approach? Thanks,