{"id":21855627,"url":"https://github.com/zeropsio/recipe-dotnet","last_synced_at":"2026-05-06T08:32:47.216Z","repository":{"id":244265920,"uuid":"814500498","full_name":"zeropsio/recipe-dotnet","owner":"zeropsio","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-02T13:02:35.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-01T13:40:47.846Z","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/zeropsio.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}},"created_at":"2024-06-13T06:24:28.000Z","updated_at":"2024-07-28T17:09:25.000Z","dependencies_parsed_at":"2024-06-23T11:42:41.261Z","dependency_job_id":"18be9539-bb25-4c3c-8f47-19178bf56b0f","html_url":"https://github.com/zeropsio/recipe-dotnet","commit_stats":null,"previous_names":["zeropsio/recipe-dotnet"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zeropsio/recipe-dotnet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeropsio%2Frecipe-dotnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeropsio%2Frecipe-dotnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeropsio%2Frecipe-dotnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeropsio%2Frecipe-dotnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeropsio","download_url":"https://codeload.github.com/zeropsio/recipe-dotnet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeropsio%2Frecipe-dotnet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32684647,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T02:33:58.958Z","status":"ssl_error","status_checked_at":"2026-05-06T02:33:39.611Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-28T02:16:55.977Z","updated_at":"2026-05-06T08:32:47.200Z","avatar_url":"https://github.com/zeropsio.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zerops x .NET\nThis is the most bare-bones example of .NET app running on [Zerops](https://zerops.io) — as few libraries as possible, just a simple endpoint with connnect, read and write to a Zerops PostgreSQL database.\n\n![dotnet](https://github.com/zeropsio/recipe-shared-assets/blob/main/covers/svg/cover-dotnet.svg)\n\n\u003cbr /\u003e\n\n## Deploy on Zerops\nYou can either click the deploy button to deploy directly on Zerops, or manually copy the [import yaml](https://github.com/zeropsio/recipe-dotnet/blob/main/zerops-project-import.yml) to the import dialog in the Zerops app.\n\n[![Deploy on Zerops](https://github.com/zeropsio/recipe-shared-assets/blob/main/deploy-button/green/deploy-button.svg)](https://app.zerops.io/recipe/dotnet)\n\n\u003cbr/\u003e\n\n## Recipe features\n- **.NET 6** app running on a load balanced **Zerops .NET** service\n- Zerops **PostgreSQL 16** service as database\n- Healthcheck setup example\n- Utilization of Zerops' built-in **environment variables** system\n- Utilization of Zerops' built-in **log management**\n\n\u003cbr/\u003e\n\n## Production vs. development\n\nBase of the recipe is ready for production, the difference comes down to:\n\n- Use highly available version of the PostgreSQL database (change `mode` from `NON_HA` to `HA` in recipe YAML, `db` service section)\n- Use at least two containers for the .NET service to achieve high reliability and resilience (add `minContainers: 2` in recipe YAML, `api` service section)\n\nFurther things to think about when running more complex, highly available .Net production apps on Zerops:\n\n- Containers are volatile - use Zerops object storage to store your files\n- Use Zerops Redis (KeyDB) for caching, storing sessions and pub/sub messaging\n- Use more advanced logging lib, such as [NLog](https://github.com/NLog/NLog) or [Serilog](https://github.com/serilog/serilog)\n\n\u003cbr/\u003e\n\u003cbr/\u003e\n\nNeed help setting your project up? Join [Zerops Discord community](https://discord.com/invite/WDvCZ54).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeropsio%2Frecipe-dotnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeropsio%2Frecipe-dotnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeropsio%2Frecipe-dotnet/lists"}