{"id":16856311,"url":"https://github.com/peterblazejewicz/documentdb-todo-app-aspnet5","last_synced_at":"2025-03-18T11:14:05.093Z","repository":{"id":151363792,"uuid":"48295767","full_name":"peterblazejewicz/documentdb-todo-app-aspnet5","owner":"peterblazejewicz","description":"A port of existing Azure sample app to ASP.NET5","archived":false,"fork":false,"pushed_at":"2015-12-20T17:20:05.000Z","size":71,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T17:34:35.748Z","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":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peterblazejewicz.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":"2015-12-19T20:12:00.000Z","updated_at":"2015-12-19T21:44:09.000Z","dependencies_parsed_at":"2023-04-16T10:56:58.961Z","dependency_job_id":null,"html_url":"https://github.com/peterblazejewicz/documentdb-todo-app-aspnet5","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/peterblazejewicz%2Fdocumentdb-todo-app-aspnet5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterblazejewicz%2Fdocumentdb-todo-app-aspnet5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterblazejewicz%2Fdocumentdb-todo-app-aspnet5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterblazejewicz%2Fdocumentdb-todo-app-aspnet5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peterblazejewicz","download_url":"https://codeload.github.com/peterblazejewicz/documentdb-todo-app-aspnet5/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244207746,"owners_count":20416109,"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-10-13T14:03:34.005Z","updated_at":"2025-03-18T11:14:05.062Z","avatar_url":"https://github.com/peterblazejewicz.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Azure DocumentDb ToDoApp\n\nA port of existing Azure sample app to ASP.NET5\n\nNote: There is a real stopper to make it work:\n[Missing BCrypt.dll out of the box on .NET 5 + Mono + Linux](https://social.msdn.microsoft.com/Forums/azure/en-US/a4a80fde-5282-480a-b981-2bf5bb5f64c9/missing-bcryptdll-out-of-the-box-on-net-5-mono-linux?forum=AzureDocumentDB)\n\n## Access configuration\n\nThe Azure DocumentDb access configuration is based on layered options, as discussed in:\n\n[Getting and setting configuration settings](https://docs.asp.net/en/latest/fundamentals/configuration.html?highlight=options#getting-and-setting-configuration-settings)\n[Safe Storage of Application Secrets](https://docs.asp.net/en/latest/security/app-secrets.html?highlight=user%20secrets#safe-storage-of-application-secrets)\n\nConfiguration for Azure DocumentDb is layered in the following order:\n\n- `appsettings.json`\n- `appsettings.{development}.json`\n- user secrets\n- environment variables\n\nThis provides flexible and secure way to configure access to DocumentDb. `AuthKey` and `EndPoint` values are not stored in application code.\nYou could either:\n- modify `appsettings.json` and add correct values or:\n- set `Azure:DocumentDb:AuthKey` and `Azure:DocumentDb:EndPoint` with `user-secret` tool or:\n- add them as environment variables when starting application.\n\nThe landing page displays (via `@inject` feature) values of Azure DocumentDb configuration options.\n\n```html\n\u003cdl\u003e\n\t\u003cdt\u003eDatabase:\u003c/dt\u003e\n\t\u003cdd\u003e@config.Value.Database\u003c/dd\u003e\n\t\u003cdt\u003eCollection:\u003c/dt\u003e\n\t\u003cdd\u003e@config.Value.Collection\u003c/dd\u003e\n\t\u003cdt\u003eEndPoint:\u003c/dt\u003e\n\t\u003cdd\u003e@config.Value.EndPoint\u003c/dd\u003e\n\t\u003cdt\u003eAuthKey:\u003c/dt\u003e\n\t\u003cdd\u003e@config.Value.AuthKey\u003c/dd\u003e\n\u003c/dl\u003e\n```\n\n## Author\n\n@peterblazejewicz","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterblazejewicz%2Fdocumentdb-todo-app-aspnet5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterblazejewicz%2Fdocumentdb-todo-app-aspnet5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterblazejewicz%2Fdocumentdb-todo-app-aspnet5/lists"}