Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Possible to debug/run aspnet5 application in IIS via VS2015

Is it possible to debug and run an ASP.Net5 MVC6 application via IIS and VS2015 using the current preview? (CTP5).

When I look at the available project options(project properties/Debug/Debug target) I only have IIS express available in the dropdown list.

like image 994
Tim Avatar asked Jan 26 '15 11:01

Tim


People also ask

How do I debug my ASP NET projects running under IIS?

To start debugging, select IIS Express (<Browser name>) or Local IIS (<Browser name>) in the toolbar, select Start Debugging from the Debug menu, or press F5. The debugger pauses at the breakpoints. If the debugger can't hit the breakpoints, see Troubleshoot debugging.

How do I enable remote debugging in IIS?

Go to Select server roles > Web Server (IIS) > Management Tools, and then select the IIS Management Scripts and Tools role, click Next, and then install the role. The scripts and tools are required to enable the generation of the publish settings file.


1 Answers

Currently ASP.NET 5 hosting for Visual Studio only supports the following:

  • Hosting with IIS Express
  • Self host with the web command (or any other command)

Support for IIS is on our backlog but it may not make the initial release. We are likely to specifically target IIS Express until most features are implemented. After that we will add support for IIS.

like image 62
Sayed Ibrahim Hashimi Avatar answered Oct 23 '22 06:10

Sayed Ibrahim Hashimi