Go Back   CodingForums.com > :: Server side development > ASP.NET

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-26-2012, 04:36 AM   PM User | #1
jessjenn
New Coder

 
Join Date: Dec 2003
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
jessjenn is an unknown quantity at this point
Web Services Questions in ASP.NET

I'm new to web services in ASP.NET. Been trying to get my head around it recently. Here are my questions.

1. The Web Service item (.asmx that you can add to your project in Visual Studio), does that only generate an XML service (generate XML output)? What about JSON?

2. When I add a web reference to my project, and I get prompted to specify a URL, what kind of service does that have to be? For example, when I enter http://search.twitter.com/search.json?q=twitter - it doesn't work (nothing gets fetched).

3. After you create an .asmx service, how is this consumed through a non-.NET technology like PHP or JavaScript?

4. If I were to create a web service in another technology (PHP/ColdFusion), what would be the requirements so that I could easily add a web reference to a .NET project to be ready for consumption?

5. When do you ditch creating a Web Service (.asmx) and create a Generic Handler (.ashx)? What's best practice?
jessjenn is offline   Reply With Quote
Reply

Bookmarks

Tags
asp.net

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:09 AM.


Advertisement
Log in to turn off these ads.