Feed on
Subscription

Contact ASP.Net(16 intimately)

Cookie

The usage of Cookie also is mixed in ASP about the same.For instance we build the name is Aspcn,The value is the Cookie of flying knife

HttpCookie Cookie = New HttpCookie["aspcn" ];
" ; of flying knife of Cookie.Value = "
Response.AppendCookie(cookie);

We take out Cookie the value is very simple also

HttpCookie Cookie = Request.Cookies["aspcn" ];
CookieValue = Cookie.Value;

Occasionally we want to store in a Cookie many information,That also does not have a problem.Many information are added below the Cookie that for instance we are Aspcn in the name

HttpCookie Cookie = New HttpCookie("aspcn" );
Cookie.Values.Add("webmaster" , "Flying knife " );
Cookie.Values.Add("writer" , "Beige" );
Cookie.Values.Add("LinkColor" , "Blue" );
Response.AppendCookie(cookie);

Take out news euqally simple also

HttpCookie Cookie = Request.Cookies["aspcn" ];
Value1 = Cookies.Values["webmaster" ];
Value2 = Cookies.Values["writer" ];

View State

This is new come out east east,Usage and Session are same,The condition that his main use is record Web Control.Although be new,come out,But without what distinction with the usage of Application, Session,Also did not want to explain in detail so.

State["DropLoadIndex" ] = 0;

Main use as above:) , but remember please,The information that he maintains presence can be only in an Aspx file use.After going out,This is not used,Because his utility just saves WEB to accuse condition.

ASP.Net advanced application

The fundamental part of ASP.Net,We had explained end, but this still is not to be over the function of ministry ASP.Net,The ASP.Net new function that still has a lot of is powerful ah.

Web Service
Track
Internationalization
Cache
The component that make
Make accuse

Still have a lot of ah,Breathe out ah,I am told impossibly at a heat went down,Special subject of our the next is " advanced application enters ASP.Net rank " series." intimate contact ASP.Net " basically stress a base,Breathe out ah,I had been told:)

Can want possibly write a book about ASP.Net and C# recently additionally,The rate that can write an article on the net so can slow:)

 

Related:

    Submit: