{"id":19957762,"url":"https://github.com/hidayatarg/office.netcore.modular","last_synced_at":"2026-05-01T20:32:34.022Z","repository":{"id":40856736,"uuid":"272304703","full_name":"hidayatarg/Office.netCore.modular","owner":"hidayatarg","description":"An amazing boilerplate and Architecture of Dotnet core multi-tier Application","archived":false,"fork":false,"pushed_at":"2022-12-08T11:47:27.000Z","size":744,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-12T07:13:35.349Z","etag":null,"topics":["asp-net-core","docker-compose","dotnet","multitier-architecture"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hidayatarg.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-15T00:07:29.000Z","updated_at":"2021-07-27T22:37:08.000Z","dependencies_parsed_at":"2023-01-25T13:00:07.318Z","dependency_job_id":null,"html_url":"https://github.com/hidayatarg/Office.netCore.modular","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/hidayatarg%2FOffice.netCore.modular","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hidayatarg%2FOffice.netCore.modular/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hidayatarg%2FOffice.netCore.modular/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hidayatarg%2FOffice.netCore.modular/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hidayatarg","download_url":"https://codeload.github.com/hidayatarg/Office.netCore.modular/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241389166,"owners_count":19955107,"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":["asp-net-core","docker-compose","dotnet","multitier-architecture"],"created_at":"2024-11-13T01:38:52.176Z","updated_at":"2026-05-01T20:32:28.989Z","avatar_url":"https://github.com/hidayatarg.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Docker MSSQL Server\nDownload docker image for sql server and activate it\n```docker\ndocker pull microsoft/mssql-server-linux\ndocker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=ProductApi(!)' -e 'MSSQL_PID=Express' -p 1433:1433 --name=catalogdb microsoft/mssql-server-linux\ndocker start catalogdb\n\n```\n\n### Docker Containers Tricks\n-   to list or check active containers `docker ps`\n-   to list all containers `docker ps -a`\n-   to start a container `docker start CONTAINER_ID`\n\n### Migration\nIt will create the database with name of mentioned in API `AppSetting.json`\n\n`First Test Route: https://localhost:5001/api/Category/`\n\n#### AutoMapper\nNuGet Packages\n- `AutoMapper.Extensions.Microsoft.DependencyInjection`\n- `AutoMapper`\n\n\n#### POST Category\nType JSON Raw Body\nhttps://localhost:5001/api/Category\n```json\n{\n    \"Name\":\"CarKit\"\n}\n```\n\n### Best Practices\nTry catch are not used in controller there will be a middleware class to catch the exceptions.\n\n#### Action Filters \nWe can change the the codes in the request pipline using filters. In the insert methods we expect the data to arrive for that we used if block to check if the incoming data is valid or not.\n\nservices.Configure\u003cApiBehaviorOptions\u003e\n\nwe will change the behavior of the API and Return custom Errors.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhidayatarg%2Foffice.netcore.modular","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhidayatarg%2Foffice.netcore.modular","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhidayatarg%2Foffice.netcore.modular/lists"}