Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dmarzzucco/deathtime.asp.net
This is an example of how the Death Time middleware works in ASP.NET.
https://github.com/dmarzzucco/deathtime.asp.net
asp-net-core backend-api backend-service csharp docker middleware net postgresql sequelize sql
Last synced: about 1 month ago
JSON representation
This is an example of how the Death Time middleware works in ASP.NET.
- Host: GitHub
- URL: https://github.com/dmarzzucco/deathtime.asp.net
- Owner: DMarzzucco
- Created: 2024-11-01T20:27:41.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-14T18:13:24.000Z (about 2 months ago)
- Last Synced: 2024-11-14T19:25:30.214Z (about 2 months ago)
- Topics: asp-net-core, backend-api, backend-service, csharp, docker, middleware, net, postgresql, sequelize, sql
- Language: C#
- Homepage:
- Size: 19.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Death Time Middleware in APIsREST with .NET
This is an example of how the Death Time middleware works in ASP.NET.
## Before Installation
Before testing the application, it is recommended to check the source code to configure the counter. The soruce code is located at: `./DeathTime.ASP.NET/Middleware/DeathTimerMid.cs`.
```cs
var deathTimer = DateTime.ParseExact("0000-00-00T00:00:00", "yyyy-MM-ddTHH:mm:ss", ...);
```# Requirements
* Docker [Docker-Desktop](https://www.docker.com/products/docker-desktop/)
* .NET 8.0 [.NET](https://dotnet.microsoft.com/es-es/download)## Installation
```bash
#Start Data Base
docker-compose up db#Create a Migrations
Add-Migration Initial#Update the database
Update-Database#RunApp
dotnet Run```
## Port
[localhost:5024](http://localhost:5024)
## Documentation
The server code is documented in Swagger. You can access it at [http://localhost:5024/Swagger/](http://localhost:5024/Swagger/)
## Author
Made by Dario Marzzucco (DMarzzucco)