Editor sample project implemented with Dotnet 6 Minimal API

Editor sample project implemented with Dotnet 6 Minimal API

parcivalparcival Posts: 28Questions: 8Answers: 0

Hi all!

I created a copy of the sample project (trial version) and implemented using Dotnet 6 Minimal API. This was a fun little project to get myself more familiar with minimal api and Rider IDE.

https://github.com/gotmoo/MinimalDatatablesEditor/

Biggest trouble came from Newtonsoft Json not being supported with the standard converter. Instead I called the JsonConvert to serialize the response for each endpoint.
Other tricky one was no support for [FromForm] in UsersEndpoint (/api/users), so I added a quick and dirty workaround.

Also fixed: Incorrect reference for the edit URL in REST.html

I hope this helps someone :smile:

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin

    Really interesting - thank you for taking the time to do this and share it with us. Exploring .NET 6's minimal API is something that is on my list, so this will be a fantastic start!

    Regards,
    Allan

Sign In or Register to comment.