Creating soccer league transfer app with radzen and blazor

Not a zBlazor developer but your tutorials are good and detailed,

Bravo.

2 Likes

Many Thanks Greg For The Compliment.

Hi @Benjamin_Fadina very good example for radzen and blazor.
I want to ask you something, I'm stuck somewhere.
youtube video (LESSON 4) IMPLEMENTING LOGIN PAGE.
password type varbinary(max) (SHA1) in my database.
radzen imports it as byte[] from my database and I get the errors in the image


radzen_error
database
radzenbyte

Password column should not have been varbinary(max), it should have been nvarchar(50) which will be mapped as string in your model class

1 Like

Yeah. but my database is old.
and the password field is encrypted with SHA1.

image

That means you will need to write two functions one to encrypt your a user's password while saving it into the database and another function to decrypt the password when it is fetched from the database.

See the link below for example

How to use SHA1 Encryption and Decryption algorithm? (c-sharpcorner.com)

1 Like

Thanks for your guidance