Open Closed

Deploy settings #6246


0
antonis created

Hi,

I am about to deploy my application to a client. What settings need to be changed in appsettings.json apart from connection string. I am not using 3rd party authentication or Identity server.

Is there any guide like "Going to production"?

Thanks


9 Answer(s)
  • 0
    maliming created

    You can see if the document has the content you need.

    https://docs.aspnetzero.com/documents/zero/latest/Development-Guide-Core#publishing https://docs.aspnetzero.com/documents/zero/latest/Development-Guide-Angular#deployment

  • 0
    antonis created

    These only mention email settings and how to deploy using visual studio. I wanted to know if any default settings like JwtBearer need to be changed from the default ones for security reasons.

  • 0
    ismcagdas created

    @antonis we don't have such a document, sorry.

  • 0
    antonis created

    @ismcagdas OK But I need to know which settings I have to change once I deploy.

    e.g under Authentication setting in appsettings do I need to change anything ?

  • 0
    ismcagdas created

    @antonis

    This "SecurityKey" under "JwtBearer" is used to sign & validate a token using AspNet Zero. It is better for you to change this on production environment.

    For other configurations, if you want to enable other login options (Google, Facebook etc...) you can fill their values.

  • 0
    antonis created

    I type in anything I want or there is min and max length? Also for the IdentityServer what do I need to change?

    Thanks

  • 0
    ismcagdas created

    I'm not sure about the specification but probably you should write a new value with the same lenght as the old one.

    For Identity Server, are you using it ? If not, you don't have to fill any values for it.

  • 0
    antonis created

    Yes I am using it.

    With all due respect. When you provide a product you have to offer the appropriate guides/manuals to the buyers/endusers. Especially when it concerns security which we all know today how crucial it is as it costs a lot. I will be waiting for your reply when you are sure and also for Identity Server.

    Thanks

  • 0
    ismcagdas created