Base solution for your next web application
Open Closed

Deploy settings #6246


User avatar
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)
  • User Avatar
    0
    maliming created
    Support Team

    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

  • User Avatar
    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.

  • User Avatar
    0
    ismcagdas created
    Support Team

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

  • User Avatar
    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 ?

  • User Avatar
    0
    ismcagdas created
    Support Team

    @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.

  • User Avatar
    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

  • User Avatar
    0
    ismcagdas created
    Support Team

    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.

  • User Avatar
    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

  • User Avatar
    0
    ismcagdas created
    Support Team