{"id":30285744,"url":"https://github.com/mrkresnofatih/superbootstrapbase","last_synced_at":"2025-08-16T20:08:03.734Z","repository":{"id":285202415,"uuid":"624960935","full_name":"mrkresnofatih/SuperBootstrapBase","owner":"mrkresnofatih","description":"A Nuget Package for Bootstrapping a .NET Microservice Application with utilities like Logging/Tracing, Cors, Configuration, etc. 🚀","archived":false,"fork":false,"pushed_at":"2023-04-15T03:27:47.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"dev","last_synced_at":"2025-07-22T09:09:31.814Z","etag":null,"topics":["configuration","dotnet","dotnet-framework","logging","microservice","nuget-package","tracing"],"latest_commit_sha":null,"homepage":"https://www.nuget.org/packages/DesertCamel.BaseMicroservices.SuperBootstrap.Base","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/mrkresnofatih.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":"2023-04-07T17:39:47.000Z","updated_at":"2023-04-13T14:39:04.000Z","dependencies_parsed_at":"2025-03-30T08:32:55.693Z","dependency_job_id":"dea54572-97dd-496c-b8cc-a0b62eb870a9","html_url":"https://github.com/mrkresnofatih/SuperBootstrapBase","commit_stats":null,"previous_names":["mrkresnofatih/superbootstrapbase"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mrkresnofatih/SuperBootstrapBase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrkresnofatih%2FSuperBootstrapBase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrkresnofatih%2FSuperBootstrapBase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrkresnofatih%2FSuperBootstrapBase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrkresnofatih%2FSuperBootstrapBase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrkresnofatih","download_url":"https://codeload.github.com/mrkresnofatih/SuperBootstrapBase/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrkresnofatih%2FSuperBootstrapBase/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270763461,"owners_count":24641026,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"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":["configuration","dotnet","dotnet-framework","logging","microservice","nuget-package","tracing"],"created_at":"2025-08-16T20:08:03.278Z","updated_at":"2025-08-16T20:08:03.719Z","avatar_url":"https://github.com/mrkresnofatih.png","language":"C#","readme":"# DesertCamel.BaseMicroservices.SuperBootstrap.Base\n\nA Nuget Package for Bootstrapping a .NET Microservice Application with utilities like Logging/Tracing, Cors, Configuration, etc.\n\n\n## Getting Started\n\nIn the `Program.cs` file, write:\n\n```c#\nusing DesertCamel.BaseMicroservices.SuperIdentity;\n\nvar builder = WebApplication.CreateBuilder(args);\nbuilder.Logging.ClearProviders();  // important\n\nvar startup = new Startup(builder.Configuration);\nstartup.ConfigureServices(builder.Services);\n\nvar app = builder.Build();\nstartup.Configure(app, builder.Environment);\n\napp.Run();\n```\n\nYour `Startup.cs` file should be implemented as follows:\n```c#\npublic class Startup\n{\n    public Startup(IConfiguration configuration)\n    {\n        Configuration = configuration;\n    }\n\n    public IConfiguration Configuration { get; }\n\n    public void ConfigureServices(IServiceCollection services)\n    {\n        // other services\n        services.AddControllers();\n        services.AddEndpointsApiExplorer();\n        services.AddSwaggerGen();\n\n        services.AddBootstrapBase(Configuration);\n    }\n\n    public void Configure(IApplicationBuilder app, IWebHostEnvironment env)\n    {\n        if (env.IsDevelopment())\n        {\n            app.UseSwagger();\n            app.UseSwaggerUI();\n        }\n\n        // initial db migration/setup if any\n\n        app.UseRouting();\n        app.UseCors();  // remember to always implement this\n        app.UseAuthorization();\n\n        app.UseBootstrapBase(); // set this exactly before app.UseEndpoints\n        app.UseEndpoints(endpoints =\u003e\n        {\n            endpoints.MapControllers();\n        });\n    }\n}\n```\n\nAdd to your `appsettings.json` these in the root level json tree:\n\n```json\n{\n    \"Serilog\": {\n        \"Using\": [ \"Serilog.Sinks.Console\" ],\n        \"MinimumLevel\": {\n        \"Default\": \"Information\",\n        \"Override\": {\n            \"Microsoft.EntityFrameworkCore.Database.Command\": \"Warning\"\n        }\n        },\n        \"WriteTo\": [\n            {\n                \"Name\": \"Console\",\n                \"Args\": {\n                \"outputTemplate\": \"{Timestamp:o} [{Level:u4}] [{CorrelationId}] [{SourceContext}] {Message}{NewLine}{Exception}\"\n                }\n            }\n        ],\n        \"Enrich\": [ \"FromLogContext\" ],\n        \"Destructure\": []\n  },\n  \"SuperBootstrap\": {\n        \"Cors\": {\n            \"AllowedOrigins\": [\n                \"http://localhost:5068\",\n                \"http://localhost:3000\"\n            ]\n        }\n  }\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrkresnofatih%2Fsuperbootstrapbase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrkresnofatih%2Fsuperbootstrapbase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrkresnofatih%2Fsuperbootstrapbase/lists"}