What should the. NET cool people know?

Source: Internet
Author: User
Tags form post net thread

Scott Hanselman, http://www.hanselman.com/blog/WhatGreatNETDevelopersOughtToKnowMoreNETInterviewQuestions.aspx author
Translator: Tony Qu

A few days ago, I sent a list of ASP. NET interview questions. Some visitors thought I was okay, and there were some trivial issues. The rest of the people said, "It's pretty good. I have to take a look at some of these questions." I prefer the reply from the latter. I think the latter is the correct attitude.

Of course, I don't want to generalize. NET software development into some simple small problems. I just want to let everyone think more. I believe that a really good ASP. NET (and WinForm) developer should not only drag and drop controls into the designer, but also learn more. A good racing player knows his driving skills. What can he do? What cannot be done?

So I have prepared another list-an extended list for you to use. This was written on a board on my way from Boise to Portland last week, and I also considered the comments that thought my list was too trivial and tried to manage it by section. If you have never gone deep into ASP. NET, you certainly won't know the answers to all ASP. NET questions. If you are an independent consultant, you may never have encountered these concepts. But I have encountered these problems during my 4 years in Collins. Therefore, whether you fully understand these problems may have nothing to do with whether you are a good developer, but it can help you save a lot of time when you encounter problems.

What do. NET cool people know?

Anyone using. NET

  • What is the difference between a thread and a process?
  • What is a Windows service? What is the difference between its lifecycle and the standard EXE program?
  • What is the maximum memory size that a single process can access on Windows? Is it the same as the maximum virtual memory of the system? What is the impact on system design?
  • What is the difference between EXE and DLL?
  • What is a strong type and what is a weak type? Which one is better? Why?
  • What is PID? How to use the system in troubleshooting?
  • How many processes can a single TCP/IP Port listen?
  • What is GAC? What problems does it solve?

Intermediate. NET developers

  • Describe the differences between interface-oriented, object-oriented, and Aspect-Oriented Programming
  • What is interface? What is the difference between it and class?
  • What is reflection?
  • What is the difference between the XML Web Service using asmx and the. NET remoting using soap?
  • Is the type system represented by XMLSCHEMA? Is CLS represented by XMLSCHEMA?
  • What is the difference between early-binding and late-binding?
  • Does calling assembly. Load calculate static reference or dynamic reference?
  • When to use assembly. loadfrom? When to use assembly. LoadFile?
  • What is Assembly qualified name? Is it a file name? What's the difference?
  • Assembly. Load ("foo. dll"); is this statement correct?
  • What is the difference between an assembly with strong signatures and an assembly without strong signatures?
  • Can datetime be null?
  • What is JIT? What is ngen? What are their limitations and benefits?
  • In. Net CLR, how does a generation of Garbage Collector manage the object lifecycle? What is the end of uncertainty?
  • What is the difference between finalize () and dispose?
  • Is the using () syntax useful? What is idisposable? How it achieves the final certainty.
  • What is tasklist/M "mscor?
  • Differences between in-proc and out-of-proc
  • Which technology in. NET can implement out-of-proc communication?
  • When you run a component in ASP. NET, which process does it run on Windows XP, Windows 2000, and Windows 2003 respectively?

Senior developers/architects

  • DateTime. Parse (myString); what is the problem with this line of code?
  • What is PDB? Where should it be placed during debugging?
  • What is cyclomatic complexity )? Why is it important?
  • Write a standard lock () to create a critical section before and after the access variable. There must be a "double check ",
  • What is FullTrust? Is the assembly placed in GAC FullTrust?
  • What are the benefits of adding the features that require security permissions to the code?
  • What is the role of the gacutil/l | find/I "Corillian" command?
  • Why is the command sn-t foo. dll?
  • What ports does DCOM need to open through the firewall? What is port 135 used?
  • What are their purposes for comparing OOP and SOA?
  • How does XmlSerializer work? What ACL permissions does a process using this class need?
  • Why not advocate catch (Exception )?
  • What is the difference between Debug. Write and Trace. Write? Which one should I use?
  • Is there a significant speed change between Debug Build and Release Build? Describe the reason.
  • Does JIT occur in the unit of assembly or in the unit of method? What is the impact on the workspace?
  • Comparison of abstract base classes and interfaces
  • A. Is Equals (B) the same as a = B?
  • In object comparison, what are the meanings of the same object and the same object?
  • How to implement deep copy in. NET )?
  • Please explain IClonable
  • What is packing?
  • Is string a value type or a reference type?
  • What are the advantages of the attribute-oriented mode used by XmlSerializer? What problems have been solved?
  • Why shouldn't the out parameter be used in. NET? Is it good?
  • Can features be placed on parameters of a method? If yes, what is the purpose?

C # component developers

  • When to use override? When to use new? What is shadowing?
  • Differences between virtual, sealed, override, and abstract
  • Foo. Bar, Version = 2.0.205.0, Culture = neutral, PublicKeyToken = 593777ae2d274679d explain the importance and function of each part of the string
  • Differences between public, protected, private, and internal
  • What are the benefits of using Primary Interop Assembly (PIA?
  • What mechanisms does NUnit use to determine which methods to test?
  • Catch (Exception e) {throw e;} and catch (Exception e) {throw ;}
  • What is the difference between typeof (foo) and myFoo. GetType?
  • Public class c {public c (string a): this () {;}; public c () {;}} explains what happened in the first constructor? What is the use of this constructor?
  • Why is this used? Can be used in the static method?

ASP. NET (UI) Developer

  • Describes how a browser-based Form POST becomes a server-side event, such as buttonemedionclick.
  • What is PostBack?
  • What is ViewState? Is it encoded? Encrypted? Who will use ViewState?
  • <Machinekey> Why is the element used? Which two ASP. NET technologies does it use?
  • What are the three Session State providers in ASP. NET 1.1 and their advantages and disadvantages?
  • What is Web Gardening? How to use it in design?
  • Suppose there is an ASP. NET application, how many application objects are allowed in a single process? What about the two processes? What if two Web Gardening processes are enabled? What is the impact on the design?
  • Will ASP. NET reuse threads between multiple requests? Does each HttpRequest have its own thread? Should you use ASP. NET Thread Local Storage?
  • [ThreadStatic] is the attribute useful in ASP. NET? Does it have any side effects? Is it good or bad?
  • How to Use HttpHandler to simplify the existing design of providing verification images for. aspx pages
  • What type of events does HttpModule subscribe? What is the impact on implementation? What should I do if I do not intend to re-compile the ASP. NE application?
  • Specifies the way to express any terminal (URL) and the way to route requests to that end point in ASP. NET.
  • Explains how cookies work. An example of Cookie abuse is provided.
  • How important is HttpRequest. ValidateInput?
  • What data is transmitted through HTTP Header?
  • Compare http get and POST? What is HEAD?
  • Give at least 6 HTTP status codes and their meanings
  • What is the working principle of if-not-modified-since? How to Implement ASP. NET?
  • <@ OutputCache %> and how to use VaryByParam and VaryByHeader.
  • How does VaryByCustom work?
  • How to Use q =? (Except q = 5) to implement ASP. net html output buffer and buffer expiration (such as http: // localhost/page. aspx? Q = 5 )?

XML developers

  • What is the role of the XML namespace?
  • When Will DOM be used? When is it not suitable? Is there a scaling limit?
  • What is basic WS-I configuration? Where is it important?
  • Write a small XML document, which uses the default namespace and a valid (prefix) namespace. The namespace must have the elements of the two namespaces respectively.
  • What are the basic differences between elements and features?
  • What is the difference between well-formed XML and valid XML?
  • How to verify XML in. NET?
  • MyXmlDocument. SelectNodes ("// mynode"); why is this code not good? When is it okay?
  • Differences between XmlReader and event reader (Sax)
  • What is the difference between XPathDocument and XmlDocument? Under what circumstances should I use?
  • What is the difference between "XML fragments" and "XML documents "?
  • What is a standard XML format?
  • What is the difference between the XML InfoSet specification and the Xml DOM? What is the problem solved by InfoSet?
  • Compare DTD and XSD. What are their similarities and differences? Which one is better? Why?
  • Does system. XML support DTD? If yes, how do I use it?
  • Can XML Schema be represented as an object graph? Can an object chart be expressed as an XML schema?

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.