I'm learning of how to build microservices architecture system using Azure Service Fabric.
So, this is what I did:
- Installed VS 2019
- Created Azure Service Fabric Project
- Created Web Api Core stateless microservice that retrieves some data under that Azure Service Fabric
- Created ASP.NET Core + Angular client (using corresponding VS project template) under that Azure Service Fabric
- Client from #4 is very basic angular client that shows data provided by service from #3
- Installed Service Fabric Local Cluster Manager to be able to publish the service fabric and test all that locally
- I'm using Visual Studio to publish that Azure Service Fabric (with those two related services) to that local service fabric cluster node
- Everything is pretty ok, I can access the Angular client and see data that it gets from api
Expected result: Whenever I made changes to Angular client I want these changes to be automatically immediatelly reflected on the browser (as this typically the case when you work with Angular and it's CLI with ng serve command).
Actual result: To see how the client looks like after my changes I have to:
- Clean Azure Service Fabric project in VS
- Rebuild Azure Service Fabric project in VS
- Publish (ctrl+f5) Azure Service Fabric project in VS
which is frustrating.
The question: Can I get the expected result? Am I doing something wrong or is it just unsupported? Where should I look into to investigate the root cause or/and fix the problem?
Thank you in advance.
P.S. I'm pretty new to Angular and all this stuff so in case other information is needed let me know.