Skip to content

Commit

Permalink
Merge pull request SyncfusionExamples#3 from Thirukumanaran/master
Browse files Browse the repository at this point in the history
Updated the SetBlobContainer method in the controller action.
  • Loading branch information
gsumankumar authored Nov 6, 2019
2 parents 2021ec1 + 89ddd00 commit ce18a84
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Controllers/AzureProviderController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public AzureProviderController(IHostingEnvironment hostingEnvironment)
{
this.operation = new AzureFileProvider();
this.operation.RegisterAzure("<--accountName-->", "<--accountKey-->", "<--blobName-->");
this.operation.setBlobContainer("<--blobPath-->", "<--filePath-->");
this.operation.SetBlobContainer("<--blobPath-->", "<--filePath-->");
}
[Route("AzureFileOperations")]
public object AzureFileOperations([FromBody] FileManagerDirectoryContent args)
Expand Down
2 changes: 1 addition & 1 deletion Models/AzureFileProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void RegisterAzure(string accountName, string accountKey, string blobName
container = new CloudStorageAccount(new StorageCredentials(accountName, accountKey), useHttps: true).CreateCloudBlobClient().GetContainerReference(blobName);
}
// Sets blob and file path
public void setBlobContainer(string blobPath, string filePath)
public void SetBlobContainer(string blobPath, string filePath)
{
this.BlobPath = blobPath;
this.FilesPath = filePath;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<PackageReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.1.2" PrivateAssets="All" />
<PackageReference Include="WindowsAzure.Storage" Version="9.3.3" />
<PackageReference Include="Syncfusion.EJ2.AspNet.Core" Version="17.3.0.14" />
<PackageReference Include="Syncfusion.EJ2.AspNet.Core" Version="17.3.0.26" />
</ItemGroup>

</Project>

0 comments on commit ce18a84

Please sign in to comment.