tpblog

After the request has been processed, the instance of the page class is discarded and with it the entire control tree. This is a source of confusion among novice ASP.NET programmers who rely on class instance members that are lost with every page request/response cycle.
[edit] State management

ASP.NET applications are hosted by a Web server and are accessed using the stateless HTTP protocol. As such, if an application uses stateful interaction, it has to implement state management on its own. ASP.NET provides various functions for state management. Conceptually, Microsoft treats "state" as GUI state. Problems may arise if an application needs to keep track of "data state"; for example, a finite-state machine which may be in a transient state between requests (lazy evaluation) or which takes a long time to initialize. State management in ASP.NET pages with authentication can make Web scraping difficult or impossible.
[edit] Application


Panorama in China after 10 years of development has to take the minister a very big success. In order to give full play to the panorama of the huge role it received good social and economic benefits, we should panorama hall, topics and other aspects of a need to explore. The panorama and build a museum location is very important. China panorama operating status analysis, the difference of its existence, in addition to the fixed factors, some panorama pavilion built in the location is too remote, or transportation is not convenient, long-term in the past is bound to affect the number of visitors. Panorama Museum in the choice of built site, as far as possible to build in urban areas, or transportation facilities, close to the attractions of the place, but should also step up publicity efforts for the .
     
Shortcomings and inadequacies of China's panorama is the inevitable development. Caused by the panorama in the design deficiencies and weaknesses of the reasons are many, but similar subject matter content is the main reason. Subject to a number of objective constraints and impact on the time of creation of paintings, such as some memorial panorama must be completed within a limited time, creative unit can only be in a hurry, grab the progress and impact the quality of the panorama of the art. Creation time for us, the effect will be better.
    

 China is a vast country with a long history, rich in natural scenery and cultural history, we are fully qualified to engage in some novel and unique panorama, panorama more colorful in content and form, in order to avoid the current panorama creation exists The subject matter close to a similar problem. Such as the panorama of the performance of the ancient theme of the "Battle of Red Cliff" well, its emergence into a fresh, rich Chinese characteristics. We panorama should be promoted more than the creation of the characteristics of .
   
China panorama development efforts to broaden the panorama hall select and content topics. China's large land area, a large population, some of the outlying provinces, many people do not have the strength of the journey, to consider the points cast in the panorama hall site, do not build too much in one area panorama Museum to try to average panorama Building built in the provinces and regions, so that the National People can view this work of art.
   
Suggested that the relevant state departments to set up the management and guidance of the public art institutions, the panorama, the city, including sculptures and murals and public art planning, establishment, creation, development, research and other work tube. Panorama of the creative work, but also the introduction of the bidding mechanism, more creation units, more creative solutions successful, this will reduce some of .
 
The development of China's panorama is a long-term undertaking that requires the unremitting efforts of several generations, if the lack of long-term planning, it will affect the panorama career development. 2l century, with the further development of China's culture, arts, science and technology,
  

the comprehensive national strength has further strengthened the further attention of the society as a whole panorama of
Picasso, Picasso painting, Picasso paintings, Picasso cubism, Picasso paintings for sale, Picasso paintings blue period, Picasso paintings list, Picasso paintings images, Picasso paintings Guernica, Picasso paintings cubism, Pablo Picasso paintings names, Les Demoiselles d'Avignon
, we have reason to believe that the career of the panorama will usher in a prosperous and sustainable development of the excellent situation.
posted @ 2012-04-02 14:23 tpblog| 编辑 收藏
[edit] Code-behind solutions

<%@ Page Language="C#" CodeFile="SampleCodeBehind.aspx.cs" Inherits="Website.SampleCodeBehind"
AutoEventWireup="true" %>

The above tag is placed at the beginning of the ASPX file. The CodeFile property of the @ Page directive specifies the file (.cs or .vb or .fs) acting as the code-behind while the Inherits property specifies the Class from which the Page is derived. In this example, the @ Page directive is included in SampleCodeBehind.aspx, then SampleCodeBehind.aspx.cs acts as the code-behind for this page:

using System;
namespace Website
{
  public partial class SampleCodeBehind : System.Web.UI.Page
  {
    protected void Page_Load(object sender, EventArgs e)
    {
      Response.Write("Hello, world");
    }
  }
}

Imports System
Namespace Website
  Public Partial Class SampleCodeBehind
          Inherits System.Web.UI.Page
          Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
             Response.Write("Hello, world")
          End Sub
  End Class
End Namespace
 


but we should also further expand the panorama performance theme. Of panorama creation in artistic and personalized needs further exploration, not style conceptualization. In fact, the breadth of the panorama painting art performance space We have the ability to avoid such a "close relative" creative. The panorama of art and design should reflect the personality, the distance from one another personality. But some panorama is obvious in the design conceptualization. Panorama Laiwu campaign in the design of the lack of personality. The screen is
Botticelli, Sandro Botticelli, Botticelli paintings, Sandro Botticelli paintings, famous Botticelli paintings, Botticelli paintings for sale, Botticelli biography, The Birth of Venus, Primavera, Venus and Mars, Botticelli artwork, Botticelli paintings list, Botticelli paintings gallery, Sandro Botticelli art, Botticelli paintings florence,Botticelli famous paintings, Botticelli paintings images
, the lack of vertical and horizontal rhythm varied relations. Battlefield pyrotechnics layout design is also more scattered. Panorama Jinan Campaign "is a very good work, unfortunately, is painting some figures the proportion of the size of the design error, and even the shape is not accurate enough to make this outstanding works is there is a flaw. The overall color of the panorama, the environment, the characters portrayed style should be highly uniform, should not be differences.
   
Panorama Chungchon banks to surround and annihilate war ", the enemy flight Highway Department, our army to surround and annihilate at at Longyuan check, three obvious color change can be seen that the habit of . Panorama the Yuncheng battle ", figure painting style is also inconsistent. In the army to attack the city Department acted in a typical personal style of a northeast painting home. This panoramic view of the requirements of the unified realist style very consistent, resulting in the visual sense of discomfort.
    
Panorama of plastic design inadequacies in modeling the lack of a more natural transition, the proportion of production of plastic placed on the model size is inaccurate, and some vehicles, artillery produced too large or too small, and the picture objects in perspective the relationship between convergence on. What is more, some built the museum out of the panoramic exhibition, without the consent of the creative team agreed to had, without increase in the plastic on the various models, not only production model texture,
 
 and adds the overall effect of the panorama confusion. The panorama of China's different in the design of , and some traditional explanations with related audio, and some special lighting, magic light projection to enhance the content and atmosphere of the panorama, like watching a demonstration, the audience sat in a fixed position, seen in the dark and the panorama content slides, projection data, and controllable stunt lights, watch the fireworks, water, projectiles and other effects movable, and finally The panorama is gradually bright. It makes sense to increase the number of special artistic effects for the panorama, but some panorama too much to add special effects, but weakened to a panorama of .
 

The panorama should focus on maintenance issues. Visit and flow of the daily panorama facing the crowd, the temperature difference between the climate of four seasons, hall ventilation, etc., will damage the panorama to a certain extent. The panorama is based on the materials for oil painting, painting medium color with a lot of

Canaletto, Canaletto paintings, famous Canaletto paintings, Canaletto paintings sale, Canaletto biography,Canaletto drawings, Canaletto reproductions, Canaletto paintings gallery, Canaletto works, Canaletto Venetian,Canaletto painter
, over time the color is easy to silty. The crowd breathing carbonic acid gas, distributed to the four seasons of the temperature difference will cause harm to the screen. Panorama capture Jinzhou "because there is no scientific and rational, proper maintenance, the picture is dark fade, and silty, has been re-painting. Therefore, relevant departments should attach importance to the maintenance of the panorama, the museum constant temperature and humidity to adjust and limit the number of visitors a day.
posted @ 2012-04-02 14:21 tpblog| 编辑 收藏
After the release of Internet Information Services 4.0 in 1997, Microsoft began researching possibilities for a new Web application model that would solve common complaints about ASP, especially with regard to separation of presentation and content and being able to write "clean" code.[1] Mark Anders, a manager on the IIS team, and Scott Guthrie, who had joined Microsoft in 1997 after graduating from Duke University, were tasked with determining what that model would look like. The initial design was developed over the course of two months by Anders and Guthrie, and Guthrie coded the initial prototypes during the Fall of 1997.[2]

The initial prototype was called "XSP"; Guthrie explained in a 2007 interview that, "People would always ask what the X stood for. At the time it really didn't stand for anything. XML started with that; XSLT started with that. Everything cool seemed to start with an X, so that's what we originally named it."[1] The initial prototype of XSP was done using Java,[3] but it was soon decided to build the new platform on top of the Common Language Runtime (CLR), as it offered an object-oriented programming environment, garbage collection and other features that were seen as desirable features that Microsoft's Component Object Model platform did not support. Guthrie described this decision as a "huge risk", as the success of their new Web development platform would be tied to the success of the CLR, which, like XSP, was still in the early stages of development, so much so that the XSP team was the first team at Microsoft to target the CLR, including 
End of the year 2002, the Jinan Campaign panorama creation was completed. This is a wonderful panorama of realism classics. Panorama very sensitive to the prospect of building objects, because the scene of a large area of ​​affect and block the person's attention or to interfere with the panorama through, but the painting is the use of clever art processing means completely breaking this taboo . Jinan, the old city building design in the close-range. Into the panorama hall, the first thing in front of a huge tower, exacerbated by the drastic change in perspective on the tower, the wall closer to,
    
and thus form the walls and the ground plastic connection difficulties and gathered in the foreground the scenes perspective on the problem. To this end, the creators to enhance the walls of the ground height, increase the gap, the use of visual three-dimensional composition of rules to address the connection between the walls on the screen walls and ground modeling seamless.
  
enhance the visual presence and space ambitious and far-reaching sense. Panorama Jinan Campaign performance is September 16, 1948 our army fought a bloody war of six days and nights, the last captured the whole process of Jinan. The panorama does not screen time, space design remain in the real a - specific time and space, but also the pursuit of the performance of the mental and spiritual connotations. The painting to shape the most success is the picture of the sky and city building, especially the depiction of the sky, the situation has reached a mess of its real sky.
 
 The panorama of the "Battle of Red Cliff" is located in Wuhan, Kameyama innovation and development, out of a panorama road with Chinese characteristics. Creator of the contemporary look for 1800 years ago, menu design and colors of antique works tan tone, exaggerated processing through a rational, some of the rich image of the performance of the plot to focus on the screen cold moonlight and the bursting of the flame are greatly artistic rendering of this famous battle in ancient China, thoroughly, just right to show the charm of style of the Chinese nation, to lay a solid foundation for China's future creative panorama of ancient history theme .
 
 The panorama creation, etc. has been made a lot of success, accumulated a lot of experience, but there are also many problems. Such as the distribution of the panorama pavilion, the choice of theme, design drawing, modeling convergence, the use of , as well as panorama maintenance there are problems, these problems not be resolved, will affect the panorama in China healthy development. At present, China's panorama Museum lack of overall planning. The existing six panorama museum was built in the north,
  
 Shandong province alone there are three, and all the performance of military topics. Can imagine, in an area, there are three forms of content are more similar to , over time, the audience will have much appeal? Is obviously not conducive to the development of the panorama cause. Although the performance of major historical events and the subject of war is still a direction of the panorama future performance.
   

posted @ 2012-04-02 14:19 tpblog| 编辑 收藏

本主題所列的逐步解說 (教學課程) 精選,將說明 ASP.NET 的 Web 程式開發概念。 這些逐步解說內容將同時涵蓋 Visual Studio 2010 和 Visual Web Developer 2010 Express (統稱為 Visual Studio) 中的 Web 開發功能。

除了這些逐步解說之外,Visual Studio 文件中的許多主題章節,都包含重要功能的逐步解說。
以下为英文原版教程。
ASP.NET is a Web application framework developed and marketed by Microsoft to allow programmers to build dynamic Web sites, Web applications and Web services. It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft's Active Server Pages (ASP) technology. ASP.NET is built on the Common Language Runtime (CLR), allowing programmers to write ASP.NET code using any supported .NET language. The ASP.NET SOAP extension framework allows ASP.NET components to process SOAP messages.
Contents
 [hide]

    * 1 History
    * 2 Characteristics
          o 2.1 Pages
          o 2.2 Directives
                + 2.2.1 Examples
                      # 2.2.1.1 Inline code
                      # 2.2.1.2 Code-behind solutions
          o 2.3 User controls
          o 2.4 Custom controls
          o 2.5 Rendering technique
          o 2.6 State management
                + 2.6.1 Application
                + 2.6.2 Session state
                + 2.6.3 View state
                + 2.6.4 Server-side caching
                + 2.6.5 Other
          o 2.7 Template engine
          o 2.8 Other files
          o 2.9 Directory structure
    * 3 Performance
    * 4 Extension
    * 5 ASP.NET compared with ASP classic
    * 6 Criticism
    * 7 Development tools
    * 8 Frameworks
    * 9 Versions
    * 10 Other implementations
    * 11 Notes
    * 12 References
    * 13 Further reading
    * 14 External links

[edit] History

After the release of Internet Information Services 4.0 in 1997, Microsoft began researching possibilities for a new Web application model that would solve common complaints about ASP,
especially with regard to separation of presentation and content and being able to write "clean" code.[1] Mark Anders, a manager on the IIS team, and Scott Guthrie, who had joined Microsoft in 1997 after graduating from Duke University, were tasked with determining what that model would look like. The initial design was developed over the course of two months by Anders and Guthrie, and Guthrie coded the initial prototypes during the Fall of 1997.

 

 

The initial prototype was called "XSP"; Guthrie explained in a 2007 interview that, "People would always ask what the X stood for. At the time it really didn't stand for anything. XML started with that; XSLT started with that. Everything cool seemed to start with an X, so that's what we originally named it."[1] The initial prototype of XSP was done using Java,[3] but it was soon decided to build the new platform on top of the Common Language Runtime (CLR), as it offered an object-oriented programming environment, garbage collection and other features that were seen as desirable features that Microsoft's Component Object Model platform did not support. Guthrie described this decision as a "huge risk", as the success of their new Web development platform would be tied to the success of the CLR, which, like XSP, was still in the early stages of development, so much so that the XSP team was the first team at Microsoft to target the CLR.

With the move to the Common Language Runtime, XSP was re-implemented in C# (known internally as "Project Cool" but kept secret from the public), and the name changed to ASP+, as by this point the new platform was seen as being the successor to Active Server Pages, and the intention was to provide an easy migration path for ASP developers.[4]

Mark Anders first demonstrated ASP+ at the ASP Connections conference in Phoenix, Arizona on May 2, 2000. Demonstrations to the wide public and initial beta release of ASP+ (and the rest of the .NET Framework) came at the 2000 Professional Developers Conference on July 11, 2000 in Orlando, Florida. During Bill Gates' keynote presentation, Fujitsu demonstrated ASP+ being used in conjunction with COBOL,[5] and support for a variety of other languages was announced, including Microsoft's new Visual Basic .NET and C# languages, as well as Python and Perl support by way of interoperability tools created by ActiveState.

Once the ".NET" branding was decided on in the second half of 2000, it was decided to rename ASP+ to ASP.NET. Mark Anders explained on an appearance on The MSDN Show that year that, "The .NET initiative is really about a number of factors, it's about delivering software as a link building service, it's about XML and Web services and really enhancing the Internet in terms of what it can do ... we really wanted to bring its name more in line with the rest of the platform pieces that make up the .NET framework."[4]

After four years of development, and a series of beta releases in 2000 and 2001, ASP.NET 1.0 was released on January 5, 2002 as part of version 1.0 of the .NET Framework. Even prior to the release, dozens of books had been written about ASP.NET,[7] and Microsoft promoted it heavily as part of its platform for Web services. Guthrie became the product unit manager for ASP.NET, and development continued apace, with version 1.1 being released on April 24, 2003 as a part of Windows Server 2003. This release focused on improving ASP.NET's support for mobile devices.
[edit] Characteristics
[edit] Pages

ASP.NET Web pages, known officially as Web Forms,[8] are the main building block for application development.[9] Web forms are contained in files with an ".aspx" extension; these files typically contain static (X)HTML markup, as well as markup defining server-side Web Controls and User Controls where the developers place all the required static and dynamic content for the Web page.
like 
Rubens, Peter Paul Rubens, Rubens paintings, Peter Paul Rubens paintings, famous Rubens paintings, Rubens paintings for sale, Rubens biography,The Three Graces,Rubens paintings list,Rubens art,Rubens artwork
Additionally, dynamic code which runs on the server can be placed in a page within a block <% -- dynamic code -- %>, which is similar to other Web development technologies such as PHP, JSP, and ASP. With ASP.NET Framework 2.0, Microsoft introduced a new code-behind model which allows static text to remain on the .aspx page, while dynamic code remains in an .aspx.vb or .aspx.cs or .aspx.fs file (depending on the programming language used).[10]
[edit] Directives

A directive is special instructions on how ASP.NET should process the page.[11] The most common directive is <%@ Page %> which can specify many attributes used by the ASP.NET page parser and compiler.
Can you really pull this off? You can if you have a clear understanding of color, saturation, contrast values, forms of leadership, and hard and soft edges. You are a licensed artist and you can create anything you can imagine. If this is true or not, that you must believe before attempting the work of art. Imagine the difference of the scene being shot instead of paint. In a photograph, the deer will always be the focal point, but in many cases the focal point of a photograph is not nearly as captivating as a good painting. Why? It is because a picture has details throughout the image. These details tarnish the focus. If you have any doubt about it, also paint the details throughout the painting and see how you confuse the viewer and dilute the main focal point.


Programmers can also build custom controls for ASP.NET applications. Unlike user controls, these controls do not have an ASCX markup file, having all their code compiled into a dynamic link library (DLL) file. Such custom controls can be used across multiple Web applications and .
[edit] Rendering technique

ASP.NET uses a visited composites rendering technique. During compilation, the template (.aspx) file is compiled into initialization code which builds a control tree (the composite) representing the original template. Literal text goes into instances of the Literal control class, and server controls are represented by instances of a specific control class. The initialization code is combined with user-written code (usually by the assembly of multiple partial classes) and results in a class specific for the page. The page doubles as the root of the control tree.

Actual requests for the page are processed through a number of steps. First, during the initialization steps, an instance of the page class is created and the initialization code is executed. This produces the initial control tree which is now typically manipulated by the methods of the page in the following steps. As each node in the tree is a control represented as , the code may change the tree structure as well as manipulate the properties/methods of the individual nodes. Finally, during the rendering step a visitor is used to visit every node in the tree, asking each node to render itself using the methods of the visitor. The resulting HTML output is sent to the client.

After the request has been processed, the instance of the page class is discarded and with it the entire control tree. This is a source of confusion among novice ASP.NET programmers who rely on class instance members that are lost with every page request/response cycle.

ASP.NET applications are hosted by a Web server and are accessed using the stateless HTTP protocol. As such, if an application uses , it has to implement state management on its own. ASP.NET provides various functions for state management. Conceptually, Microsoft treats "state" as GUI state. Problems may arise if an application needs to keep track of "data state"; for example, a finite-state machine which may be in a transient state between requests (lazy evaluation) or which takes a long time to initialize. State management in ASP.NET pages with authentication can make Web scraping difficult or impossible.
It’s different with
4.4.0     2005-07-11     Added man pages for phpize and php-config scripts.[31]
4.4.9     2008-08-07     Security enhancements and bug fixes. The last release of the PHP 4.4 series.[33][34]
5     5.0.0     2004-07-13     Zend Engine II with a new object model.[35]
5.1.0     2005-11-24     Performance improvements with introduction of compiler variables in re-engineered PHP Engine.[35] Added PHP Data Objects (PDO) as a consistent interface for accessing databases. [36]
5.2.0     2006-11-02     Enabled the filter extension by default. Native JSON support.[35]
5.2.17     2011-01-06     Fix of critical vulnerability connected to floating point.
5.3.0     2009-06-30     Namespace support; Late static bindings, Jump label (limited goto), Native closures, Native PHP archives (phar), garbage collection for circular references, improved Windows support, sqlite3, mysqlnd as a replacement for libmysql as underlying library for the extensions that work with MySQL, fileinfo as a replacement for mime_magic for better MIME support, the Internationalization extension, and deprecation of ereg extension.
5.3.1     2009-11-19     Over 100 bug fixes, some of which were security fixes.
5.3.2     2010-03-04     Includes a large number of bug fixes.
5.3.3     2010-07-22     Mainly bug and security fixes; FPM SAPI.
5.3.4     2010-12-10     Mainly bug and security fixes; improvements to FPM SAPI.
5.3.5     2011-01-06     Fix of critical vulnerability connected to floating point.
5.3.6     2011-03-10     Over 60 bug fixes that were reported in the previous version.
5.3.7     2011-08-18     This release focuses on improving the stability of the PHP 5.3.x branch with over 90 bug fixes, some of which are security related.

5.3.8     2011-08-23     This release fixes two issues introduced in the PHP 5.3.7 release.
5.3.9     2012-01-10     This release focuses on improving the stability of the PHP 5.3.x branch with over 90 bug fixes, some of which are security related.
5.3.10     2012-02-02     Fixed arbitrary remote code execution vulnerability reported by Stefan Esser, CVE-2012-0830.
5.4.0     2012-03-01     Trait Support, short array syntax support. Removed items: register_globals, safe_mode, allow_call_time_pass_reference, session_register(), session_unregister() and session_is_registered(). Several improvements to existing features, performance and reduced memory requirements.
6      ?.?     No date set     The development of PHP 6 has been delayed because the developers have decided the current approach to handling of instance unicode is not a good one, and are considering alternate ways in the next version of PHP. The updates that were intended for PHP 6 were added to instead.

Beginning on June 28, 2011, the PHP Group began following a timeline for when new versions of PHP will be released.[37] Under this timeline, at least one release should occur every month. Once per year, a minor release should occur which can include new features. Every minor release should at least have 2 years of security and bug fixes, followed by at least 1 year of only security fixes, for a total of a 3 year release process for every minor release. No new features (unless small and self contained) will be introduced into a minor release during the 3 year release process.
[edit] Usage

PHP is a general-purpose scripting language that is especially suited to server-side Web development where PHP generally runs on a Web server. Any PHP code in a requested file is executed by the PHP runtime, usually to create dynamic Web page content or dynamic images used on Web sites or elsewhere.[38] It can also be used for command-line scripting and client-side GUI applications. PHP can be deployed on most Web servers, many operating systems and platforms, and can be used with many relational database management systems (RDBMS). It is available free of charge, and the PHP Group provides the complete source code for users to build, customize and extend for their own use.[3]

PHP acts primarily as a filter,[39] taking input from a file or stream containing text and/or PHP instructions and outputting another stream of data; most commonly the output will be HTML. Since PHP 4, the PHP parser compiles input to produce bytecode for processing by the Zend Engine, giving improved performance over its interpreter predecessor.

posted @ 2012-03-17 16:58 tpblog| 编辑 收藏
仅列出标题
共2页: 上一页 1 2 

导航

<2024年12月>
24252627282930
1234567
891011121314
15161718192021
22232425262728
2930311234

统计

常用链接

留言簿(1)

随笔档案

搜索

最新评论

阅读排行榜

评论排行榜