Briefly describe ASP. NET Server Control Lifecycle
Answer: Initialize loading view status processing sending and returning data loading sending and returning change notification processing sending and returning event pre-rendering save status rendering processing and uninstalling
Can anonymous inner class (anonymous internal class) be extends (inherited) other classes, and implements (implemented) interface (Interface )?
A: No. The interface can be implemented.
The difference between static nested class and inner class is that the more you say, the better.
A: static nested class is an internal class declared as static. It can be instantiated without relying on external class instances. In general, internal classes must be instantiated before they can be instantiated.
.
A: "&" indicates bitwise AND operation, and "&" indicates logical and (and ).
What is the difference?
A: The bound data source is a server-side data source. Code Block
What is the biggest difference between ASP. NET 2.0 (vs2005) and your previous development tool (. NET 1.0 or other? Which development ideas (pattern/architecture) you used on previous platforms can be transplanted to ASP. NET 2.0 (or are already embedded in ASP. NET 2.0)
Answer: 1. asp. net2.0 encapsulates and packages some code, which reduces a lot of code compared to the same function of 1.0.
2. Both code separation and page embedding server-side code modes are supported. In the previous version 1.0 ,.. Net prompt help is only available in separated code files. You cannot embed server-side code on the page to get help tips.
3. When switching code and design interfaces, 2.0 supports cursor positioning, which I like most.
4. When binding data, you can perform operations such as paging, update, and delete on tables in a visualized manner, facilitating beginners.
5. added more than 40 new controls in ASP. NET to reduce the workload.
What is the difference between heavy load and coverage?
Answer: 1. The method overwrites the relationship between the Child class and the parent class. The method overloads the relationship between the methods in the same class and the horizontal relationship.
2. Override can only be composed of one method, or can only be composed of one method. Method Overloading is the relationship between multiple methods.
3. The overwrite request parameter list is the same; the reload request parameter list is different.
4. In the override relationship, the method body called is determined based on the object type (corresponding to the bucket type of the object); the reload relationship, the method body is selected based on the real parameter table and the form parameter table during the call.
What is WSE? What is the latest version?
A: The WSE (Web Service Extension) package provides the latest web service security assurance, the latest version is 2.0.
A = 10, B = 15, swap the values of A and B without any third-party Variables
A: A = a + B; B = A-B; A = A-B;
There are also abnormal requirements, and the code is the shortest. There are two results:
1) A ^ = B ^ (B ^ = a ^ B); // 13 bytes
2) A = B + (B = A) * 0; // 11 bytes
Briefly describe the Characteristics and Significance of object-oriented polymorphism!
A: Object-oriented programming uses the derivative inheritance and virtual function mechanism. an object pointer to the base class can point to its derived class. and access member variables and functions inherited from the base class. virtual functions are designed specifically for this feature. This function is the same name in the derived class of each base class, but the function body is not necessarily the same, A derived class often modifies this virtual function to implement its own functions. in this way, you can use a pointer to access a variety of different Derived classes and implement specific functions (CODE) of the derived classes )....
Sessions tend to lose value and occupy memory. cookis is insecure. How can I replace these two original methods?
A: viewstate and StateServer are used.
Which of the following methods can be used to process data concurrency.
A: If the number of connections in the connection pool is well controlled, load balancing can be used.
How and how does ADO. Net process data concurrency?
A: Open concurrency does not use database locks, but SQL statements are used to determine whether data has changed. Step: Generally, SQL statements are generated using tools provided by vs. the results generated by the tool do not meet the requirements, so you can manually write SQL statements.
Can the dynamically created PostBack control be saved? Why?
A: The ASP. NET Framework is not saved for you, but can be manually saved to viewstate.
What is the difference between null and null in the T-SQL?
A: The difference between is null and null is equivalent to the difference between "empty box" and "empty box ".
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