Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/organique0/dotnetapi
API written in C# using the .Net framework
https://github.com/organique0/dotnetapi
automapper csharp dapper mssql net
Last synced: about 2 months ago
JSON representation
API written in C# using the .Net framework
- Host: GitHub
- URL: https://github.com/organique0/dotnetapi
- Owner: Organique0
- Created: 2024-02-18T17:42:38.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-03-05T01:45:36.000Z (10 months ago)
- Last Synced: 2024-03-05T21:32:03.367Z (10 months ago)
- Topics: automapper, csharp, dapper, mssql, net
- Language: C#
- Homepage: https://lgdontnetapi.azurewebsites.net/UserComplete/Test
- Size: 1.24 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
https://www.udemy.com/course/net-core-with-ms-sql-beginner-to-expert
az login
dotnet build --configuration Release
az webapp up --sku F1 --name "LGdontnetAPI" --os-type linux
az webapp delete --name "AppName"
az group delete --name "GroupName"
az sql db delete --name "DatabaseName"
az sql server delete --name "server-name"
Database is under worse reddit group
When you deploy, you need to copy content of appsettings.Development.json to appsettings.json
so that Azure can auto get all of the values while not exposing it to GithubAll SQL scripts are in the SQLCheatsheet.sql.
To seed the DB there is another project custom made for it here: https://github.com/DomTripodi93/DotNetAPICourseThis is an API only. There is no front end.
To log in, you need to register, log in with your credentials to get a token, then use Postman with Authorization header set to "Bearer" + that token value in order to access authorized endpoints.
You can also use Swagger on localhost:5000/swagger/index.html to test the api.