Yuav ua li cas thiaj tsim tau lub app sau npe?
Yuav ua li cas thiaj tsim tau lub app sau npe?

Video: Yuav ua li cas thiaj tsim tau lub app sau npe?

Video: Yuav ua li cas thiaj tsim tau lub app sau npe?
Video: Vim li cas koj lub neej thiaj li tsis txawj muaj nyiaj yog ua cas? ( How to Change your life) 2024, Kaum ib hlis
Anonim

AppDomains yog tsim los ntawm. Net runtime thaum muaj kev tswj hwm daim ntawv thov yog pib. Thaum koj pib ABC. EXE, nws tau txais ib qho daim ntawv thov domain.

Raws li, dab tsi yog lub npe ntawm daim ntawv thov?

Ib daim ntawv thov domain yog ib tug mechanism (zoo ib yam li cov txheej txheem nyob rau hauv ib qho kev khiav hauj lwm qhov system) siv nyob rau hauv lub Common Language Infrastructure (CLI) los cais cov executed software daim ntawv thov los ntawm ib leeg kom tsis txhob cuam tshuam ib leeg.

Tom qab ntawd, lo lus nug yog, dab tsi yog app sau C#? Asp. Net qhia txog lub tswvyim ntawm ib Daim ntawv thov Domain uas yog luv luv hu ua AppDomain . Nws tuaj yeem suav hais tias yog txheej txheem sib sib zog nqus uas yog ob lub thawv thiab ciam teb. NET daim ntawv thov los ntawm kev cuam tshuam rau lwm yam kev siv. An AppDomain tuaj yeem raug rhuav tshem yam tsis muaj kev cuam tshuam rau lwm yam Appdomains hauv cov txheej txheem.

Ua raws li qhov no saib, pes tsawg lub app domains tuaj yeem muaj txheej txheem?

Txheej txheem Ib tug khiav tswj code nrog ib tug daim ntawv thov domain thaum Txheej txheem B khiav tswj code muaj peb daim ntawv thov domains.

Dab tsi yog app pas dej ua ke thiab app sau?

Daim ntawv thov Domain yog ASP. NET tswvyim uas muab kev cais tawm rau txhua daim ntawv thov ASP. NET. Daim ntawv thov Pas dej yog IIS lub tswv yim uas tseem muab kev cais tawm tab sis nyob rau theem txheej txheem. Daim ntawv thov Domain tsuas yog muaj rau cov ntawv thov ASP. NET. Koj tuaj yeem rov ua dua lub Application Pool hauv IIS manager.

Pom zoo: