C
C#2y ago
muskagap

❔ How to publish multiple projects under one solution?

I created ASP.Net Core API project, 4 library projects and a few unit test projects - all under one Solution. I use Visual Studio 2019. What I want to achieve is to publish all of them as one project and then host on IIS. I have read some articles on the web regarding that issue but there are various approaches. I would like to know what are best practices/ your practical experience in that field. How can I do this the easiest way? And second question: I will be hosting the project on Windows Server 2012 R2. Should I configure IIS somehow to support such deployment?
9 Replies
Angius
Angius2y ago
Publish the main API project
muskagap
muskagapOP2y ago
Ok and what next?
Angius
Angius2y ago
No idea about hosting on IIS, sorry. Never hosted anything on IIS and/or Windows Server, so can't help you there
muskagap
muskagapOP2y ago
ok, got it. Anyone has experience with that issue?
M B V R K
M B V R K2y ago
If your projects impelemting Microsoervice architecture, to make them workig as one project, you need to use an API Gateway approach.
M B V R K
M B V R K2y ago
You can use Ocelot for that purpose, I alread an article about this approach but it is not a folly covered article (https://mbarkt3sto.hashnode.dev/building-microservices-architecture-with-aspnet-core)
M B A R K's Blog
Building Microservices Architecture with ASP.Net Core
Microservices Architecture Microservices architecture is a popular approach to building software systems that are composed of small, independent services that communicate with each other through APIs. This approach allows for greater flexibility, sca...
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
muskagap
muskagapOP2y ago
I don't implement microservices but thanks for article Thanks, I'll take a look and read it
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?