ASP.NET Tutorial 5- How to Create a Login website -Creating Unique Identifiers (GUID) for each user

preview_player
Показать описание
★★★Top Online Courses From ProgrammingKnowledge ★★★

★★★ Online Courses to learn ★★★

★★★ Follow ★★★

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!

Creating Globally Unique Identifiers (GUIDs) in asp.NET
Asp.Net: GUID [Globally Unique IDentifier]
Generating Unique Keys in asp.Net
Рекомендации по теме
Комментарии
Автор

I really enjoy your tutorial, is well made and you have good 'work arounds' but i think you should just simply make the id autoincrement. One way is how joe smith said in a comment below and anothr way ( form VS 2013 to the current version ) is you add "IDENTITY(1, 1) in your t-sql after it generates the code from your design, just like this: create table .. ( [Id] INT IDENTITY(1, 1) NOT NULL, ... PRIMARY KEY CLUSTERED ([Id] ASC) );. Anyway, I say it again, you're doing a great job and thx for the tutorial, it helps me remember many things and in the same time teaches me new ones.

ValentinConstantinMaxim
Автор

This is truly helpful. Please continue the video series sir.

Thanks

PrakashPraaku
Автор

I modified the properties from within sql server of the ID field to make it auto increment instead of using a guid, but its nice to know how this works anyway.

KaliGold
Автор

could you please tell me the benefit of using a GUID as the ID rather then just an identity value?

navarachi
Автор

sir Page load method is not working when register i username with same name which is already there in database then also it is registered ?? how to prevent this? ?? u didnt shown that tutorial 

sureshrajput
Автор

When I close this website down it wants me to save the database. Does this mean to save it in documents or the app_data folder of the website? I am using Visual Studio 2015.

trr
Автор

i have same problem as suresh , Page load method is not working whenever i  register  username with same name which is already there in database then also it is registered !!

yaldaazarbarzin
Автор

Hello brother, very nice all of your tutorial for asp.net. Thanks a lot for helping. I am very fond of you. I have one problem. May I had tried 10 times to write code for Registration and Login page. "User already Exists" this message comes until writing code in Submit Button. But when I write code in Submit Button there is a problem. Also, there is no testing in your tutorial where there any similar user is being double register. I need to register one user name only which never can second time.
Where is problem, I could not find out. So, please help me for this code. Thanks again for your better teaching.

skytaanew
Автор

I got this problem "Conversion failed when converting the nvarchar value xxxx-xxxx-xxx-xx-xx to data type int" I'm using cs 2015 for web...how to fix it?

janusalexlim
Автор

: Conversion failed when converting the nvarchar value to data type int.
plz tell me what type of error it is?

farwashahid
Автор

Hi.can you create a video about creating a ecom website

sethupushiamithran
Автор

Datatype shoudn't be nvarchar.
Use "uniqueidentifier" instead

Assassinofking
Автор

How to fix this A field or property with the name 'User Nmae' was not found on the selected data source.

Monu-yvkm
Автор

i got this problem and already check many times my code and everything seems to be fine

(0x80131904): Conversion failed when converting the nvarchar value to data type int. at exception, Boolean breakConnection, Action`1 wrapCloseInAction) at exception, Boolean breakConnection, Action`1 wrapCloseInAction) at stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean at cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean at cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at at sender, EventArgs e) in 53 Error Number:245, State:1, Class:16

wilgeraleman
Автор

[InvalidOperationException: WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).]

what is this error please help

hardeep
Автор

very help full vidio help me i want to add cookies in remember me id and password in login

niteshgautam
Автор

can you show tutorial how to make this with more beautiful css website design ?

yosiaandre
Автор

how to update and delete data from database in asp.net using visual studio

shivanjalidesai
Автор

I cant see any point of that, why dont we assign just 1, 2, 3...?

numetalci
Автор

can u send same copcept code in vb ????

Proudkafir