Dab tsi yog qhov txawv ntawm web config thiab tshuab config?
Dab tsi yog qhov txawv ntawm web config thiab tshuab config?

Video: Dab tsi yog qhov txawv ntawm web config thiab tshuab config?

Video: Dab tsi yog qhov txawv ntawm web config thiab tshuab config?
Video: Tsis Muaj Peev Xwm Yuav Ua Li Cas 2024, Kaum ib hlis
Anonim

Cov web . config cov ntaub ntawv qhia configuration chaw rau ib qho tshwj xeeb web daim ntawv thov, thiab nyob hauv daim ntawv thov lub hauv paus directory; tus tshuab . config file qhia configuration chaw rau tag nrho cov websites ntawm lub web server, thiab nyob hauv $WINDOWSDIR$Microsoft. NetFrameworkVersion Config.

Tsis tas li ntawd, qhov txawv ntawm app config thiab web config yog dab tsi?

config yog siv rau ASP. NET Web Tej yaam num / Web Kev pabcuam. web . config los ntawm default muaj ob peb configurations yuav tsum tau rau lub web thov . config yog siv rau Windows Forms, Windows Services, Console Apps thiab WPF daim ntawv thov.

lub tshuab config file nyob qhov twg? Cov Tshuab . config ntaub ntawv nyob rau hauv %SystemRoot%Microsoft. NETFramework\%VersionNumber% CONFIG phau ntawv.

Tsis tas li ntawd, tshuab config yog dab tsi?

Cov tshuab . config cov ntaub ntawv yog tus tswv configuration cov ntaub ntawv ntawm koj lub cev nrog ntau qhov chaw pib. Cov chaw ntawm Tshuab . config cov ntaub ntawv raug siv rau tag nrho asp.net daim ntawv thov ntawm koj lub server thaum qhov chaw ua hauv Web. config cov ntaub ntawv raug siv rau lub vev xaib tshwj xeeb nkaus xwb.

Peb puas tuaj yeem muaj ntau lub tshuab config?

Koj muaj peev xwm muaj ib leeg xwb tshuab . config cov ntaub ntawv hauv koj lub cev (ib qho ib qho system nkaus xwb) thiab nws nyob hauv WINDOWSMicrosoft. NetFrameworkvXXXX CONFIG phau ntawv. [Kawm seb microservices yog dab tsi. config ua ntaub ntawv hauv koj daim ntawv thov.

Pom zoo: