Edit and continue in ASP.NET web projects
NickName:Mikhail Glukhov Ask DateTime:2010-03-05T23:50:41

Edit and continue in ASP.NET web projects

I know how to enable Edit and Continue in ASP.NET Web Application projects (see here), however, I found no information as to how to achieve the same thing in ASP.NET Web Site projects.

Is this feature available in Web Site projects? If no, it seems that converting our Web Site project to a Web Application is really worth doing.

Copyright Notice:Content Author:「Mikhail Glukhov」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/2387985/edit-and-continue-in-asp-net-web-projects

Answers
WVDominick 2010-03-05T21:42:14

Edit and Continue is not supported in Web Site projects. If that is important to you I suggest going with Web Application Projects.",


BogeyMan 2018-01-23T00:14:51

As they say, \"it depends\".\n\nFor both Visual Studio 2015 & Visual Studio 2017, if you want to be able to \"Edit & Continue\" in Web Projects, then you need to set the server for your project to \"IIS Express\" in the Web tab of Project Settings. \n\n\n\nIf you do this, you will also be able to set/hit breakpoints on the web startup code.",


EdMan196 2010-11-13T11:37:34

With a website project edit and continue is disabled by default. To enable it you must go to: Properties->Web->'Servers' section, check 'Enable Edit and Continue'. Then, if you break your code you can edit it and continue. You cannot edit the code if you are not stepping through it. i.e. you have to break before editing.",


James Lawruk 2010-03-06T15:00:59

Although you can't edit the code while stepping through with the debugger, Web Site projects allow you to simply edit the source code and then reload the page. This is almost as useful as \"Edit and Continue.\" ASP.NET dynamic compilation allows you to change the source code which triggers the automatic recompile.\n\nHere is a related article on Understanding ASP.NET Dynamic Compilation\n\nThis page is also useful and has a section called Comparing Web Site Projects and Web Application Projects",


More about “Edit and continue in ASP.NET web projects” related questions

Edit and continue in ASP.NET web projects

I know how to enable Edit and Continue in ASP.NET Web Application projects (see here), however, I found no information as to how to achieve the same thing in ASP.NET Web Site projects. Is this fea...

Show Detail

Edit and Continue does not Work in VS 2010 / ASP.Net MVC 2

Although Enable Edit and Continue is checked on the Web tab of my ASP.Net MVC 2 project, I cannot in fact change the source code while running. For example, if I try to edit a controller while pau...

Show Detail

Can not edit and continue for sitefinity projects

I’m not quite sure why I can’t use the edit and continue debugging feature when debugging sitefinity projects using visual studio. The weird part is that sometimes I can, eg. I have two projects us...

Show Detail

Edit and Continue options per Solution

I'm working simultaneously on 2 projects, one .Net WINFORMS and the other ASP.NET website. Due to some quirks I've yet to figure out, on ASP website projects to enable Edit and Continue, you actu...

Show Detail

Edit and Continue in Silverlight?

Edit-And-Continue is one of my favorite debugging tools which I have previously used on C# based Winforms and ASP.NET projects. However, I'm running a Silverlight 3.0 application on VS 2008 and whe...

Show Detail

Edit and Continue and Test Projects

Sometimes I would test my Class Library from a WinForm stub app even though I was developing it for immediate use in a web app. Calling the Class library from a WinForm app would give me the abilit...

Show Detail

How to edit and continue in Visual Web Developer 2008 Express Edition and ASP.NET MVC?

I've enabled Enable Edit and Continue on the Web Properties page and it's also enabled in my configuration, yet Visual Web Developer 2008 Express Edition refuses to allow me to edit source files of...

Show Detail

How to edit and continue in Visual Studio 2008 and ASP.Net MVC?

I'm trying to get edit-and-continue working with Visual Studio 2008 with an ASP.Net MVC project. I'm running 64-bit, so that adds to the problem. In Configuration Manager, my active solution platf...

Show Detail

Visual Studio Edit and Continue / ASP.NET Development Server / Detach / Attach

I find the Edit & Continue feature is a great advantage if you develop an ASP.NET project. The only "problem" I run into is that if I want to use Edit & Continue, I need to start the debugg...

Show Detail

Edit and Continue for web application

I check edit and continue in Web application properties, still have to stop the debugger!!, re-attach to the project. If Web application cannot be edited while debugger is attached is there an eas...

Show Detail