In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces "what are the ASP.NET pen test questions". In the daily operation, I believe many people have doubts about the ASP.NET pen test questions. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful for you to answer the questions of "what are the ASP.NET pen test questions?" Next, please follow the editor to study!
1. What do object-oriented ideas mainly include?
A: the scope of this question is too wide to know what to say.
two。 What is a user control in ASP.NET
A: user controls are things with .ascx extensions that can be dragged to different pages to save code. For example, login may be available on multiple pages and can be made into a user control, but one problem is that the relative paths of the pictures in the user control will become inaccurate after they are dragged to different levels of directories and need to be adjusted by their own writing method.
3. What is an application domain? What is a regulated code? What is a strongly typed system? What is packing and unpacking? What is overloading? How do you explain CTS, CLS and CLR respectively?
A: boxing is to convert the value type to the reference type, which looks like boxing from the MS IL point of view, or, if you remember correctly, the value from the stack to the heap. On the contrary, overloading refers to a method with the same name and different parameters, and the return value can be the same. CLR is a common language runtime, the other is not clear.
4. List what you know about XML technology and its application.
Answer: XML is a good thing, save configuration, station-to-station communication, WEB SERVICE should use it.
5. What is the difference between value types and reference types? Write the sample code of C#.
Answer: structure is value type, class is reference type, so pass structure is the application of value type, pass object or class is reference type, this need not write too much.
What are the commonly used objects in 6.ADO.net? Describe them separately.
A: connection command sqladapter dataset datatable dataview and so on. I can't finish it.
7. How to understand delegation?
A: it is said to be equivalent to a function pointer. If you define a delegate, you can call that method without calling the original method name.
This is explained in msdn2005:
Delegation has the following characteristics:
The C++ function pointer, but it is type safe.
Delegates allow methods to be passed as parameters.
Delegates can be used to define callback methods.
Delegates can be linked together; for example, multiple methods can be called on an event.
Method does not need to match exactly with the delegate signature. For more information, see Covariant and Inverter.
Version 2.0 of C # introduces the concept of anonymous methods, which allow code blocks to be passed as parameters instead of individually defined methods.
What are the similarities and differences between interfaces and classes in 8.C#.
A: there are many similarities and differences, and it's not easy to make it clear.
Which classes are needed to read and write databases in 9..NET? Their role.
A: this class can be written on its own. Do you mean the base class? Then configuration,sqlconnection,sqlcommand and so on will be used.
The similarities and differences between 10.UDP connection and TCP connection.
Answer: the former only transmits, no matter whether the data arrives or not, there is no need to establish a connection. The latter ensures that the transmitted data is accurate and needs to be linked.
What are the authentication methods of 11.ASP.NET? What is the principle of the difference?
Answer: form authentication, windows integrated authentication, etc., the principle is not clear.
twelve。 How do you understand processes and threads respectively?
A: the process is Laozi and Thread is the son. Without Laozi, there would be no son. One Laozi can have multiple sons. A son can be someone else's son, and a father can give birth to another son.
13. What is code-Behind technology.
A: code separation, which is a wise thing, is very uncomfortable to mix into a pile like ASP. Or it can be understood that HTML code is written in the foreground and C # code is written in the background. Of course, the foreground also has scripts, class calls, etc., in fact, it is possible to write together.
14. The role of the active directory.
A: I don't understand this. Please add clearly.
Which namespaces do the classes that read and write XML in 15..NET belong to?
A: System.Xml
I may not write it myself, heh heh.
16. Explain the meaning and function of UDDI and WSDL.
A: what is it?
17. What is SOAP and what are its applications?
Answer: SOAP (Simple Object Access Protocol) simple object access Protocol is a protocol based on XML, which exchanges information and performs remote procedure calls in a distributed or distributed environment. Using SOAP, regardless of any specific transport protocol (the most commonly used is the HTTP protocol), you can allow any type of object or code to communicate with each other on any platform, in any constant language. This mutual communication uses messages in XML format. For more information, please see http://playist.blogchina.com/2521621.html.
18. How to deploy an ASP.NET page.
Answer: whatever. If you want to upload directly, upload directly. If you want to package it into EXE, package it, depending on your preferences.
19. How to understand the garbage collection mechanism in. Net.
A: GC? When an object is created, it must be cleared, otherwise there is not enough memory.
20. What are the commonly used methods to call webservice?
A: if you call it, are there many other methods?
At this point, the study of "what are the ASP.NET test questions" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.