In this Try It Out, you create a class with a few properties that get their values from the Web.config fi le. You then use the properties of this class in your code to replace the hard-coded values that were used earlier.
ในการนี้ลองมันออกคุณสร้างชั้นที่มีคุณสมบัติไม่กี่คนที่จะได้รับค่าของพวกเขาจาก Web.config สาย le จากนั้นคุณจะใช้คุณสมบัติของชั้นนี้ในรหัสของคุณจะเปลี่ยนค่าตายตัวที่ถูกนำมาใช้ก่อนหน้านี้