{"id":18924528,"url":"https://github.com/sharpcoder/simpleazure","last_synced_at":"2025-08-11T06:34:36.449Z","repository":{"id":20684913,"uuid":"23968063","full_name":"SharpCoder/SimpleAzure","owner":"SharpCoder","description":"Easily utilize azure simple storage with this small, templated library.","archived":false,"fork":false,"pushed_at":"2014-10-20T15:24:11.000Z","size":464,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-31T17:38:15.008Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SharpCoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-12T16:26:36.000Z","updated_at":"2017-01-21T10:22:28.000Z","dependencies_parsed_at":"2022-07-07T20:04:23.898Z","dependency_job_id":null,"html_url":"https://github.com/SharpCoder/SimpleAzure","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SharpCoder%2FSimpleAzure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SharpCoder%2FSimpleAzure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SharpCoder%2FSimpleAzure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SharpCoder%2FSimpleAzure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SharpCoder","download_url":"https://codeload.github.com/SharpCoder/SimpleAzure/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239921875,"owners_count":19718842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T11:07:04.912Z","updated_at":"2025-02-20T21:58:44.523Z","avatar_url":"https://github.com/SharpCoder.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Azure Helper\nThe project aims to streamline the azure simple storage library by providing generic, templated methods that you can apply to strongly typed objects. It requires that you have already installed the Azure dependencies. [Go here for details on setting up the dependency](http://www.nuget.org/packages/WindowsAzure.Storage). Once your project has the necessary libraries, using the Azure Simple Storage is really easy.\n\n## Connection String\nThe first thing you need to do is change the connection string. It is recommended that you use project settings instead of a const string. But for simplicity, you can simply change the following line (first line of code in the AzureHelper.cs file).\n\n```csharp\nprivate static string AzureConnectionString = \"UPDATE_CONNECTION_STRING_HERE\";\n```\n\n## Using\nOnce you've updated the connection string, you're now ready to integrate the simple storage. Create a new class in the following structure and you're done!\n\n```csharp\npublic class SampleClass : TableEntity\n{\n\tconst string AZURE_TABLE = \"SampleTable\";\n\n\tpublic int UserID { get; set; }\n\tpublic string Username { get; set; }\n\tpublic string Password { get; set; }\n\tpublic string Email { get; set; }\n\tpublic bool IsCool { get; set; }\n\n\tpublic void Upsert()\n\t{\n\t\tif (string.IsNullOrEmpty(RowKey))\n\t\t\tthis.RowKey = Guid.NewGuid().ToString();\n\n\t\t// Set the partition key\n\t\tthis.PartitionKey = this.RowKey;\n\t\tAzureHelper.Upsert(AZURE_TABLE, this);\n\t}\n\n\tpublic void Delete()\n\t{\n\t\tAzureHelper.Delete(AZURE_TABLE, this);\n\t}\n\n\tpublic List\u003cSampleClass\u003e GetList()\n\t{\n\t\treturn AzureHelper.GetList\u003cSampleClass\u003e(AZURE_TABLE);\n\t}\n\n\tpublic static SampleClass Retrieve(string rowkey)\n\t{\n\t\treturn AzureHelper.Retrieve\u003cSampleClass\u003e(AZURE_TABLE, rowkey, rowkey);\n\t}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharpcoder%2Fsimpleazure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsharpcoder%2Fsimpleazure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharpcoder%2Fsimpleazure/lists"}