Skip to content
No description, website, or topics provided.
C#
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
.gitignore
README.md
azure-pipelines.yml

README.md

Janono.WindowsAzure.Storage.Table

alt text

Build Status

Janono.WindowsAzure.Storage.Table

Is still under active development at https://github.com/janusznowak/Janono.WindowsAzure.Storage.Table https://dev.azure.com/janono-pub/Janono.WindowsAzure.Storage.Table

Janono.WindowsAzure.Storage.Table?

Janono.Azure.DocumentsDB.Scale is implemenation of Crud abstract operations library for Azure Storage Table. By providing contract class is simplify operations. Library is using performance optimized way for bulk operations.

Package name Stable
Janono.WindowsAzure.Storage.Table NuGet

Example of usage Janono.WindowsAzure.Storage.Table

namespace Janono.WindowsAzure.Storage.Table.Example
    using System.Collections.Generic;
    using Xunit;

    public class ExampleOfUsage
    {
        internal class TestContract : AzureTableEntity
        {
        }

        [Fact]
        public void ExampleOfUseBulkOptimizeInsertCreate()
        {
            string storageAccount = "janonostorage";
            string storageKey = System.Environment.GetEnvironmentVariable("storageKey");

            string tableName = "testTableNetF";
            var stor = new AzureTableStorage<TestContract>(
            new AzureTableSettings(
               storageAccount: storageAccount,
               storageKey: storageKey,
               tableName: tableName));

            List<TestContract> listtest = new List<TestContract>();
            for (int i = 0; i < 20000; i++)
            {
                var t = new TestContract();
                t.PartitionKey = "_";
                t.RowKey = i.ToString();
                listtest.Add(t);
            }
            stor.GetTableAsyncCreateIfNotExistsAsync().GetAwaiter().GetResult();
            stor.InsertReplace(listtest).GetAwaiter().GetResult();
            stor.DeleteIfExistsAsync();
        }
    }
}

        ```
You can’t perform that action at this time.