user736893
user736893

Reputation:

Javascript + SQL, .NET

Okay, this will probably get closed or get some negative replies, but I've been trying to get this going for 3 nights and I'm extremely frustrated.

I have a shared .net host (1and1.com). I'm trying to develop a webapp that primarily uses javascript/jquery. I have data in a MS SQL database. I cannot use Ajax to call a WCF service to do my database queries because there is some stupid limitation with multiple IIS hostheaders which affects people on shared hosts such as mine.

So, I'm looking for recommendations for alternatives. The really tricky part is that I'm not great at learning programming concepts; I'm really more of a copy/paste pirate (I do my job well and have hundreds of happy customers, for the record). But I do admit it's a major handicap. As such, it would be unbelievably helpful if any answers could include simple, yet complete, code examples.

I am using .net 3.5, the current version of JQuery and SQL Server 2005, and VB syntax (sorry).

Please and thank you.

Upvotes: 0

Views: 119

Answers (1)

jrummell
jrummell

Reputation: 43097

In my opinion, WCF is overly complex for simple web service scenarios. I would highly recommend using Page Methods instead. Dave Ward has a great article on how to do this on his blog.

http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/

Upvotes: 3

Related Questions