Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > ASP.NET 4 General Discussion
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 4 General Discussion For ASP.NET 4 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old November 29th, 2011, 02:11 AM
Authorized User
Points: 66, Level: 1
Points: 66, Level: 1 Points: 66, Level: 1 Points: 66, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2010
Posts: 16
Thanks: 10
Thanked 0 Times in 0 Posts
Default Cross Domain WCF Data Services & jQuery

Not sure if this is in the right spot.

I am currently in the process of trying to build a WCF data service to share data across the internet using jQuery. My motivation behind this is to enable an Android/iPhone app I have designed with Phonegap and HTML5 to be able to access data from a database on the internet using jQuery.

I own the Professional ASP.NET 4.0 Wrox book and have poured over the WCF chapter, however have been unsuccessful in being able to implement a cross domain jQuery call of my own despite trying every day for about two weeks now.

Researching the internet leads me to believe I need to use JSONP.

The closest I have been able to achieve is using the code project found at http://www.codeproject.com/KB/webser...JQueryWCF.aspx. Here I was able to publish the code onto server A and then use jQuery to call a method from server B, however since the class definitions was in a .dll file and not a .cs file I haven't been able to modify the data source.

The more I read about this technology the more I realise how deep it is. Can anybody suggest either a publication which addresses cross domain WCF or an article which explains it well enough? Have borrowed numerous WCF books but none of them have contained information about cross domain jQuery calls.

Not sure if this affects anything but I'm using VWDE 2010. I've also installed Visual C# Express when I started dealing with .dll files but don't know if I need it.

Last edited by R4VEN; November 29th, 2011 at 02:15 AM.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Domain Services & Application Services MrFixxiT BOOK: Professional ASP.NET Design Patterns 1 September 20th, 2011 10:17 AM
call WCF Service using JQuery but without using AJAX informit BOOK: Professional WCF Programming: .NET Dev with Windows Communication Found ISBN: 9780470089842 0 February 23rd, 2009 01:33 AM
Cross-domain synchronization NicoDeBruin General .NET 5 August 26th, 2007 03:34 PM
Cross Domain Cookies kokkee Javascript 1 May 21st, 2007 10:02 AM



All times are GMT -4. The time now is 03:27 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.