.NET Blog

Tony Cavaliere

 
My Favourite Albums
  And the Grappa wins.
E-mail me Send mail
Add to Technorati Favorites AddThis Feed Button

Subscribe to Cynot Why Not


Recent posts

Disclaimer

Hey unlike other bloggers I stand by what I say but just in case. The opinions expressed herein are my own except on Tuesday when the second card is not turned up otherwise it ain't worth squat.

© Copyright 2010

Membership Ajax enabled WCF services: Where is CreateUser?

ASP.NET 2.0 introduced the Membership, Roles and Profile services. Developers could leverage these powerful services and rapidly add membership functionality to their sites. This was a great leap forward but did not address Web2.0, that is, there was no out of the box support for these services from an Ajax perspective. If you wanted to add Ajax type membership functionality the developer had to write ASMX or WCF services that wrapped these API calls. Then came along ASP.NET 3.5. In this release Microsoft shipped a set of Ajax enabled WCF services for the Membership, Roles and Profile services. Adding Ajax support was as simple as adding a few lines of XML to the web.config.

I just recently added Ajax support for the membership services to a local community web site. As advertised, just add a few lines of XML to the web.config and magically you can asynchronously log in or log out. This was wonderful. Then I decided to add support for registering users and then discovered there was no asynchronous equivalent to the CreateUser API. Why was this API not included? Are there security issues exposing this API?

The Ajax Membership API's are located in the assembly C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\System.Web.Extensions.dll. Using every .NET developers trusted friend, reflector, we see that AuthenticationService class contains the following methods;

AuthenticationService     

Where is the CreateUser method? It appears as though it was not included. Why I ask, why was it not included? I guess we still have to resort to writing custom Ajax enabled Membership WCF services!

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: ASP.NET | WCF
Posted by CynotWhyNot on Tuesday, February 17, 2009 12:23 PM
Permalink | Comments (16) | Post RSSRSS comment feed

Related posts

Comments

watch american dad us

Tuesday, November 17, 2009 1:43 AM

watch american dad

Nice information need to know more.


Regards
Rohr


lexus dealer in westchester us

Tuesday, November 17, 2009 3:09 AM

lexus dealer in westchester

Hi nice to read this I realy like to


Regards
Golden


new car lease us

Tuesday, November 17, 2009 6:14 AM

new car lease

Great Work


Regards
Rolonirst

air jordan sale US

Friday, May 28, 2010 10:38 PM

air jordan sale

There are certainly a lot of details like that to take into consideration. That is a great point to bring up. I offer the thoughts above as general inspiration but clearly there are questions like the one you bring up where the most important thing will be working in honest good faith. I don?t know if best practices have emerged around things like that, but I am sure that your job is clearly identified as a fair game.

air max for sale US

Monday, July 19, 2010 3:10 AM

air max for sale

I was thinking of using BlogEngine but then I saw that most of the sites I looked either had comments full of spam or they had simply closed the comments altogether. I hope that you have been able to combat the spam because at the moment it is something that is making me stay away from BE.

James Shoes US

Thursday, July 22, 2010 6:01 AM

James Shoes

Your blog is perfect, and I like this article. I find the information I need. I think I can find more useful information here, thanks.

nike air 1 US

Saturday, July 24, 2010 3:51 AM

nike air 1

Your blog seems interesting.Regards,Kevin.

nike air max 2010 US

Thursday, July 29, 2010 5:33 AM

nike air max 2010

By far the most concise and up to date information I found on this topic. Sure glad that I navigated to your page by accident. I’ll be subscribing to your feed so that I can get the latest updates. Appreciate all the information here.

fendi brand bags US

Tuesday, August 24, 2010 8:03 AM

fendi brand bags

Easily, the post is really the greatest on this laudable topic. I concur with your conclusions and will thirstily look forward to your future updates. Saying thanks will not just be sufficient, for the fantasti c lucidity in your writing. I will instantly grab your rss feed to stay privy of any updates. Solid work and much success in your business enterprize!

nike air max ltd shoes US

Tuesday, August 24, 2010 3:00 PM

nike air max ltd shoes

I was thinking of using BlogEngine but then I saw that most of the sites I looked either had comments full of spam or they had simply closed the comments altogether. I hope that you have been able to combat the spam because at the moment it is something that is making me stay away from BE.

discount sandals 2010 US

Wednesday, August 25, 2010 12:15 PM

discount sandals 2010

Nice content, I trust this is a nice blog. Wish to see fresh content next time.

gucci handbags US

Friday, September 03, 2010 12:10 AM

gucci handbags

I admire the valuable information you offer in your articles. I will bookmark your blog and have my children check up here often. I am quite sure they will learn lots of new stuff here than anybody else!

designer fendi bags US

Saturday, September 04, 2010 7:11 AM

designer fendi bags

You have a point. Very insightful. A nice different perspective

Lebron James US

Monday, September 06, 2010 12:27 PM

Lebron James

I was very pleased to find this site.I wanted to thank you for this great read!! I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you post.

nike free shoes US

Wednesday, September 08, 2010 8:42 PM

nike free shoes

Nice content, I trust this is a nice blog. Wish to see fresh content next time.

chanel bags US

Thursday, September 09, 2010 6:13 AM

chanel bags

There are certainly a lot of details like that to take into consideration. That is a great point to bring up. I offer the thoughts above as general inspiration but clearly there are questions like the one you bring up where the most important thing will be working in honest good faith. I don?t know if best practices have emerged around things like that, but I am sure that your job is clearly identified as a fair game.

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

Friday, September 10, 2010 4:44 PM