Forms authentication in asp.net and user registration Part 91

preview_player
Показать описание
Text version of the video

Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our YouTube channel. Hope you can help.

Slides

All ASP .NET Text Articles

All ASP .NET Slides

All Dot Net and SQL Server Tutorials in English

All Dot Net and SQL Server Tutorials in Arabic

In this code sample, we have used validation controls and ADO.NET. If you have not watched the videos on validation controls and ADO.NET, I would strongly encourage you to do so, before continuing with this session.

C# Tutorial

Dot Net basics tutorial

SQL Server tutorial

ASP.NET video Tutorial

ADO.NET tutorial

At the following link, you can find the text version of this video. You will also find the code samples used in the demo.
Рекомендации по теме
Комментарии
Автор

Informative video. Thank you once again

Uzair_Anwar
Автор

I am glad it worked. Thanks for the confirmation.

Csharp-video-tutorialsBlogspot
Автор

Venkat Sir, How are you ? hope u are doing fine . Please update a video in which we can understand the user level functionality, when user level are stored in user level table

nayyarnayyar
Автор

I was laughing so hard, because got a Treehouse advertisement before your video, they call and tell to learn C# and .NET at Treehouse - and they have no idea, how high quality training do we have access to, after their advertisement :-)

Trzbne
Автор

This video looks good....Thanks. Keep posting...

ravichandransabhapathi
Автор

Hii kudvenkat sir.... great videos on asp.net.... excellent explaination... sir can u plz also post videos on asp.net 3 tier architecture??

krishooify
Автор

great videos !! really love watching your tutorials ! thanks a lott it is really helping us ! :D 

jatinpoddar
Автор

To allow anonymous access for Register page, I did the same way which u did. It worked for u, but it didnt work for me. I created seperate folder like u did but still I was redirecting to login page like other clicks. I tried this way,

<location path="Register"> //path is folder name
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
<system.web>
<authentication mode="Forms">
<forms
</authentication>
<authorization>
<deny users="?"/>
</authorization>
</system.web>

I added this in same web.config.I didnt create another config for register folder seperately.This worked for me in both webapplication and mvc. try this guys if venkat's approach doesnt work for u.

jfamily
Автор

Thanks for tutorial, but i want to ask - why we should use stored procedure, how can leave SQL statement less, how we can add this into binaries for example.

JeaRmiX
Автор

Hiiii Venkat,  I like your video. 
My question is that how to implement sending verification/activation link to the new user to successfully complete his registration ??
Thanks...

himanshumalik
Автор

but im unable to navigate to home, about us and other pages..
im trying it to figure out this problem for past 3 days but im unable to find the solution..
all i want is a webconfig file for login purpose.like that in the registration file..
it must be a individual entity where user can login and register and must be able to
navigate to other pages like home, aboutus and viceversa
thank u very much sir for your valuable time in demonstrating the asp.net concepts in Lucid Manner...

prasannavenkatesh
Автор

Hey venkat, i love your videos but  i have misunderstanding i read that sha1 is not recommended and what about salt??
thank you 

aviyitbarach
Автор

Hi Kudvanket. Thanks for your beautiful video and great explanation.

I do not understand the last line of code in the stored proc. (Select @ReturnCode as ReturnValue)

Where this ReturnValue comes from?

There is no such thing as ReturnValue in SQL or T-SQL. Is there?

araf
Автор

Hello Sir, Can you show tutorials to make Login using windows login preloaded tools in .net framework through the WSAT tools

shafikkhatib
Автор

Hi Venkat. I discovered that is already obsolete. Can you show us what can we use as a replacement. Thank you for your great tutorials!!!

peterivanovski
Автор

Dear sir can we do authorization with asp.net web form?

musadiqhussain
Автор

Just place all your Home.aspx, AboutUs.aspx etc in seperate seperate folder and add web.config file in all the folder and add authorization element to user allow="*" in those web.config file
check it if it works... :)

sayyednazeer
Автор

And if we can (into binaries) pls write how.

Thank a lot.

JeaRmiX
Автор

hello sir.For Login Purpose, In webconfig you are adding authorization&authentication elements, but for registration you are create a new registration folder and there you are adding a another webconfig file for "registration.aspx"..But my problem is i created a WEB FOLDER having (HOME, ABOUT US, WELCOME, LOGIN using MASTERPAGE).i created a seperate folder for LOGIN and added a webconfig for it.i added authorization, and authentication elements in it, but O/P was unsuccesfull
in the browser.

prasannavenkatesh
Автор

Hello Venkat, thanks for the tutorials, i encountered a problem in my register.aspx.cs file. When i run the application and click the register button i do get this message from my browser:

Server Error in '/' Application.

Keyword not supported: 'provider'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: Keyword not supported: 'provider'.

Source Error:


Line 24: {
Line 25: string CS =
Line 26: using (SqlConnection con = new SqlConnection(CS))
Line 27: {
Line 28: SqlCommand cmd = new SqlCommand("spRegisterUser", con);


and the emphasis is made on line 26 by the browser. Is there a way i can solve this problem? Thanks.

faithphilemon
visit shbcf.ru