Link to home
Start Free TrialLog in
Avatar of curiouswebster
curiouswebsterFlag for United States of America

asked on

Need to configure IIS Express - localhost

Need to configure IIS Express - localhost

I installed Visual Studio onto Windows 10. Then, I created a .NET MVC application, which compiles okay, but fails when I try and run it.

I have not configured IIS Express and am not even sure it is there.

User generated image
How do I open IIS Express on Windows 10?

I need to configure the Virtual Directory, etc.


Here are my settings...
{
  "iisSettings": {
    "windowsAuthentication": false, 
    "anonymousAuthentication": true, 
    "iisExpress": {
      "applicationUrl": "http://localhost:61938",
      "sslPort": 44364
    }
  },
  "profiles": {
    "IIS Express": {
      "commandName": "IISExpress",
      "launchBrowser": true,
      "environmentVariables": {
        "ASPNETCORE_ENVIRONMENT": "Development"
      }
    },
    "SampleWebApplication1": {
      "commandName": "Project",
      "launchBrowser": true,
      "applicationUrl": "https://localhost:5001;http://localhost:5000",
      "environmentVariables": {
        "ASPNETCORE_ENVIRONMENT": "Development"
      }
    }
  }
}

Open in new window


Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Chinmay Patel
Chinmay Patel
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of curiouswebster

ASKER

I may abandon Windows and go 100% Mac development with .NET Core. Does Mac also support IIS?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
So, I can run ASP.NET and ASP.Core applications on a Mac when I install:

Visual Studio
SQL Server
SSMS
Kestrel Server

??
Thanks!

Hi There,


SSMS is not currently MCA Compatible, you may use Azure Data Studio though.

https://docs.microsoft.com/en-us/sql/azure-data-studio/download-azure-data-studio?view=sql-server-ver15


And SQL Server will run via Docker.


All the best.


Regards,

Chinmay.