I realized that when using visual studio development server , the cache of the application remains between the runs, so that we must stop the development server to clear the application cache . the same apply to application_start event , this also is not fired until we stop it.