azure-web-sites

Only getting Your App Service app has been created - after deploying to azure

我是研究僧i 提交于 2019-12-01 16:55:20
问题 After I deploy a web api to azure, I get the screen: Your App Service app has been created Go to your app's Quick Start guide in the Azure portal to get started or read our deployment documentation. I try to access some of the api/controller end points but then I get the message: "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable." Does this take a while to start on or shouldn't it work straight away? Thanks 来源: https://stackoverflow.com

Azure Static Website Hosting

心已入冬 提交于 2019-12-01 15:49:26
Is there any way to host static website (HTML + CSS + JS) in Azure? Like we do Amazon S3 Static Website hosting, they charge only for storage. UPDATE: 29-June-2018 It is now possible to host static websites in Azure Storage. You can read more about it here: https://docs.microsoft.com/en-gb/azure/storage/blobs/storage-blob-static-website As of today, no. Azure doesn't have an equivalent of that. You can however host static sites as Web Apps and for free as well if you're comfortable with the restrictions with free tier. It's not officially supported, but if you hosted your site in Azure Blob

Azure Static Website Hosting

半世苍凉 提交于 2019-12-01 14:32:48
问题 Is there any way to host static website (HTML + CSS + JS) in Azure? Like we do Amazon S3 Static Website hosting, they charge only for storage. 回答1: UPDATE: 29-June-2018 It is now possible to host static websites in Azure Storage. You can read more about it here: https://docs.microsoft.com/en-gb/azure/storage/blobs/storage-blob-static-website As of today, no. Azure doesn't have an equivalent of that. You can however host static sites as Web Apps and for free as well if you're comfortable with

“You do not have permission to view this directory or page” error in Azure

本秂侑毒 提交于 2019-12-01 12:56:32
问题 I have never used Azure before and I followed the following tutorial: https://docs.microsoft.com/en-us/azure/app-service/app-service-web-get-started-nodejs#create-a-project-zip-file I am getting a permissions error when trying to deploy a simple app on Azure made in Node.js. I have tried reuploading multiple times but I get the same error every time. I am using a Free Trial of Azure. Here is package.json and web.config PACKAGE.JSON: { "name": "oslo-solutions", "version": "1.0.0", "description

Asp.Net VNext App Settings on Azure

淺唱寂寞╮ 提交于 2019-12-01 12:06:40
I really enjoyed the new Configuration feature of Asp.Net vNext using de default appsettings.json But I would like to change the values of that file when I publish the website as a Azure Web App. The old web.config appsettings was easy to change and configure the properties on the environment. Do you know how to do this? I prefer to user the default provider instead of creating a custom configuration provider. Thank you! If you set App Settings in the Azure Portal, they become environment variables at runtime, and should get picked up by the ASP.NET vNext runtime. So you don't need to

Internal Server Error - Azure App Service Custom Controller

蓝咒 提交于 2019-12-01 11:29:26
I have a Azure Mobile App Service (not old mobileservice), with multiple custom controllers, and the flow works perfectly. Today an error occurred about Internal Server Error . I attached the debugger an stepped through the code, and the controller gets to the end without any errors and hits the return Ok . Therefore I have not been able to find the root. But the client then gets the error that there is an internal server error. I make a server call like: DTO.UserDTO uploadImage = await ((App)Application.Current).MobileService.InvokeApiAsync<DTO.UsernameCheckDto, DTO.UserDTO>("user

Azure FTP login via command line / batch file fails

我与影子孤独终老i 提交于 2019-12-01 10:53:12
I am trying to connect by FTP to an Azure Web App. I downloaded the publish profile and copied the login to my FTP client and can connect successfully. But when i use ftp.exe from Windows then i am not able to connect to the same host with the same credentials. I have read Connecting to Azure website via FTP but those solutions do not fix my problem. This is the output: C:\Projects>ftp ftp> open waws-prod-am2-201.ftp.azurewebsites.windows.net Connected to waws-prod-am2-201.drip.azurewebsites.windows.net. 220 Microsoft FTP Service 200 OPTS UTF8 command successful - UTF8 encoding now ON. User

Is it possible to retrieve a Visual Studio solution directly from an Azure App Service?

寵の児 提交于 2019-12-01 10:52:53
问题 I have an App Service in my Azure account which I deployed with Visual Studio Publish wizard. Is it possible to restore the deployed solution locally (in Visual Studio) from the Azure App Service? 回答1: When you publish an app to an App Service (web app), just your code is published, not the Visual Studio project / solution files. So no, unless you somehow forcibly packaged (or maybe ftp'd) a copy of your solution files, they won't be available for download. It's fairly trivial to pull the app

Publish Azure Website to non-root folder from PowerShell

痴心易碎 提交于 2019-12-01 10:45:54
I'm testing my assumptions at the moment. I have my Asp.Net MVC application located at www.myapp.com/app and a third-party CMS system on www.myapp.com/ . The web-site is set up like described in this answer At the moment I can publish both of the applications separately and manually from Visual Studio and it works fine. However, I'm trying to publish my application from a build server where I'm using Azure Power-Shell scriplets: PS> Publish-AzureWebsiteProject -Name myApp -Package MyWebDeployPackage.zip However, documentation does not mention if you can publish with this scriplet to a non-root

Http headers removed Azure web app

岁酱吖の 提交于 2019-12-01 10:32:26
问题 I'm having issues with my web app hosted on Azure. This app is an identityserver4 application (asp.net core) used for authentication/authorization. This app works locally but doesn't on Azure. By tracing the response headers coming from the server and what arrives to the final client. I can see that some headers "disappear". To ensure it wasn't just related to CORS, I have added a custom header X-TEST. Again this works locally but gets stripped of when deployed on Azure. Besides the CORS