How are you using the Machine.config, or are you?

前端 未结 4 1527
广开言路
广开言路 2020-12-29 11:10

For ASP.Net application deployment what type of information (if any) are you storing in the machine.config?

If you\'re not using it, how are you managing environmen

4条回答
  •  时光说笑
    2020-12-29 11:19

    If you load balance your servers, you ABSOLUTELY have to make sure the machine key is the same on all the servers. Viewstate is supposed to be server agnostic, but it is not, so you'll get viewstate corruption errors if the machine key is not the same across servers.

    
    

    From: http://www.c-sharpcorner.com/UploadFile/gopenath/Page107182007032219AM/Page1.aspx

    PS sure you can enableViewStateMAC="false", but don't.

提交回复
热议问题