{"id":1215,"date":"2019-02-15T14:59:04","date_gmt":"2019-02-15T05:59:04","guid":{"rendered":"https:\/\/jennifersoft.com\/en\/?p=1215"},"modified":"2019-08-05T17:27:15","modified_gmt":"2019-08-05T08:27:15","slug":"jennifer-net-supports-the-web-app-at-azure-app-service","status":"publish","type":"post","link":"https:\/\/jennifersoft.com\/en\/blog\/tech\/jennifer-net-supports-the-web-app-at-azure-app-service\/","title":{"rendered":"JENNIFER .NET supports the web app at Azure App Service"},"content":{"rendered":"\n<figure class=\"wp-block-image wide\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/jennifersoft.com\/en\/wp-content\/uploads\/sites\/3\/2019\/07\/blog-image-6-azure-1024x640.jpg\" alt=\"\" class=\"wp-image-1471\" srcset=\"https:\/\/jennifersoft.com\/en\/wp-content\/uploads\/sites\/3\/2019\/07\/blog-image-6-azure-1024x640.jpg 1024w, https:\/\/jennifersoft.com\/en\/wp-content\/uploads\/sites\/3\/2019\/07\/blog-image-6-azure-300x188.jpg 300w, https:\/\/jennifersoft.com\/en\/wp-content\/uploads\/sites\/3\/2019\/07\/blog-image-6-azure.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The web application program under the Microsoft Azure generally could be running in 2 ways, as below: <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Iaas\n(Infrastructure-as-a-service) type: run web application program in Virtual\nMachine (VM) (EC2 service is applicable to AWS).<\/li><li>Paas\n(Platform-as-a-service) type: run web application program in App Service (Elastic\nBeanstalk is applicable to AWS).<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">You might want to use laas if you would\nlike to keep the current structure of the existing application program on Azure.\nHowever, this is only useful to save the management cost compared with the\ngeneral service provided by a hosting provider. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Meanwhile, if you would like to use a scale-out\nservice (as it is easy to utilize, which is the biggest reason to employ the\ncloud), you are required migrate into a web-based type of Azure App Service. Transferring\nan already well-established system into a web app, however, where users were\nnot fully understanding the features of Paas, the web app applications were not\ngetting attention initially. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Because the merits of using Paas are\ngetting increased attention recently, many newly-established web applications\nhave been introduced with web apps, rather than with VMs. For instance, JYP\nEntertainment opened its JYP NATION, a tour information webpage, to share\nevents and reservations with a web app. Because SSG.COM hopes to become \u201cZero\nVM,\u201d it recently applied the AI and chatbot and established its service only using\nFaas, Baas, and Paas, without utilizing VM. Many similar examples of the\npost-Paas stage are emerging. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Given the features of Paas provided in the cloud,\nit inherently has advantages from a performance perspective. Owing to flexible\nscale-out, it easily solves bandwidth-related problems compared with on-premise\nenvironments. For example, if request processing is getting delayed because of\nincreased transactions coming into the web server, a user can return the speed\nlevel to the normal status by enhancing the server instance dynamically. In\naddition, a user can employ the world-wide data center provided by a cloud\nservice provider instead of a single service area. Therefore, a user could be\nfree from network traffic. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Many unresolved problems remain that cannot\nbe solved with scale-out. Assuming that it takes 5 seconds to respond when a\nuser visits a shopping cart page in an e-commerce shopping mall, response time\ncould not be decreased linearly just by increasing the number of service\ninstance. In other words, what Paas, in general, can solve is allowance for existing\nservice providers to maintain response times that are changed by the\nfluctuation of traffic entrance. Therefore, performance issues still exist\nunder the cloud environment. APM plays a pivotal role in identifying what causes\nsuch problems.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Jennifersoft has continued to reinvent APM\nsupport under the cloud environment, as APM could still be necessary along with\nchanging trends of web application programs. The company already added Elastic\nBeanstalk support on AWS of the Java platform, and JENNIFER.NET started\nsupporting web app under Azure. <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">JENNIFER\n.NET installation <\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">The web application program initiated under\nVM is no different from the installation method under the on-premise\nenvironment. Owing to the constrained environment protected with Sandbox,\nhowever, it is not possible to install a program such as the one on VM. This\nlimitation affects the ecosystem of 3<sup>rd<\/sup>-party application programs\nthat provide additional services to App Service web application programs.\nMicrosoft unveiled an open source, Kudo Service, which provides a Web App\nExtension environment as a solution. It integrated the service into the Azure\nApp Service. Because JENNIFER .NET is registered as one of the web app\nextensions, existing web app users can link the related extension with the web\napp. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can freely install and delete the web app extension from the Extensions menu located in the console display of the Azure portal. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"507\" height=\"620\" src=\"https:\/\/jennifersoft.com\/en\/wp-content\/uploads\/sites\/3\/2019\/02\/1.jpg\" alt=\"\" class=\"wp-image-1218\" srcset=\"https:\/\/jennifersoft.com\/en\/wp-content\/uploads\/sites\/3\/2019\/02\/1.jpg 507w, https:\/\/jennifersoft.com\/en\/wp-content\/uploads\/sites\/3\/2019\/02\/1-245x300.jpg 245w\" sizes=\"auto, (max-width: 507px) 100vw, 507px\" \/><figcaption> Figure 1: Extensions menu of web app installation]<\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"> If you would like to install the JENNIFER .NET agent into your web app, please go to the \u201cAdd extension\u201d menu under the Extensions, and then select and add the \u201cJENNIFER .NET Agent\u201d you registered at JENNIFERSOFT.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"840\" height=\"339\" src=\"https:\/\/jennifersoft.com\/en\/wp-content\/uploads\/sites\/3\/2019\/02\/2.jpg\" alt=\"\" class=\"wp-image-1219\" srcset=\"https:\/\/jennifersoft.com\/en\/wp-content\/uploads\/sites\/3\/2019\/02\/2.jpg 840w, https:\/\/jennifersoft.com\/en\/wp-content\/uploads\/sites\/3\/2019\/02\/2-300x121.jpg 300w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><figcaption>Figure 2: Select \u201cJENNIFER .NET Agent\u201d among extension lists<\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">  Once installed, you need to apply setup steps that will allow the JENNIFER.NET agent to transfer collected data into the JENNIFER data server. In the previous installation method, you applied the user setup at the conf file; however, you must now apply the user setup in the   Application Settings in App Service (see Table 1 under the Azure App Service).  <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"493\" height=\"386\" src=\"https:\/\/jennifersoft.com\/en\/wp-content\/uploads\/sites\/3\/2019\/02\/3.jpg\" alt=\"\" class=\"wp-image-1220\" srcset=\"https:\/\/jennifersoft.com\/en\/wp-content\/uploads\/sites\/3\/2019\/02\/3.jpg 493w, https:\/\/jennifersoft.com\/en\/wp-content\/uploads\/sites\/3\/2019\/02\/3-300x235.jpg 300w\" sizes=\"auto, (max-width: 493px) 100vw, 493px\" \/><figcaption> Figure 3: Environment element setup menu of the target web app <br><\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"812\" height=\"482\" src=\"https:\/\/jennifersoft.com\/en\/wp-content\/uploads\/sites\/3\/2019\/02\/5-1.jpg\" alt=\"\" class=\"wp-image-1221\" srcset=\"https:\/\/jennifersoft.com\/en\/wp-content\/uploads\/sites\/3\/2019\/02\/5-1.jpg 812w, https:\/\/jennifersoft.com\/en\/wp-content\/uploads\/sites\/3\/2019\/02\/5-1-300x178.jpg 300w\" sizes=\"auto, (max-width: 812px) 100vw, 812px\" \/><figcaption>  Figure 4 Environment element setup for agent initiation  <\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Among setups\nin Table 1, values such as \u201cARIES_DOMAIN_ID\u201d, \u201cARIES_SERVER_ADDR\u201d, and \u201cARIES_SERVER_PORT\u201d\nvary depending on user preferences. You need to apply the other values without\nany modification. Then, you restart the web app. You will notice that the ID\nrepresenting the web app instance is allocated to the dashboard, and the number\nof instances goes up and down automatically, depending on how you set up the\nscale-out. <\/p>\n","protected":false},"excerpt":{"rendered":"The web application program under the Microsoft Azure generally could be running in 2 ways, as below: Iaas (Infrastructure-as-a-service) type:&#8230;","protected":false},"author":3,"featured_media":1471,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[78],"tags":[42],"class_list":["post-1215","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech","tag-net-monitoring"],"acf":[],"_links":{"self":[{"href":"https:\/\/jennifersoft.com\/en\/wp-json\/wp\/v2\/posts\/1215","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jennifersoft.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jennifersoft.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jennifersoft.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/jennifersoft.com\/en\/wp-json\/wp\/v2\/comments?post=1215"}],"version-history":[{"count":4,"href":"https:\/\/jennifersoft.com\/en\/wp-json\/wp\/v2\/posts\/1215\/revisions"}],"predecessor-version":[{"id":1495,"href":"https:\/\/jennifersoft.com\/en\/wp-json\/wp\/v2\/posts\/1215\/revisions\/1495"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jennifersoft.com\/en\/wp-json\/wp\/v2\/media\/1471"}],"wp:attachment":[{"href":"https:\/\/jennifersoft.com\/en\/wp-json\/wp\/v2\/media?parent=1215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jennifersoft.com\/en\/wp-json\/wp\/v2\/categories?post=1215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jennifersoft.com\/en\/wp-json\/wp\/v2\/tags?post=1215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}