Net Core Lab

* Swagger https://docs.microsoft.com/en-us/aspnet/core/tutorials/getting-started-with-swashbuckle?view=aspnetcore-2.1&tabs=visual-studio%2Cvisual-studio-xml * Environment Variables Net Core https://www.c-sharpcorner.com/article/reading-values-from-appsettings-json-in-asp-net-core/ * Dependency injection https://docs.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection?view=aspnetcore-2.1 * EF Core https://docs.microsoft.com/en-us/ef/core/ * Onion Architecture https://www.c-sharpcorner.com/UploadFile/dhananjaycoder/step-by-step-implementing-onion-architecture-in-Asp-Net-mvc/ https://social.technet.microsoft.com/wiki/contents/articles/36655.onion-architecture-in-asp-net-core-mvc.aspx https://github.com/ardalis/CleanArchitecture http://www.anilsezer.com/onion-architecture-in-net-projects * Identity Server http://docs.identityserver.io/en/release/quickstarts/0_overview.html ################################################### #Linux FROM microsoft/dotnet:2.1-sdk AS build-env #Windows #FROM microsoft/dotnet:2.1-sdk-nanoserver-1709 AS build WORKDIR /app # Copy csproj and restore as distinct layers COPY *.csproj ./ RUN dotnet restore # Copy everything else and build COPY . ./ RUN dotnet publish -c Release -o out # Build runtime image #Linux FROM microsoft/dotnet:2.1-aspnetcore-runtime #Windows #FROM microsoft/dotnet:2.1-aspnetcore-runtime-nanoserver-1709 AS base WORKDIR /app COPY --from=build-env /app/out . ENTRYPOINT ["dotnet", "satracklab.dll"] ###################################################

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.