小编Jan*_*nak的帖子

在CloudBlobContainer中找不到Listblob()

在我的应用程序中,我想要我的容器的所有blob但在我的代码中(如下所示)在CloudBlobContainer变量容器中没有Listblob()方法.我错过了什么吗?

var credentials = new StorageCredentials("xxx", "a37bijfRGGdgaVU+ITEIi0Cp1VrbzMM7Bc9PbMOw2FPAz9twgR+lbTzqGhBfHeJe7UfEp4CXtLxqY5Ek0/5zdg==");
        var client = new CloudBlobClient(new Uri("https://xxx.blob.core.windows.net/"), credentials);
        var container = client.GetContainerReference("publicimage");

//this container variable has not ListBlobs() method
        foreach(IListBlobItem item in container.ListBlobsSegmentedAsync())
        {

        }
Run Code Online (Sandbox Code Playgroud)

c# azure azure-storage azure-storage-blobs

7
推荐指数
1
解决办法
5320
查看次数

当用户点击Xamarin.Forms中的Map时,如何获取坐标?

在我的Xamarin.Forms(PCL项目)中,当用户点击地图时我想获得坐标(lat和long),但我在Map类中找不到任何tap事件.我认为使用TapGestureRecognizer类的对象在这种情况下无济于事.

那么我们可以在原生平台上执行任何技术来识别点击并获取该点击区域/点的坐标吗?

任何博客文章或技术都会有所帮助.

谢谢.

xamarin xamarin.forms

6
推荐指数
1
解决办法
4275
查看次数

sqlite实现中的xamarin.forms中的FileNotFoundException

在我使用sqlite的项目中,我收到此错误.

类型例外 System.IO.FileNotFoundException occurred in SQLite.Net.Platform.WindowsPhone8.DLL but was not handled in user code

这是一个截图.

在此输入图像描述

PS我在变量路径中得到的值为C:\ Data\Users\DefApps\AppData {F8267584-1051-4816-8195-EE018BA5155E}\local\Student.db3

谢谢

sqlite xamarin.forms

4
推荐指数
1
解决办法
816
查看次数

使用 Kudu 构建服务部署 asp.net 核心应用程序时出现 UnauthorizedAccessException

我已经使用 Kudu 构建服务(通过 GitHub 直接连接)设置了我的 aspnet core 2.2 应用程序的持续部署。直到前天都很好,但是UnauthorizedAccessException当我从昨天开始尝试部署任何东西时就开始了。不过,我的应用程序没有任何变化。知道这里有什么问题吗?

这是详细的异常:

Command: "D:\home\site\deployments\tools\deploy.cmd"
Handling ASP.NET Core Web Application deployment.
System.UnauthorizedAccessException: Attempted to perform an unauthorized operation.
   at Internal.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
   at Internal.Win32.RegistryKey.SetValue(String name, String value)
   at System.Environment.SetEnvironmentVariableFromRegistry(String variable, String value, Boolean fromMachine)
Failed exitCode=1, command=dotnet restore "D:\home\site\repository\myproject.sln"
   at System.Environment.SetEnvironmentVariable(String variable, String value, EnvironmentVariableTarget target)
An error has occurred during web site deployment.
   at Microsoft.DotNet.Cli.Utils.EnvironmentProvider.SetEnvironmentVariable(String variable, String value, EnvironmentVariableTarget target)
   at Microsoft.DotNet.ShellShim.WindowsEnvironmentPath.AddPackageExecutablePathToUserPath()
   at Microsoft.DotNet.Configurer.DotnetFirstTimeUseConfigurer.Configure()
   at Microsoft.DotNet.Cli.Program.ConfigureDotNetForFirstTimeUse(IFirstTimeUseNoticeSentinel firstTimeUseNoticeSentinel, IAspNetCertificateSentinel aspNetCertificateSentinel, …
Run Code Online (Sandbox Code Playgroud)

kudu azure-web-app-service asp.net-core

4
推荐指数
1
解决办法
881
查看次数