Cov txheej txheem:

Dab tsi yog kev sib tham hauv c# net?
Dab tsi yog kev sib tham hauv c# net?

Video: Dab tsi yog kev sib tham hauv c# net?

Video: Dab tsi yog kev sib tham hauv c# net?
Video: Kev Txijnkawm Tsis Yog Ib Ntus (Official Music Video 2022) N. Vajxob Xyooj 2024, Kaum ib hlis
Anonim

Kev sib tham yog State Management Technique. A Kev sib tham tuaj yeem khaws tus nqi ntawm Server. Nws tuaj yeem txhawb nqa txhua hom khoom khaws cia nrog rau peb tus kheej cov khoom siv. A kev sib tham yog ib qho ntawm cov txheej txheem zoo tshaj plaws rau Kev Tswj Xyuas Lub Xeev vim nws khaws cov ntaub ntawv raws li cov neeg siv khoom.

Ib sab ntawm no, dab tsi yog kev sib tham hauv C# nrog piv txwv?

Kev sib tham yog siv los tswj lub xeev ntawm cov neeg siv cov ntaub ntawv thoob plaws hauv daim ntawv thov. Nws khaws txhua yam khoom. Siv cov kev sib tham , koj tuaj yeem ntxiv cov nqi sib txawv raws li txhua yam khoom xws li khoom ntawm chav kawm, daim ntawv teev npe, datatable, thiab lwm yam. Nws muaj kev ruaj ntseg.

Qhov thib ob, qhov chaw khaws cia C# nyob qhov twg? Yeej a kev sib tham yog qhov sib txawv siv ntawm tus neeg siv khoom thiab tus neeg rau zaub mov uas yog khaws cia nyob rau sab server. Tam sim no nws tuaj yeem ua tau khaws cia yog nyob rau hauv Internet Information Service (IIS) server uas yog los ntawm lub neej ntawd peb "inproc" hom los yog nws yuav ua tau khaws cia hauv ib lub xeev lossis SQL Server uas yog peb hom "outproc".

Ib yam li ib tug yuav nug, 3 hom kev sib tham yog dab tsi?

peb hom kev sib tham hauv asp.net

  • inprocess session.
  • tawm txheej txheej txheem.
  • SQl-server kev sib tham.

Ntev npaum li cas cov kev sib tham sib txawv nyob rau C#?

A kev sib tham xaus yog tias tus neeg siv tsis tau thov lossis rov kho nplooj ntawv hauv daim ntawv thov rau lub sijhawm teev tseg. Los ntawm lub neej ntawd, qhov no yog 20 feeb. Yog tias koj xav teem sijhawm lub sijhawm luv luv lossis ntev dua li lub sijhawm, siv lub sijhawm Timeout.

Pom zoo: