Programming

2013 年 10 月 20 日2,9540

ASP.NET occurs as placed of web development technologies marketed by Microsoft. Coder may let it run to build dynamic web sites, web applications and XML web services. These are a portion of Microsoft's .NET platform and is the successor to Microsoft's Active Server Pages technology.

Principles of ASP.NET

Potentially though ASP.NET requires its title from either Microsoft's old web development technology, ASP (Active Server Pages), them differ widely. Microsoft has wholly rebuilt ASP.NET, according to a CLR shared by all Microsoft .NET applications. Software engineer might write ASP.Nett code utilizing any of the different programing language supported per .NET framework, usually (proprietary) Visual Basic.NET, JScript .NET, or (standardized) C#, but also including open-source languages such as Perl and Python. ASP.NET is sooner because a entire webPlaces is precompiled to 1 or even two or three dll files in a Web Server & a Web Site diarrhea sooner in comparison the former scripting technology.

ASP.Nett tries to simplify developers' transition from either Windows application development to web development by allowing the two to build web sites composed of controls similar to a Windows user interface. The web control, like the button or even label, functions inside a good deal a equivalent way when its Windows counterpart: code could assign its properties & respond to its cases. Controls understand training render themselves: whereas Windows controls draw themselves to the screen, web controls create segments of HTML which form part of the sequent home sent to the prevent-user's web browser.

ASP.NET encourages a coder to have applications applying an event-driven GUI paradigm, rather than in the conventional web scripting fashion. A framework tries to combine existent technologies like with internal components like "Viewstate" to bring lasting (inter-asking) state to the inherently stateless web environment.

ASP.NET utilizes a .NET Framework as an infrastructure. A .Nett Framework offers the managed runtime environment (prefer Java), providing a virtual machine with JIT and a class library.

A many .Nett controls, classes & informatiin potty cut down on development instance by providing the rich placed of features for green programming tasks. Information access will bring 1 case, & comes tightly coupled by using ASP.NET. The creator may produce the site to display the listings of records within the database, e.g., significantly extra readily utilizing ASP.NET than sustaining ASP.

Advantages of ASP.NET over ASP

Compiled code means applications redo sooner by having supplementary errors treed at a development stage

User-defined controls allow unremarkably utilized templates, such as menus

Similar metaphors to Windows applications (e.g. controls) produce transition between them straightforward

a rich placed of controls & class libraries allows the rapid building of applications

Ability to cache the whole document, partly cache a website applying UserControls or even cache application information to improve performance.

Whenever an ASP.Nett application leaks memory, so a ASP.Nett runtime unloads the AppDomaaround hosting a error-prone application & reloads a application in a newly AppDomain.

Session state within ASP.NET may be redeemed inside the SQL Server database or even even inside the separate run running off within the equivalent machine when WebServer or in the different machine. That way session values are non misused after a Deuce is reset or even a ASP.Nett worker run is recycled.

Disadvantages to other platforms

Runs natively sole in IIS5 or higher & Cassini, the web server developed around .nett & utilized principally using WebMatrix, the loose asp.net Single.Unity development environment, but it may begin in Linux in any of a guide frameworks according to the ECMA standard. A virtually all swell known of these is Mono Project, a free/opensource framework.

Generated HTML4.0/ is partly non-standard, a non-standard HTML/JavaScript may act better around Microsoft Internet Explorer. By having a advent of ASP.Net Ii.Nought completely controls might generate valid HTML4.0, or even XHTML1.0 (Default) or even XHTML1.1 based on the places configuration & . A few of the "richer" (list controls) even so utilize table depending layouts, however, it however works swell if you're applying DIVs/CSS.

Development tools

Many available computer software packages survive for getting ASP.Nett applications:

Visual Studio .NET

ASP.NET Web Matrix

Macromedia Dreamweaver MX 2004

Macromedia HomeSite 5.5 (For ASP Tags)

Visual Web Developer 2005 Express Edition (for ASP.NET 2.Cypher)

Delphi 2005

Current version

Microsoft presently ships version One.I, & ASP.NET Ii.Cipher Beta Two is available by having Visual Studio Beta Two. Presently, ASP.NET Two.Cipher enables users to choose applications rest on top of Betthe Two into production by signing a favorite, loose Last-Survive license.

ASP.NET Team Members

Various ASP.Nett team members maintain blogs. On text come occasionally of the two:

Scott Guthrie, Product Unit Manager - [http://http://www.zjjv.com///scottgu http://http://www.zjjv.com///scottgu]

Nikhil Kothari, Architect - [http://http://www.zjjv.com// http://http://www.zjjv.com//]

Brian Goldfarb, Product Manager - [http://http://www.zjjv.com///bgold http://http://www.zjjv.com///bgold]


Computers: Programming: Component Frameworks: COM

Computers: Programming: Languages: Interpreted

© 2005 GeneralAnswers.org

0 0