Presentation is loading. Please wait.

Presentation is loading. Please wait.

Building Web Applications with Microsoft ASP

Similar presentations


Presentation on theme: "Building Web Applications with Microsoft ASP"— Presentation transcript:

1 Building Web Applications with Microsoft ASP
Building Web Applications with Microsoft ASP.NET - I376 Web Application Programming II – I713 IT College, Andres Käver, , Spring semester Web: Skype: akaver

2 MVC (MVP, MVVM, ...) MVC pattern is from SmallTalk team, first academic paper is from year 1979 By the original definition MODEL – business info and logic VIEW – visual (partial) representation of model CONTROLLER – middle part in between user and system Modern web uses the same pattern – html as model, css as view and browser as controller

3 MVC

4 MVC – Why? Separation of Concerns – business logic (model) and user interface (view) should be separated from each other. BL/Model represent our understanding of real world, UI is just for presentation and manipulation Business logic should be totally independent Business logic should be able to support several different UI-s, if needed then in parallel Controller intermediates between BL and UI Good teamwork, testable code

5 ASP.NET MVC, WebForms MS has several Web technologies
ASP.NET MVC is predecessor to ASP.NET Core, tightly coupled to IIS and full .NET framework. WebForms is even older technology Similar to desktop development Unclean and cluttered html, state is saved into html Lots of ready made components Every page has its own code behind

6 Demo – Contact app Create a simple web application, that manages basic contact database and allows searches from it Required features Add, change and remove Persons, Contacts and Contact Types Add n comments to Persons (creation Date and time) Statistics and detail views about Person and Contact Type Search functionality in persons (First name, Last Name, Company) contacts (contact type and value) Removal of persons and contacts – logical and hard delete UOW, Repos, i18n are not required. ViewModels are required.

7


Download ppt "Building Web Applications with Microsoft ASP"

Similar presentations


Ads by Google