tpblog

asp.net的外文教程9

View state refers to the page-level state management mechanism, utilized by the HTML pages emitted by ASP.NET applications to maintain the state of the Web form controls and widgets. The state of the controls is encoded and sent to the server at every form submission in a hidden field known as __VIEWSTATE. The server sends back the variable so that when the page is re-rendered, the controls render at their last state. At the server side, the application may change the viewstate, if the processing requires a change of state of any control.

The main use for this is to preserve form information across postbacks. View state is turned on by default and normally serializes the data in every control on the page regardless of whether it is actually used during a postback. This behavior can (and should) be modified, however, as View state can be disabled on a per-control, per-page, or server-wide basis.

Developers need to be wary of storing sensitive or private information in the View state of a page or control, as the base64 string containing the view state data can easily be de-serialized. By default, View state does not encrypt the __VIEWSTATE value. Encryption can be enabled on a server-wide (and server-specific) basis, allowing for a certain level of security to be maintained.

This article describes some unorthodox methods to use brushes to paint in oils. None of these are intended to . It is more a list of additional things to consider when painting, and hopefully get results. It may or may not be relevant to your method, but I hope for some, it is interesting and even useful to consider. This article is perhaps more relevant to artists working in a relatively uncontrolled and rough. Cheap brushes are often rejected for failure to retain their shape, and leaving behind loose hairs in the paint. I found the more expensive brushes are okay, although I admit some are useless. Being so cheap, it is affordable to experiment with different brands and throw away the bad, taking note not to
. I have some expensive brushes that I keep separate, and use when needed. But mostly, I use the cheap. I do not know what is the difference between oil and acrylic brushes is, but my favorite brushes for oil painting are acrylic brushes. They seem to last as long, face painting fine oil, and are . It is often advisable to only
slightly dip the tip of the brush in the paint, so that no clogs up the shell. It is often said that, after dipping the brush into the paint, any excess should be wiped off the brush and bristles molded as needed. These recommendations make sense, but
I find taking this level of care all the time too boring and sometimes restrictive. As important as taking care of your brushes is, I advise you not to let artists take over, or affecting . At the end of the day, it's just a brush. Featuring painting, and produce the best work of art is the priority. Have hair to the ferrule clogged with the previous color, can sometimes be a good thing. I usually create my current color with paint color before. This is a very useful piece of advice I had a couple of years, and helped bring my colors. If you use this method, the brush and push relatively hard to the canvas, so that the previous color is applied to the shell along with the current colors can then be worked in to . Much of my shadow came about by doing this. It is not very controlled, but even if it does not work, the oil is fairly easy to fix. Rinsing the brush in turpentine between colors in only partially successful in removing the previous color, even if you do not clog up the hair. Notice that the turpentine itself becomes blurred very easily. I still have many of each type of brush in hand, if I want to start painting a new color and lighter, I can use a different brush. Do not throw away brush automatically if the paint has dried in the bristles by . Try it and see if it leaves a useful effect or texture.


ASP.NET offers a "Cache" object that is shared across the application and can also be used to store various objects. The "Cache" object holds the data only for a specified amount of time and is automatically cleaned after the session time-limit elapses.
Other means of state management that are supported by ASP.NET are cookies, caching, and using the query string.

posted on 2012-06-07 14:48 tpblog 阅读(108) 评论(0)  编辑  收藏

导航

<2012年6月>
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567

统计

常用链接

留言簿(1)

随笔档案

搜索

最新评论

阅读排行榜

评论排行榜