xam86
xam86

Reputation: 121

Run on IIS without publishing (point IIS to project folder)

I have a .NET Core 3.0 Razor pages project. Is it possible for it to run in the local IIS express WITHOUT publishing?

Upvotes: 1

Views: 623

Answers (1)

Edward
Edward

Reputation: 29976

For debugging in IIS without publishing, you could follow steps below:

  1. Run VS as administrator
  2. Open your Razor page project
  3. Right-Click project->properties->Debug tab
  4. New profile->IIS
  5. Launch-> IIS
  6. Enter configuration you need for other fields
  7. Run with F5

Upvotes: 1

Related Questions