THIS IS A READ-ONLY ARCHIVE OF THE SQRL PROJECT FORUM
ASP.net Core Middleware | Page 3 | SQRL Forums

ASP.net Core Middleware


Version 1.2.0 is now released and includes some more community requested features
  • Added async hooks to allow async operations with awaits (e.g. database access)
  • Added context been passed into SqrlOnly and Hardlock hooks to allow for DI access
  • Added Logging to middleware
  • Fixed bug with OnTicketReceived been called twice
  • Example of database usage has been added using a code first database
This release was going to have rate limiting included but as that will take some time we opted to release helpful features early and rate limit is now in 1.3.0

Also I have added logging which respects your logging config and will only log were you wish it to

We make use of Error, Warning, Information, Debug, Trace logs Trace will give you a grate insight to how the middleware is flowing but probably has to much details for production so be aware.
 
Version 1.3.1 is now released and includes
  • Fix for spelling mistake for MillieSeconds so its not MilliSeconds
  • Fix for 500 error with clients that don't send opt in request (opt is now optional)
  • Changed hooks to be clear and use less requests for operations
  • A reduction in the size of the NUTs to reduce the densitiy of the QR codes
You may notice we skipped 1.3.0 this was released but very quickly reverted as bad practice of release management had taken place on my part (a lake of testing) this has now been addressed and automation testing is beeen investigated to reduce if not eliminate the concerns.

A very big thanks to @DEllner who fixed the spelling and 500 error and acted in my absence when the 500 error was reported to help diagnose and fix the issue.
A very big thanks to @Jeffa who assisted in the NUT size reduction and worked with @DEllner when reporting the 500 error
I'm happy to say we have a grate group on this project helping SQRL get ready for ASP.net and I really enjoy the feedback given.

The changes to the hooks was a major refactor to the code and should have a low impact on users of this project but you may get some issues please join the Slack and talk with us we will be happy to help.
 
I moved this thread to your forum TechLiam, I think Steve has made you a moderator in this forum too, so you can unsticky and edit it as you please.
 
Also feel free to tell me what other threads of yours you would like moved here, and I will get it done for you. You may delete these two messages if you don't like them or merge them :)
 
I moved this thread to your forum TechLiam, I think Steve has made you a moderator in this forum too, so you can unsticky and edit it as you please.
Thanks, Vela! And, yes, Liam... you are a full moderator here. This place is yours. Please feel free to delete this posting and Vela's (I'm sure he won't mind) once you have seen them. There's really no need to retain housekeeping posts that are not of broad interest. :)

Thanks THANK YOU, Liam, for this!!
 
  • Like
Reactions: TechLiam
Also feel free to tell me what other threads of yours you would like moved here, and I will get it done for you. You may delete these two messages if you don't like them or merge them :)
Thanks, Vela! And, yes, Liam... you are a full moderator here. This place is yours. Please feel free to delete this posting and Vela's (I'm sure he won't mind) once you have seen them. There's really no need to retain housekeeping posts that are not of broad interest. :)

Thanks THANK YOU, Liam, for this!!
Thanks @Steve I hope togeather as a community we can make this SQRL thing go far I truely beleave in the vision and LOVE the work and hope to keep it going.

My normal stance is open visiable communitcation so I probably will leave the post thanks @Vela Nanashi for moving the thread as well
 
Note, also, that, if it's of use to you, you can link back from your SQRLforNet domain to this forum with this static link: https://sqrl.grc.com/forums/sqrl-for-net.49/
That is a good SEO thing to do I will make sure to do that when I release the redesign probably Sunday got to get 1.4.0 out first as the project users will want that more than a very simple website about the project
 
  • Like
Reactions: Jeffa and DEllner
Version 1.4.0
Released and includes:
  • Added option for QR code scale
  • Added option for QR code boarder size
  • Added option for QR code error correction level (ECC)
  • Fixed helpers been enabled creating lot's of NUT's if no helper path defined
  • Helper paths now required
  • Paths in options changed to be PathString objects rather than strings this is a braking change
  • Started work on unit tests
 
  • Like
Reactions: DEllner
I'm trying to use this with (EndPoints) (Model View Controler and Routing) all your examples are using app.UseMvc() and not the EndPpoints or Routing Config. Any feedback as to if that's supported? I've tried various combinations with no luck, I tried to join slack with the above invite but it is no longer valid (feel free to send me one via PM and I"d love to join)