Ddth.Templates.WebApi
1.1.0
See the version list below for details.
dotnet new install Ddth.Templates.WebApi::1.1.0
.NET WebAPI Template
Template to quickly spin up a .NET Web API project.
Features
- Skeleton to quickly build RESTful APIs with .NET:
- Suthentication and authorization using JWT.
- JSON for input and output.
- Included sample Database access using Entity Framework.
- Sample files included: README, LICENSE, RELEASE-NOTES, and
.gitignore
. - GitHub Actions integrated:
dependabot.yaml
,automerge-dependabot.yaml
: Automatically update dependencies and merge PRs from Dependabot.ci.yaml
: Automatically build and run tests with code coverage reports.release.yaml
: Automatically create new releases.codeql.yaml
: Automatically run CodeQL analysis.
- Sample Dockerfile files to package the application as Docker images for Linux and Windows.
Usage
Install (or update) the package from NuGet to make the template available:
$ dotnet new install Ddth.Templates.WebApi
After the package is installed, you can create a new project using the template:
$ dotnet new dwt -n MyApp
The above command will create a new solution named MyApp
the current directory.
Happy coding!
🌟 If you find this project useful, please star it. 🌟
License
This template is licensed under the MIT License - see the LICENSE.md file for details.
Contributing & Support
Feel free to create pull requests or issues to report bugs or suggest new features.
Please create PRs against the
contrib_wait_for_merge
branch.
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
### Added/Refactoring
- Feature: applying ASP.NET Core Identity.
- Refactored API authorization to utilize ASP.NET Core Identity.
- Added sample API controllers to manage users and applications.