NimblePros / eShopOnWeb

Sample ASP.NET Core 8.0 reference application, powered by Microsoft, demonstrating a layered application architecture with monolithic deployment model. Download the eBook PDF from docs folder.
MIT License
43 stars 6 forks source link

Consider using DotNetBackground and scripts to make it easier to get started locally #29

Closed sadukie closed 3 months ago

sadukie commented 3 months ago

Problem

When trying to run the steps locally, it can be complicated to start the app from multiple terminal windows and remember to stop them. Can we make it easier for people to run the sample locally?

Suggested Approach

It might make more sense to write a script to handle starting the sites via a command that handles running the PublicApi and Web sites as background processes.

See these blog posts for guidance on how we can use DotNetBackground and scripts to achieve this:

ardalis commented 3 months ago

Agreed it should be simpler. I think .NET Aspire also could be a solution to this.

sadukie commented 3 months ago

I agree, I would rather see #35 than have this go through. Aspire would alleviate this headache immensely.