danstoyanov / BasicWebServer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BasicWebServer project

My Basic Web Server project from C# Web Basics Course in Software University !

Tasks to create a similar web server from scratch:
  • Create the Web server

    • Implement a Server Functionality
    • Create a Separate HTTP Server Class
  • Create Additional Classes

    • HTTP Response Class
    • HTTP Request Class
  • Reading Request

  • Prevent Too Long Request

  • Add a Null-Checking Class

  • Implementing Specific HTTP Responses

    • Add Specific HTTP Responses
    • Implement Routing Table
    • Use the Response Class and Routing
  • Add Form Functionality

    • Create the Form and Map Request
    • Implement Form Parsing in the Request
    • Modify Response Resulst
    • Create a Pre-render Action and try It Out
  • Implement Cookie Functionality

    • Create Cookies Classes
    • Parse Cookies in the Request
    • Add Cookies to the Response
    • Modify the Startup Class
    • Examine Cookies in the Browser
  • Implement Session Functionality

    • Create Session Class
    • Get the Session from the Request
    • Modify the HTTP Server
    • Examine Session in the Browser
    • Display Session Info on a Page
  • Implement Login + Profile + Logout

    • Implement "GET" to "/Login"
    • Implement "POST" to "/Login
    • Implement "GET" to "/Logout"
    • Implement "GET" to "/UserProfile"
  • Introduce Controllers

    • Modify Routing Table
    • Create Controller Class
    • Create Routing Extesions
    • Create Controller with Actions
    • Clear Solutin
  • Introduce Views

    • Create View Response
    • Modify Controller to Return View
    • Create Views and Modify Controller Actions
    • Modify the .cspoj File
    • Try Controllers with Views
  • Introduce Models

    • Modify ViewResponse Class
    • Create Model and View
    • Modify Controller Method to Return View with Model
    • Try Controller with View and Model

About

License:MIT License


Languages

Language:C# 97.5%Language:HTML 2.5%