{"id":23244275,"url":"https://github.com/creyke/softkill","last_synced_at":"2026-05-09T00:09:19.601Z","repository":{"id":144164197,"uuid":"328669788","full_name":"creyke/SoftKill","owner":"creyke","description":"Kill your methods softly","archived":false,"fork":false,"pushed_at":"2023-01-06T10:46:36.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T23:28:55.773Z","etag":null,"topics":["aspnet-core","aspnet-web-api","dotnet","dotnet-core"],"latest_commit_sha":null,"homepage":"","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/creyke.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}},"created_at":"2021-01-11T13:17:41.000Z","updated_at":"2023-01-06T10:46:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"2d02fda3-4e74-4add-9b3f-b4bb55d525a0","html_url":"https://github.com/creyke/SoftKill","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/creyke/SoftKill","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creyke%2FSoftKill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creyke%2FSoftKill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creyke%2FSoftKill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creyke%2FSoftKill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/creyke","download_url":"https://codeload.github.com/creyke/SoftKill/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creyke%2FSoftKill/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32802568,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["aspnet-core","aspnet-web-api","dotnet","dotnet-core"],"created_at":"2024-12-19T06:21:36.025Z","updated_at":"2026-05-09T00:09:19.587Z","avatar_url":"https://github.com/creyke.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SoftKill\nKill your ASP.NET API methods softly\n\n[![NuGet](https://img.shields.io/nuget/v/SoftKill.svg?style=flat)](https://www.nuget.org/packages/SoftKill)\n\n# Overview\nSoftKill allows you to gently retire API methods by placing an attribute on them which defines when their response time should begin to degrade, the speed at which this occurs, and a final condemnation date after which the method will return an HTTP 410 Gone status.\n\n# Usage\n\n## Installing\nInstall the [NuGet package](https://www.nuget.org/packages/SoftKill) into an ASP.NET project with a package manager.\n\n### .NET CLI\n```dotnet add package SoftKill```\n\n### Package Manager\n```Install-Package SoftKill```\n\n## Enable SoftKill in Startup\n```csharp\napp.UseRouting();\napp.UseSoftKill();\n```\n\n## Condemn your method\n```csharp\n[HttpGet]\n[Obsolete(\"This method has a better alternative.\")]\n[KillSoftly(\n    new[] { 2021, 01, 01 }, // DegredationDate\n    7, // DegredationWindowDays\n    2, // DegredationSeconds\n    new[] { 2021, 02, 01 })] // CondemnationDate\npublic IEnumerable\u003cWeatherForecast\u003e Get()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreyke%2Fsoftkill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcreyke%2Fsoftkill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreyke%2Fsoftkill/lists"}