Re: C# vs. ASP for web services?

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Cowboy \(Gregory A. Beamer\) [MVP] (NoSpamMgbworld_at_comcast.netNoSpamM)
Date: 08/17/04


Date: Tue, 17 Aug 2004 07:28:20 -0500


"Brett" <Brett@discussions.microsoft.com> wrote in message
news:17F90A70-EF49-4B49-BF04-E6050C09CB5D@microsoft.com...
> I want to use .NET for writing web services that will mainly call SQL
Server
> (2000) stored procedures in a database. What are the
> advantages/disadvantages of using C# vs. ASP and vice versa?

I assume you mean classic ASP versus ASP.NET (.ASMX web services). Simple:
With the newer methodology (ASMX with either C# or VB.NET), you save tons of
time and they run faster. Benefits of ASP version: Familiarity? If you come
from ColdFusion, you will not find this much of a benefit.

If you can get .NET installed on the server, it is a no-brainer: ASMX
(ASP.NET) based web services are a lot easier to code and maintain. They
also run faster.

> Also, if any one is familiar with ColdFusion MX, what are the
> advantages/disadvantages of using .NET (one of the two languages above) to
> write the same web service vs. using CFMX?

Primarily speed on an equivalent platform. In addition .NET will write your
WSDL for you if you use ASMX based services.

-- 
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
************************************************
Think Outside the Box!
************************************************


Relevant Pages

  • Re: Windows Server 2008 or IIS7?
    ... Running this script will place into IIS all the ASP.Net stuff (*.aspx, *.asmx, *.ashx, etc.) needed to run ASP.Net pages, web services, and such? ... "Mr. Arnold" wrote in message ... there is nothing on .asmx. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Web Svc VS remote component hosted in IIS
    ... it may not help you to know that web services ... performance degredation and put asmx based web services on a par with ... it is insisted that IIS hosted remoting be used. ... > Reference to the remote object in question. ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: WCF to support existing ASP.NET 2.0 (ASMX) web services
    ... What do we need to watch for when upgrading old (.asmx) web services to new ... What do we need to take care off in order not to break existing clients? ... new interface? ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: How to build a WCF service from an existing WSDL
    ... are too many performance hit by using the ASMX, ... of data via web services. ... If we cannot use WCF, we will have to dump .Net ... WSDL in any way. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: no Web Services Extension
    ... Web Service Extensions is ... I installed IIS on a computer running Windows NT 2000. ... ASP, ASP.NET are disabled. ... Trouble is, when I expand the local computer, there is no Web Services ...
    (microsoft.public.inetserver.iis)