{"id":51441781,"url":"https://github.com/monocloud/dotnet-backend-quickstart","last_synced_at":"2026-07-05T12:30:44.392Z","repository":{"id":368838035,"uuid":"1286877236","full_name":"monocloud/dotnet-backend-quickstart","owner":"monocloud","description":" MonoCloud .NET Backend SDK Quickstart Repository ","archived":false,"fork":false,"pushed_at":"2026-07-02T11:34:42.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-02T13:24:09.278Z","etag":null,"topics":["authentication","dotnet-authentication","monocloud"],"latest_commit_sha":null,"homepage":"https://www.monocloud.com","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/monocloud.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-07-02T07:16:13.000Z","updated_at":"2026-07-02T11:34:46.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/monocloud/dotnet-backend-quickstart","commit_stats":null,"previous_names":["monocloud/dotnet-backend-quickstart"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/monocloud/dotnet-backend-quickstart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monocloud%2Fdotnet-backend-quickstart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monocloud%2Fdotnet-backend-quickstart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monocloud%2Fdotnet-backend-quickstart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monocloud%2Fdotnet-backend-quickstart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monocloud","download_url":"https://codeload.github.com/monocloud/dotnet-backend-quickstart/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monocloud%2Fdotnet-backend-quickstart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35154748,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-05T02:00:06.290Z","response_time":100,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["authentication","dotnet-authentication","monocloud"],"created_at":"2026-07-05T12:30:43.289Z","updated_at":"2026-07-05T12:30:44.377Z","avatar_url":"https://github.com/monocloud.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://www.monocloud.com?utm_source=github\u0026utm_medium=dotnet_backend_quickstart\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n    \u003cpicture\u003e\n      \u003cimg src=\"https://raw.githubusercontent.com/monocloud/dotnet-backend-quickstart/refs/heads/main/banner.svg\" alt=\"MonoCloud Banner\"\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n  \u003cdiv align=\"right\"\u003e\n    \u003ca href=\"https://www.nuget.org/packages/MonoCloud.Backend\" target=\"_blank\"\u003e\n      \u003cimg src=\"https://img.shields.io/nuget/v/MonoCloud.Backend\" alt=\"NuGet\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\n      \u003cimg src=\"https://img.shields.io/:license-MIT-blue.svg?style=flat\" alt=\"License: MIT\" /\u003e\n    \u003c/a\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n## .NET Backend Quickstart\n\nA **minimal ASP.NET Core (minimal API) example** showing how to protect API endpoints with access token validation using MonoCloud.\n\n## What this repo shows\n\n- MonoCloud access token validation with ASP.NET Core\n- Endpoint protection via the standard authentication and authorization pipeline\n- Accessing the authenticated user's claims\n\nBuilt with [**`MonoCloud.Backend`**](https://www.nuget.org/packages/MonoCloud.Backend).\n\n## Prerequisites\n\nBefore you begin:\n\n1. In the [MonoCloud Dashboard](https://dashboard.monocloud.com/), create a new **API**\n2. Set the **Audience** (for example `https://api.example.com`) — this uniquely identifies your API\n3. Add a scope named `example-api` and mark the scope as a default scope\n\nYou'll also need the [.NET SDK](https://dotnet.microsoft.com/download) (8.0 or later).\n\n## Configure the application\n\nThis repo reads its configuration from `appsettings.json`. Replace the placeholders with values from your API:\n\n```json\n\"MonoCloud\": {\n  \"TenantDomain\": \"https://\u003cyour-domain\u003e\",\n  \"Audience\": \"https://\u003cyour-api-audience\u003e\"\n}\n```\n\n\u003e Do not commit real secrets. For production, use environment variables, user secrets, or a secure secret store.\n\n## Run locally\n\n```bash\ndotnet run\n```\n\nThe server starts on `http://localhost:3000`.\n\n## Test\n\n```bash\ncurl -H \"Authorization: Bearer \u003cyour-access-token\u003e\" http://localhost:3000/api/protected\n```\n\n## 📘 Learn more\n\n-   **.NET Backend Quickstart:** [https://www.monocloud.com/docs/quickstarts/dotnet-backend](https://www.monocloud.com/docs/quickstarts/dotnet-backend?utm_source=github\u0026utm_medium=dotnet_backend_quickstart)\n-   **.NET Backend SDK Docs:** [https://www.monocloud.com/docs/sdks/dotnet-backend](https://www.monocloud.com/docs/sdks/dotnet-backend/index?utm_source=github\u0026utm_medium=dotnet_backend_quickstart)\n-   **API Reference:** [https://monocloud.github.io/backend-dotnet](https://monocloud.github.io/backend-dotnet?utm_source=github\u0026utm_medium=dotnet_backend_quickstart)\n\n## 🤝 Contributing \u0026 Support\n\n### Issues \u0026 Feedback\n\n- Use **GitHub Issues** for bug reports and feature requests.\n- For tenant or account-specific help, contact MonoCloud Support through your dashboard.\n\n### Security\n\nDo **not** report security issues publicly. Please follow the contact instructions at: [https://www.monocloud.com/contact](https://www.monocloud.com/contact?utm_source=github\u0026utm_medium=dotnet_backend_quickstart)\n\n## License\n\nLicensed under the **MIT License**. See the included [`LICENSE`](./LICENSE) file.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonocloud%2Fdotnet-backend-quickstart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonocloud%2Fdotnet-backend-quickstart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonocloud%2Fdotnet-backend-quickstart/lists"}