2 Replies - 927 Views - Last Post: 22 January 2013 - 01:28 PM Rate Topic: -----

#1 rohitgupta20@live.com  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 17-August 12

Retrive Opportunity Using CRM Organization Webservice C# in Windows rt

Posted 22 January 2013 - 04:06 AM

I want to create a windows 8 metro application for retrieving and showing all the opportunity entity of organization. Any idea ? how to do so?

I have achieved the same for desktop application and it working fine now I want to create the same application for the Windows 8.

Please help...

Rohit
Is This A Good Question/Topic? 0
  • +

Replies To: Retrive Opportunity Using CRM Organization Webservice C# in Windows rt

#2 tlhIn`toq  Icon User is offline

  • Please show what you have already tried when asking a question.
  • member icon

Reputation: 5535
  • View blog
  • Posts: 11,857
  • Joined: 02-June 10

Re: Retrive Opportunity Using CRM Organization Webservice C# in Windows rt

Posted 22 January 2013 - 09:03 AM

Its the same C# in both. What's the problem?
What have you tried so far?

Did you build the desktop application using WPF? That really should be your starting point if you built the desktop application in WinForms. WinForms is yesterday. WPF is today and tomorrow.

Have you worked through any intro Win8-metro tutorials or books to help you bridge the gap?? MSDN is full of resources on the topic. You probably want to start with a Metro "hello world" and go from there. If you can already build in C# it won't take long to come up to speed.

This post has been edited by tlhIn`toq: 22 January 2013 - 09:04 AM

Was This Post Helpful? 1
  • +
  • -

#3 Curtis Rutland  Icon User is online

  • (╯□)╯︵ (~ .o.)~
  • member icon


Reputation: 4497
  • View blog
  • Posts: 7,850
  • Joined: 08-June 10

Re: Retrive Opportunity Using CRM Organization Webservice C# in Windows rt

Posted 22 January 2013 - 01:28 PM

The only real difference is the client you'll have to use. With the RT SDK, you'll use the HttpClient instead of WebClient. And RT doesn't support doing synchronous calls, so you'll have to either use callbacks, or use the async and await keywords. There's an example of this in the link I provided.

But the CRM api will be the same. First, let me ask: are you using the ODATA endpoints, or the Organization Service endpoint? If all you're doing is retrieving, the ODATA endpoints will be simpler.

edit: sidenote, yay, I finally get to put my year of CRM 2011 experience to use on this forum.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1