Introduction to. NET MVC 5 MIS 324 Professor Sandvig
Outline Ø Background l l l . NET Framework ASP. NET MVC Ø. NET MVC features Ø Summary
. NET Framework Ø Used for coding: l l l Ø Windows applications (MIS 322) Web sites (MIS 324) Web APIs (MIS 424) Support for many languages • VB. Net, C#, F#, Java, C++, PERL, Python, Cobol, … Ø Popular: Market Share
. NET Framework Ø Why Used in MIS 324? l l l l Modern object oriented languages Widely used Sql Server database Visual Studio IDE Flexible, full featured Constantly growing & evolving Popular with WWU employers Free!
. NET Framework Ø Two major components: 1. Class Library
. Net Framework 2. Common Language Runtime (CLR) • Manages code compilation & execution l l Exception handling Memory management Garbage Collection Security
MVC Ø Popular design pattern Ø Widely used: l l l web sites mobile apps desktop Ø Describes how requests are handled
. NET MVC Ø Benefits of MVC: l Separation of concerns (SOC) • Model, View, Controller l l l Scalable Simultaneous development Reusability – Views, business logic
More benefits… Ø Excellent Visual Studio support l l l Example: VS wizard creates HTML forms based upon model Uses Bootstrap formatting Much validation is automatic
MIS 324 Technologies Ø Client: l l l HTML CSS Java. Script Ø Server: l l l . NET MVC C# SQL
Summary Ø ASP. NET MVC l State-of-the-art programming technology Ø Tremendous functionality l l Complicated Be prepared to work hard Ø Fun!!