Basic ASP.NET Authentication in an AJAX Enabled Application

Please install Silverlight or click download to watch video locally.

In this video I will demonstrate authentication in your AJAX enable web application using basic ASP.NET forms based authentication.

Presented by Joe Stagner

Duration: 31 minutes, 46 seconds

Date: 10 April 2008

Watch    Video   |   Download    Video   |   VB Code    C# Code

Video downloads: WMV  |  Zune  |  iPod  |  PSP  |  MPEG-4  |  3GP

Audio downloads: AAC  |  WMA  |  MPEG-4  |  MPEG-3  |  MPEG-2

Comments : 17

Leave a Comment

goodbox : On April 12, 2008 11:38 PM said:

hey, the video is good, thanks for the info. i was wondering if you can ensure that only authenticated users can call a webservice by using the location element in the web.config? would that achieve the same results?

JoeStagner : On April 14, 2008 9:12 PM said:

No, but you could use the web.config to deny anonomouse access.

The problem though is that the service then just won't respond. In most casses you don't want the service recuest to return an error, but rather a message.

mson : On April 15, 2008 12:16 PM said:

Hey Joe,

I love your tutorials!  Thanks so much for creating them.  

I'd like to create similar video tutorials for a customer application - can you tell me what software/equipment you use?

Thanks!

JoeStagner : On April 15, 2008 9:40 PM said:

Many thanks !

I use Camtasia from Techsmith to create them.

charles_rad : On April 16, 2008 6:46 AM said:

hi joestagner.

i like your tutorials. this is first time iam using asp.net ajax the instrest came after seeing your tutorials. send some sample projects to study...

JoeStagner : On April 16, 2008 1:19 PM said:

Thanks charles

ebenjane_in : On July 07, 2008 3:38 AM said:

good site

ebenjane_in : On July 07, 2008 1:55 PM said:

I have on doubt in ASP.NET

how to multiply

<%  ebe12334> * '<%# Eval(Container.DataItem("amount"))%>'

i want to multiply the program

ypk : On July 17, 2008 12:33 AM said:

The video is good.thz for uploading

pthalacker : On July 29, 2008 2:52 PM said:

There is a lot of information in this video. Can you the logic of what JavaScript goes in a script file and what JavaScript belongs inline on the aspx page?

pamela

cv_vikram : On August 07, 2008 4:18 PM said:

A Good video..thanks

p19101 : On August 08, 2008 3:57 PM said:

If I run the code files that goes with the video it will accept any input. If I type some info that doesn't match a user I'm still a valid user? Anyone else get this error?

p19101 : On August 08, 2008 4:00 PM said:

That was in Firefox, works in IE :(

alfredoa4 : On October 23, 2008 9:44 PM said:

Hi Joe, it's an excellent tutorial, I want to create this but with a Database connection (sql express), do you have some tutorial about this? or a web page where can I found it?

Regards!

sauravraaj : On December 21, 2008 9:44 AM said:

Joe,

I am using LDAP authentication. How can I model roles based on the userid for this one. All the tutorials show that the user information is stored in a db. For example, out of 100 users 2-3 will have admin access to the website. What would be a good way to model this.

Thanks for your help.

swizzmagik : On February 22, 2009 9:19 PM said:

Hello video and very helpful to developer getting started with authentication on an ajax enabled platform. Thanks!

dieseldave : On September 20, 2009 6:30 PM said:

Joe, can this login control reproduce the functionality of the .net control? Specifically, can the user be redirected to the login when they try to access a page thet requires authentication then be sent back to the calling page if they successfully login? I would rather not display the login on every page.You can set security up this wai using a web config files in a standard .net app.

Leave a Comment

You must be logged in to leave a comment. Click here to log in.

Microsoft Communities