The Breakthrough asp+ Technology

Source: Internet
Author: User
Tags html page include new features visual studio
asp+ since 1996 Microsoft launched ASP1.0, Asp+iis's portfolio in the network war with Cgi+php+apache, and did not obtain "Microsoft-style" advantage, but because
For security, execution efficiency, procedural syntax, and cross-platform issues are repeatedly criticized.

As Microsoft recently announced. NET strategy, ASP is also about to upgrade to the "next version", called asp+. Please note this quotation mark because asp+ is not currently ASP3.0
Version of the natural transition, but provides a new server-side web scripting, writing asp+ page and generate ASP page is fundamentally different! First of all, asp+ is a
Compiled scripting language, and second, asp+ programs can be written in almost any language because of significant progress, although asp+ has not yet conducted public beta tests, it
has aroused the attention of many ASP users around the world and eager! Hope that the following introduction, can help you a glimpse of asp+ technology.

1, asp+ operating platform and programming language

There are currently asp+ that support personal User level and will run on Win9x, including Windows 98 and Windows ME. Although this is not a Web server environment, it will construct
into a local development platform on which to build Web applications that are suitable for local running.

However, although asp+ technology can be used on Win9x, it is recommended that you upgrade to win2x.

Asp+ can be run efficiently on the Win2K Professional Edition, with no servers, stronger than the Win9x version, and supports all versions and full functionality.

Asp+ can be run on IIS5 or IIS4. and realize the parallel operation with your existing ASP system, so the existing ASP application can run as usual.

You can use Visual Studio 6来 to write asp+ applications, and of course you can work with text editors such as Notepad. You can also use Visual Studio 7, while the VS7 band
There are the WYSIWYG VB for asp+, C # (Microsoft's newest integrated Java and C + + new programming languages, Introduction) and C + + designer and debugger.

Asp+ Although VB programming by default, but you can set other programming languages. You can say that asp+ allows you to use any language you like to make pages, apps, and components.
Ride!

Currently, there are VB, C #, and JScript that support asp+ programming. In the next few months there will be as many as 19 languages to announce support for asp+. These languages include: Cobol,perl,
Python,eiffel,smalltalk,lisp,scheme,objective camel and so on.

From a development point of view, it makes sense to choose the language that best suits you and eventually achieve mastery. Thankfully, Asp+ provides a unified run and
Debug environment where you can reference any conformance. NET architecture's APIs, such as Eventlogs,perfcounters,dataaccess. As long as you feel handy,
Rate can be improved.

2. New features and functions of asp+ asp+ A new session management mechanism

Asp+ does not rely on SQL Server or LDAP for session management. and offers two new features:

i) non-cookie session: In relation to the client record SessionID cookie, we move the Sessionidz and encapsulate it into the URL so that even if the browser
Cookie support is turned off and session management can still be used. This process is done automatically without changing the program code, and it works for both static and dynamic content, and you
You can close a static HTML page, or a link to a dynamic page, and the session will remain in effect.

II) External session state support: You can save the session value to an external state storage unit without involving asp+ existing worker processes. This design makes
Session state can span different worker processes and even multiple machines, providing better reliability and built-in Web cluster support.

The asp+ state Store is a dedicated NT service that hosts asp+ encoding while supporting the direct storage of session data to SQL Server. The latter option has a better
extensibility, but requires you to purchase SQL Server.

It is noteworthy that the above two state options are completely not cross interference. Both can be used at the same time, or they can be used separately. Furthermore, the external state store is inserted
piece design, which means that a third party can design plug-ins that support the storage model.

b compiler, caching mechanism and new ado+

asp+ pages can be compiled using compilers that conform to the NGWS (Microsoft Next-generation Windows architecture) specification, including the compiler for all Visual Studio products, such as
Vb,vc++,java and C # also include other compilers that conform to this specification, such as the Perl compiler that conforms to the NGWS run mode.

The compiled asp+ provides a data caching pattern. Because the maximum latency and bottleneck affecting Web performance comes from data access, this mechanism allows you to decide when to cache ASP
The data on the page and when the cache is cleared and the data query is executed again.

Provides ado+ in asp+, which is easier to use than ADO. ado+ treats data as an n-dimensional object, whereas in ADO, the data representation is only 2-dimensional rows and columns, thus ado+ processing
Data is more flexible and efficient.

In terms of implementation efficiency, the speed of asp+ has been greatly improved. Asp+ adopts a new multithreaded access mechanism based on line threading, which can be used for asynchronous read/write operations, instead of
The reuse of an unfinished thread avoids the worker process blocking that may result from acquiring or updating a state, thereby significantly increasing system throughput, which the previous ASP could not achieve
Because the ASP only uses Single-threaded Access line threading and cannot perform asynchronous operations.

3, asp+ and ASP compatibility and migration tools

Microsoft offers an ASP to asp+ application porting package. When some applications need to be modified to accommodate asp+, they can be used to differentiate or upgrade program code. Luckily, asp+.
Can be compatible with existing ASP, so you can gradually transfer existing ASP applications to asp+, plus the porting Toolkit, the upgrade process is easy.

Asp+ is in the middle of a small-scale beta test, and the release of public beta tests is in the making, and software is being distributed around the beginning of September. At the just-held professional developer conference
, Microsoft has distributed beta code to 7000 of people, leading to worldwide attention and discussion.

With the increasing popularity and popularization of Web, Web server programming technology solutions are emerging, competition is increasingly fierce. Simple scripting language because of its coarse syntax
Slightly, explain the implementation of congenital deficiencies and be challenged. Object-oriented, integrated with the server, the compiled technical solution will become a trend.



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.