Client-Server Architecture with Model-View-Controller (MVC)
Development Environment
Visual Studio
Integrated Development Environment (IDE) - Text editor with additional features like debugging and preview
C#
Object-oriented programming (OOP) language
.NET
Framework that provides a foundation for building applications
ASP.NET

Active Server Pages (ASP) - web development framework (part of .NET)

Static and Dynamic

Static web pages use HTML for content and CSS for style. Dynamic web pages require scripting, which can occur on the client side or the server-side.

Client Side - <script> //Javascript code here </script>
Server Side - C#/asp.net (PHP, Node.js, Python/Django, ...)

HTTP requests can move data between client and server

                GET https://example.com/data
                POST https://example.com/data?key1=value1&key2=value2
            
Coding

ASP.NET Web Pages use Razor markup with C# (or VB) code

  • Combines HTML with C# (VB)
  • Code blocks @{}
  • Inline expressions start with @
  • statements are terminated with ;
  • variables are declared with var <type>
  • strings in quotes "
  • case sensitive
  • <!-- HTML style comments -->
  • Resources
    W3Schools Tutorial Bootstrap Browser Web Developer Tools