question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to run multiple ASP.Net Core projects using dotnet run?

See original GitHub issue

Steps to reproduce

Create two ASP.Net Core Projects under same solution. How to run multiple ASP.Net Core 1 projects under same solution using dotnet run?

Environment data

.NET Command Line Tools (1.0.0-preview2-003131)

Product Information:
 Version:            1.0.0-preview2-003131
 Commit SHA-1 hash:  635cf40e58

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.10586
 OS Platform: Windows
 RID:         win10-x64

I used Visual Studio Community 2015 Version 14.0.25425.01 Update 3.

I have installed Visual Studio 2015 Tooling Preview 2 of version DotNetCore.1.0.1 - VS2015Tools.Preview2.0.2 from https://go.microsoft.com/fwlink/?LinkId=827546

OS - Windows 10 Enterprise N

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
sahilmankarcommented, Aug 18, 2023

@DreamingDevs for this you can create Batch script as

start   cmd.exe /C "cd AccountsAPI & title AccountsAPI & dotnet run"
start   cmd.exe /C "cd MerchantsAPI & title MerchantsAPI & dotnet run"

save file as filename.bat you can add more projects as you want just click on it to run

0reactions
gaalisboacommented, Dec 24, 2022

it can be possible with docker or something like that, no? (Being more specific, using docker-compose CLI)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Running multiple parallel instances of a .NET Core App ...
I've used bat file to run 6 instances of app in one time. Only problem was when I started build of application and...
Read more >
Run two ASP.NET Core applications at the same time
This article describes how to run two ASP.NET Core applications at the same time.
Read more >
dotnet run command - .NET CLI
The dotnet run command provides a convenient option to run your application from the source code.
Read more >
How to run multiple projects at once in Visual Studio : r/dotnet
2 – Select 'Multiple startup projects' and choose two or more projects. 3 – Press run and Visual Studio will open them in...
Read more >
Run dotnet core projects without opening visual studio
Running the app with .NET CLI · launch your favorite terminal · navigate to the project folder · enter dotnet run in the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found