@Sritharini Radhakrishnan , Thank you for your question.
I am trying to learn about what happens when we deploy an application is azure service fabric. All i know is
- I select the version of my microservices
- Select the publish profile
- Click publish
Then after a while my application is deployed and i can use it. But i would like to know the process that happens after i hit publish button.
You tailor the application type to a specific application to be deployed to a Service Fabric cluster by specifying the appropriate parameters of the ApplicationType element in the application manifest.
When you hit publish a series of actions follow:
- The application package is uploaded to the cluster image store by using the CopyApplicationPackage method . The application package contains the application manifest and the collection of service packages. Service Fabric deploys applications from the application package stored in the image store, which can be an Azure blob store or the Service Fabric system service.
- The application type is then provisioned in the target cluster from the uploaded application package using the Provision an Application REST operation.
- After provisioning the application, s the application is started with the parameters supplied by the application administrator using the Create Application REST operation.
- After the application has been deployed, the Create Service REST operation is used to create new service instances for the application based on available service types.
- The application is now running in the Service Fabric cluster.
Please refer to this article for application deployment steps in Azure Service Fabric Cluster.
----------
I have few doubts as well.
- When i develop, build and debug my application in Visual studio, i have .NET runtime installed in my machine so it can pick up assembly files but what happens to the deployed application?
- is .NET runtime is installed by azure service fabric in the node in which my application is running?
You can run any type of code, such as Node.js, Java, or C++ in Azure Service Fabric as a service. Service Fabric refers to these types of services as guest executables.
Guest executables are treated by Service Fabric like stateless services. As a result, they are placed on nodes in a cluster, based on availability and other metrics.
For more information please refer to this article.
----------
Hope this helps.
Please "Accept as Answer" if it helped, so that it can help others in the community looking for help on similar topics.