Skip to content

ASP.NET to Ktor Tutorial #1

@khalidabuhakmeh

Description

@khalidabuhakmeh

Write a coming to Ktor from ASP.NET article, and focus on the following topics.

  • idioms and vocabulary
  • general configuration (configuration screen, opt-in)
    • different than ASP.NET because more options
  • request & response handling
    • processing Form POST
    • processing JSON model
    • reading from other elements of the request (Headers, query string, etc.)
    • returning different responses (HTML, JSON, XML)
    • static files
  • utilizing a dependency like SQLite
    • setting up the connection
    • reading
    • writing

Build a single endpoint that explores these topics and relate them back to C# code. It might make sense to have a tab switcher to compare the two.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions