Dab tsi yog qhov txawv ntawm ASP NET thiab ASP NET MVC?
Dab tsi yog qhov txawv ntawm ASP NET thiab ASP NET MVC?

Video: Dab tsi yog qhov txawv ntawm ASP NET thiab ASP NET MVC?

Video: Dab tsi yog qhov txawv ntawm ASP NET thiab ASP NET MVC?
Video: Tshuaj theem vim li cas thiaj tau nqi ?/ Siv kho mob dab tsi?/paris polyphylla use for? 2024, Kaum ib hlis
Anonim

ASP . NET , ntawm nws cov theem pib tshaj plaws, muab ib txoj hauv kev rau koj los muab cov ntawv HTML dav dav ua ke nrog rau sab server "tswj" nyob rau hauv qhov kev tshwm sim-tsav programming qauv uas tuaj yeem siv tau nrog VB, C#, thiab lwm yam. ASP . NET MVC yog ib daim ntawv thov txheej txheem raws li Model-View-Controller architectural qauv.

Ntawm no, vim li cas ASP NET MVC zoo dua li asp net?

Cov MVC lub moj khaum muab kev sib cais huv si ntawm UI, Kev Lag Luam Logic, Qauv lossis Cov Ntaub Ntawv. Ntawm qhov tod tes, peb tuaj yeem hais tias nws muab Sepration of Program logic los ntawm User Interface. Ntau Tswj-Cov ASP . NET MVC lub moj khaum muab kev tswj hwm ntau dua ntawm HTML, JavaScript thiab CSS tshaj cov Web Forms.

Kuj Paub, vim li cas peb mus rau MVC es tsis yog ASP Net? Qhov zoo ntawm ASP.net MVC yog:

  • Ua kom muaj kev tswj hwm tag nrho ntawm qhov ua tiav HTML.
  • Muab kev sib cais huv ntawm kev txhawj xeeb (SoC).
  • Enables Test Driven Development (TDD).
  • Ib qho yooj yim kev koom ua ke nrog JavaScript moj khaum.
  • Ua raws li tus qauv tsim ntawm lub xeev tsis muaj xwm txheej ntawm lub vev xaib.
  • RESTful urls uas ua rau SEO.

Ntawm no, ASP NET MVC yog dab tsi?

ASP . NET MVC yog qhov qhib qhov web txhim kho lub moj khaum los ntawm Microsoft uas muab tus Qauv Saib Xyuas Kev Tswj Xyuas architecture. ASP . net MVC muaj lwm txoj rau ASP . net web forms rau kev tsim web applications. Nws yog ib feem ntawm lub. Net platform rau tsim, xa tawm thiab khiav web apps.

Puas yog ASP NET MVC outdated?

Lub platform ASP . NET MVC yog tam sim no tsis siv lawm . ASP . NET 5 yog EOL'd thiab rebranded li ASP . NET Core thiab nws suav nrog kev ua haujlwm ntawm " ASP . NET MVC 5" built-in. ASP . NET Core 1 thiab ASP . NET Core 2 tuaj yeem khiav ntawm ob qho tib si. NET Core (cross-platform) los yog.

Pom zoo: