Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Is this is the correct REST approach?

Reply
 
Old 05-14-2008   #1 (permalink)
mazdotnet


 
 

Is this is the correct REST approach?

Hi guys,

I need some architecture design verification. We have a site on shared
hosting so I can not use ISAPI filters to do any URL redirecting..etc.
We need to allow our end users to access some data so they can display
it on their site. I've been reading a lot of REST which is really easy
to use. However, I have some questions,
1. All the example have a the URL as http://www.mysite.com/rest/people
to return a list of people. Can I have it as http://www.mysite.com/rest/people.aspx?
I can easy create folder 'people' and have the code in default.aspx
then they can access it by http://www.mysite.com/rest/people
2. Is it ok to make it so that our end users do a POST to that URL and
then return back XML
3. Do I still have to pass the USERNAME/PASSWORD in every call?

Am I on the right track here? Is this still considered a REST
Service?

Thank you and I really appreciate your feedback
Maz.

My System SpecsSystem Spec
Old 05-15-2008   #2 (permalink)
Cor Ligthert[MVP]


 
 

Re: Is this is the correct REST approach?

MazdoNet,

You cannot do anything with that page as it only is giving back a 404 error.

As you use ASPNet then you have only one time to log on as you can save
username and password in a session item.

Cor

"mazdotnet" <maflatoun@xxxxxx> schreef in bericht
news:ba6bd383-739a-4234-9974-9400a6f96000@xxxxxx
Quote:

> Hi guys,
>
> I need some architecture design verification. We have a site on shared
> hosting so I can not use ISAPI filters to do any URL redirecting..etc.
> We need to allow our end users to access some data so they can display
> it on their site. I've been reading a lot of REST which is really easy
> to use. However, I have some questions,
> 1. All the example have a the URL as http://www.mysite.com/rest/people
> to return a list of people. Can I have it as
> http://www.mysite.com/rest/people.aspx?
> I can easy create folder 'people' and have the code in default.aspx
> then they can access it by http://www.mysite.com/rest/people
> 2. Is it ok to make it so that our end users do a POST to that URL and
> then return back XML
> 3. Do I still have to pass the USERNAME/PASSWORD in every call?
>
> Am I on the right track here? Is this still considered a REST
> Service?
>
> Thank you and I really appreciate your feedback
> Maz.
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Maybe I should try a different approach VB Script
Lotus Approach from Smartsuite 9.8 - need help Vista General
A different upgrade approach Vista General
Best Approach for Included Script Files PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46