Dab tsi yog tus neeg sab nraud tswj thiab server sab tswj hauv asp net?
Dab tsi yog tus neeg sab nraud tswj thiab server sab tswj hauv asp net?

Video: Dab tsi yog tus neeg sab nraud tswj thiab server sab tswj hauv asp net?

Video: Dab tsi yog tus neeg sab nraud tswj thiab server sab tswj hauv asp net?
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Kaum ib hlis
Anonim

Client Controls raug khi rau neeg sab javascript cov ntaub ntawv thiab tsim lawv Html dynamically ntawm lub neeg sab thaum Html Server Controls yog rendered rau ntawm server sab siv cov ntaub ntawv muaj nyob rau hauv a server sab ViewModel.

Xav txog qhov no, dab tsi yog tus neeg sab nraud tswj hauv asp net?

Client tswj . Client Side Scripts • Tag nrho ASP . NET server tswj tso cai hu neeg sab code sau siv JavaScript lossis VBScript. Ib txhia ASP . NET server tswj siv neeg sab scripting los muab cov lus teb rau cov neeg siv yam tsis tau tshaj tawm rov qab rau hauv server . Piv txwv li, validation tswj.

Ib yam li ntawd, cov tswj hauv asp net yog dab tsi? ASP . NET - Server Tswj . Tswj yog cov tsev me me ntawm cov neeg siv graphical interface, uas suav nrog cov thawv ntawv, cov nyees khawm, kos lub thawv, daim ntawv teev npe, cov ntawv lo, thiab ntau lwm yam cuab yeej. Siv cov cuab yeej no, cov neeg siv tuaj yeem nkag mus rau cov ntaub ntawv, xaiv thiab qhia lawv nyiam.

Ib yam li ntawd, tib neeg nug, qhov txawv ntawm server sab thiab cov neeg siv khoom yog dab tsi?

Lub ntsiab qhov sib txawv ntawm server - sab scripting thiab tus neeg siv khoom - sab scripting yog qhov server sab scripting muaj server rau nws cov txheej txheem. Cov tus neeg siv khoom - sab script executes code rau lub neeg sab uas yog pom rau cov neeg siv thaum a server - sab tsab ntawv raug ua tiav hauv server kawg uas cov neeg siv tsis tuaj yeem pom.

Dab tsi yog qhov txawv ntawm server sab thiab cov neeg siv cov ntaub ntawv sab?

Cov neeg siv khoom - sab kev ua - tag nrho cov ntaub ntawv set yog loaded pem hauv ntej thiab cov ntaub ntawv ua tiav (kev txiav txim, lim, pagination) ua tiav hauv browser. Server - sab kev ua haujlwm - qhov kev thov Ajax yog tsim rau txhua tus rooj redraw, tsuas yog cov cov ntaub ntawv xav tau rau txhua cov zaub rov qab.

Pom zoo: