.asmx authentication Web Service

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
11/18/2010 6:46:40 AM
Gravatar
Total Posts 50

.asmx authentication Web Service

Hi, i want to have a WebService for  remotely authenticating users  from the MojoPortal User Database.

I was wondering if such a service already exists and if so what is the URL ?

If not, has anyone developed such a service or is there a Authentication class to use with the Service or what would be a good approach to do this.

Thanks 

11/18/2010 7:41:35 AM
Gravatar
Total Posts 18439

Re: .asmx authentication Web Service

There is not a .asmx service but there is a wcf service for authentication and roles, I was able to use it to authenticate from silverlight quite a while back when I was experimenting with silverlight.

The urls are

http://yoursiteroot/Services/AuthenticationService.svc

and

http://yoursiteroot/Services/RoleService.svc

there are settings in Web.config to require ssl for these.

For documentation just google for "AuthenticationService.svc"

It has been a while since I experimented with it so I forget all the details.

Hope it helps,

Joe

11/20/2010 8:50:34 AM
Gravatar
Total Posts 50

Re: .asmx authentication Web Service

Hi Joe, thanks for your reply. yes it helped a lot i just need to find out how to access it.

btw, if anyone uses this and gets a 

"Could not load file or assembly App_Web..." Error

a solution that worked for me was to Add the batch="false" attribute to the web.config 'compilation' tag :

   <compilation batch="false" />

 

Buzi

11/29/2010 8:58:08 AM
Gravatar
Total Posts 50

Re: .asmx authentication Web Service

Hi, im testing the WCF Service.

is the "customCredential" parameter in use ?

Thanks

Boaz

11/29/2010 9:09:17 AM
Gravatar
Total Posts 18439

Re: .asmx authentication Web Service

looking at my old silverlight code it looks like I was passing string.Empty for that

11/29/2010 9:18:53 AM
Gravatar
Total Posts 50

Re: .asmx authentication Web Service

thanks!

You must sign in to post in the forums. This thread is closed to new posts.