Cov txheej txheem:

InProcess hosting yog dab tsi?
InProcess hosting yog dab tsi?

Video: InProcess hosting yog dab tsi?

Video: InProcess hosting yog dab tsi?
Video: Tou Ly Vangkhue Yog Sijhawm - Remembering the 80's. 2024, Kaum ib hlis
Anonim

Nyob rau hauv default settings lub hosting qauv rau koj daim ntawv thov yog InProcess . Qhov no txhais tau tias ASP. NET Core Module xa cov lus thov mus rau IIS HTTP Server (IISHttpServer). IIS HTTP Server yog lub server uas khiav hauv txheej txheem nrog IIS. Hloov chaw Kestrel web server yog siv los ua koj cov lus thov.

Tsis tas li ntawd, Aspnetcoremodule yog dab tsi?

ASP. NET Core Module yog ib hom IIS ib txwm siv uas ntsaws rau hauv IIS cov raj xa mus rau ib qho: Forward web thov mus rau backend ASP. NET Core app khiav Kestrel server, hu ua tus qauv tawm ntawm hosting.

yog. NET Core 2.2 LTS? NET Core 2.2 tau tso tawm rau lub Kaum Ob Hlis 4, 2018. Raws li tsis yog- LTS ("Tam sim no") tso tawm, nws txhawb peb lub hlis tom qab tso tawm tom ntej.. NET Core 3.0 tau tso tawm rau lub Cuaj Hlis 23, 2019. NET Core 2.2 tau txais kev txhawb nqa mus txog rau lub Kaum Ob Hlis 23, 2019.

Tsuas yog li ntawd, kuv yuav luam tawm Web core API rau IIS li cas?

Cov kauj ruam rau Deploy ASP. NET Core rau IIS

  1. Kauj ruam 1: Tshaj tawm mus rau ib daim ntawv tais ceev tseg. Tshaj tawm rau Folder Nrog Visual Studio 2017.
  2. Kauj ruam 2: Luam cov ntaub ntawv mus rau qhov nyiam IIS qhov chaw. Tam sim no koj yuav tsum luam koj cov ntaub ntawv tawm mus rau qhov chaw koj xav kom cov ntaub ntawv nyob.
  3. Kauj ruam 3: Tsim Daim Ntawv Thov hauv IIS.
  4. Kauj ruam 4: Thaub koj App!

Kuv yuav paub li cas yog ASP NET core raug ntsia?

Saib hauv C: Program Files dotnet Microsoft shared. NETCore . App saib cov versions ntawm lub sijhawm ua haujlwm muaj cov npe nyob ntawd. Qhov chaw.

NET Core yog ntsia rau ntawm Windows yog:

  1. Nias Windows + R.
  2. Ntaus cmd.
  3. Ntawm qhov hais kom ua, ntaus dotnet --version.

Pom zoo: