The Future According to ASP+

As both an ASP and JSP programmer, I started a series of articles
to examine the differences between ASP and JSP. After I released
part one and part four of the articles, ASP+ was announced. ASP+
changes the game to the point that I delayed writing additional
articles until I could examine ASP+ in greater detail.

I am currently working on a JSP project and on a separate ASP
project.  The ASP project itself is very interesting.  It is
starting off in ASP 3.0 and will be translated into ASP+ by time
the project is be done. As a result of these projects I will be able
to examine ASP+ closely, providing solid ASP+ to JSP comparisons.

This article presents my early observations of ASP+ and the impact
it has on an average developer such as myself.

In an initial comparison of ASP+ and JSP I found the following:

1) Object Orientation:
   ASP+ introduces C# as an object oriented language. In many respects
   it will become Microsoft's version of a Java-like language. The
   other fun fact about C# is that every object created automatically
   becomes a COM object. What this all boils down to is, if C# lives
   up to all or even 75% the marketing hype, it will give ASP+ Java-
   like capabilities but with faster performance due to its tight
   coupling with the Windows environment. C# is the single most
   important improvement for ASP+ development.

   Microsoft has engineered C# to be a stiff competitor of Java.
   It is a major part of Microsoft's reinvention of their .Net
   framework. I see C# as Microsoft's push to be the dominant player
   in the programming market place. I expect to see Microsoft put its
   full weight behind this product. As a result of all this, it's a
   safe bet C# will become the language of choice for many programmers. 

   The consequence of C# will be the intensification of the battle
   lines between the Sun and Microsoft product lines. This actually
   will be of benefit to the consumer, as it will spur both Java
   and C# to new improvements.
  
2) Database Connectivity:
   The one place that ASP really shines is in the use of the ADO
   Object, ODBC, OLE-DB and the Transaction Manager. Among all
   these pieces it is very easy to build fast and simple  ASP
   database web applications. ASP+ takes all this and marches onward
   to even more features, while ADO+ is being released with even
   more enhancements and speed boosts. JSP and JDBC currently lag
   behind in ease of use and features when compared to the current
   implementation of ASP/ADO. With the new release of ASP+/ADO+ the
   gap with JSP will widen even further.  I personally hope SUN will
   put serious effort into catching up with ASP+/ADO+ combination.

3) Large Scale Sites:
   ASP+ will have better support for large web farms. In fact,
   Microsoft is pushing this idea pretty hard. ASP+ wants you to
   think in terms of multiple servers. As you need more power, just
   add an extra server. The whole .Net framework has solidly embraced
   this methodology. ASP+ introduces external session state support
   providing built-in web farm support.  In addition, since all the
   components required to support a web farm are built fully optimized
   with each other, it will be fast.  The end result is that ASP+ will
   now equal JSP in its ability to scale to large projects. In fact,
   ASP+ will have a cost benefit over JSP since all the components
   will be part of your server operating system from Microsoft. In JSP,
   you currently need to purchase expensive Server Application servers
   to achieve similar results.

4) ASP+ offers many other new features that I will review in more detail
   in future issues. For example,
      *Built-in object caching and page result caching.
      *Built-in XML support for easy handling of XML data sets.
      *Server controls which offer fuller interactive controls to
       be used on the client page. Initial indications, however,
       show these are costly items in terms of round trips to use.

I am finding that ASP+ truly expands what is possible in ASP.

My preliminary conclusion, after looking at ASP+, is the majority
of my future projects will still be Java and JSP based. The three
reasons for this are:

1) To really unlock the full potential of ASP+ you will need to use
   C# or vb.net. These two languages will become the standard
   scripting heart of ASP+.

   This is a good thing for the future of ASP. I never liked
   building com objects in the current version of Visual Basic.
   The new scripting heart of ASP+ is a substantial improvement
   over ASP and will really energize the possibilities of web
   applications built within ASP+.

   All of the new development in ASP+ is making it clear I need
   to make a personal decision to choose the language into which I
   desire to put the most time and effort. I learned Java back when
   it all started and I feel Java is a language that will be around
   for the rest of my programming career. As a result, JSP is my
   primary choice for web development. When my current ASP project is
   done, I will reconsider if C# convinces me to re-gear my programming
   tool belt.  As I am now a big JSP fan, if Microsoft converts me,
   it has a real winner! I suppose I am taking the ASP+ challenge.

2) ASP+ is still pretty squarely locked into Microsoft's operating
   system. JSP has a major edge over ASP+ in its flexibility to work
   on other server configurations.  Keeping in mind, however, the
   rising predominance of the Windows 2000 operating system, this
   won't be a problem for many developers.

3) I am not sure if I agree with aspects of the new ASP+ architecture.
   I need to perform a more in-depth analysis on several issues before
   feeling comfortable with ASP+. As a result, I am hesitant to plan on
   using it for future projects. This may change after I have used it
   for a month or two. After all, this is a high level overview of a
   beta product. I will provided more information in a future in-depth
   review of ASP+.

As an ASP developer, ASP+ gives me pause to think. The next eight
months are going to be a hard time to start a new ASP project. Why? 
ASP+ and C# introduce a dilemma for development shops as they aren't
available yet and won't be introduced until the first quarter of
2001. This means if you are starting a new project now you are
faced with some seriously hard choices. I am in charge of setting
up the technical aspects of such projects and appreciate these
considerations.

Since ASP+ is only available as beta software it makes my first
choice easier. My current project will start in ASP 3.0. I consider
any beta language to be vaporware until the production release is
available.

I cannot ignore ASP+, however, as in six months it will be available
and it represents the future of ASP. Managers of ASP projects in
production now or in the near future should consider how to ensure
migration to ASP+ will occur as smoothly as possible. While a savvy
design will ensure a smooth upgrade to ASP+, the cost for development
increases as extra time is spent in creating and implementing the
design, as well as implementing the upgrade.  This approach is sensible,
however, to prevent even higher costs over the long term when the final
upgrade does happen.

A side effect of all this is that it makes both PHP and JSP more 
attractive alternatives to ASP for the near future.  After all,

   1) To use ASP+ you will need some extra time to learn new tools.

   2) The new tools are still to be released, so why not look at
      something that currently exists?

   3) JSP already has many of the new features of ASP+.

   4) ASP+ locks you down into a Microsoft-only architecture.
      (I have read one news story about Microsoft porting .Net to
      Linux, but I discount this as being unrealistic at this
      point in time. Until the code is released, it fits in my
      vaporware category.)

As a result, I predict quite a few people will make the leap into PHP
and JSP. However, I also feel many people will stay the course due to
the sheer excitement that ASP+ brings to the field. (I have never seen
such an explosion of material for any beta programming product). Below
is a VS.net article which nicely illustrates both of these points.

For something that started as freeware, ASP+ has grown to become a
cornerstone of Microsoft's .Net framework.  Sun may find a lesson in
this.  Extra caution and care, however, is warranted when upgrading
to ASP+ as it is being integrated with so many other products and
the overall size of the .Net framework is so large.  I usually wait
for the first service pack of any product before assuming it is safe
to use in a production environment. So, even if ASP+ is released in
the first quarter of 2001, for planning purposes, I am not expecting
ASP+ to be ready for my production environment until second quarter
of 2001. Of course, since ASP+ has generated so much excitement, many
shops will switch over to ASP+ as soon as it becomes available. In fact
I have already come across ASP web sites using the beta release ASP+!
For example, the link to the ASP+ site I reference below is written in
ASP+, you can tell by the .aspx extension. All this suggests to me
that Microsoft will release the first service pack for ASP+ in record time. 

The next year will be a very interesting time to watch the marketplace,
how Sun and Microsoft react to the current situation and what choices
programmers will make.

ADDITIONAL REFERENCES

First Look at VS.net  (DevX 9/2000)

FAQ on ASP+  (ASPFree.com)

Another View on .Net (Jim Farley 8/2000) (A very good analysis of .Net)

时间: 2024-09-17 03:48:41

The Future According to ASP+的相关文章

ASP+和JSP之间的抉择(转载)

asp+|js /*转自jsp中国论坛另:Blueski是谁?特此致谢*/ ///***********************************以下为内容{Blueski为您编译.原文名:JSP VS ASP Part 2: The Future According to ASP+英文作者没有记下,非常抱歉} 由于我同时是ASP和JSP的程序员,所以正开始写一系列的文章来比较两者的差别,当我写到一半时,ASP+被宣布了,所以我在重新开始审视这个问题.我正在做一个JSP项目和一个ASP项目

ASP+和JSP之间的抉择

Blueski为您编译. 原文名:JSP VS ASP Part 2: The Future According to ASP+ 英文作者没有记下,非常抱歉 由于我同时是ASP和JSP的程序员,所以正开始写一系列的文章来比较两者的差别, 当我写到一半时,ASP+被宣布了,所以我在重新开始审视这个问题. 我正在做一个JSP项目和一个ASP项目,后者十分有趣,因为它开始是采用ASP3.0, 但当项目结束后我会将转换为ASP+.那时我将可以对ASP+有更近的考察,并提供更好的 ASP+和JSP的比较.

AJAX/VS2005-ajax+vs2005新特色

AJAX/VS2005-ajax+vs2005新特色     关注ajax(Asynchronous JavaScript and XML) 好长时间了,现在vs2005也正式发布了    vs2005上的新特性无刷新技术是用到了ajax ,ajax 看来要在vs2005上放光异彩了.    看看官方的介绍    AJAX (Asynchronous JavaScript and XML) describes a cross-platform, client-centric approach t

ASP 3.0高级编程(三十五)

编程|高级 7.5.1 常规调试技术在第2章中,已经看到如何使用Response.Write方法以及Request集合来显示集合的内容.如果代码要使用来自请求的值,首先要做的是保证所需的值存在.很容易出现的问题是错拼或改变的<FORM>网页中HTML控件的名字,或者创建附加在URL后面的查询字符串时出现了错误的客户端.1. 显示各种集合内容当程序试图使用用户提供的值运行时,可能没有得到所期望的结果,或者什么结果也没得到.记住,引用Request对象的集合中一个并不存在的值(例如,在窗体上没有一

调试ASP.NET程序时出现“The Project Is Not Configured to Be Debugged”错误信息

asp.net|debug|程序|错误 SYMPTOMS When you debug an ASP.NET application in Visual Studio .NET, you may receive the following error message: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be

在ASP.NET中防止注入攻击[翻译]

asp.net|攻击 出处: MSDN翻译:云中城 BLOG 应用范围: ASP.NET vertion 1.1 ASP.NET vertion 2.0   概要: 文本主要介绍如何校验用户输入从而防止注入式攻击.校验用户输入是非常必要的,几乎所有程序级的攻击都包含恶意输入的手段. 你应该校验包括字段,查询字串参数,Cookie等一切用户输入项来保护你的程序免受注入攻击.你得假设所有的用户输入都是恶意的,确保在服务器端对所有的用户输入进行校验.使用基于客户端的验证可以减少页面的住返次数,改进性能

在ASP.NET中防止注入攻击

asp.net|攻击 目的: 对输入的字串长度,范围,格式和类型进行约束. 在开发ASP.NET程序时使用请求验证防止注入攻击. 使用ASP.NET验证控件进行输入验证. 对不安全的输出编码. 使用命令参数集模式防止注入攻击. 防止错误的详细信息被返回到客户端. 概述 : 你应该在程序中验证所有的不信任输入.你应该假定所有的用户输入都是非法的.用户可以在应用程序中提供表单字段,查询字串,客户端cookies和浏览器环境值比如用户代理字串和IP地址等. 弱输入校验通常为注入攻击提供了机会.下面是常

由于未处理服务器端代码而导致 ASP.NET 页出现意外情况

asp.net|服务器 症状运行时表现出的症状当您在 Microsoft ASP.NET Web 应用程序中查看 .aspx 页时,可能会遇到下列症状: • 浏览器中可能会出现空白页. • 可能会收到下载 .aspx 页的指令. 典型的现象是 .aspx 页的服务器端代码被处理,然后这些代码不以其原始形式发送到 Web 浏览器. 在使用 Visual Studio .NET 调试 ASP.NET 时表现出的症状当您在 Microsoft Visual Studio .NET 中调试 ASP.NE

Caching in ASP.NET

asp.net The majority [if not all] of the pages in a dynamic website are dynamic. That is, pages that are created on user request. As we all know, dynamic web pages help to provide dynamic content, customized for the user requesting the page [e.g.: th