[Switch]. Net cool people should know something

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.