CPU like an old ox, it works very fast (execution speed is very fast), and The read/write speed of the hard disk is very slow, like a snail bait, the application we wrote Program . To put it bluntly, CPU A set of executed commands. If no cache
Starting from this blog, we will introduce web development principles 2. In the previous blog, we will mainly introduce some basic web development principles, in this article, we will give an in-depth explanation on the basis of the previous article.
Cookie
Cookie usage is similar to ASP. For example, we create a cookie named aspcn with the value of flying knife.
Httpcookie = new httpcookie ["aspcn"];Cookie. value = "Flying knife ";Response. appendcookie (cookie );
It's easy to
What is Asp.net?
Asp.net is a general languageProgramArchitecture, which can be used by a Web server to build powerful web applications. Asp.net provides many advantages over the current web development model.
Significant improvement in
When writing ASP
Program An error is prompted, "the object tag cannot be placed in another object tag ".
Code For example:
--> -->
This is the code automatically generated when Dreamweaver cs4 inserts flash. Due to the poor compatibility of IE
ArticleDirectory
Introduction
Razor view Engine
Support for multi-view Engines
Controller Improvement
Improvement of Model Verification
Other new features
Address: http://www.asp.net/mvc/mvc3 Introduction
ASP. NET mvc3
ArticleDirectory
Example of logic processing:
1. web applications and websites 2. The simplest ASP. NET program processing process 3. ASP. NET ispostback secrets
1. Web ApplicationsProgramAnd website
Public bool down (string filepath, string code){Bool succ = false;
System. Io. Stream istream = NULL;
// Buffer to read 10 K bytes in Chunk:Byte [] buffer = new byte [10000];
// Length of the file:Int length;
// Total Bytes to read:Long
When a * .aspxfile is requested, the request will be intercepted by the inetinfo.exe process. After determining the file suffix (aspx), it will forward the request to aspnet_isapi.dll, aspnet_isapi.dll sends the request to aspnet_wp.exein the HTTP
Small ASP web2005 Server
A powerful and concise aspweb Server,You can discard WINNT and Win2000 Server systems and vulnerabilities.Hundreds of times out of IIS. Now you can debug and release your ASP on any systemProgram. Current TestThe
Now I will write down the cause and solution.
Cause:Because Asp.netProgramIs the default configuration, so the session settings in the web. config file are as follows:
The sessionstate label has an attribute mode. It can have three values:
From: http://www.aa25.cn/Tech/917.shtml
The latest iis7 is built in both Windows 7 and Vista. How can I install, configure, and use iss7? In iis7, how can I configure asp? This site has sorted out the relevant operation steps as follows.
However,
As a programmer, we should learn new knowledge tomorrow.
Previously, I performed database operations on the same page. In this case, the operation is cumbersome and the Code for database operations needs to be repeatedly written. This not only
ASP. net mvc + EF framework + EasyUI permission management series
(Opening)(1): Framework Construction(2): database access layer design Demo(3): interface-Oriented Programming(4): encapsulation of the business logic layer
(5): Jquery easyUI
Directory:
9.1.some basic principles of Web Development
9.2 Principle 19.2.1 C # The code runs on the server and JS Code runs on the browser client.
9.2.2 "pop-up message window" on the server"
9.2.3 case study (the client and server do not
1. After submitting the page, keep the position of the scroll bar
You can add the MaintainScrollPositionOnPostback command to the page command.
2. After loading the page, move the focus to a control. You only need to specify the DefaultFocus
Asp. NET has many secrets. Once you understand these secrets, you can greatly improve the performance of your ASP. NET applications. For example, when using Membership and profile for Authentication and authorization, you can simply modify
1. database access performance optimization Database Connection and Shutdown
To access database resources, you need to create a connection, open a connection, and close the connection. These processes need to exchange information with the database
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