473,402 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

Benefits ASP.NET over CGI

Hi,

I need to make a small web-application and was thinking about doing it
in ASP.NET. Another developer (which is also network engineer) says it
is hazardous to run .NET on his IIS server.
He asks me why not do it in CGI which will be much faster and offers
more flexibility.
I thought ASP.NET was faster but I'm not sure. Can somebody give me
concrete benefits of using ASP.NET over CGI (and vice versa).
The application will need to connect to a SQL server and have some
comboboxes and a grid.
--
Kind regards,

Stijn Verrept.
Nov 18 '05 #1
13 3919
CGI is an older technology. CGI was practically the first way to produce
dynamic content for websites. CGI applications have quite a few drawbacks
ISAPI/ASP.NET applications. Speed/Performance and scalability being the
primary issues with CGI that the ISAPI technology addresses. There are a
number of frameworks that are built on top of the ISAPI technology. In other
words the primary engine is an ISAPI. They are (to name a few)
1. ASP
2, ASP.NET
3. Cold Fusion
4. Java Server Pages (JSP)

They all use ISAPI engines (and not CGI).

--
Shiv R. Kumar
http://www.matlus.com
Nov 18 '05 #2
If he thinks its hazardous to run ASP.NET then he doesnt know what he is
talking about.
"Stijn Verrept" <stijn@no_s.p.a.n.entrysoft.com> wrote in message
news:40*********************@news.skynet.be...
Hi,

I need to make a small web-application and was thinking about doing it
in ASP.NET. Another developer (which is also network engineer) says it
is hazardous to run .NET on his IIS server.
He asks me why not do it in CGI which will be much faster and offers
more flexibility.
I thought ASP.NET was faster but I'm not sure. Can somebody give me
concrete benefits of using ASP.NET over CGI (and vice versa).
The application will need to connect to a SQL server and have some
comboboxes and a grid.
--
Kind regards,

Stijn Verrept.

Nov 18 '05 #3
Showjumper wrote:
If he thinks its hazardous to run ASP.NET then he doesnt know what he
is talking about.

Maybe but that's not an answer to my question.

--
Kind regards,

Stijn Verrept.
Nov 18 '05 #4
Shiv Kumar wrote:
CGI is an older technology. CGI was practically the first way to
produce dynamic content for websites. CGI applications have quite a
few drawbacks ISAPI/ASP.NET applications. Speed/Performance and
scalability being the primary issues with CGI that the ISAPI
technology addresses. There are a number of frameworks that are built
on top of the ISAPI technology. In other words the primary engine is
an ISAPI. They are (to name a few) 1. ASP
2, ASP.NET
3. Cold Fusion
4. Java Server Pages (JSP)

They all use ISAPI engines (and not CGI).


Thanks for your answer, so performance is 1 benefit, any other?
--
Kind regards,

Stijn Verrept.
Nov 18 '05 #5
> Thanks for your answer, so performance is 1 benefit, any other?

There are too many to enumerate. How would you answer the question "What is
the benefit of a windowed 32-bit Operating System over DOS?" It's about the
same kind of question.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Stijn Verrept" <stijn@no_s.p.a.n.entrysoft.com> wrote in message
news:40*********************@news.skynet.be... Shiv Kumar wrote:
CGI is an older technology. CGI was practically the first way to
produce dynamic content for websites. CGI applications have quite a
few drawbacks ISAPI/ASP.NET applications. Speed/Performance and
scalability being the primary issues with CGI that the ISAPI
technology addresses. There are a number of frameworks that are built
on top of the ISAPI technology. In other words the primary engine is
an ISAPI. They are (to name a few) 1. ASP
2, ASP.NET
3. Cold Fusion
4. Java Server Pages (JSP)

They all use ISAPI engines (and not CGI).


Thanks for your answer, so performance is 1 benefit, any other?
--
Kind regards,

Stijn Verrept.

Nov 18 '05 #6
Kevin Spencer wrote:
Thanks for your answer, so performance is 1 benefit, any other?


There are too many to enumerate. How would you answer the question
"What is the benefit of a windowed 32-bit Operating System over DOS?"
It's about the same kind of question.


Ok I understand, but is there a paper on the net about this? There
must be a list of benefits why to use ASP.NET and not CGI, ASP, ...
--
Kind regards,

Stijn Verrept.
Nov 18 '05 #7
You can read all about ASP.Net on the Microsoft web site. You might want to
start at http://msdn.microsoft.com/asp.net/. I don't think you'll find much
of anything comparing ASP.Net to CGI, for the same reason that you won't
find anything comparing Windows Server 2003 to DOS. CGI is nearly obsolete.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Stijn Verrept" <stijn@no_s.p.a.n.entrysoft.com> wrote in message
news:40*********************@news.skynet.be...
Kevin Spencer wrote:
Thanks for your answer, so performance is 1 benefit, any other?


There are too many to enumerate. How would you answer the question
"What is the benefit of a windowed 32-bit Operating System over DOS?"
It's about the same kind of question.


Ok I understand, but is there a paper on the net about this? There
must be a list of benefits why to use ASP.NET and not CGI, ASP, ...
--
Kind regards,

Stijn Verrept.

Nov 18 '05 #8
I have an article on my website that talks about ISAPI or CGI/ASP. In my
tutorials section - Building ISAPI Applications using Delphi -
Articles -ISAPI versus CGI/ASP.

There was a great link to Microsoft's website (which is not valid anymore)
that clearly showed the performance difference between ISAPI, ASP and CGI

ISAPI/ASP.NET applications are typically multi-threaded and threads once
spawned are cached for re-use. With IIS most ISAPI frameworks (ASP.NET
included) can (and do) avail of thread pooling (using I/O completion ports)
which further improved performance and scalability.

On the one hand we are comparing the two frameworks. CGI versus ISAPI, and
yes, the primary benefits of ISAPI over CGI is performance and scalability.
On the other hand, built on top of this framework are tool sets such as
ASP.NET that are very extensive. CGI has no such framework. So productivity
is another advantage.

Plus due to the nature of CGI applications, they can't be debugged (set
break points, see values of variables etc.).

--
Shiv R. Kumar
http://www.matlus.com
"Stijn Verrept" <stijn@no_s.p.a.n.entrysoft.com> wrote in message
news:40*********************@news.skynet.be...
Kevin Spencer wrote:
Thanks for your answer, so performance is 1 benefit, any other?


There are too many to enumerate. How would you answer the question
"What is the benefit of a windowed 32-bit Operating System over DOS?"
It's about the same kind of question.


Ok I understand, but is there a paper on the net about this? There
must be a list of benefits why to use ASP.NET and not CGI, ASP, ...
--
Kind regards,

Stijn Verrept.

Nov 18 '05 #9
Shiv Kumar wrote:
I have an article on my website that talks about ISAPI or CGI/ASP. In
my tutorials section - Building ISAPI Applications using Delphi -
Articles -ISAPI versus CGI/ASP.

Thanks for the info!!!
--
Kind regards,

Stijn Verrept.
Nov 18 '05 #10
yj

For one thing , CGI is much slower than some of the other legacy technologies
(e.g., ASP). and much, much, much slower than current technologies (JSP,
Webspheres, ASP.NET).

Also, CGI is not very flexible. You are very limited with what you can do.

Development time will take, many, many, many times longer using this old
technology. Developing a CGI is, put very simply,. very time consuming. ASP,
JSP and Websphere takes up a much shorter time and ASP.NET takes up even less
time than JSP, Websphere and ASP.

Finally, ASP.NET uses the .NET Framework which means the managed code
paradigm, which means that you are always using safe code (you can bypass this
and use unmanaged code, if you want, but you rarely have to with .NET web
apps). So your apps are safe -- much safer than with older technologies, such
as ASP and, much, much, much safer than with technologes from the dawn of the
internet (i.e., CGI). Using the Framework also means access to over 3,500
classes, many third-party add-ins as well as the .NET Framework's built-in
accessibility to many data access methods and platforms (Oracle, DB2, MySQL,
SQL Server, Access, XML, MS-Office, etc. etc.) thanks to ADO,.NET. Did I
mention web services.

I could go on, but you get the idea.

Nov 18 '05 #11
yj wrote:

I could go on, but you get the idea.


Thanks! The decision has fallen and it's going to be ASP.NET :) :) :)

--
Kind regards,

Stijn Verrept.
Nov 18 '05 #12
What took you so long!!!!!!!! ;)

"Stijn Verrept" <stijn@no_s.p.a.n.entrysoft.com> wrote in message
news:40*********************@news.skynet.be...
yj wrote:

I could go on, but you get the idea.


Thanks! The decision has fallen and it's going to be ASP.NET :) :) :)

--
Kind regards,

Stijn Verrept.

Nov 18 '05 #13
What took you so long!!!!!!!! ;)

"Stijn Verrept" <stijn@no_s.p.a.n.entrysoft.com> wrote in message
news:40*********************@news.skynet.be...
yj wrote:

I could go on, but you get the idea.


Thanks! The decision has fallen and it's going to be ASP.NET :) :) :)

--
Kind regards,

Stijn Verrept.

Nov 18 '05 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: jova | last post by:
What are some of the benefits of using a hash table data structure?
0
by: Hamed | last post by:
Hello I have employed as a developer in a software company that its team uses FoxPro / VB 6.0 / VC++ 6.0 as the developing tools and newly is going to migrate to VS.NET. There is a project...
4
by: Keith A. Rowe | last post by:
Please direct me to unbiased resources that discuss the benefits of implementing .NET in the enterprise. Some MS materials are okay, but I need to quote nuetral third parties. I am a developer...
6
by: news | last post by:
I need some concise, easy to grok examples of what .Net (preferably C#.Net) has over just using old ASP or PHP with JavaScript. See, I'm a PHP guy, and while I started server-side scripting with...
4
by: Mrinal Kamboj | last post by:
Hi , Doubt may be bit trivial , but i wanted to know , what are the exact benefits derived while we run a background process as an NT service in windows , we can as well achieve the...
5
by: Jeff S | last post by:
Okay, I just finally figured out the Model View Presenter pattern as presented by Martin Fowler (http://www.martinfowler.com/eaaDev/ModelViewPresenter.html). I even got a small model of it working...
0
by: mike | last post by:
Apart from the substantial benefits of huge bufferpools, in 64-bit instances what other benefits are associated with 64-bit db2 instances, on LUW platforms, that are not available with 32-bit...
5
by: mclueless | last post by:
Can n e one tell me the benefits of using an MDI form??? In my project (vb6 n access) i have a main form from where the control goes to other forms depending upon what option the user selects. I...
1
by: Critical Skills, Inc. | last post by:
Oracle Advanced Benefits Analyst / Lead Start: 08/15/2004 End: 03/01/2005 Pay Rate: $80 - $85 per hour Job Duties: Must be open to travel. Must have designed and implemented...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.