So, this is what I've been up to

Snitz™ Forums .NET Core
https://www.reddick.co.uk/mvc/Topic/Posts/6253?pagenum=1
5/6/2024

Topic


HuwR
So, this is what I've been up to
6/8/2022


Apart from fiddling with my 3D printer, I have been writing some other Forum code smile

This time it is a plugin for Umbraco. It is written in .Net Core which is the latest Microsoft .Net incarnation. It is a very different beast entirely to the older .Net frameworks so lots of learning new stuff and hair pulling along the way bigsmile

It is still a WIP but should be releasing it soon, something else new, I have had to learn how to create NuGet packages.

Demo site: https://umbraco.themediawizards.co.uk/forums/

 

Replies ...


HuwR
2/20/2024


It is the latest version of Microsoft .Net, so I am upgrading the forum code. It is much better than this version of .Net
philsbbs
2/20/2024


@huwr @Torborg never seen the snitzcore site before what is the idea behind it etc.
HuwR
2/13/2024


thumbsUp
Torborg
2/13/2024


the link:
https://snitzcore.themediawizards.co.uk
(so that I easier can find it ...)
Torborg
2/12/2024


latest code iteration uploaded, it's getting there smileOriginally posted by HuwR


I tested "forgot password" and also used a password I can remember. It works nice! smile
HuwR
2/12/2024


latest code iteration uploaded, it's getting there smile
Torborg
2/1/2024


Error messages are not appearing so I will investigate why, as they would probably help bigsmileOriginally posted by HuwR



Thanks, I will also try again smile
Torborg
2/1/2024


I checked the logs on the server and it wasn't the password that was the issue, it was complaing that the token was not valid. From what I can see, this is because the passwrd was successfully reset and the token was then re-used to set it to potentillaSOM46#! which failed because the token will have expired when the first rest succeeded.

Did you re-use the same link, or did you do another forgot password request?Originally posted by HuwR



I think I opened the link from the mail every time, but I could have re-use the same link. Many windows opened, and maybe i choose the wrong one. I'm not sure what I did. Thanks for explaining. I understand a lot more now. smile
HuwR
2/1/2024


Error messages are not appearing so I will investigate why, as they would probably help bigsmile
HuwR
2/1/2024


I checked the logs on the server and it wasn't the password that was the issue, it was complaing that the token was not valid. From what I can see, this is because the passwrd was successfully reset and the token was then re-used to set it to potentillaSOM46#! which failed because the token will have expired when the first rest succeeded.

Did you re-use the same link, or did you do another forgot password request?
HuwR
2/1/2024


Mmm, I didn't have any issues using that as a password locally, will check on test site.
HuwR
2/1/2024


potentillaSOM46#!

can't see why that wouldn't work, looks fine to me. I will run some tests locally and fine tune the requiements a little (you will be able to do this yourself when installing a forum)
HuwR
2/1/2024


Or does it mean that I need 5 different characters

yes, so you couldn't use ABCDABCDABCD for example as that is only 4 different characters
doughnut
1/31/2024


Maybe the problem for me is this one:

"RequiredUniqueChars": 5,

I'm not sure if I understand what UniqueChars means. Is it the same as NonAlphanumeric? Or does it mean that I need 5 different characters?Originally posted by Torborg


I took it to mean at least 5 non-repeating characters, but I think that password looks ok for that..
Torborg
1/31/2024


Maybe the problem for me is this one:

"RequiredUniqueChars": 5,

I'm not sure if I understand what UniqueChars means. Is it the same as NonAlphanumeric? Or does it mean that I need 5 different characters?
doughnut
1/31/2024


Did you get any message about the dodgy password?Originally posted by HuwR


Yea I think it said 'your account has been locked out, please reset your password', or something similar..
Torborg
1/30/2024


I have fixed some issues, could you please retry, using beow steps.

1. Try to login, you should be redirected to the forgot password page.
2. Enter your username and submit the forgot password form
3. Click the link in the email
4. Enter a new password
5. Sign in

Password should conform to the following rules
"Password": {
"RequiredLength": 12,
"RequireDigit": true,
"RequiredUniqueChars": 5,
"RequireLowercase": true,
"RequireNonAlphanumeric": true,
"RequireUppercase": true
}Originally posted by HuwR



It must have been the password. I only managed to get in when I used a password generator. But I want a password that I can remember. I tested several, and don't understand why they don't work. This for instance, doesn't work:
potentillaSOM46#!
HuwR
1/30/2024


Replies not working over there but I se that you know that already...this is what I get anyway.


Error.
An error occurred while processing your request.
Development Mode

Swapping to Development environment will display more detailed information about the error that occurred.

The Development environment shouldn't be enabled for deployed applications. It can result in displaying sensitive information from exceptions to end users. For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development and restarting the app.
Originally posted by doughnut

That should be fixed later smile just testing a load of stuff locally.
HuwR
1/30/2024


Doughnut is in smile

It didn't work a couple of times because I was being a bit thick, not reading the character rules properly blush but once I did that it worked...Originally posted by doughnut

Yay smile password rules can be changed if too severe bigsmile

Did you get any message about the dodgy password?
doughnut
1/29/2024


Replies not working over there but I se that you know that already...this is what I get anyway.


Error.
An error occurred while processing your request.
Development Mode

Swapping to Development environment will display more detailed information about the error that occurred.

The Development environment shouldn't be enabled for deployed applications. It can result in displaying sensitive information from exceptions to end users. For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development and restarting the app.
doughnut
1/29/2024


Doughnut is in smile

It didn't work a couple of times because I was being a bit thick, not reading the character rules properly blush but once I did that it worked...
HuwR
1/29/2024


Let me know how it goes smile
HuwR
1/29/2024


I have fixed some issues, could you please retry, using beow steps.

1. Try to login, you should be redirected to the forgot password page.
2. Enter your username and submit the forgot password form
3. Click the link in the email
4. Enter a new password
5. Sign in

Password should conform to the following rules
"Password": {
"RequiredLength": 12,
"RequireDigit": true,
"RequiredUniqueChars": 5,
"RequireLowercase": true,
"RequireNonAlphanumeric": true,
"RequireUppercase": true
}
Torborg
1/27/2024


thumbsUp
doughnut
1/27/2024


thumbsUp
HuwR
1/27/2024


I have now added some logging so can hopefully work out what is going wrong smile
HuwR
1/26/2024


I will add some logging over the weekend to try and pin down the problem.
Torborg
1/25/2024


I tried again, but it's the same
HuwR
1/23/2024



I've been keeping an eye on this topic because I've had similar problems to Tor, either the problems have been intermittent or maybe I haven't been consistent, probably the latter though.

I have a working account now, 'Doughnut2'. I tried to bring 'Doughnut' back to life but when I do the forgot password thingy it says that a link has been sent, but I don't get a link...I'm wondering of it's going to an email address that I don't use anymore. Can you tell/see what email address my Doughnut account uses at all?

Originally posted by doughnut


Sent you a PM
doughnut
1/22/2024



I've been keeping an eye on this topic because I've had similar problems to Tor, either the problems have been intermittent or maybe I haven't been consistent, probably the latter though.

I have a working account now, 'Doughnut2'. I tried to bring 'Doughnut' back to life but when I do the forgot password thingy it says that a link has been sent, but I don't get a link...I'm wondering of it's going to an email address that I don't use anymore. Can you tell/see what email address my Doughnut account uses at all?

HuwR
1/17/2024


Im still not able to log in, get the same messages.
Registration not enabled. Email saying User locked out. Reset your password.Originally posted by Torborg

I'll see if I can replicate issue with a test account, I'll also try manually unlocking you smile
Torborg
1/16/2024


Im still not able to log in, get the same messages.
Registration not enabled. Email saying User locked out. Reset your password.
HuwR
1/13/2024


You may now be able to log in as a believe the lock has a timeout period but not sure how long it is by default smile
HuwR
1/13/2024


When I reset the password a new reset password form turns up. Then I go to main page and try to log in, but get message "Registration is not enabled". Then I get the email saying: Your account is locked out, to reset your password, please click this link: https://snitzcore.themediawizards.co.uk/Account/ForgotPassword
And i'm back to reset password sleepysmileOriginally posted by Torborg

Ah, looks like an issue with password reset not unlocking you, I'll take a look.
Torborg
1/12/2024



However this has highlighted another issue if you have multiple accounts that use the same email address the forgot password process won't know which Member to update, it will also require a username so will need to sort that out too, hopefully I will update the site later today, I will post here if I do so.Originally posted by HuwR


I like that you can log in with username OR email address. But I see the problem with people have several users.
Torborg
1/12/2024


When I reset the password a new reset password form turns up. Then I go to main page and try to log in, but get message "Registration is not enabled". Then I get the email saying: Your account is locked out, to reset your password, please click this link: https://snitzcore.themediawizards.co.uk/Account/ForgotPassword
And i'm back to reset password sleepysmile
HuwR
1/11/2024


Site code updated, you should now receive an email.

You need to attempt to login first, it will create the new identity user and redirect you to the forgot password page, enter your username and you should now get an email to reset your password.

We now have a WYSIWYG editor


HuwR
1/11/2024


I believe I have worked out the problem, there is an issue in the migration code for Members and it is only creating the new .NET Identity record if you use a valid password, it then fails to find you when you use the forgot password because it didn't create the Identity record smile

However this has highlighted another issue if you have multiple accounts that use the same email address the forgot password process won't know which Member to update, it will also require a username so will need to sort that out too, hopefully I will update the site later today, I will post here if I do so.
HuwR
1/11/2024


I think the issue maybe that there are two users with the same email address, so it may be getting confused. May need to change it so you provide a username and email address. I will test that emails are being sent especially to gmail as google can be a real pita when it comes to receiving from other mail servers.
HuwR
1/11/2024


I'm not able to log in, and don't get any email when I check "Forgot Password"

Email should get sent, but I will check it is working on the server.
Torborg
1/10/2024


Ahhh, link is wrong try just https://snitzcore.themediawizards.co.uk/ Originally posted by HuwR



I'm not able to log in, and don't get any email when I check "Forgot Password"
Torborg
1/7/2024


The .net core migration is coming along nicely smile it is so much quicker than the current MVC code, now I'm semi-rtired I'm hoping to get it sorted in the next couple of months.
Opprinnelig postet av HuwR


Double migration then. Both Spain and new forum code.
Now i guess it's better for "Spør en biolog" to wait for the new code, not start to use this one?
Torborg
1/7/2024


Why did you need antibiotics and tests? Are you not well?

a biopsy came back as negative, so not Cancer coming back, so was put on several courses of strong antiobiotics which they are happy has cleared it up.
Opprinnelig postet av HuwR


Good!! smile
HuwR
1/7/2024


Why did you need antibiotics and tests? Are you not well?

One of my routine scans showed a build up in the bottom of my right lung which they were concerned about, a biopsy came back as negative, so not Cancer coming back, so was put on several courses of strong antiobiotics which they are happy has cleared it up. Wasn't feeling unwell, just takes a long time with not knowing exactly whats up, but all good in the end smile

The .net core migration is coming along nicely smile it is so much quicker than the current MVC code, now I'm semi-rtired I'm hoping to get it sorted in the next couple of months.
I will however upload the current code to GitHub and post a link here in the next few days, your new guy might want to take a look.
Torborg
1/4/2024


I don't think it is up at the moment. been a bit preoccupied with sorting stuff ready for my semi-retirement and moving to Spain. Finally got the OK from the doctors after several months of tests and courses of antibiotics, so hopefully will start to do some coding soon.Opprinnelig postet av HuwR


Spain sounds nice.smilethumbsUp We have a lot of snow now and it's really cold, getting under -20 the next days sad. As long as it is warm inside, that's OK. We have to use the wood stove to keep up and we carry a lot of wood inside every day. I like the long dark evenings and the warmth from the stove though.

Why did you need antibiotics and tests? Are you not well?

I'm back in full job now. It’s OK, but a bit tough after over a year in full or partly sick leave. Can't celebrate yet, but I'm optimistic and feel fine smile.

In the board for the organization where I work, we have a young guy, Bernhard, who is very enthusiastic about the forum. I'm having a meeting with him tomorrow. I hope he can help us move forward with "Spør en biolog"
doughnut
1/2/2024



My first observation is that it's very fast, instant page changes.
doughnut
1/2/2024


It works now, I'm in as Doughnut2, I don't remember doing that but it works, now I can be nosey bigsmile
HuwR
1/2/2024


Ahhh, link is wrong try just https://snitzcore.themediawizards.co.uk/
doughnut
1/1/2024



Deleting cookies didn't help I'm afraid...I'm still expecting the problem to be this end, I work on the theory that everything is my fault bigsmile
HuwR
1/1/2024


mmm, that's odd. I'll try publishing it in development mode some time this week if I can. May be worth deleting your cookies on the off chance smile
doughnut
12/29/2023


That's weird, I've just been getting this for two or three days....on both Firefox and Edge
HuwR
12/29/2023


seems to be working for me
doughnut
12/28/2023


Down again...wasn't me bigsmile
HuwR
12/24/2023


It's back up again smile If you have trouble logging in, try using the forgot password link to reset your password.

Posting not currently working, but will do an update after christmas which should fix that.
doughnut
12/20/2023



Nice, I've got three friends in Spain and they've never concidered coming back to the UK for a minute, they say it gets a bit hot at times but other than that they love it, certainly hope it works out for you when the time comes smile

Anyway no worries, it was very quiet on here, and at home for once, so I thought I'd have a nose.

Have a good christmas thumbsUp
HuwR
12/18/2023


I don't think it is up at the moment. been a bit preoccupied with sorting stuff ready for my semi-retirement and moving to Spain. Finally got the OK from the doctors after several months of tests and courses of antibiotics, so hopefully will start to do some coding soon.
doughnut
12/5/2023


Well, I have beenn playing again bigsmile

Over the last week or so I have been converting the forum to use ASP.NET Core 6, you can see the fruits of my fiddling here

You may even be able to log in smile with your credentials from here (it is an old copy though so if you have changed passwords it might not work)Originally posted by HuwR


A bit spare time tonight so I thought I'd have another go at logging in but I get a warning message, should I ignore that and carry on or is it not there anymore? Cheers.

Warning: Potential Security Risk Ahead

Firefox detected a potential security threat and did not continue to snitzcore.themediawizards.co.uk. If you visit this site, attackers could try to steal information like your passwords, emails, or credit card details.
HuwR
8/9/2023


Thanks for info, been a bit distracted for the last few weeks but will take a look this week smile
Torborg
8/7/2023


Well, I have beenn playing again bigsmile

Over the last week or so I have been converting the forum to use ASP.NET Core 6, you can see the fruits of my fiddling here

You may even be able to log in smile with your credentials from here (it is an old copy though so if you have changed passwords it might not work)Opprinnelig postet av HuwR



I tried to log in again, but now I get the error "The ReturnUrl field is required."

Torborg
8/7/2023


Denmark not a holiday wink I am going to a developers conference to collect an award approveOpprinnelig postet av HuwR


Wow that's nice! Congrats. smile smile
doughnut
7/10/2023


coolthumbsUp
HuwR
7/6/2023


HuwR
6/21/2023


bigsmile Ok, thanks I will take a look, must be not setting some data somewhere.
doughnut
6/20/2023


Well, I have beenn playing again bigsmile

Over the last week or so I have been converting the forum to use ASP.NET Core 6, you can see the fruits of my fiddling here

You may even be able to log in smile with your credentials from here (it is an old copy though so if you have changed passwords it might not work)Originally posted by HuwR


I might have broke it shy
I couldn't work out my password so tried to register a new account, I couldn't work out if I was successful or not so I had a look on members and, I got this below..


Error.
An error occurred while processing your request.

Request ID: 00-0914e81c8e862fb8e35b07164e70bafc-3e97122a06fb96a5-00
Development Mode

Swapping to Development environment will display more detailed information about the error that occurred.

The Development environment shouldn't be enabled for deployed applications. It can result in displaying sensitive information from exceptions to end users. For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development and restarting the app.
doughnut
6/17/2023



Can't see me ever being a most valuable person bigsmile well done, undoubtably deserved thumbsUp
HuwR
6/17/2023


doughnut
6/12/2023



Nice cool what's the name of the award?
HuwR
6/12/2023


Denmark not a holiday wink I am going to a developers conference to collect an award approve
doughnut
6/12/2023


All these holidays, taking liberties bigsmile





Enjoy cool
HuwR
6/12/2023


May be a few weeks I'm afraid as I am off to Denmark tomorrow and then off to Spain for two weeks when I get back from Denmark
doughnut
6/11/2023


thumbsUp
HuwR
6/11/2023


I will see if it is currently the same, the copy of the database I used is pretty old tbh smile
doughnut
6/10/2023



Looks good, very fast but I can't log in. I don't think I've chnaged my passowrd for ages but I might have done shy
HuwR
5/29/2023


Nice! bigsmile But, I'm not able to log in sadOriginally posted by Torborg

Ah, that was my fault I forgot to update something in the database bigsmile
Torborg
5/26/2023


Nice! bigsmile But, I'm not able to log in sad
HuwR
5/19/2023


Well, I have beenn playing again bigsmile

Over the last week or so I have been converting the forum to use ASP.NET Core 6, you can see the fruits of my fiddling here

You may even be able to log in smile with your credentials from here (it is an old copy though so if you have changed passwords it might not work)
philsbbs
3/26/2023


Here's what i've been upgraded home network to 10Gig, started having the flat decorated... Any usual health appointments lol.
doughnut
3/17/2023



They're very pretty when they still have their speckles smile
HuwR
3/16/2023


here's a baby robin

HuwR
3/16/2023


You could be right, I probably have more photos of Robins than any normal person should blushbigsmileOriginally posted by doughnut

thumbsUp
doughnut
3/16/2023


You could be right, I probably have more photos of Robins than any normal person should blushbigsmile
HuwR
3/16/2023


@doughnut You only like them because they have the same name as you smile
doughnut
3/15/2023


Nice name smile

I love em they're totally one of my favourites, very friendly and good company when it's cold.

Torborg
3/15/2023


Thats a nice visitor. Called Rødstrupe in Norwegian (red throat) smile
doughnut
3/14/2023


@torborg No I was out-smarted again but that's not too hard bigsmile

Had a nice visitor or two though :)

Torborg
3/12/2023


I hope for warmer weather here too. It's really cold
Did you get any fish, @doughnut ?
doughnut
3/9/2023



TBH, it is the dampness I can't cope with. It is 23C where we were in Spain and -1 here today sadOriginally posted by HuwR


To be fair coming back here from anywhere warm must be a nightmare right now..I was fishing last weekend and it was pretty unpleasant, hopefully next week onwards it'll start to turn a bit warmer.!
Torborg
3/9/2023


It's still winter and cold here with a lot of ice and snow. It's nice with sun and blue sky now, but cold. I'm longing for spring
HuwR
3/8/2023


back home now, bloody freezing deadOriginally posted by HuwR


Have you forgot how to to put enough clothes on? bigsmile

Welcome back!! smilesmileOriginally posted by Torborg

Brain still thinks it's in Spain bigsmile
HuwR
3/8/2023



Gonna be toasties tonight shockbigsmile
The Welsh are hard as nails, you can handle it 👊🏻Originally posted by doughnut

Must have been in the south of england too long bigsmile

TBH, it is the dampness I can't cope with. It is 23C where we were in Spain and -1 here today sad
doughnut
3/7/2023



Gonna be toasties tonight shockbigsmile
The Welsh are hard as nails, you can handle it 👊🏻
Torborg
3/6/2023


back home now, bloody freezing deadOriginally posted by HuwR


Have you forgot how to to put enough clothes on? bigsmile

Welcome back!! smilesmile
HuwR
3/5/2023


back home now, bloody freezing dead
doughnut
3/1/2023



The sun is on it's way here don't worry cool
HuwR
2/28/2023


Only a few more days to go sad

HuwR
2/17/2023


Spring is just around the corner, even at my place on the planet smile Are you back, Huw?Originally posted by Torborg

Not yet bigsmile stil have 2-3 weeks left. Weather not so good the last couple of weeks, a bt gray and overcast but still better than the UK smile Really not looking forward to going home sad
Torborg
2/16/2023


Spring is just around the corner, even at my place on the planet smile Are you back, Huw?
doughnut
1/11/2023



🤞🏻
HuwR
1/11/2023


I certainly hope the sun is doing you a shedload of good

Well I feel a lot better and my walking has increased since we got here, so I hope so too. Guess I will find out when I get back and have to go for tests at the hospital smile
doughnut
1/10/2023


Sorry been busy again shy

Yea I don't think the weather here is that great for keeping you in the best nick and I'm sure it's catching up with me too after spending so much time out in the cold sitting next to stinky lakes. I certainly hope the sun is doing you a shedload of good, I'm missing it it badly.

Fingers crossed the earthquakes don't get you bigsmile
© 2016-2024 Snitz™ Forums MVC