watwp Discussions Rss Feedhttp://watwp.codeplex.com/discussionswatwp Discussions Rss DescriptionNew Post: Web.config errorhttp://watwp.codeplex.com/discussions/264495<div style="line-height: normal;">
<p>i too have the<strong> <span style="color:#ff0000">same problem</span></strong> persisting please anybody reply sooonn..........</p>
</div>girish4uTue, 08 Jan 2013 05:52:23 GMTNew Post: Web.config error 20130108055223ANew Post: WP 8.0?http://watwp.codeplex.com/discussions/428679<div style="line-height: normal;">
<p>No 8.0 branch yet ?</p>
</div>ZapbbxSun, 06 Jan 2013 19:19:16 GMTNew Post: WP 8.0? 20130106071916PNew Post: NotSupportedException from EndSaveChangeshttp://watwp.codeplex.com/discussions/396915<div style="line-height: normal;">
<p>Hello,</p>
<p>I am attempting to create a simple Windows Phone application that directly uses the CloudTableClient and TableServiceContext to add objects into the tables. I have been able to create the table, but I run into some problems when attempting to add an object.
I am utterly clueless as what to do here since I don't know where to start the debug. I have been at this for hours and hope someone can help. Here is my piece of code:</p>
<p></p>
<div style="color:black; background-color:white">
<pre><span style="color:blue">public</span> <span style="color:blue">class</span> Contact : TableServiceEntity
{
<span style="color:blue">public</span> <span style="color:blue">string</span> Name { <span style="color:blue">get</span>; <span style="color:blue">set</span>; }
<span style="color:blue">public</span> <span style="color:blue">string</span> Address { <span style="color:blue">get</span>; <span style="color:blue">set</span>; }
}
<span style="color:blue">public</span> <span style="color:blue">void</span> Save()
{
StorageCredentialsAccountAndKey accountAndKey = <span style="color:blue">new</span> StorageCredentialsAccountAndKey(<span style="color:#a31515">&quot;myaccount&quot;</span>, <span style="color:#a31515">&quot;mykey&quot;</span>);
ctx = <span style="color:blue">new</span> TableServiceContext(<span style="color:#a31515">&quot;https://myaccount.table.core.windows.net/&quot;</span>, accountAndKey);
c = <span style="color:blue">new</span> CloudTableClient(ctx);
c.CreateTableIfNotExist(<span style="color:#a31515">&quot;table1&quot;</span>, <span style="color:blue">null</span>);
Contact contact = <span style="color:blue">new</span> Contact();
contact.PartitionKey = <span style="color:#a31515">&quot;1&quot;</span>;
contact.RowKey = <span style="color:#a31515">&quot;1&quot;</span>;
contact.Name = <span style="color:#a31515">&quot;Contact1&quot;</span>;
contact.Address = <span style="color:#a31515">&quot;Address1&quot;</span>;
ctx.AddObject(<span style="color:#a31515">&quot;Contact&quot;</span>, contact);
ctx.MergeOption = MergeOption.AppendOnly;
ctx.BeginSaveChanges(ar =&gt; ctx.EndSaveChanges(ar), <span style="color:blue">null</span>);
c.DoesTableExist(<span style="color:#a31515">&quot;table1&quot;</span>, <span style="color:blue">delegate</span>(CloudOperationResponse&lt;<span style="color:blue">bool</span>&gt; b) { Debug.WriteLine(b.Response); });
}
</pre>
</div>
<p></p>
<p>It's quite a bit of copy-paste from different sources. The last line checks whether the table ahs been created. I have confirmed with this and Azure Storage Explorer that the table is being created.</p>
<p>My problem is that the EndSaveChanges(ar) throws a NotSupportedException.</p>
<p>Furthermore, if I was to get this to work and it saved it to the database, is TryGetEntity the way to go about retrieving them?</p>
<p>The biggest problems for me are that the interfaces are quite similar to those in VS2012 toolkit or the Windows version of things, which makes it really difficult to Google. Furthermore, most examples concentrate on using Silverlight and services while I
want to have direct access to the tables with my app.</p>
<p>Thanks in advance!</p>
</div>MuhweliTue, 25 Sep 2012 23:44:45 GMTNew Post: NotSupportedException from EndSaveChanges 20120925114445PNew Post: Integrating ADFS for CorpNet users with ACS via toolkit 1.3.2http://watwp.codeplex.com/discussions/286342<div style="line-height: normal;"><p>Thanks for sharing. Your Point 1 helped in my case</p></div>MuraliMM3Thu, 19 Jul 2012 09:38:03 GMTNew Post: Integrating ADFS for CorpNet users with ACS via toolkit 1.3.2 20120719093803ANew Post: Sample SQL Azure Databasehttp://watwp.codeplex.com/discussions/278948<div style="line-height: normal;"><p>I had forgotten that I changed Windows Azure SQL Database password and this was causing this error... I then updated my connection string with the new password and everything started working again.</p>
<p>Hope it helps,</p>
<p>Leniel</p></div>lenielWed, 27 Jun 2012 16:27:20 GMTNew Post: Sample SQL Azure Database 20120627042720PNew Post: Facebook July 2012 Breaking Changeshttp://watwp.codeplex.com/discussions/358832<div style="line-height: normal;">
<p>Hi,</p>
<p>In a WP7 app I use the AccessControlSignIn control to logon to Facebook.<br>
But&nbsp;I came around an issue when enabling the July 2012&nbsp;breaking changes in the facebook application. When i try to logon&nbsp;i get this error:</p>
<p>API Error Code:11<br>
API Error Description: This method is deprecated<br>
Error Message: Display=WAP dialogs have been deprecated. You can temporarly enable them by disabling the &quot;July_2010&quot; migration. They will stop working permanently on July 1, 2012&quot;.</p>
<p>Can i solve this issue by some configuration / coding against the current Toolkit version?<br>
Or is an update of the&nbsp;toolkit&nbsp;needed to keep things working after the facebook migration?</p>
<p>Greetings,<br>
Stijn,</p>
<p>&nbsp;</p>
</div>vrStijnFri, 08 Jun 2012 09:14:43 GMTNew Post: Facebook July 2012 Breaking Changes 20120608091443ANew Post: Getting Error trying to run NuGet Phone.Storage.Samplehttp://watwp.codeplex.com/discussions/358450<div style="line-height: normal;">
<p>Hi</p>
<p>I am trying to run NuGet Phone.Storage.Sample</p>
<p>But when I click &quot;list blobs&quot; in StoragePage I get this error:</p>
<p>The value for one of the HTTP headers is not in the correct format.<br>
RequestId:80acee60-599b-4ca1-8595-05d6278ff931<br>
Time:2012-06-05T17:09:22.7634289Z</p>
<p>What to do?</p>
</div>rune007Tue, 05 Jun 2012 17:16:36 GMTNew Post: Getting Error trying to run NuGet Phone.Storage.Sample 20120605051636PNew Post: White page on IE when running the sample applicationhttp://watwp.codeplex.com/discussions/260437<div style="line-height: normal;"><p>@amarwadi and @jk909 did either of you figure out what is missing from the project setup that is causing the providers to not resolve and just return a white screen?</p></div>paulmontgomeryTue, 05 Jun 2012 02:11:46 GMTNew Post: White page on IE when running the sample application 20120605021146ANew Post: Web.config errorhttp://watwp.codeplex.com/discussions/264495<div style="line-height: normal;"><p>johnshadowdog did you resolve this issue? I've exactly the same issue.</p>
<p>Richard.</p></div>RHADSun, 03 Jun 2012 06:23:59 GMTNew Post: Web.config error 20120603062359ANew Post: Facebook Supporthttp://watwp.codeplex.com/discussions/347945<div style="line-height: normal;"><p>unlike google and windows live, facebook required me to go to the facebook application configuration page and add the domain, site, and mobile url, or the try again error appeared</p>
<p>&nbsp;</p>
<p>domain</p>
<p>myapp.accesscontrol.windows.net</p>
<p>&nbsp;</p>
<p>site url</p>
<p>https://myapp.accesscontrol.windows.net/</p>
<p>&nbsp;</p>
<p>thanks lukezy</p></div>ftlcdTue, 15 May 2012 11:19:27 GMTNew Post: Facebook Support 20120515111927ANew Post: Facebook Supporthttp://watwp.codeplex.com/discussions/347945<div style="line-height: normal;"><p>Ok, just found out a solution. Need to specify ACS domain e.g. <a href="https://mydomain.accesscontrol.windows.net">https://mydomain.accesscontrol.windows.net</a>&nbsp;in <span class="fwb">Site URL and App Domain when configuring your facebook app.</span></p>
<div id="_mcePaste" class="mcePaste" style="position: absolute; width: 1px; height: 1px; overflow: hidden; top: 0px; left: -10000px;">﻿</div></div>lukezyFri, 04 May 2012 20:45:39 GMTNew Post: Facebook Support 20120504084539PNew Post: Facebook Supporthttp://watwp.codeplex.com/discussions/347945<div style="line-height: normal;"><p>I had the same issue. Any one?</p></div>lukezyFri, 04 May 2012 20:24:55 GMTNew Post: Facebook Support 20120504082455PNew Post: Blob Content typehttp://watwp.codeplex.com/discussions/352111<div style="line-height: normal;">
<p>It's impossible to set the blob content type as well as any properties for that matter using the toolkit proxy, right? Why?</p>
</div>FurretThu, 12 Apr 2012 19:19:16 GMTNew Post: Blob Content type 20120412071916PNew Post: Facebook Supporthttp://watwp.codeplex.com/discussions/347945<div style="line-height: normal;"><p>Hi,</p>
<p>Have you found a solution for this? I'm encountering the same error for a simple Web app.</p>
<p>&nbsp;</p>
<p>Cheers,</p>
<p>Alain</p></div>CanucksAlWed, 11 Apr 2012 00:03:46 GMTNew Post: Facebook Support 20120411120346ANew Post: Application login instead of user login, howto?http://watwp.codeplex.com/discussions/351348<div style="line-height: normal;">
<p>I'm working on an App to show some data which is stored in Azure tables. It is not sensitive data, but I don't want to allow others to download freely these data. However, i don't want to have the users creating accounts or having to login with ACS etc.</p>
<p>So I was thinking about using the toolkit to create ASP.NET membership and let the App login with a predefined username/password which is stored encrypted in the app. Not 100% safe, but probably safe enough for this app/data.</p>
<p>Does anyone have advise/best practice about this method using ASP.NET in this way or an example/link of how to program this?</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>uxadditivesThu, 05 Apr 2012 17:43:44 GMTNew Post: Application login instead of user login, howto? 20120405054344PNew Post: Isolated ACS Samplehttp://watwp.codeplex.com/discussions/350862<div style="line-height: normal;"><blockquote style="padding-bottom: 0px; font-style: italic; margin: 0.25em 1em 0px; padding-left: 0.25em; padding-right: 0.25em; padding-top: 0px; border: #ccc 0.1em solid;"><strong>markti wrote:</strong><br />
<p>The Toolkit is nice but it would be great and easier to wrap one's head around all the bits that are in the solution if you provided more compartmentalized version. For example, what if all I want is to authenticate a user using ACS? It would be great if there was just a demo for that with NO storage, NO ASP.NET membership provider, etc.</p>
</blockquote>
<p>** dearly seconds the motion</p></div>andressMon, 02 Apr 2012 14:51:14 GMTNew Post: Isolated ACS Sample 20120402025114PNew Post: Isolated ACS Samplehttp://watwp.codeplex.com/discussions/350862<div style="line-height: normal;">
<p>The Toolkit is nice but it would be great and easier to wrap one's head around all the bits that are in the solution if you provided more compartmentalized version. For example, what if all I want is to authenticate a user using ACS? It would be great if
there was just a demo for that with NO storage, NO ASP.NET membership provider, etc.</p>
</div>marktiMon, 02 Apr 2012 09:34:21 GMTNew Post: Isolated ACS Sample 20120402093421ANew Post: Cloud deployment doesn't workhttp://watwp.codeplex.com/discussions/350568<div style="line-height: normal;"><p>Hi,</p>
<p>I have created a new service based on the toolkit. I am using ACS for authentication. Everything is working just fine on the development fabric. Even when the development version of the project is bound to the real SQL azure and cloud storage account. But when I deploy the app to the cloud, I cannot get past the log-in screen. I keep getting not-found exception from the server in the callback from the call that is supposed to verify the user is registered.</p>
<p>Based upon what I read, I figgured it might be because of the SSL certificate. I use the self signed certificate at the moment. But I've done just everything about it right according to the deployment manual in documentation of the toolkit here on codeplex. Does any of you have any idea how to solve or at least further investigate the problem? The exception I get from the server is pretty dumb and I can't make any sense of it. It's just: "The remote server returned an error: NotFound" in several nested inner exceptions.</p>
<p>I have heard about the app called cert installer, but I don't understand how it can help me. The toolkit app can installs the certificate itself, doesn't it? Isn't the cert installer just some project that solved issues prior to mango, or something?</p>
<p>I should also point out the the management website running on the same role using the same certificate is running just fine.</p>
<p>&nbsp;</p>
<p>Thanks for any sign of help</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Tomas</p></div>FurretThu, 29 Mar 2012 22:29:36 GMTNew Post: Cloud deployment doesn't work 20120329102936PNew Post: Can't add a controller using "windows phone cloud application" templatehttp://watwp.codeplex.com/discussions/348384<div style="line-height: normal;">
<p>I've created a new model called Report. when i try to add a controller to it with CRUD via the &quot;add controller wizard&quot; using my new model and SqlDataContext DBContext class given in the template i get the following error:</p>
<pre><code><span>&nbsp;</span><pre>Unable to retrieve metadata for 'WPCloudApp1.Web.Models.Report'.
The 'SqlSampleDataContextConnectionString' setting is not available.
Parameter name: key</pre>
<pre><br></pre>
<span>&nbsp;</span></code></pre>
<p>i have no trouble running the application, just adding the controller</p>
<p>Any idea ?</p>
<p>&nbsp;</p>
<p>I have also posted it on stackoveflow</p>
<p><a href="http://stackoverflow.com/questions/9682676/cant-add-a-controller-in-asp-net-mvc3-ef-code-first">http://stackoverflow.com/questions/9682676/cant-add-a-controller-in-asp-net-mvc3-ef-code-first</a></p>
</div>mderazonTue, 13 Mar 2012 11:21:58 GMTNew Post: Can't add a controller using "windows phone cloud application" template 20120313112158ANew Post: Facebook Supporthttp://watwp.codeplex.com/discussions/347945<div style="line-height: normal;">
<p>I added Facebook as a provider and get the selection and corresponding entry in the ACS; however, when i try to login with Facebook I get a generic &quot;An error occurred. Please try again later&quot; on facebook.&nbsp;</p>
<p>Any ideas why?</p>
<p>Also, does the library provide any support for requesting permissions and retrieving the access token from facebook on behalf of the user?</p>
<p>Thanks</p>
</div>StreamOfCodeFri, 09 Mar 2012 04:37:01 GMTNew Post: Facebook Support 20120309043701A