start the web browser first then the .net app
ex.:
@echo off start "" "http://localhost:5000" cd "C:\publish_path\" dotnet Program.dll