reeeeeee
ReCaptcha verify - The response ended prematurely
Yeah ik, but I dont know what else could I say more...
I am using
var isCaptchaValid = await _recaptchaService.VerifyAsync(model.CaptchaResponse);
and it throws and exception
It works locally and on first server, but not on the second server. (I am using correct Captcha keys for specific domain)18 replies
Decoding RFID tag
ah so if two scanning apps show different results it doesnt mean either of them is wrong, it just means that they interprete it differently?
There would be multiple types of RFID card, I dont know upfront which types will be used..
6 replies
✅ Problems with NHibernate, FluentNHibernate, StructureMap
Holy shit this was depressing...
Finally found it, it was problem with PostSharp reference. I am not entirely sure why do I need it separately, becuase my project doent use it, but looks like the FLuentNHIbernate was using it so my project needed reference to it as well. Actually, it already had it, but looks like it was broken or something, so when I readded it, it worked. 😄
Thanks for the advice, had to improve my exception handling to catch that loadedException 😄
7 replies
❔ Razor pages - Filtering data (shown in table) by some random filters
Yeah I kinda know how its done - I have an older project which did this, but it was made like 7 years ago, still using .net framework.. so I was looking if there is any "newer/better" way to do it (and not spend 2x time for research than an actual development)
18 replies
❔ Razor pages - Filtering data (shown in table) by some random filters
I have one more question regarding filtering..
As mentioned above, on first load I load whole page with table data. After entering some data, how should I handle this filter submit:
- action which redirects to Controller with filters, which will redirect to url like
localhost/Controller?serial=S00123
. This, I assume, will refresh a whole page and load new content.
- ajax request: this would call the same controller action as above, but would then get data in JS,where I would need to manually generate table.
Honestly, I would rather take the first one, since generating html data in js might be pretty ugly.. But I really like reloading content without refreshing whole page.. Can I do some kind of mix of those two options, or is there any othe option?18 replies