Dotnet Core 3 api AWS-POSTMAN It is assumed that the region used is USEast1
- AWSSDK.Core
- AWSSDK.SimpleEmail
- AWSSDK.Extensions.NETCore.Setup
- Swashbuckle.AspNetCore
- Microsoft.AspNetCore.Mvc.NewtonsoftJson
- Microsoft.EntityFrameworkCore.SqlServer
- Microsoft.EntityFrameworkCore.Tools
Clone the repo and make it yours:
git clone --depth 1 https://github.com/Linusar/aws-postman
cd aws-postman
rm -rf .git
dotnet add package Microsoft.EntityFrameworkCore.SqlServer
dotnet add package Microsoft.EntityFrameworkCore
dotnet add package Microsoft.EntityFrameworkCore.Tools
dotnet add package Microsoft.AspNetCore.Mvc.NewtonsoftJson
dotnet add package Swashbuckle.AspNetCore
dotnet add package AWSSDK.Core
dotnet add packageAWSSDK.SimpleEmail
"ConnectionStrings":
{
"DefaultConnection": "Server=IPSQLSERVER;Database=NAMEDB;User Id=USERDB;password=PASSWORDDB;Trusted_Connection=False;MultipleActiveResultSets=true;"
}
dotnet ef database update
Linux o macOS
$ ls ~/.aws
Windows
C:\>dir"%UserProfile%\.aws"
Create file
~/.aws/credentials
[default]
aws_access_key_id=AKIAIOSFODNN7EXAMPLE
aws_secret_access_key=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
dotnet run
dotnet build
https://IPSERVER:5001/swagger/index.html
๐ค Alejo Bianchi [email protected]
- Twitter: @Alejo40740246
- Github: @Linusar