Submit templates for repl.it/templates here.

← Back to all posts
ASP.NET on Replit
AndrewAung11 (25)

First fork the program then run it. Don't touch any file before running. When you run it will ask you for the name of your ASP.NET project. Type in and click enter. Wait for a few minutes until it shows Completed! Here what to do:. When you see that message, you can delete the runner.py file. It is unnecessary for your ASP.NET project. Then go to .replit file. You will see this run = cd {your project name} && dotnet watch -p .\\{your project name}.csproj run && firefox http://localhost:5000, put " around cd {your project name} && dotnet watch -p .\\{your project name}.csproj run && firefox http://localhost:5000. Then you will be able to run your program.

dotnet version is 5.