question

SrithariniRadhakrishnan-3026 avatar image
0 Votes"
SrithariniRadhakrishnan-3026 asked srbose-msft edited

What happens behind the scenes when an application is deployed in azure service fabric?

I am trying to learn about what happens when we deploy an application is azure service fabric. All i know is
1. I select the version of my microservices
2. Select the publish profile
3. 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.

I have few doubts as well.
1. 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?
2. is .NET runtime is installed by azure service fabric in the node in which my application is running?
Thankyou so much for answering my question!





azure-webappsazure-service-fabricservice-fabric-standalone
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

srbose-msft avatar image
0 Votes"
srbose-msft answered srbose-msft edited

@SrithariniRadhakrishnan-3026 , 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
1. I select the version of my microservices
2. Select the publish profile
3. 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:

  1. 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.

  2. The application type is then provisioned in the target cluster from the uploaded application package using the Provision an Application REST operation.

  3. After provisioning the application, s the application is started with the parameters supplied by the application administrator using the Create Application REST operation.

  4. 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.

  5. 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.
1. 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?
2. 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.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thankyou very much for your detailed answer! I am using c# and i came to know that windows server will be installed on the nodes of the cluster and it has .net run time pre-installed, can you please tell me whether strong named assemblies like System.dll, System.Net.dll will also be in those node's GAC?

0 Votes 0 ·