Protected guest: Guo Hongjun (GHJ1976), Mengxian (Mencius E chapter), Liu Ruhong (planning editor)
Chat topic: High-performance web application development
Guest [Moderator]: Everyone in the afternoon!
Welcome everyone to the 9CBS guest chat room.
[2004-10-21 13:39:00]
Guest [Moderator]:
Today, we are very honored to have a few guests who have experience in Web development to visit the 9CBS chat room.
[2004-10-21 13:48:00]
Guest [Moderator]:
Please ask you in this chat activity, please discuss with the Web development technology, please don't involve other content
[2004-10-21 13:49:00]
Guest [Moderator]: Introduction to the guest
First introduce the guests who come to chat room today
[2004-10-21 13:51:00]
Guest [Moderator]:
Mengxian: The famous "Menciic E Chapter", the top character on the 9CBS, "Jianghu" first.
[2004-10-21 13:51:00]
Guest [Moderator]:
Guo Hongjun (GHJ1976): MS MVP, 9CBS Forum architectors and main developers, good at ASP.NET and XML.
[2004-10-21 13:52:00]
Guest [Moderator]:
Liu Ruhong: "MSDN Development Selection" planning editor, specializing in enterprise applications based on COM / COM and ASP.NET while familiar with client script design. It is also the host of this chat.
[2004-10-21 13:54:00]
Guest [Moderator]: Chat Rules 1
During the chat process, please don't talk about topics that have nothing to do with this chat topic.
[2004-10-21 13:55:00]
Guest [Moderator]: Chat Rules 2
Please ask your netizens to submit the questions of guests to the scene to the scene.
[2004-10-21 13:55:00]
Guest [Moderator]:
Our chat is about to start.
[2004-10-21 13:57:00]
Guest [Moderator]:
Declaring again, please don't involve some topics that have nothing to do with this topic!
[2004-10-21 14:01:00] Guest [Liu Ruhong]:
Hello everyone, I am Liu Ruhong, is currently the planning editor of "MSDN development selection", mainly good at COM / COM and DOTNET and its script development
[2004-10-21 14:05:00]
Guest [Mengxian (Mencius E)]:
Welcome everyone to "High-performance Web Application Development" Chat Room
[2004-10-21 14:07:00]
Guest [Moderator]:
Already have guests, please start!
[2004-10-21 14:07:00]
Guest [Liu Ruhong]:
Our event today is to have more people to understand Asp.Net, Mencius and Guo Hongjun (GHJ) are all top masters on 9CBS. I am fortunate to come as our guests.
[2004-10-21 14:07:00]
Guest [Guo Hongjun (GHJ1976)]:
Welcome everyone to the chat room, some of my information is as follows:
Nette: GHJ1976 蝈蝈 蝈蝈 .NET
BLOG: http://blog.joycode.com/ghj/
Email: GHJ1976@9cbs.net
At present, it is engaged in the planning of next-generation 9CBS technology community. You can contact me for any idea of next-generation technology communities.
[2004-10-21 14:08:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: Can I introduce the architecture design of the 9CBS Forum? How many modifications have been improved several times? How to do it? How's the effect?
A: The architecture of the 9CBS Forum, from performance, mainly adopted the following techniques: 1, static document technology;
2, dual cache post list technology;
3. Application logic data fixing process package (this technology is abandoned by this technology due to the performance of database server performance)
[2004-10-21 14:10:00]
Guest [Liu Ruhong]:
Q: ASP is drives ASP.NET, C # Is there any problem, the whole frame is always unclear, thank you!
Answ: ASP and ASP.NET or two different frameworks, or the operating environment has a relatively large gap. Overall ASP is an explanation of server-side technology, while ASP.NET is resolved in a managed environment. Program
[2004-10-21 14:11:00]
Guest [Liu Ruhong]:
I think high performance can be considered as follows.
1. responding speed
2. Capacitive capacity
3. System scalability
4. System flexibility
[2004-10-21 14:13:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: ASP turns ASP.NET, C # has no problem, the whole frame is always unclear, thank you!
A: It seems that the article in your architecture is relatively small, MSDN has a site lecture structure.
Http://msdn.microsoft.com/architecture/
In addition, if English is not good enough, you can see "NET System Architecture and Development" book. However, this book is just some of the translated MSDN on the article about the .NET architecture. Don't look at English, just don't look. This book, the translation is still not good enough.
[2004-10-21 14:14:00]
Guest [Liu Ruhong]:
Q: How should I deal with massive data?
A: The cache design is a very important strategy. In addition, it is necessary to do specific implementation according to the specific business.
[2004-10-21 14:16:00]
Guest [Mengxian (Mencius E)]:
Q: I have never understood that if the XML acts at the page and Database?
A: There is no relationship between the two, but only combines when applying.
[2004-10-21 14:16:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: How does static document technology in 9CBS do?
A: The static file is just to improve reading speed, not to save data, so 9CBS static file is a mirror of the database content, so sometimes some disagreements will be found. The update of static files is just updated when needed.
[2004-10-21 14:16:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: How is the security of web, and how to improve its speed?
A: Safety and speed are generally contradictory. The measured standard is to see how big the thing you want confidential, if the value is not large, the speed is first, safe second, otherwise safety first, data second.
[2004-10-21 14:18:00]
Guest [Liu Ruhong]:
Q: Where is the Web application developed by .NET? Where is the web application developed by Java?
A: .NET development relative to Java's biggest advantages or development efficiency, after all, for a business company, cost is needed, not just because of faith, so choose Java, vs.Net is the best in the market. Ide, and .NET is more kind in consideration for developers.
[2004-10-21 14:18:00] Guest [Guo Hongjun (GHJ1976)]:
Q: What technology can I say in the list of dual cache posts?
A: A layer of cache, a data cache; another layer of cache, the output cache. This is the same as the ASP.NET cache concept.
However, the current 9CBS ASP cache is a cache implemented by using the Application XML DOM object, and there are many options in .NET. But thinking, it is still these two caches.
[2004-10-21 14:20:00]
Guest [Liu Ruhong]:
Q: will the three-layer architecture will affect the performance of the web application?
A: In Web application development, the layering is very necessary. From a sense, it is the best efficiency, but during a large site development process, if the development, everyone should It can be understood that it is impossible to imagine. The hierarchical design is conducive to you better abstraction and is more suitable for large sites development. If the performance problem is caused by the layering, we can degrade the model after design, such as some modules that are hierarchically designed, but this does not mean that you don't hierarchical design. .
[2004-10-21 14:22:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: Cache and static pages, that is the highest efficiency?
A: The specific situation is specifically analyzed. For example, if the amount of data is large, like 9CBS forum post, there is a total of
20 g
The amount of data. It is very complicated using a cache. So use static page technology. If the update is more frequent, you will use static page technology, the database's disk I / O load will be large, this time, it is better to use the cache because it is a memory operation. Push it according to next time, you have to find you to solve the problem. Then determine the efficiency in that way.
[2004-10-21 14:23:00]
Guest [Mengxian (Mencius E)]:
Q: Double cache post list technology is technology to say?
A: ASP.NET recommends trying to use the cache to improve performance, caching technology has many introductions on MSDN and the network. The book did not see it. If you need, you can synthesize a room to 9CBS
[2004-10-21 14:24:00]
Guest [Liu Ruhong]:
Q: Please introduce the implementation of the MVC mode in the ASP.NET?
Answer: Model, view, control, from simple, we can understand as BO (Business Object), this level is for data models, View can be understood as an ASPX page, and Control is your business logic, three-story design Web development is very common, you can refer to Microsoft's "Enterprise Structure and Mode" book, with a corresponding address in the Chinese site.
[2004-10-21 14:24:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: How to break through Session download, save web html?
A: The easiest way, the simulator's normal operation, if the site limits one minute, only one minute can only access three pages, then you will ask three times a minute. The operation of IE is to transmit HTTP information, which can be simulated by the program.
[2004-10-21 14:25:00]
Guest [Liu Ruhong]:
Question: Who is better in .NET and Java web applications? I used C # written web applications before, and I found that the speed is not fast.
A: If the C # should be superior to Java from the running speed, after all, in the hierarchy of the virtual machine, it is better than Java, which is much better than Java. It is not possible to blame C # Or Java who is slow. [2004-10-21 14:26:00]
Guest [Mengxian (Mencius E)]:
Q: If only ASP has only been developed, some books can be recommended, is the system to learn about .NET web development? A good book is too important!
A: You are right. A good book is very helpful to learn. You can refer to ASP.NET Advanced Programming, Wrox published. Tsinghua translation
[2004-10-21 14:26:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: Is the static page of 9CBS is not XML?
A: That is that you only see 9CBS has a forum. Didn't see 9CBS has news, documentation, news, documentation, here 9CBS is the use of SHTML technology, not XML technology. Static file technology can actually be divided into many classes based on which static file used. Use that static file to see your actual needs.
[2004-10-21 14:27:00]
Guest [Guo Hongjun (GHJ1976)]:
Question: How to generate a static page to client access to a large portal like SOHU?
A: SOHU is actually the simplest, his core is news, news as long as it is released, then no need to modify, he only needs to generate a static file after release.
[2004-10-21 14:28:00]
Guest [Mengxian (Mencius E)]:
Q: I am developing a B / S mode document management system to realize online editing and check-in checkout of electronic documents, where batch file uploads (including relative path information) function is not available on the web because browser security restrictions have Realize, do you have any way?
A: Batch upload is generally a control in the client.
[2004-10-21 14:29:00]
Guest [Liu Ruhong]:
Q: How to generate a static page to access to the client like SOHU?
A: You can complete the generation of static pages through some frameworks, which is pure server-side technology, under IIS, you can even use ASPX to implement, then use the URL Rewrite technology, let users feel that you have generated a lot of HTML For example, you can map /article.aspx?id=12345 to /articles/12345.html, requested a static HTML, really handling or ASPX. These technologies can be implemented in IIS5.0 through ISAPI, of course, asp.net achieves more easily
[2004-10-21 14:29:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: Is the 9CBS website use several servers to achieve the cluster and load balancing?
A: The current version of 9CBS did not achieve load balancing, the next generation design, load balancing is achieved. At present, 9CBS has more than 10 servers. Different uses are different.
[2004-10-21 14:29:00]
Guest [Liu Ruhong]:
Q: What is the benefits of documentation, news class use SHTML static file?
A: The biggest benefit using SHTML is to be easily indexed by search engine. Generally, search engines are higher than dynamic pages for static pages.
[2004-10-21 14:31:00]
Guest [Mengxian (Mencius E)]:
Q: How is the search in the station of the Alibaba website implementation? Its feature is that the page obtained after the user is all static, and the connection is, how is this implementation? A: The Alibaba website did not study, and should be dynamically generated by the server.
[2004-10-21 14:31:00]
Guest [Liu Ruhong]:
Q: How to deal with a large number of static temporary files generated?
A: You can solve it through some storage mechanisms, or simply delete, you will see your business needs.
[2004-10-21 14:32:00]
Guest [Mengxian (Mencius E)]:
Q: What is the benefit of generating a static page? What is the difference between ASP, JSP page?
A: The static page does not require a server to process, and send it to the client directly. It can greatly reduce the overhead of the server. ASP, JSP, etc. need to be sent to the client after server-side parsing. Need CPU, memory consumption
[2004-10-21 14:34:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: Is the most important part of Web development? Is the database structure design?
A: For small websites, the database is designed, and most questions are solved. If the large site, the chart, performance, which will account for a large proportion. Is the website? The website is a data show, collecting the platform, that is, show the content of the database, and records the data you need to collect to the database. Obviously, it is also an important part of the show here. So, my point of view, for small websites, to do WEB development, important two basic skills:
1, database; 2, art (improve user experience). If the website is big, you need to consider it.
[2004-10-21 14:34:00] Guest [Liu Ruhong]:
Q: High-performance web application development has great skill! Can the B / S structure really replace the C / S structure?
A: I don't think, there are many C / S registered discussions to see in various websites, but it is foreseeable that the current development needs a more easy deployment, easy to implement, such as Microsoft's Smart Client Technology, as well as Mozilla's XUL, as well as Macromedia's Flex, etc. Maybe we can look forward to Longhorn Avalon technology!
[2004-10-21 14:34:00]
Guest [Liu Ruhong]:
Q: Use the URL REWRITE technology to make the user feel that a large number of HTMLs are actually ASPX. Excuse me, use this way (at least I think I don't change the medicine) Do you have improvement?
A: I think the performance is not what specific technology you use, but you have a complete solution. For example, what you mentioned, we can improve efficiency through the ASPX cache.
[2004-10-21 14:36:00]
Guest [Mengxian (Menciic E Chapter)]:::
Q: Can I develop MVC structures under the .NET framework?
A: Yes, you can refer to the Model-View-Controller in ASP.NET
Http://www.microsoft.com/china/msdn/library/architecture/patterns/esp/impmvcinasp.mspx
[2004-10-21 14:36:00]
Guest [Liu Ruhong]:
Q: So, can you make this, I build a database for its address index, expiration, but re-generate files again.
A: Well, this is a way of implementation [2004-10-21 14:36:00]
Guest [Liu Ruhong]:
Q: Tens of thousands of records read from XML files and read from SQL database from the SQL database?
A: This time XML is not a best solution, especially in structured data, the area of XML is good at semi-structural data and semantic expression, if it is a simple data access, DataReader is better than DataSet.
[2004-10-21 14:38:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: Do tens of thousands of records that are suitable for the XML file?
A: Tens of thousands of records are suitable for XML, mainly to see:
1. Will you inquire about these data? ? The current XML query performance is not very optimistic;
2, do you need to load this data to memory? ? If you want, is it to load one time? ? How long is the first load time? Are you acceptable? ? I think, as long as you don't need to consider the above two questions, use XML is ok, otherwise it is not suitable.
[2004-10-21 14:38:00]
Guest [Liu Ruhong]:
Q: By default, using ASP.NET always has a lot of piles of viewstate, and I don't have to seeState on a lot of ASP.NET builds. How do they do it? Is there a related mode? . VIEWSTATE The impact of efficiency is big?
A: For the web control of ASP.NET, you can disable the viewstate, the efficiency will definitely affect, after all, for these data servers requires a process of loading and stored.
[2004-10-21 14:39:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: Where is SHTML and HTML?
A: The most obvious difference: SHTML can use such a file mode. HTML is not.
[2004-10-21 14:40:00]
Guest [Liu Ruhong]:::
Q: Use other languages, such as ASP, how to implement URL REWRITE, can you give an example?
A: Helicon provides a free solution, you can get from the web, isapi_rewrite supports the ASP, you can even enable JSP on IIS, the suffix name like PHP
[2004-10-21 14:42:00]
Guest [Mengxian (Mencius E)]:
Q: I am a technical personnel of a company B2B business website. We are still ASP, whether you can implement URL REWRITE technology?
A: ASP does not support urlrewrite. You can refer to http://dev.9cbs.net/Article/42/42861.shtm
[2004-10-21 14:43:00]
Guest [Liu Ruhong]:
Q: I have learned ASP, but I feel ASP and ASP. Net is really a natural, don't know what to learn, how to learn?
A: I think the object-oriented design idea is very important. There are quite ASP.NET articles on the Internet, and Mencius's website (http://dotnet.aspx.cc) has many articles.
[2004-10-21 14:44:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: Why is 9CBS always "service unavailable", is there any way to solve? A: "Service Unavailable" is this instant IIS server in a non-open state. This situation is because the previous 9CBS server often dies where it is, the server does not respond. Later, I made a timing monitor. If you find a specified page, within a limited time, the access is not reactive, and the IIS will be automatically reacted.
Service unavailable is an error message given by IIS to access the web page. There is no way to solve the service unavailable problem without thoroughly improving server performance.
[2004-10-21 14:44:00]
Guest [Mengxian (Mencius E)]:
Q: Can you tell me a massive data program like a forum, data changes at time, and it is good to use XML technology?
A: The use of XML technology is mainly to reduce the burden on the server, not good for search, query, etc., or to combine databases.
[2004-10-21 14:45:00]
Guest [Mengxian (Mencius E)]:
Q: Will Mencius, do you recommend that database exercises do all store procedures when developing large and medium-sized websites?
A: Whether to use the stored procedure to see your operation, for more complex database operations and time-consuming, it is recommended to use the stored procedure. The same SQL statement, the stored procedure is always faster than the ASP / ASP.NET.
[2004-10-21 14:47:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: Can you give you how to learn ASP. NET? Want to see those books better?
A: It is highly recommended to recommend the second edition of "ASP.NET Unleashed".
That is: http://www.dearbook.com.cn/book/viewbook.aspx? Pno = TS0022702
[2004-10-21 14:47:00]
Guest [Mengxian (Mencius E)]:
Q: Is there anyone familiar with the componentization design in Web development? The research on this aspect, please advice!
A: What does you mean by the architecture? Is it modular mean? This should be the direction of software development. After the development software should be like a wooden.
[2004-10-21 14:49:00]
Guest [Mengxian (Mencius E)]:
Q: Can you introduce a few books about ASP.NET? It is best to read it in a step-by-step manner.
A: ASP.NET Advanced Programming is more comprehensive. Get started first, carry out in-depth reference
[2004-10-21 14:50:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: will the three-layer architecture will affect the performance of the web application?
A: This depends on how you design this three-story architecture, and your website is not when you need a three-layer architecture. If the website itself is not accessed, it is not necessarily good to do three-story architecture. My opinion, don't pay too deliberately pursue the pattern of this model, choose the way the best suits you.
[2004-10-21 14:52:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: There is a friend says that if the visit is a big pressure to the database, how do you improve the process of frequent access to database efficiency in practical applications?
A: 1, caching. Although there is tens of thousands of requests for your website, but by caching, you can reduce requests for the database to only dozens; 2. Improve database performance. For example, use the stored procedure. And the use of redundancy on the design of the database. Reduce the pressure of the database. [2004-10-21 14:53:00]
Guest [Mengxian (Mencius E)]:
Q: How is the large site of Sina developed? Can you use ASP.NET to do that effect?
A: High-performance website should consider many factors, software hardware, Sina mainly generated is a static page. ASP.NET should also.
[2004-10-21 14:53:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: Can you tell me a massive data program like a forum, and the data changes at time, how should you handle it?
A: The Forum has changed very quickly, but specifically to a post, this post may change very slow. Understand what I mean, if a thing changes very fast, then you will split, split into a small individual. Be careful not to split, it feels that your forum is dead. Of course, it is necessary to improve performance.
[2004-10-21 14:55:00]
Guest [Mengxian (Mencius E)]:
Q: What kind of factors do you need for real high performance?
Answer: Many high performance factors: Try to use Cache, less session, especially Session object, less Web Control, try to use the client to implement, try to return to the server, the generated HTML should be simple, no less code. If I have time to finish, I will put it in http://dotnet.aspx.cc/, here is limited here!
[2004-10-21 14:57:00
Guest [Guo Hongjun (GHJ1976)]:
Q: Is Alibaba, eBay, etc., is related to a session, is it suitable for static text technology?
A: The e-commerce website is not suitable for pure static files. However, a page is not possible to update in time, some of which may not update. In this case, the cache of partial regions, and some areas are static files. You can solve this problem.
[2004-10-21 14:57:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: The daily traffic is 1 million websites, the amount of data is not very large, and how many server clusters are therea needed?
A: This involves the specific architecture of your website. If your website data update doesn't need to be timely. Static document technology is used. So, a normal server can be completely qualified. So, to see several servers, in addition to the traffic, you have to look at the architecture.
[2004-10-21 14:59:00]
Guest [Liu Ruhong]:
Q: How is Cache use, specifically tell?
A: It is relatively simple, Cache implementation is to cache some data changes, such as some statistics. I can cache a page to locally caching. This depends on the implementation technology of the specific framework!
[2004-10-21 14:59:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: I have a little doubt for the list of posts for 9CBS post. The change in the list is very frequent, is it saved in the database now?
A: I said before, the current version of the post list, which uses dual cache technology. That is, in fact, you read the list of posts, is not dealing with the database, dealing with the cache. [2004-10-21 15:00:00]
Guest [Mengxian (Mencius E)]:
Q: Is VS2005 SQL2005 cache technology and now there is a relatively large change, is there a related comparison URL?
A: SQL2005 has many improvements. The VS2005 has added the convenience of development, such as: custom, breakpoint, better is to support XSLT breakpoint debugging, specifically refer to http://www.microsoft.com/sql/2005/
[2004-10-21 15:00:00]
Guest [Liu Ruhong]:
Q: Please recommend the tool for web report design?
A: If it is based on .NET, Reporting Service is the first choice, and the Crystal Report (Crystal Report) of Bo is also very wide, and the Actienamic's ActiveReport is also very good.
[2004-10-21 15:02:00]
Guest [Mengxian (Mencius E)]:
Q: Can Mencius teachers introduce custom server controls?
A: ASP.NET is getting started quickly, just say it here.
Http://chs.gotdotnet.com/quickstart/aspplus/default.aspx?url=/quickstart/ASPPLUS/doc/quickstart.aspx
[2004-10-21 15:02:00]
Guest [Liu Ruhong]:
Q: Can I make a SERVLET with ASP.NET? Is there any file extension in the URL or an extension to the file?
A: Well, you can do it, you can pass through URLREWRITE, but don't abuse, because all requests are submitted to isapi_aspnet.dll for performance.
[2004-10-21 15:03:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: Where is the advantage of the three-story development of the ASP? Is it just a code separation? Will there will be impact performance? Domestic success applications are: DVBBS.
A: A forum success or not, not his technology has more cattle, but looks at his forum system. Easy to use. The three-layer architecture is a relatively universal architecture. It can solve the vast majority of questions, but can't solve some of your special needs, special circumstances. For example, your website is very small, doing a three-story architecture, one level is
[2004-10-21 15:04:00]
Guest [Liu Ruhong]:
Q: Ask a question that may be more comradious, what is "deployment"?
A: Simple understanding is how the application you have developed can be migrated from the test platform to the running platform.
[2004-10-21 15:04:00]
Guest [Mengxian (Mencius E)]:
Q: How to design this cache? I can temporarily store the most frequently accessed data with XML, but frequent opening / closing XML files will bring pressure to I / O, how is your memory mode solved?
A: XML is not suitable for cached storage.
[2004-10-21 15:05:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: What should I pay attention to using the C / S structural development network database application?
A: The C / S structure is actually two-layer structure. If you find that your database pressure is too large, then two solutions: 1. Improve the performance of the database, such as split databases to different servers, optimize databases, etc. 2, becoming a three-layer architecture, an intermediate layer, an intermediate layer caches some of the frequently requested data.
[2004-10-21 15:06:00]
Guest [Mengxian (Mencius E)]:
Q: If your QQ is online, you will also show you online in the QQ forum, it seems to be synchronized, I want to ask how this is achieved?
A: Yes from a database to take information, make a tag when logging in.
[2004-10-21 15:06:00]
Guest [Mengxian (Mencius E)]:
Q: Can Mencius teachers introduce custom server controls?
A: See: http://chs.gotdotnet.com/quickstart/aspplus/default.aspx? URL = / QuickStart / Aspplus / Doc / QuickStart.aspx
[2004-10-21 15:06:00]
Guest [Liu Ruhong]:
Q: WEB program can develop high-performance instant to QQ?
A: I think this is the application of two different categories. At this point, you can look at the Web Msn Messenger, you can use your MSN directly from http://webmessenger.msn.com/, but I want web most Suitable work is not to communicate in time, but in other fields
[2004-10-21 15:07:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: How can you make a specific point?
A: The specific code is different depending on the language. For web programs, in fact, two categories: 1. Page output cache, this time, cache is HTML of these output information; 2. Data cache, these data is to be logical, and the cache is more convenient to calculate data. Structure, such as DataSet, XML, and more.
[2004-10-21 15:07:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: How to tell how to do it, God, I didn't learn anything.
A: Is the data structure learned? ? The cache is to save the required things to memory, and later use, as for how to cache, make the list, can be queues, etc. . Of course, there are ready-made DataSets, XML, memory mirror files, and more.
[2004-10-21 15:10:00]
Guest [Liu Ruhong]:
Q: Some information in the mobile network is in cookies, this is called cache?
A: The cache is for data, and some information is placed strictly in a state tracking.
[2004-10-21 15:10:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: I have a friend who uses C # to develop mobile phone SMS applications. I want to ask, what is the difference between the application of SMS and web applications?
A: The SMS program is not very different from other programs. It is actually calling other company SMS interfaces. This interface may be an HTTP GET request, or an HTTP POST request, of course, there is Web Service. Specifically see the other party cooperation company. The rest is the same as other programs.
[2004-10-21 15:11:00]
Guest [Mengxian (Mencius E)]:
Q: Ask the most stupid problem, what is a cache? A: Generate high performance, one of the most important factors that can be scalable is to store these items in memory when the first request item, whether they are data Objects, page or some parts of the page. These items can be stored on a web server or on other software in the request stream, such as proxy servers or browsers. Allows you to avoid recreation information that meets the previous request, especially those that require a lot of processor time or resources. This is the usual cache, which allows you to use multiple technologies to request storage page output or application data across HTTP and reuse it. In this way, the server does not need to recreate information, thereby saving time and resources. ASP.NET provides two cache types you can use to create a high-performance web application. The first type is called an output cache, which allows a dynamic page or user control response to any HTTP 1.1 cache function in the output stream (from the initiator to the request browser). When the rear request occurs, the page or user control code is not executed, and the output of the cache is used to meet the request. The second type of cache is a traditional application data cache that can be used to programmatically store any object (such as data set) to server memory, so your application can save time and resources needed to recreate these objects. .
[2004-10-21 15:11:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: Please tell why do you have to use httpmodule and httphandler?
A: This is not necessarily used, when you need it, use it again. I suggest you look at the working principle of ASP.NET, know how to work, is very helpful for designing high performance procedures.
[2004-10-21 15:13:00]
Guest [Liu Ruhong]:
Q: Please tell why do you have to use httpmodule and httphandler?
A: If you understand the two applications of ISAPI, I want to understand that httpmodule and httphandler are relatively easy, simple, HTTPModule is equivalent to the filter, can listen to all HTTP requests, and httphandler is a handler, the ASPX page is also A httphandler, just achieving more features
[2004-10-21 15:13:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: Can I call Mengxian (Mencius E chapter) to organize a cache related technical article in 9CBS?
A: Mencius's personal website: http://dotnet.aspx.cc/
http://sz.luohuedu.net/xml/
[2004-10-21 15:13:00]
Guest [Mengxian (Mencius E)]:
Q: How do I apply caching technology?
A: ASP can only use Application or Session
[2004-10-21 15:13:00]
Guest [Liu Ruhong]:
Q: Which is better in efficiency and server load?
A: I think, design a good system is not how fast your code is executed, but your system can withstand a lot of requests, and how to adapt this when loaded change
[2004-10-21 15:14:00]
Guest [Mengxian (Mencius E)]:
Q: What should I pay attention to using the C / S structural development network database application?
A: Safety, the performance is the key.
[2004-10-21 15:15:00]
Guest [Mengxian (Mencius E)]:
Q: There is a friend around me, they use the ASP three-layer structure development, they don't separate the code encountered in the ASP development, the domestic successful application is DVBBS. Is this in performance? ? A: It is best to make a DLL component, which is more efficient.
[2004-10-21 15:16:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: Can I talk about the most difficult and most important place to transform from ASP in development from ASP?
A: SESSION cannot be shared.
[2004-10-21 15:16:00]
Guest [Liu Ruhong]:
Q: How do I call the USB hardware key in the web? I mean that I do the OA is able to log in to the USB.
A: If you want to access local resources on the web, you need to sign the ActiveX, and you need to install each client machine, and some certificates can also be solved!
[2004-10-21 15:16:00]
Guest [Mengxian (Mencius E)]:
Q: About cache design, where is this better example or book?
A: You can find a lot of tutorials on the web. Special books seem to be!
[2004-10-21 15:16:00]
Guest [Mengxian (Mencius E)]:
Q: C # runs quickly in Windows than Java, this I believe, both are Microsoft products, compatibility. I want to ask, the web application with C # develops is not running under Windows?
A: C # is currently running under Wndows, and other systems have problems. However, Mono has been implemented in Lunix!
[2004-10-21 15:17:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: Use a web way to access the network database fast, or use C / S to access the network database fast? ?
A: This question should be specific to the specific problem. They are all the same bandwidth, is it ADO.NET, how is the database pressure accessed? What is the server pressure of access? Waiting for these all affects who is faster.
[2004-10-21 15:19:00]
Guest [Liu Ruhong]:
Q: What is the security of ASP.NET?
A: I think a system security is some of the techniques and implementations that require relying on your implementation. Compared to previous servers, Windows Server 2003 is the first system that is designed from a security perspective. At the same time, ASP.NET provides a good model for resources, you can use Windows authentication, you can use simple configuration to implement permission control, you can use form certification, and PASSPORT support!
[2004-10-21 15:19:00]
Guest [Mengxian (Mencius E)]:
Q: Which resource is of SQLSERVER and Access?
A: SQL Server and Access have not seen the result of the comparison, and SQLServer should be relatively large. Access is generally used to do small, incompatible applications!
[2004-10-21 15:20:00]
Guest [Liu Ruhong]:
Q: Does the C / S and Web development network database application do?
A: The C / S structure can make full use of client resources, and B / S has better elasticity, everything is still considering your system from the perspective of the application!
[2004-10-21 15:21:00]
Guest [Mengxian (Mencius E)]:
Q: Flash used on the web page is easy to be downloaded by the user, what ways to encrypt, prevent users from downloading, can I do FLASH to imaging streaming like REAL, online play? A: Flash is already a flow format. This is related to the SWF file format!
[2004-10-21 15:22:00]
Guest [Liu Ruhong]:
Q: What kind of fun is there in the ASP.NET using XML?
A: In the support of XML, .NET is the best, XML has a significant advantage in storage semi-structured data, and in ADO.NET, there is a lot of support for XML!
[2004-10-21 15:22:00]
Guest [Mengxian (Mencius E)]:
Q: What are the main applications of XML Web Service?
A: You can use anything, just now there are not many applications, technology is not very mature. For example, stock information, weather forecast, etc.
[2004-10-21 15:23:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: Is ASP.NET conflict with recently popular Web standards? I noticed that the code generated by ASP.NET is sometimes very huge, which should be a burden on performance, although there is a caching mechanism, but it seems that it is not fundamentally reduced by bandwidth.
A: 1, in ASP.NET 2.0, the garbage code on HTML HEAD is not available by default. 2, the web form introduced in the ASP.NET requires a lot of communication with the client, and the viewstate is generated for this. This obviously affects the performance of the website, (more data passed.) So, based on your own situation, use Web Form, and some viewstate, it is very helpful to improve performance. Microsoft provides this thing, not to use it at any time, we have to use it. When necessary, we have to write some components to replace some of Microsoft's default components.
[2004-10-21 15:23:00]
Guest [Mengxian (Mencius E)]:
Q: What is httphandle and httpmodule, how to apply, what is the difference, use these to improve performance?
A: I can refer to it
Http://tech.ccidnet.com/pub/Article/c294_a34991_p1.html
http://www.frontfree.net/view/Article_856.html
[2004-10-21 15:24:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: The session cannot be shared. I found that the 9CBS login program is made with ASP.NET, and it is an ASP page. How do you handle session?
A: cookie, both cookies can be universal. You can see my blog:
http://blog.joycode.com/ghj/archive/
2004/03/17
/16453.aspx
[2004-10-21 15:25:00]
Guest [Mengxian (Mencius E)]:
Q: For large business websites, often facing the static page, or use the page to slow down? Does this have an answer?
A: Each advantageous and disadvantages, good to the business website, or use dynamic, because you want to verify your identity!
[2004-10-21 15:25:00]
Guest [Mengxian (Mencius E)]:
Q: What should I do if we don't have a lot of request to request this test environment in efficiency and load? How can I know if the system will experience the test? A: Microsoft provides ACT in VS.NET, which can be roughly understood!
[2004-10-21 15:27:00]
Guest [Liu Ruhong]:
Q: For large business websites, often facing a static page? Still use of the page to slowly? Does this have an answer?
A: From the perspective of safety, all the data should be confidential. At this time, a relatively appropriate choice is used in this time, this is just my personal tendency, because uses a dynamic page, on page permission control In terms of us, we can easily, of course, specific applications still rely on actual business, if your page does not want to be indexed by search engines, then I still recommend using dynamic pages, otherwise I will reverse [2004-10-21 15:27 : 00]
Guest [Guo Hongjun (GHJ1976)]:
Q: Can I specifically say how the dual cache on 9CBS is implemented? Whether the page cache save information, the data cache saves the index of the page cache?
A: Yes, the page cache is the HTML code that uses the ASP's Application Caches the page output; the data cache is cacked an XML DOM object to the Application object. Another last cache update time is recorded to the Application to implement a timing maintenance cache. For ASP, global cache only uses Application. The next generation of communities, caching options will be more.
[2004-10-21 15:28:00]
Guest [Mengxian (Mencius E)]:
Q: I downloaded the components written by foreign friends on the Internet. He can achieve the path to encrypt flash on the web, how this is achieved.
What is encrypted?
[2004-10-21 15:29:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: Is the 9CBS Forum to use a cookie session?
A: No, because 9CBS cookies is encrypted cookie. If you are completely used with a cookie session, performance has a pressure. 9CBS session is a combination of session using cookies. Session saved is the decrypted data.
Cookie is saved after encrypted data. This will not be decrypted each time. Just decrypt when it is decrypted, regular, or session is lost.
[2004-10-21 15:30:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: If I use the Application object in the ASP to store information, don't you use a cache?
A: Of course, you!
[2004-10-21 15:30:00]
Guest [Liu Ruhong]:
Q: How to test performance issues, where is the entry point?
A: You can use some pressure test tools, and VS.NET comes with Application Center Test, and Rational has also provided a good tool, and you can do some unit testing for business logic components. This can use NUnit!
[2004-10-21 15:30:00]
Guest [Liu Ruhong]:
Q: How do I test to locate their performance issues for web applications? In other words, how to test high-performance web application development?
A: I think it is still a pressure test. For example, how much request can be accepted at the same time, how much transaction can be handled per second! [2004-10-21 15:31:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: How to enter a page that requires verification! For example, how to make a Win form program, let him post on the SCDN with my own account?
A: Pay attention to the 9CBS cookie, you can use the program to achieve your activity in 9CBS. But also be careful of your cookie stolen. Then you will trouble. In addition, if you are blocked, of course, no matter what, you can't send your post.
[2004-10-21 15:32:00]
Guest [Mengxian (Mencius E)]:
Q: I have never tried my development component. Is there a good book recommendation?
A: You can take a look at the bookstore, I haven't payable it for a long time. If developed. NET components, you can see "ASP.NET Server Controls and Components Development".
[2004-10-21 15:33:00]
Guest [Mengxian (Mencius E)]:
Q: Can you transfer DataSet objects without sessionce?
A: cache can also
[2004-10-21 15:34:00]
Guest [Mengxian (Mencius E)]:
Q: How do I store an object to Application? For example, a database connection, or an XML DOM object? What knowledge or technology is generally used?
A: There is no need for what specially in place application. Not recommended
[2004-10-21 15:36:00]
Guest [Liu Ruhong]:
Q: A page URL encrypted problem: like this chat room address:? User = uglybean & pass = OWTXTEXVYMYRDYTJEEMDQLJTJSGGHAU & XB = 1 & r = 19133 The intermediate encryption algorithm is? what is the benefit?
A: This needs to rely on your specific algorithm, some use MD5 encryption or other encryption algorithms!
[2004-10-21 15:36:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: It seems that session also uses cookies, what is the difference between using cookies directly? Is the SESSION's security?
A: The specific data of the session is saved in the server, but he saves a key in the client's cookie, only this key can take the value of the corresponding session. So, if you log in to a website, I know your key, this time, I can justice you. The cookie is saved to the client directly to the client.
[2004-10-21 15:37:00]
Guest [Mengxian (Mencius E)]:
Q: Can you transfer DataSet objects without sessionce?
A: cache is also possible
[2004-10-21 15:37:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: Can I develop a class QQ online video conferencing system with C #? Does the client must be installed .NET framework?
A: This will see that you are the structure of the BS. Isn't there a video chat room now, their clients don't need .net!
[2004-10-21 15:38:00]
Guest [Liu Ruhong]:
Q: MS said that the language on the NET is equal, the function is the same, but the future C should develop all the program or even the development of the operating system (Stan Lippmant said), then C # can also Luo? Is it a lie? A: Each language has its own positioning, even in .NET, C # is developed relative to the appropriate ENTERPRISE development, while C / CLI is the development of system level, this "programmer" magazine No. 11 has special C / The topic of CLI, which also talked about the relationship between C / CLI and C #!
[2004-10-21 15:38:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: I think I have to develop high-performance web applications must have a reliable test to do the backing, otherwise it will not talk about?
A: This is of course, high-performance websites, actually to find the bottleneck of your website and then modify the code for bottlenecks.
[2004-10-21 15:38:00]
Guest [Mengxian (Mencius E)]:
Q: Web application, there are many customer code JavaSCRPT, VBScript, etc., what tool test is better?
A: INTERDEV, VS.NET supports debugging!
[2004-10-21 15:39:00] Guest [Guo Hongjun (GHJ1976)]:
Q: Web application, there are many customer code JavaSCRPT, VBScript, etc., what tool test is better?
A: Microsoft's ATC is a typical test web tool.
[2004-10-21 15:39:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: Does the C / S and Web development network database application do? Why use C / S to develop network database applications so few, many are web, why?
A: C / S is a fat client, and the client requires strict. In fact, it is not c / s that is not C / S all day, but a smart client program.
[2004-10-21 15:41:00]
Guest [Mengxian (Mencius E)]:
Q: Stan Lippman said C should be a system language in NET, and C # should be talented, right?
A: This can't be discussed, watching Microsoft!
[2004-10-21 15:41:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: I always think that ASP.NET's run is very slow, and a page is running in VS to wait for half a day.
A: For the first time, he wants to compile, of course slow
[2004-10-21 15:42:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: What is a smart client program?
A: See:
http://www.microsoft.com/china/community/program/originalarticles/techdoc/smartClient.mspx here's basic concepts of smart client programs.
[2004-10-21 15:47:00] Guest [Guo Hongjun (GHJ1976)]:
Q: How do I weigh the client code and server-side code in B / S app to improve performance?
A: It is actually a comprehensive consideration of safety and performance. For example, some verifications must have clients, the server segment is also available. [2004-10-21 15:48:00]
Guest [Guo Hongjun (GHJ1976)]:
Q: Can 9CBS can't do some video lectures developed by C # program? It is best to specifically go to a certain aspect, let everyone download it?
A: 9CBS is currently in touch with the manufacturer of video lectures, talking with them. If you do know, or your company is doing a video lecture, you can contact me: ghj1976@9cbs.net In addition, Microsoft China has Webcase, you can download some video lectures you interested in yourself.
[2004-10-21 15:53:00]
Guest [Moderator]:
Our chat event will end, give you the incurred place, please forgive.
We will meet again in the future!
Thank you for your cooperation and support!
I hope everyone will continue to pay attention to and support our website and magazine!