[dba-VB] Article: LINQ and stored procedures

Gustav Brock Gustav at cactus.dk
Mon Mar 31 17:02:54 CDT 2008


Hi Shamil

I guess you are right. I've only made some small tests with Amazon, and didn't pay much attention to the protocols. If it is pure HTML it of course makes a big difference. 

We better keep an eye on this ...

/gustav

>>> shamil at users.mns.ru 31-03-2008 18:56 >>>
<<<
But Web Services was introduced with VS2005
>>>
Hello Gustav,

AFAIK they (SOAP/WSDL based web services) were in ASP.NET and VS from the
first version - 1.0....

The link I posted here as a "big thing" is about *RESTful* Web Services -
and these RESTful ones are different in principle from SOAP/WSDL based web
services. 

RESTFul web services development is supported starting VS2008 only...

The great news about RESTFul web services is that they do not need anything
than base HTTP 1.1 (?) protocol support IOW they cam be implemented,
released and consumed by literally any Internet tools and technologies
running on HTTP...

--
Shamil
 
-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com 
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock
Sent: Monday, March 31, 2008 8:28 PM
To: dba-vb at databaseadvisors.com 
Subject: Re: [dba-VB] Article: LINQ and stored procedures

Hi Shamil

But Web Services was introduced with VS2005. I haven't looked at this in
VS2008 - have they been improved in some way?

While your first link is interesting, I think I will leave the book it
refers to as I anyway would rely on whatever MS has implemented in VS to
create a Web Services - for the client side as well as the server side. I
wouldn't into the underlying mechanics of this anyway.

The other link, however, contains a brief but good explanation of the
principles. What indeed caught my eye was this:

<quote>
2. Create a URL to each resource. The resources should be nouns, not verbs.
For example, do not use this:

http://www.parts-depot.com/parts/getPart?id=00345 

Note the verb, getPart. Instead, use a noun:

http://www.parts-depot.com/parts/00345 
</quote>

I have never thought of it this way but makes good sense if you regard the
information you retrieve as objects.

Currently neither we or our clients have a use for a Web Service but I will
keep looking for a good example.
A favourite of mine for a free public service would be lookup of postal
codes but the postal companies are so old fashioned.

/gustav



>>> shamil at users.mns.ru 31-03-2008 16:14 >>>
Hi Gustav,

Thank you.

That info arrived just in time! :) I have started preparation to VS2008
transition today, and I do plan to start using LINQ as much as possible in
the applications I'm developing...

BTW, I think another big thing to consider is "RESTful Web Services" - 

http://www.crummy.com/writing/RESTful-Web-Services/  
http://www.xfront.com/REST-Web-Services.html 

This concept is not from MS originally but MS released features to develop
such services in VS2008...

This REST and Resource Oriented Architecture (ROA) and RESTful web services
could be a real breakthrough for many useful and easy to handle generic way
web services to appear...


--
Shamil






More information about the dba-VB mailing list