azure-appservice

Appropriate solution for long running computations in Azure App Service and .NET Core 3.1?

青春壹個敷衍的年華 提交于 2021-02-07 01:27:23
问题 What is an appropriate solution for long running computations in Azure App Service and .NET Core 3.1 in an application that has no need for a database and no IO to anything outside of this application ? It is a computation task. Specifically, the following is unreliable and needs a solution. [Route("service")] [HttpPost] public Outbound Post(Inbound inbound) { Debug.Assert(inbound.Message.Equals("Hello server.")); Outbound outbound = new Outbound(); long Billion = 1000000000; for (long i = 0;

Appropriate solution for long running computations in Azure App Service and .NET Core 3.1?

*爱你&永不变心* 提交于 2021-02-07 01:24:40
问题 What is an appropriate solution for long running computations in Azure App Service and .NET Core 3.1 in an application that has no need for a database and no IO to anything outside of this application ? It is a computation task. Specifically, the following is unreliable and needs a solution. [Route("service")] [HttpPost] public Outbound Post(Inbound inbound) { Debug.Assert(inbound.Message.Equals("Hello server.")); Outbound outbound = new Outbound(); long Billion = 1000000000; for (long i = 0;

Unable to deploy React JS application on Azure App service

淺唱寂寞╮ 提交于 2021-02-05 09:27:58
问题 I was going through the some of the links to deploy React Js application on the azure app service. But i am facing some problem while deploying the application. I have added all the necessary things like web.config file to public folder and also added build directory to the workspace. Deploying web app on azure app service Deploy Node.js to Azure App Service using Visual Studio Code followed all the steps but getting below error when i try to deploy on azure app service. Before deploying i do

Timeout period elasped prior to obtaining a connection from the pool - Entity Framework

老子叫甜甜 提交于 2021-02-05 08:39:31
问题 I have an ASP.NET MVC application that is deployed on Azure app service. I'm debugging this application on my local and its using IIS express. No IIS installed on the Windows 10 system. My code is written like this: The user login is getting validated like this try { using(var context = new techEntities()) { wtuser u = (from c in context.wtUsers where c.email == email select c).FristOrDefault(); if(u == null) { return new userOT {error = "Invalid email or password"}; } ... } } catch(exception

Static ip for azure app service using vnet integration

谁说我不能喝 提交于 2021-01-29 18:11:26
问题 I trying to assign a static ip-address ,or at least control the out bound traffic, for an azure app service with out having to invest in app service environment (it’s very expensive and not very flexible option). Reading up on "vnet integration"( https://docs.microsoft.com/en-us/azure/app-service/web-sites-integrate-with-vnet ) in the offical azure doc there exist options to force traffic to the vnet. From there it should be possible to route the all traffic using UDRs through NAT-gateway.

Azure App Service Getting error while deploying REACT JS application

南楼画角 提交于 2021-01-27 01:46:18
问题 Getting error while deploying to azure app services from the editor. 4:48:55 pm ppdedsrftwu2-appservice1: Starting deployment... 4:48:56 pm ppdedsrftwu2-appservice1: Creating zip package... 4:49:00 pm ppdedsrftwu2-appservice1: Zip package size: 1.09 MB 4:49:04 pm ppdedsrftwu2-appservice1: Fetching changes. 4:49:06 pm ppdedsrftwu2-appservice1: Updating submodules. 4:49:06 pm ppdedsrftwu2-appservice1: Preparing deployment for commit id '2a73dbd291'. 4:49:06 pm ppdedsrftwu2-appservice1:

Azure App Service Getting error while deploying REACT JS application

限于喜欢 提交于 2021-01-27 01:46:07
问题 Getting error while deploying to azure app services from the editor. 4:48:55 pm ppdedsrftwu2-appservice1: Starting deployment... 4:48:56 pm ppdedsrftwu2-appservice1: Creating zip package... 4:49:00 pm ppdedsrftwu2-appservice1: Zip package size: 1.09 MB 4:49:04 pm ppdedsrftwu2-appservice1: Fetching changes. 4:49:06 pm ppdedsrftwu2-appservice1: Updating submodules. 4:49:06 pm ppdedsrftwu2-appservice1: Preparing deployment for commit id '2a73dbd291'. 4:49:06 pm ppdedsrftwu2-appservice1:

How many App Services for one application?

这一生的挚爱 提交于 2020-11-30 01:32:24
问题 As an a Azure app service plan can host unlimited apps (api or web), for the same service plan, would API apps function any differently (e.g. perform worse or better) if they are deployed to multiple Web API apps or a single app? E.g. I have 500 APIs for line of business application. From a performance and management perspective is deploying to one app better or worse than deploying to multiple apps? From a management perspective I can see it being more work having multiple apps (e.g.