Example: https://glitch.com/~dotnet-new-mvc
Running example: https://dotnet-new-mvc.glitch.me/
Go to https://glitch.com/edit/#!/blank and click Remix to edit.
- Tools -> Logs to see logging output
- Tools -> Fullpage Console to open up console in new window
In console window:
dotnet new mvc
refresh
In Glitch, edit package.json
{
"name": "blankity-blank",
"version": "1.0.0",
"scripts": {
"start": "dotnet run"
}
}
If Properties
folder visible, edit launchSettings.json
. If not visible, try refresh
in console windows again, or edit in console using nano
or your favourite editor.
Change applicationUrl
to just http://localhost:3000
...
"app": {
"commandName": "Project",
"launchBrowser": true,
"applicationUrl": "http://localhost:3000",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}```