fail: Microsoft.AspNetCore.Server.Kestrel[13] error on dotnet run #18
Comments
this is .NET Core issue as this same error occurs on Windows |
ok i notice when running the Using launch settings from .\Songhay.Blog\Songhay.Blog\Properties\launchSettings.json...
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0]
User profile is available. Using '.\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
info: Microsoft.AspNetCore.SpaServices[0]
Starting @angular/cli on port 50855...
Hosting environment: Development
Content root path: .\Songhay.Blog\Songhay.Blog
Now listening on: http://localhost:50323
Application started. Press Ctrl+C to shut down.
info: Microsoft.AspNetCore.SpaServices[0]
> songhay.blog@2.0.0 start .\Songhay.Blog\Songhay.Blog\ClientApp
> ng serve --extract-css "--port" "50855"
** NG Live Development Server is listening on localhost:50855, open your browser on http://localhost:50855/ **
info: Microsoft.AspNetCore.SpaServices[0]
Date: 2018-07-25T22:13:11.211Z
info: Microsoft.AspNetCore.SpaServices[0]
Hash: 38be087882926db551a3
Time: 19894ms
chunk {inline} inline.bundle.js (inline) 3.85 kB [entry] [rendered]
chunk {main} main.bundle.js (main) 192 kB [initial] [rendered]
chunk {polyfills} polyfills.bundle.js (polyfills) 555 kB [initial] [rendered]
chunk {styles} styles.bundle.css (styles) 63 kB [initial] [rendered]
chunk {vendor} vendor.bundle.js (vendor) 19.2 MB [initial] [rendered]
info: Microsoft.AspNetCore.SpaServices[0]
webpack: Compiled successfully. the SPA default page loads as expected but any API calls fail with 404 errors the NG Live Development Server mentioned above cannot run ASP.NET Core |
the "profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"Songhay.Blog": {
"commandName": "Project",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "http://localhost:50323/"
}
} in VS Code |
i see now that |
after getting guidance from my StackOverflow answer, i see that line 91 of commenting this line out would require me to run |
i suppose this issue is resolved in terms of me paying attention to this line of code: however, the default behavior of |
The text was updated successfully, but these errors were encountered: