微软 Azure 应用服务存储

Microsoft Azure App Service Storage(微软 Azure 应用服务存储)
本文介绍了微软 Azure 应用服务存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对购买 Microsoft azure 应用服务来托管我的应用存有疑问.我已经测试了免费配置文件,我担心切换到基本配置文件.那是我的问题.我在 azure 网站 那么我的问题是:为什么在这里我看到 10GB 的 临时 存储空间?我是否会随时丢失位于 wwwroot 文件夹中的应用程序文件?

解决方案

我是否会随时丢失位于 wwwroot 文件夹中的应用程序文件?

如果您的应用程序文件位于 wwwroot 文件夹中,它不会丢失.我们可以从

可用磁盘空间显示在环境页面上:

I have a doubt for purchase a microsoft azure app service to host my app. I have already tested the free profile and i am concerned to switch to a basic profile. That's my question. I have seen on this table on azure website here which i'll have 10GB of disk space for my application files. When i went on price calculator i see this Well my question is: Why here i see 10GB of temporary storage? will i lose my application files located in the wwwroot folder anytime?

解决方案

will i lose my application files located in the wwwroot folder anytime?

It will not be lost if you application files located in the wwwroot folder.We could get the answer from the document.

Persisted files

This is what you can view as your web site's files. They follow a structure described here. They are rooted in d:home, which can also be found using the %HOME% environment variable.

These files are persistent, meaning that you can rely on them staying there until you do something to change them. Also, they are shared between all instances of your site (when you scale it up to multiple instances). Internally, the way this works is that they are stored in Azure Storage instead of living on the local file system.

Free and Shared sites get 1GB of space, Basic sites get 10GB, and Standard sites get 50GB

Temporary files

A number of common Windows locations are using temporary storage on the local machine. For instance

%APPDATA% points to something like D:localAppData. %TMP% goes to D:localTemp. Unlike Persisted files, these files are not shared among site instances. Also, you cannot rely on them staying there. For instance, if you restart a web app, you'll find that all of these folders get reset to their original state.

For Free, Shared and Consumption (Functions) sites, there is a 500MB limit for all these locations together (i.e. not per-folder). For Standard and Basic sites, the limit is very high (over 100GB).

We could check the application files in the D:homesitewwwroot from the Azure kudu tool(https://yoursite.scm.azurewebsites.net/).

Available disk space is shown on the Environment page:

这篇关于微软 Azure 应用服务存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

DispatcherQueue null when trying to update Ui property in ViewModel(尝试更新ViewModel中的Ui属性时DispatcherQueue为空)
Drawing over all windows on multiple monitors(在多个监视器上绘制所有窗口)
Programmatically show the desktop(以编程方式显示桌面)
c# Generic Setlt;Tgt; implementation to access objects by type(按类型访问对象的C#泛型集实现)
InvalidOperationException When using Context Injection in ASP.Net Core(在ASP.NET核心中使用上下文注入时发生InvalidOperationException)
LINQ many-to-many relationship, how to write a correct WHERE clause?(LINQ多对多关系,如何写一个正确的WHERE子句?)