In September November 16, Bo Wen's point of view met with the Beijing. Net club chairman Bao Yu's "how to optimize ASP. NET" chat record-hope to help ASP. NET readers!

Source: Internet
Author: User
Tags high cpu usage website performance what is asp
HOST: chat rules. Our chat is about to begin. Now I want to announce the chat Rule 1. after the chat starts, you will submit your questions to the host at the chat venue (noahwing). I will be responsible for submitting the questions to the guests. because the activity is not very long, do not talk about topics unrelated to this chat. leave more time for the two teachers to answer your questions. Thank you for your cooperation. In addition, before the event, we received a total of nine emails from our friends. These 9 friends and other friends who will actively ask questions will have the opportunity to get the optimal ASP provided by the liberal arts viewpoint. net-object-oriented programming practices, net big Bureau view (second edition), so please raise some valuable questions and hope that csdn's friends will participate in our activities. [15:00:00]

HOST: The four events of the csdn F2F programmer Club and the famous forum of liberal arts have officially started. Please ask questions. [15:01:00]

Liu junmin: Hello, everyone! [15:02:00]

Liu junmin: Some people think that ASP. NET is actually how to better use controls for design. I don't know what the two teachers think about this? The control is only a part of. net, so it is difficult to draw the above conclusion. However, for the development interface, the control can indeed get twice the result with half the effort [15:05:00]

HOST: Expert introduction: Liu junmin (net name: Baoyu) Microsoft (Beijing ). net Club Chairman & technical consultant; ASP. NET technology MVP; focuses on web development basics, and is now the webmaster of openlab in the open lab; has rich web development experience, in the mobile chat and instant messaging project that Microsoft and Beijing Mobile are mainly responsible for the web version. baoyu has compiled: optimal ASP. net-object-oriented development practices [15:05:00]

HOST: Expert introduction: Chen Yuan: Master's degree in computer software from Northwestern University of Technology. Currently, Microsoft Asia Research Institute is an intern who uses Asp.net to develop enterprise human resource management software. He is a diligent and studious talent, I used my spare time to write a bad blog and translated it with Baoyu to optimize ASP. net-object-oriented development practices. [15:06:00]

Liu junmin: multi-layer architecture is now popular. Is it very helpful for optimization? Multi-layer architecture is mainly helpful for system scalability and multi-person Division of Labor. However, performance optimization is not great and may even affect the performance. Determine the hierarchy of your system based on the actual situation [15:08:00]

Chen Yuan: many pages written by Asp.net are often slow during the first visit. Why? Everyone knows. Net program is generated after compilation is Il intermediate code, Asp.net is all based on. . Net. Therefore, when the Asp.net page is run for the first time, the CLR recompiles and runs the code to generate a temporary assembly and cache it. You can run it in C:/Windows/Microsoft. net/framework/v2.0.50727/Temporary ASP.. Net Files directory to find the temporary assembly, so the first running will be slow, and later access to the cache without re-compilation. [15:10:00]

Liu junmin: As an optimization of Web. net, experts are most concerned with those aspects of optimization? What factors should I pay special attention to when writing? Optimization involves many aspects. I personally pay attention to the following aspects: 1. optimize system performance 2. optimize the scalability of the system so that the system can have better scalability 3. optimize user experience when writing, pay attention to system layering and some good coding habits [15:12:00]

Liu junmin: what is the impact of the huge changes in Atlas on ASP. NET? This will make the development of Ajax and scripts easier. It is inevitable that the development threshold and development costs will be reduced, and more Ajax applications will be added. [15:14:00]

Chen Yuan: Since the page is being compiled for the first time, can I pre-compile and deploy it directly to avoid the first compilation process? The first execution of the compilation is indispensable, because the pre-compiled Assembly still needs to compile the machine code by the intermediate language in the CLR, so the first time it will still be slow, after deployment, you can view all the pages to speed up the response. [15:17:00]

Liu junmin: Zhejiang Hangzhou Binjiang district Jiangnan Avenue No. 480 Piao Building 5 floor Wen from Pan Q: C # To create a stored procedure is than the T-SQL to create a stored procedure execution efficiency is higher? Can you give me a suggestion? C # creating a stored procedure is easier to write and most programmers are familiar with the syntax. For SQL server2005, the efficiency should be the same (I need to confirm it further) [15:18:00]

Liu junmin: C # To create a stored procedure is not more efficient than the T-SQL to create a stored procedure execution? Can you give me a suggestion? C # creating a stored procedure is easier to write and most programmers are familiar with the syntax. For SQL server2005, the efficiency should be the same (I need to confirm it further) [15:18:00]

Liu junmin: C # To create a stored procedure is not more efficient than the T-SQL to create a stored procedure execution? Can you give me a suggestion? C # creating a stored procedure is easier to write and most programmers are familiar with the syntax. For SQL server2005, the efficiency should be the same (I need to confirm it further) [15:18:00]

HOST: Good afternoon! I am so glad to meet you again. I am an event owner (noahwing ),. The topic of today's chat is "how to optimize your asp. net program ", by the optimization ASP. net-object-oriented programming practices translator, Beijing. net club chairman Liu junmin and optimization ASP. net-object-oriented programming practices Translator 2, Asp. net Program expert Chen Yuan to answer questions for everyone. Please issue the question directly, and then we will submit the question to two experts. [15:19:00]

Liu junmin: What should I do if multiple users use socket in ASP. NET at the same time? Sorry, I am not very familiar with socket connections. I understand it as follows: take some effective measures to prevent the socket connection from taking too long. For example, try to use asynchronous requests and queue requests using message queues, cache some common results [15:21:00]

Chen Yuan: How do I evaluate the changes in the optimization process? (How do I know if it is optimized ?) Let the user evaluate, let the cost evaluate, and let the Operation Benefit Evaluate. I think software websites should all be based on the basic idea of service. Optimization can be performance optimization. You can use optimization ASP. net, the performance monitor introduced in the book to obtain objective data, can also be the optimization of development costs, you find that your code is easier to maintain and expand, it can also be an optimization of operational efficiency. You do not need to restart the website from time to time, clear unnecessary resources, and the system is more robust improper. [15:23:00]

Liu junmin: "During website construction (or during rapid development of small and medium websites), the multi-layer structure and OO methods are generally not used for development, is it true that enterprise application systems generally adopt multi-layer and OO method development? I personally agree with this point of view. If your website does not need to be expanded in the future after construction, and the number of people in the construction process is small, there is no need for multi-layer development, this will increase the development difficulty and encoding, but the advantage is that the scalability is better, which facilitates multi-person collaboration [15:23:00]

Chen Yuan: "During website construction (or during rapid development of small and medium websites), the multi-layer structure and OO methods are generally not used for development, is it true that enterprise application systems generally adopt multi-layer and OO method development? I think we should pay attention to business value when doing software, rather than using OO. In this case, we will regard the new idea as a nail. :) [15:24:00]

Liu junmin: When ASP changes to. net, some of them cannot communicate (for example, session) Because freamwork is involved. How can we optimize these problems? Can only all be converted to. Net? In addition to session, there are actually many better options, such as URL parameters, cookies, applications, and cache. For example, in the ASP era, login authorization is performed after successful logon, use session to save user name and other information,.. net ,. net form authentication records the user IDs that have been successfully logged on to the cookie. When you need to obtain information, you can obtain the user ID from the cookie and query the database based on the user ID. After the first query, the database is cached, you can directly obtain it from the cache next time. [15:27:00]

HOST: Fifteen minutes later, when the winners are listed for the first time, Please actively ask questions. [15:27:00]

Chen Yuan: After the aspnet_wp process is terminated, will it be compiled again when the ASPNET page is accessed again? Aspnet_wp is the real execution environment of the Asp.net program, but if your source file does not change, restarting it will not cause re-compilation. [15:28:00]

Liu junmin: Hello, Miss Liu and Miss Chen! Can I give a simple example to illustrate what is ASP. NET optimization? Asp.net optimization involves multiple aspects, such as performance optimization, system architecture optimization, and development methods [15:30:00]

Chen Yuan: Is the. NET Object-Oriented method really advantageous in relatively small projects? I think it is still the same sentence: "Pay attention to commercial value !" Although the adoption of new technologies will bring you a lot of convenience, these benefits need to be paid, we should choose technology based on the scale of the project. Technology is a means and results are more important. Of course, the benefits of. NET Object-Oriented architecture for application construction have been profoundly discussed in the book "optimization Asp.net" :) [15:31:00]

Liu junmin: Is the. NET Object-Oriented method really advantageous in relatively small projects? Whether or not to layer depends on the specific situation. development efficiency may be higher if it is not layered. If the development cost is increased, the scalability, subsequent maintenance, and multi-person collaboration will be more advantageous. Note: For more information, see [15:33:00].

Chen Yuan: A lot of people think that with Ajax, you don't need to learn about Js. Ajax itself is based on JS implementation technology. If we just use libraries like Atlas, we won't understand implementation details, it is equal to the fact that the internal skill is abandoned by the external skill and will be beaten by the real experts. [15:34:00]

HOST: Let's give a warm round of applause to Peng from Wuhan Huazhong University of Science and Technology. His pursuit of programming knowledge touched us and he got the optimal ASP provided by Bowen. net-object-oriented programming practices. Learn the spirit of Peng. [15:35:00]

Liu junmin: It didn't take long for the CPU to reach 100%. Could you start to optimize it from that aspect? First, analyze the cause and find out what causes high CPU usage. For example, check whether the Task Manager processes high CPU usage in Asp.net or the database CPU usage is high. If Asp.net occupies a high CPU usage, you can use some tools or log to analyze possible causes and then perform targeted optimization. If it is a database, you can use SQL Server Profiler to analyze which SQL statements occupy high CPU usage [15:36:00]

Liu junmin: Why is "stream" cold in the. NET world? In fact, there are still a lot of stream applications in Asp.net, which will be used in file processing, network transmission, data compression, encryption, and other places, such as uploading files to the server, the server obtains an inputstream. [15:39:00]

Chen Yuan: What are the benefits of reducing the focus of a class when designing a class? Let classes focus on their most specific work, making the system more loosely coupled and easier to maintain. For design optimization, we recommend that you take a look at design pattern [15:39:00]

Liu junmin: What are the suggestions on WAP2.0 development and optimization in ASP. net2.0? Sorry, I cannot answer this question because I have never developed a WAP application. Maybe you can search for related information on the Internet. [15:39:00]

Liu junmin: Could you tell me where the constants used in the program are in the development of the Asp.net website? It has high performance and is easy to read (not a string used to connect to the database )? Why? It can be placed in a separate class. If you need dynamic configuration, you can put it in Web. config or a separate XML file. The database is also a good choice, and can be combined with the cache. [15:42:00]

Liu junmin: how to evaluate the changes in the optimization process? After determining the optimization scheme, we should take into account the impact of each step of operation. How should we eliminate this impact. The evaluation includes the following parts: resources required for optimization: persons required, time required for configuration optimization, and time required for optimization: the result of optimization: after the optimization, what improvements are relative to the Optimization? The effect is obvious [15:46:00]

Liu junmin: I heard that the file web. config is also very well optimized. I don't know what elements need to be optimized? Web. config is essentially an XML file. Therefore, when using web. config, you must make the defined structure reasonable and the content should not be too large. [15:47:00]

HOST: Liu junmin (Network Name: Baoyu)-Microsoft (Beijing ). net Club Chairman & technical consultant; ASP. NET technology MVP; focuses on web development basics, and is now the webmaster of openlab in the open lab; has rich web development experience, in the mobile chat and instant messaging project that Microsoft and Beijing Mobile are mainly responsible for the web version. baoyu has compiled: optimal ASP. net-object-oriented development practices; Chen Yuan: Master's degree in computer software from Northwestern University of Technology. Currently, Microsoft's Asia Research Institute is an intern who uses Asp.net to develop enterprise human resource management software. He is a diligent and studious talent, using his spare time to write a lot of vivid blogs, he translated the optimal ASP with Baoyu. net-object-oriented development practices. [15:48:00]

Chen Yuan: Is there a process that can be easily considered for optimization, such as what to do first? I think there are many aspects to be optimized. First, you can check the current running status of the website and list a list of priorities that need to be optimized. If you feel that the traffic is very tight, you can consider whether to "slim down" the page. If the system is often used as a machine, consider whether some resources in the program are not properly released. If the code is too messy and difficult to maintain, you should consider whether reconstruction is required. [15:49:00]

Liu junmin: I heard that there is an "ASP. NET page optimizer". How can this help? I have never used this software and do not know how it is optimized. However, from the perspective of Asp.net page optimization, that is, to optimize the output HTML: the viewstate code of Asp.net occupies a very important place. You can move the code to the bottom of the page (before the Code) to compress the HTML and delete unnecessary blank lines and comments [15:50:00]

Chen Yuan: What are the advantages of application layering when ASP. NET is used for web development? Layers can be used to decouple applications and improve assembly reusability. If the data layer and logic layer can be reused, the presentation layer can be a web site, it can also be a series of web services or even a desktop application. [15:53:00]

Chen Yuan: how to optimize search engine indexing? The W3C standard of XHTML + CSS should be used as much as possible, and the page layout is reasonable. Currently, Ajax applications are not very friendly to search engine crawlers. Google and Ms are currently working hard to solve this problem. [15:55:00]

HOST: this event is part 4 of the csdn F2F & Bowen viewpoint famous Forum Series-discussing with Liu junmin and Chen Yuan online how to optimize your asp. net program ", please pay attention to the next activity in this series-upgrade from Windows XP to Windows Vista are you ready?" More good books ("Windows XP best pass. Stay tuned. [15:55:00]

Chen Yuan: What is the difference between static and non-static resources? What is the difference between efficiency and memory usage? The running efficiency and memory usage are only related to the application quality. Static compilation and non-static compilation only provide different deployment methods. Of course, static compilation has some advantages in non-static compilation during the first run, but the efficiency may be affected if the page is also compiled into the Assembly as a resource. [15:57:00]

Liu junmin: What are the advantages of application layering when ASP. NET is used for web development? Reasonable layering can bring many benefits. Generally, the common layering is to divide the web system into three layers: user interface, business logic, and data access. Scalability: the customer's requirements keep changing, if the hierarchy of the architecture is reasonable, it is easier to expand. For example, if the provider mode is used for the data access layer, the data access is flexible, for example, if you used to access an SQL Server database and want to access the Oracle database, you only need to implement the provider abstract class (Asp. the membership of net2.0 supports multiple databases) multi-person collaboration: After layering, it is easier for multiple people to divide their work. For example, you can create a UI for the artist, and database developers specialize in the portability of stored procedures: if there is a new website, I may just need to re-implement a set of user interfaces on the basis of the original architecture ...... [15:58:00]

Chen Yuan: some constants used in the website should be placed in a class or in struct. What are the performance or memory usage differences? If you need to pass these constants frequently, we recommend that you put them in the class and cache the object, Because struct is a value assignment copy and class is a reference copy. [15:59:00]

Liu junmin: Can you elaborate on website optimization? Or what are the main types of website optimization? For the current website, we need to analyze the performance from the following aspects (not limited to these aspects): Is performance optimized? Is the current website performance good enough? Is it necessary to optimize the user experience and make it easier for users to use it? Is it necessary to optimize the structure, or further optimize the architecture to make the system structure more reasonable? After analysis, you can develop some targeted solutions to optimize performance if the performance is poor. If the user experience is poor, it is necessary to improve the user experience, such as adding an Ajax application and improving some operation interfaces. If the architecture is to be optimized, re-design the new architecture, how to smoothly transition the old architecture to the new architecture [16:04:00]

Chen Yuan: Excuse me, isn't the constant encapsulated in a static class directly replaced by the code? Why do we still need cache? The lifecycle of the static class runs through the entire application, while the cache provides a more flexible object survival policy. After all, not all resources need to be stored in the memory, and the memory may not be fully stored. The Expiration Policy provided by the cache takes into account both performance and efficiency. [16:05:00]

Liu junmin: how to use ASP. NET cache to improve site performance? If there are frequent database or file read operations and the data is duplicated, you can use the cache to cache the content and read it directly from the cache next time, this reduces file I/O or Data Reading operations, which can effectively improve performance. However, you must note that too much content cannot be saved during use. You must also ensure that the cached content is updated [16:08:00].

Chen Yuan: How can I use the MVC idea to build a JS framework .? JS is also an OO language. The design idea can refer to a number of excellent Ajax libraries, such as Atlas. However, the design philosophy is the same. js and C # are different in implementation details. Of course, we also need to consider the limitations of the language. [16:08:00]

Chen Yuan: What should I do if a class is referenced by many other classes in a project? First look at the specific relationship between them, and then look at how to improve the architecture. The design pattern book contains many excellent models that focus on the relationship between processing classes. I believe you will feel familiar after reading it. [16:11:00]

HOST: Let's give a warm round of applause to congratulate Pan Hao, room 1320, Science and Technology Building, Zhongguancun South Street, Haidian District. His indomitable questioning Spirit finally brought us to notice him. The first ". net2.0 overall situation View" was his. Congratulations! [16:12:00]

Liu junmin: In ASP. NET performance bottleneck, the most important load is often the processor. Generally, was or trace is used to find a large processor load. How can we control the processor load to a relatively stable pressure? This is the right remedy. First, find out the cause of the load and check whether there is room for optimization. Generally, some complex operations may result in a high CPU. Check whether the algorithm can be optimized, whether the calculation result can be cached, and whether redundant operations can be used to replace frequent operations [16:13:00].

HOST: Please ask questions. The prize is for those who are eager to learn. We hope your questions will give us more thoughts. [16:15:00]

HOST: this event is part 4 of the csdn F2F & Bowen viewpoint famous Forum Series-discussing with Liu junmin and Chen Yuan online how to optimize your asp. net program ", please pay attention to the next activity in this series-upgrade from Windows XP to Windows Vista are you ready?" More good books ("Windows XP best pass. Stay tuned. The activity has been going on for more than an hour. This is a rare opportunity. Please seize the opportunity. [16:17:00]

Chen Yuan: According to your understanding, which of the following aspects does Microsoft improve ASP. NET? Asp.net is still developing. The next version of Asp.net introduces the LINQ technology to make data acquisition and binding easier and more intuitive. What is different from those of the O/R Mapping libraries, LINQ is to make. the net language has the ability to persist data. In addition, the next version of Asp.net will be easier to learn. The further improvement of peripheral servers, such as IIS and SQL Server, will also lay the foundation for Asp.net enterprise-level development. [16:20:00]

Liu junmin: In many dynamic languages, such as Python, Ruby, Perl, and PHP, where are the advantages of ASP. NET? I am not very familiar with other platforms. I have some opinions on ASP.net: the advantage of Asp.net lies in its platform ,. net Framework has helped us with a lot of things. It can use advanced languages such as C #/VB.net. Sometimes there is not only a feeling that "Asp.net is almost omnipotent on the Web Platform ". These are completely object-oriented, so that we can design a flexible architecture. On the interface display, Asp.net controls are of great help to the development efficiency, the rational use of cache can greatly improve the system performance. With vs development, the development efficiency is relatively high. The disadvantage is that it is highly dependent on the platform and consumes a lot of resources. [16:22:00]

Chen Yuan: Ajax often supports a lot of additional files. Do you have any good optimization methods? If you use a third-party library, there will indeed be a lot of unnecessary code included. You should try to use the JS file of the releas version instead of the debug version. If you are familiar with JS, You can crop those JS files to remove unnecessary code. [16:24:00]

Chen Yuan: Excuse me, If ASP is used for development in the early stage of a project and ASP. NET is used for development in some modules in the later stage, do you need to pay special attention to the issues? I think the problem may mainly occur in the maintenance of user statuses, such as session and cookie sharing. [16:27:00]

Liu junmin: Many programmers engaged in Web development generally have the following feeling after working for a while: "engaging in Web development is actually a very technical thing ", what do you think? It is not easy to do a good job on the Web. We need to be familiar with HTML, CSS, JavaScript, and sometimes learn Photoshop, cut down the artist's pictures, understand the database, and write the stored procedures, familiar with background languages. asp must finish learning Asp.net. It is not easy to learn these things well. The reason for misunderstanding is that it is not easy to learn this line, but the threshold is low, and the online website construction system is rampant, and a system will be developed after the change. If you are interested in this row and have a solid foundation, there is still a good prospect, because the lower the threshold, the less people willing to spend their energy to learn the best, if you can learn well, you will be very promising. :) [16:29:00]

Chen Yuan: I am in charge of yindian networking now. How can I rewrite ASP. NET now? Is there a faster way? Msdn has a topic, you can refer to the http://msdn2.microsoft.com/zh-cn/library/dddsc60w (vs.80). aspx [16:30:00]

Liu junmin: Excuse me, If ASP is used for development in the early stage of a project and ASP. NET is used for development in the later stage, do you need to pay special attention to the issues? How to share data? How do I communicate with each other? How do I share Authentication Authorization? [16:31:00]

HOST: Let's give a warm round of applause to Mr. Wen congpan from the e-commerce business department on the fifth floor of Yi building, No. 480 Jiangnan Avenue, Binjiang district, Hangzhou, Zhejiang Province, the spirit of his pursuit of perfect programming has inspired us all. What he has gained is not just a book entitled "optimal asp" presented by the liberal arts viewpoint. net, but also on ASP. net Hall knowledge. 310052 [16:31:00]

Chen Yuan: Is it better to use vs. net2005's automatic data set to generate it, like writing Multi-Layer Code in vs. net2003? Vs2k5 provides powerful dataset customization capabilities, but the development efficiency is calculated by the running efficiency. If the application has high performance requirements, we recommend that you design an efficient data access layer. [16:32:00]

Liu junmin: I am currently working on the Internet of silver and electricity. How can I call the dll Control of ABC in ASP. NET? The simplest way is to use vs to directly add a reference to the DLL. Vs will help you import it into a format that can be directly referenced by. net. [16:32:00]

Chen Yuan: Is it better to use the dynamic HTML generation technology or the cache technology? Generating static html has the least pressure on the server, but there is a problem with content update. Static or dynamic generation depends on application requirements. The technology that can solve the problem is a good technology. [16:33:00]

Liu junmin: Is it better to use the dynamic HTML generation technology or the cache technology? First, let's analyze the essence of the two: HTML static files, which are directly read from IIS via file IO during access. The access efficiency is high, but the update is not convenient, and it is suitable for storing news data; the cache is stored in the memory. The read/write speed is faster than the file read/write speed, but the capacity is limited. If the data volume is large, the cache alone is not enough. Therefore, we recommend that you use the two methods based on the website traffic and data volume. [16:36:00]

Chen Yuan: Could you tell me how to set

Perform one-step debugging to see where the problem is. Locate the code segment thrown by the exception to see if the parameter is incorrect or the object reference is not set to an error such as an object instance. [16:37:00]

HOST: this event is part 4 of the csdn F2F & Bowen viewpoint famous Forum Series-discussing with Liu junmin and Chen Yuan online how to optimize your asp. net program ", please pay attention to the next activity in this series-upgrade from Windows XP to Windows Vista are you ready?" More good books ("Windows XP best pass. Stay tuned. The activity lasted for more than half an hour. Please seize the opportunity. [16:39:00]

Liu junmin: How to quickly bind data on multiple data layers? Nested data binding controls, such as nested repeater. The data source of the Child repeater is the attribute of dataitem of the parent repeater subproject [16:40:00]

Chen Yuan: In ASP. net2, what are the advantages and features of controls such as gridview and detailview in addition to strong dataset? The design support provided by the gridview and detailview allows you to easily customize the display style, and you do not need to handle paging, update, delete, and other event details by yourself, if you have high requirements on efficiency, you should write pages and handle events by yourself. [16:40:00]

Chen Yuan: May I ask the two teachers? What is the positive impact of ironpython introduction on ASP.net development? Does the change in the compilation model help increase the initial access speed of the page? I always think that it is a bit difficult to access all pages in advance... Ironpython was just a little touched on the news. Sorry, I cannot answer this question... If the application architecture is good and won't be restarted in most cases, the slow initial access speed can be borne by the cost. [16:42:00]

Liu junmin: In Ajax, how to remove unnecessary JS? Because I use ajaxpro.2 and JS is registered. thank you for your help. because I always feel that the files are the same and many files are called out each time. this depends on the actual implementation of the Ajax framework you are using and whether it provides an interface for you to change the output content, if it does not work, you have to change the Ajax framework or implement it by yourself. :) [16:43:00]

Chen Yuan: they all said. NET is faster than ASP, but the. NET display I see is much slower than ASP, and IIS processing is also often stuck. What is the problem? This is exactly the purpose of our translation of optimization Asp.net. Through correct design guidance and architecture ideas, applications can truly get up fast! [16:44:00]

HOST: Dear csdn users, we are honored to invite Bao Yu and Chen Yuan to the csdn chat room today. We are also glad to see the participation of so many netizens and feel enthusiastic. Their blog is :( Liu junmin) http://blog.joycode.com/dotey/ (Chen Yuan) http://blog.nixspot.net/NickLedson/ [16:44:00]

Liu junmin: they all said. NET is faster than ASP, but the. NET display I see is much slower than ASP, and IIS processing is also often stuck. What is the problem? This problem should be based on the specific situation: first, check the server hardware. If the configuration is very low, ASP will appear soon ,. net is slow because. net is more oriented than ASP applications. When the configuration reaches a considerable level, the speed advantage of. net will be reflected. Next, let's look at the developer's code quality. If it is not well optimized, the. NET speed will certainly look slower than ASP [16:45:00]

Chen Yuan: What are the advantages of ASP. NET Optimization-object-oriented programming practices and many ASP. NET books on the market? There are too many books, so I have to pick them up. I think this is a book "Let your dreams shine into reality. As my mentor Yan Xin said in the recommendation sequence, many people only use "skills" for oo ideas and layered architectures. This book tells you systematically, how is the multi-layer architecture implemented in the real world. With this book, I believe that web developers can enhance their overall view of the system, rather than simply writing process-oriented code in the codebehind file: [16:52:00]

HOST: optimize ASP. mr. Zhou Yong, one of the translators of "net-Object Oriented practice", was unable to attend the activity due to temporary issues, but still thanked Mr. Zhou Yong for his hard work in translating the book. [16:52:00]

Liu junmin: How do I perform web optimization during Server Load balancer? During Server Load balancer, the most important issue to pay special attention to is that cache, application, and session can be shared by default. [16:53:00]

HOST: Let's cheer for the last winner. He is the lucky winner of this activity: Tao kuizu, room 2501, building 10, taiyueyuan community, Zhichun Road, Haidian District, Beijing. His prize is "optimized ASP. NET Object-Oriented practices" [16:55:00]

Liu junmin: Can you briefly introduce the new book ASP optimization translated by you recently. net-object-oriented open law practice, including: the author himself in ASP. net field influence, the book readers about this book can see this URL: http://www.huachu.com.cn/2006/aspnet.htm this book is especially suitable for those programmers from ASP to Asp.net, or Asp.net programmers have no object-oriented concepts. [16:57:00]

HOST: this activity is coming to an end, 5 is the end, if you still have problems, please pay attention to Liu junmin, Chen Yuan's blog, their blog address is, Liu junmin: http://blog.joycode.com/dotey/ Chen Yuan: http://blog.nixspot.net/NickLedson/ [16:58:00]

Chen Yuan: Can you briefly introduce the importance of the N-tier architecture? The constant evolution of programming ideas revolves around a central topic: How to decouple code and improve reuse capabilities. The purpose is to reduce maintenance costs, improve development efficiency, and make applications more standardized. N-tier architecture is nothing more than that. Its importance is self-evident in enterprise-level development. [16:59:00]

Liu junmin: Can you briefly introduce the importance of the N-tier architecture? I have answered many questions today. I suggest you refer to the previous answers: [16:59:00]

HOST: please continue to pay attention to the famous Forum program, I am the program host noahwing, my MSN is: kahalanoahwing@hotmail.com, please add me to understand the details of the next activity, the next theme is: are you ready to upgrade from Windows XP to Windows Vista? [17:00:00]

Chen Yuan: Hello, teacher! Java is open-source on November 14,. How much impact does this have on Microsoft's. NET platform? I do not know much about the Java platform. Microsoft staff may answer this question. :) However, I think that both open source and closed source are commercial considerations, as for how much impact it will have, it depends on how Microsoft looks at the moves: [17:02:00]

Liu junmin: Hello, teacher! Java is open-source on November 14,. How much impact does this have on Microsoft's. NET platform? I personally think that when you select a platform, you should not only check whether the platform is open-source, but also whether the platform is mature and has enough technical service support, whether there is sufficient accumulation, and whether the price is open source or not. In fact, the source code of Microsoft framework can also be downloaded, and mono implementation is also available in Linux. Therefore, the biggest impact of Java open source is that users who have already used Java can better optimize their systems. [17:02:00]

HOST: this event has ended successfully. Let us once again applaud Liu junmin (Baoyu) and Chen Yuan for their hard work in answering so many questions for us, we also hope that everyone will go smoothly on their own programming path. This activity was well received by csdn, programmer, second bookstore, interactive publishing network, huachu network, blog Park, and Netease. Please continue to support the liberal arts viewpoint, which focuses on providing IT professionals with the most professional books. [17:02:00]

HOST: this event has ended successfully. Let us once again applaud Liu junmin (Baoyu) and Chen Yuan for their hard work in answering so many questions for us, we also hope that everyone will go smoothly on their own programming path. This activity was well received by csdn, programmer, second bookstore, interactive publishing network, huachu network, blog Park, and Netease. Please continue to support the liberal arts viewpoint, which focuses on providing IT professionals with the most professional books.

 

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.