An ASP.NET Core Web API created for WPF Meme Maker to manage memes and templates from remote apps.
- IsAlive checking
- ApiKey authorisation
- Synchronous or Asynchronous execution
- Manage Templates
- Manage Memes
- Swagger documentation
- Logging service
- SQL Injection protection (partial)
- Visual Studio 2022
- .NET 6
- ASP.NET Core
- MS SQL Server
- Entity Framework Core
- Swashbuckle Swagger
- Serilog
- DDD Approach (Domain Driven Design)
- Clone repository
- Prepare database
- Use
Setup\Database\MemeMakerDB.bak
file to restore database
- Use
- Prepare
Memes
andTemplates
folders- Copy
Memes
andTemplates
folder from\Setup
directory and place them on yourC:\\
drive - You can place them in other location but in that case you need to edit
appsettings.json
file and replace"DiskPaths"
values on your own.
- Copy
- Make sure you have installed all required packages and dependencies.
- Edit
appsettings.json
and replace"MemeMakerConnection"
to connection string of your database. - Build and run project. You can use API through Swagger UI or you can run WPF Meme Maker project which connect with API.
- UnitTesting
- IntegrationTesting
Although project is pretty much ready and working it still needs some more work to do. For sure there are some refactoring needed and minor bugfixes. The functionality of web API and implemented functions can be improved or extended, but these works are time-consuming and the effect of their implementation will be insignificant so I decided to leave it as is. The main purpose of this project was to refresh my ASP.NET Core and C# skills and expand my portfolio and I think it's done pretty well.