This library has Meteor
library as a base and implements some aspcore
related helpers and utilities like:
A base class that contains mostly needed things in a controller class.
OperationResult
: An attribute that automatically wrap action results as anOperationResult
AssignUserActionFilter
: Auto assignHttpContext.User
object to any action argument which is implementedINeedUser
interfaceIgnoreOperationResult
: An action attribute that cause ignoring wrapping its output as anOperationResult
object (when the whole controller hasOperationResult
attribute)
Implementing a new base class for message plus some default database message operations which contain user object (INeedUser
):
MessageByUserAsync
DbMessageByUserAsync
DbDefaultSelectByUserAsync
DbDefaultInsertByUserAsync
DbDefaultUpdateByUserAsync
DbDefaultDeleteByUserAsync
- etc.
There are some automatic model binders for useful objects like LocalDate
class in NodaTime
library, that can be used in controller actions.
For MvcOptions
:
AddMeteorModelBinder()
AddMeteorFilters()
For IMvcBuilder
:
AddMeteorJsonConverters()
For IServiceCollection
:
AddMeteorJwtAuthentication()
That needed to be documented here...