100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Summary

Samenvatting MVC framework development

Rating
-
Sold
-
Pages
73
Uploaded on
25-10-2023
Written in
2023/2024

In dit samenvatting bouwen we websites volgens het MVC-principe. MVC Framework Development is het theoretisch luik. MVC staat daarnaast voor Model-View-Controller. Dit wordt gedaan in de programmeertaal C#. Binnen dit document krijg je uitleg over verschillende thema's zoals MVC zelf, hoe je werkt met formulieren, EF, UnitOfWork, API en Identity.

Show more Read less
Institution
Course











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Study
Course

Document information

Uploaded on
October 25, 2023
Number of pages
73
Written in
2023/2024
Type
Summary

Subjects

Content preview

MVC framework
development

Geschiedenis
 ASP
o Gelanceerd in 1996
o ‘klassieke’ ASP
o Dynamische webpagina’s
 .asp
o VBScript
 Enkel code tussen HTML


 ASP.NET webforms
o Gelanceerd in 2002
o Introductie .Net Framework
o Abstractie boven ‘web development’
o Webpagina’s maken was gelijkaardig aan Windows applicaties maken
 Drag&Drop van controls
o Code behind die programmacode bevat
 VB.Net of C#
o .aspx


 ASP.NET MVC
o Gelanceerd in 2009
o Problemen van webforms wegwerken
 Voorzien van volledige controle over HTML/CSS met clean code
 Model-View-Controller
 Beter testbaar
 Open source maken wat leidt tot veel updates en extensies
 ASP.NET core

, o Gelanceerd in 2016
o Cross platform
 Applicaties draaien op zowel Windows, Linux als MacOS
o Open source
o Geoptimaliseerd voor cloud
o Hosting met ISS of self-hosting mogelijk
o Niet afhankelijk van .Net Framework
o Gebruik van Dependency Injection




Project aanmaken
STAP
1




STAP
2




2

,STAP
3




Inhoud project
 wwwroot
o Afbeeldingen
o CSS
o Javascript
 Controllers
o C# Klassen voor afhandeling requests
 Views
o Pagina’s die omgevormd worden naar HTML
 Models
o C# Klassen voor structuur van objecten
 Program.cs
o Startpunt van applicatie + settings




Uitvoeren project
 Via IIS Express (of eigen project) met debugging
o F5 of play
 Zonder debuggen
o CTRL + F5
o Code aanpasbaar zonder complete rebuild




3

, MVC Patroon
 Model-View-Controller


 Design pattern
o Best practices die structuur aanpakken binnen project


 Separation of concern
o Opsplitsen van code
o Elk onderdeel bevat enkel code waarvoor deze verantwoordelijk is


 Voordelen met MVC
o Beter testbaar
o Beter onderhoudbaar
o Eenvoudiger te updaten


 Onderdelen
o Controller
 Handelt aanvragen van de gebruiker af adhv Routing en Action
Methods
 Haalt nodige data op, toont juiste pagina inhoud
o View
 Toont een User Interface (UI) van de applicatie
 Bestaat uit Razor code gecombineerd met HTML, CSS, JS
o Model
 Bevat data die doorheen de applicatie behandeld word
 Gebeurt aan de hand van C# klassen per onderwerp
o ViewModel
 Bevat data voor specifieke View
 Gebeurt aan de hand van C# klassen per View




4

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
anouckcelis Thomas More Hogeschool
Follow You need to be logged in order to follow users or courses
Sold
15
Member since
2 year
Number of followers
6
Documents
22
Last sold
2 months ago

2.5

2 reviews

5
0
4
0
3
1
2
1
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions