Skip to content

maussoft/mvc

Repository files navigation

Maussoft.Mvc

Simple C# web framework for .NET 6

For example applications using this package, look at:

Build package

You can run the following:

dotnet pack -p:Configuration=Release

This will produce a Maussoft.Mvc NuGet package file in the bin/Release directory.

TODO

  • add prettier 404 for nonmatching route
  • add debug toolbar with
    • routing debugger (remove router debug output)
    • API client debugger (API call pane)
    • MySQL connection debugging (query pane)
  • read-only sessions (idempotency)
  • database access disabled for view
  • csrf protection for post requests
  • named parameters on get requests
  • add a template (dotnet new)
  • api caller can only call GET during GET request
  • controller can't write to database during GET

Features a framework may have:

  • Translations
  • Validations
  • Migrations
  • ORM/db access
  • Templating
  • Sessions
  • Logging
  • Requests error handling
  • Rate limiting
  • Authentication
  • Authorization
  • CSRF protection
  • Background jobs/queues
  • Email sending/notifications
  • Websockets
  • Encryption of data
  • File uploads/downloads with S3 storage, etc