<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: ASP.NET Membership Provider Web Service</title>
	<atom:link href="http://shepherdweb.com/2009/10/31/asp-net-membership-provider-web-service/feed/" rel="self" type="application/rss+xml" />
	<link>http://shepherdweb.com/2009/10/31/asp-net-membership-provider-web-service/</link>
	<description>Shane Shepherd: web design and development; music</description>
	<lastBuildDate>Thu, 22 Jul 2010 22:34:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Shane</title>
		<link>http://shepherdweb.com/2009/10/31/asp-net-membership-provider-web-service/comment-page-1/#comment-26120</link>
		<dc:creator>Shane</dc:creator>
		<pubDate>Thu, 22 Jul 2010 22:34:32 +0000</pubDate>
		<guid isPermaLink="false">http://shepherdweb.com/?p=176#comment-26120</guid>
		<description>It&#039;s been a while since I looked at this, but I don&#039;t see anyway around re-declaring the properties on the client side since the types are strongly typed.  There might be a way around it if you&#039;re using .NET 3.5 / 4.0, but I couldn&#039;t promise you.</description>
		<content:encoded><![CDATA[<p>It&#8217;s been a while since I looked at this, but I don&#8217;t see anyway around re-declaring the properties on the client side since the types are strongly typed.  There might be a way around it if you&#8217;re using .NET 3.5 / 4.0, but I couldn&#8217;t promise you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Pen</title>
		<link>http://shepherdweb.com/2009/10/31/asp-net-membership-provider-web-service/comment-page-1/#comment-26118</link>
		<dc:creator>Michael Pen</dc:creator>
		<pubDate>Thu, 22 Jul 2010 18:35:09 +0000</pubDate>
		<guid isPermaLink="false">http://shepherdweb.com/?p=176#comment-26118</guid>
		<description>Hi,

I am developing a web service based custom profile provider.

I&#039;ve following projects :

1. Consumer (It consumes my web service).
2. Service (It has my custom profile provider &amp; my web service).

I was trying to make a WebMethod as below:
public SettingsPropertyValueCollection GetPropertyValues(parameters....)

But I was getting an error as following:
The type System.Configuration.SettingsContext is not supported because it implements IDictionary.


Then I found your post &amp; saw your code &amp; you had tackled the above situation by using string[] returntype.

But I still was not able to solve my problem, because of following reasons:

1. In my Consumer I&#039;ve used a proxy Profile Provider which acts as my provider for the application &amp; but actually it calls from my Service the WebMethod GetPropertyValues(parameters....)[now with return type string[] after seeing your example], but at my Consumer the proxy provider has abstract method as : 
public override System.Configuration.SettingsPropertyValueCollection GetPropertyValues

so, now I am unable to map it to the return the values from the WebMethod having string[] returntype.

2.Also, I am worried about, how am I going to make available, my custom profile properties without actual re-declaring them on the consumer.

Please throw some light on it, also it&#039;ll really helpful to me, if I can see your code of how you have handle it at both ends(Client &amp; Service).

Regards,

M.Pen.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am developing a web service based custom profile provider.</p>
<p>I&#8217;ve following projects :</p>
<p>1. Consumer (It consumes my web service).<br />
2. Service (It has my custom profile provider &amp; my web service).</p>
<p>I was trying to make a WebMethod as below:<br />
public SettingsPropertyValueCollection GetPropertyValues(parameters&#8230;.)</p>
<p>But I was getting an error as following:<br />
The type System.Configuration.SettingsContext is not supported because it implements IDictionary.</p>
<p>Then I found your post &amp; saw your code &amp; you had tackled the above situation by using string[] returntype.</p>
<p>But I still was not able to solve my problem, because of following reasons:</p>
<p>1. In my Consumer I&#8217;ve used a proxy Profile Provider which acts as my provider for the application &amp; but actually it calls from my Service the WebMethod GetPropertyValues(parameters&#8230;.)[now with return type string[] after seeing your example], but at my Consumer the proxy provider has abstract method as :<br />
public override System.Configuration.SettingsPropertyValueCollection GetPropertyValues</p>
<p>so, now I am unable to map it to the return the values from the WebMethod having string[] returntype.</p>
<p>2.Also, I am worried about, how am I going to make available, my custom profile properties without actual re-declaring them on the consumer.</p>
<p>Please throw some light on it, also it&#8217;ll really helpful to me, if I can see your code of how you have handle it at both ends(Client &amp; Service).</p>
<p>Regards,</p>
<p>M.Pen.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
