Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building with newwer versions of .NET (micro - tutorial) #19

Open
249854KB opened this issue Jun 25, 2023 · 0 comments
Open

Building with newwer versions of .NET (micro - tutorial) #19

249854KB opened this issue Jun 25, 2023 · 0 comments

Comments

@249854KB
Copy link

I came across some problems while trying to create this project myself here is a solution

FROM mcr.microsoft.com/dotnet/aspnet:7.0
WORKDIR /app
COPY --from=build-env /app/out .
RUN sed -i 's/CipherString = DEFAULT@SECLEVEL=2/CipherString = DEFAULT@SECLEVEL=1/g' /etc/ssl/openssl.cnf
ENTRYPOINT ["dotnet", "UserService.dll"]

It is the first change more about it in dotnet/SqlClient#633
Second one is adding TrustServerCertificate=true; to your connection string aka "PlatformsConn" in this project

For now those are all the errors i have spotted i will post more if i find any.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant