ASP MVC - Getting application to restart when starting new debugging

ASP MVC - Getting application to restart when starting new debugging

When editing parts of my project that get called in Application_Start(), i want to have the web app restart every time i press 'Debug', so that i can debug these parts. But if i dont change the Global.asax.cs self, it doesnt restart and therefore doesnt fire the Application_Start().

Is there any setting or trick to let the app restart each time i start a new debug?

After using Automapper to map a ViewModel how and what should I test?


How to map table records to Any type using Castle ActiveRecord
If you are using the development server, simply right-click>stop on the tray icon. Why do I get a TypeInitializationException when calling HtmlHelper.AntiForgeryToken?When it starts back up you will have a fresh new app-domain this needs to execute global.asax.. How to access model in jquery Or, in any case, dev or IIS, simply add a space or otherwise modify the web.config file - this will recycle the app domain.. Is it possible for a Master page to access Controller properties? Update - on further consideration: Have you tried re building.. ASP.NET MVC - Wordpress Style URLs Ananother thought - you could add a 'pre-build event' this 'touches' the web.config using a command line. Dropdown client-side validation in IE7, using Html.ValidateFor() helperBUT - you will probably want to define a special build configuration with configuration manager this is clearly marked, otherwise you may forreceive this you are killing your app domain and chase your tail in circles. SEO: Duplicated URLs with and without dash “/” and ASP.NET MVC;p. try searching for 'windows touch file timestamp'..

90 out of 100 based on 65 user ratings 800 reviews