First time here? Check out the site's "greatest hits" or read a post from the archives. Feel free to leave a comment or ask a question, and consider subscribing to the latest posts via RSS or e-mail. Thanks for visiting!
« LogZipper.NET Log File Rotation | Main | Confusion in Charlotte and an Apology »

A while back, I posted a list of ASP.NET Interview Questions. Conventional wisdom was split, with about half the folks saying I was nuts and that it was a list of trivia. The others said basically "Ya, those are good. I'd probably have to look a few up." To me, that's the right response.

Certainly I wasn't trying to boil all of .NET Software Development down to a few simple "trivia" questions. However, I WAS trying to get folks thinking. I believe that really good ASP.NET (and for that matter, WinForms) is a little [read: lot] more than just draging a control onto a designer and hoping for the best. A good race driver knows his car - what it can do and what it can't.

So, here's another list...a greatly expanded list, for your consumption (with attribution). I wrote this on a plane last week on the way from Boise to Portland. I tried to take into consideration the concerns that my lists contain unreasonable trivia. I tried to make a list that was organized by section. If you've never down ASP.NET, you obviously won't know all the ASP.NET section. If you're an indenpendant consultant, you may never come upon some of these concepts. However, ever question here has come up more than once in the last 4 years of my time at Corillian. So, knowing groking these questions may not make you a good or bad developer, but it WILL save you time when problems arise. 

What Great .NET Developers Ought To Know

Everyone who writes code

  • Describe the difference between a Thread and a Process?
  • What is a Windows Service and how does its lifecycle differ from a "standard" EXE?
  • What is the maximum amount of memory any single process on Windows can address? Is this different than the maximum virtual memory for the system? How would this affect a system design?
  • What is the difference between an EXE and a DLL?
  • What is strong-typing versus weak-typing? Which is preferred? Why?
  • Corillian's product is a "Component Container." Name at least 3 component containers that ship now with the Windows Server Family.
  • What is a PID? How is it useful when troubleshooting a system?
  • How many processes can listen on a single TCP/IP port?
  • What is the GAC? What problem does it solve?

Mid-Level .NET Developer

  • Describe the difference between Interface-oriented, Object-oriented and Aspect-oriented programming.
  • Describe what an Interface is and how it’s different from a Class.
  • What is Reflection?
  • What is the difference between XML Web Services using ASMX and .NET Remoting using SOAP?
  • Are the type system represented by XmlSchema and the CLS isomorphic?
  • Conceptually, what is the difference between early-binding and late-binding?
  • Is using Assembly.Load a static reference or dynamic reference?
  • When would using Assembly.LoadFrom or Assembly.LoadFile be appropriate?
  • What is an Asssembly Qualified Name? Is it a filename? How is it different?
  • Is this valid? Assembly.Load("foo.dll");
  • How is a strongly-named assembly different from one that isn’t strongly-named?
  • Can DateTimes be null?
  • What is the JIT? What is NGEN? What are limitations and benefits of each?
  • How does the generational garbage collector in the .NET CLR manage object lifetime? What is non-deterministic finalization?
  • What is the difference between Finalize() and Dispose()?
  • How is the using() pattern useful? What is IDisposable? How does it support deterministic finalization?
  • What does this useful command line do? tasklist /m "mscor*"
  • What is the difference between in-proc and out-of-proc?
  • What technology enables out-of-proc communication in .NET?
  • When you’re running a component within ASP.NET, what process is it running within on Windows XP? Windows 2000? Windows 2003?

Senior Developers/Architects

  • What’s wrong with a line like this? DateTime.Parse(myString);
  • What are PDBs? Where must they be located for debugging to work?
  • What is cyclomatic complexity and why is it important?
  • Write a standard lock() plus “double check” to create a critical section around a variable access.
  • What is FullTrust? Do GAC’ed assemblies have FullTrust?
  • What benefit does your code receive if you decorate it with attributes demanding specific Security permissions?
  • What does this do? gacutil /l | find /i "Corillian"
  • What does this do? sn -t foo.dll
  • What ports must be open for DCOM over a firewall? What is the purpose of Port 135?
  • Contrast OOP and SOA. What are tenets of each?
  • How does the XmlSerializer work? What ACL permissions does a process using it require?
  • Why is catch(Exception) almost always a bad idea?
  • What is the difference between Debug.Write and Trace.Write? When should each be used?
  • What is the difference between a Debug and Release build? Is there a significant speed difference? Why or why not?
  • Does JITting occur per-assembly or per-method? How does this affect the working set?
  • Contrast the use of an abstract base class against an interface?
  • What is the difference between a.Equals(b) and a == b?
  • In the context of a comparison, what is object identity versus object equivalence?
  • How would one do a deep copy in .NET?
  • Explain current thinking around IClonable.
  • What is boxing?
  • Is string a value type or a reference type?
  • What is the significance of the "PropertySpecified" pattern used by the XmlSerializer? What problem does it attempt to solve?
  • Why are out parameters a bad idea in .NET? Are they?
  • Can attributes be placed on specific parameters to a method? Why is this useful?

C# Component Developers

  • Juxtapose the use of override with new. What is shadowing?
  • Explain the use of virtual, sealed, override, and abstract.
  • Explain the importance and use of each component of this string: Foo.Bar, Version=2.0.205.0, Culture=neutral, PublicKeyToken=593777ae2d274679d
  • Explain the differences between public, protected, private and internal.
  • What benefit do you get from using a Primary Interop Assembly (PIA)?
  • By what mechanism does NUnit know what methods to test?
  • What is the difference between: catch(Exception e){throw e;} and catch(Exception e){throw;}
  • What is the difference between typeof(foo) and myFoo.GetType()?
  • Explain what’s happening in the first constructor: public class c{ public c(string a) : this() {;}; public c() {;} } How is this construct useful?
  • What is this? Can this be used within a static method?

ASP.NET (UI) Developers

  • Describe how a browser-based Form POST becomes a Server-Side event like Button1_OnClick.
  • What is a PostBack?
  • What is ViewState? How is it encoded? Is it encrypted? Who uses ViewState?
  • What is the <machinekey> element and what two ASP.NET technologies is it used for?
  • What three Session State providers are available in ASP.NET 1.1? What are the pros and cons of each?
  • What is Web Gardening? How would using it affect a design?
  • Given one ASP.NET application, how many application objects does it have on a single proc box? A dual? A dual with Web Gardening enabled? How would this affect a design?
  • Are threads reused in ASP.NET between reqeusts? Does every HttpRequest get its own thread? Should you use Thread Local storage with ASP.NET?
  • Is the [ThreadStatic] attribute useful in ASP.NET? Are there side effects? Good or bad?
  • Give an example of how using an HttpHandler could simplify an existing design that serves Check Images from an .aspx page.
  • What kinds of events can an HttpModule subscribe to? What influence can they have on an implementation? What can be done without recompiling the ASP.NET Application?
  • Describe ways to present an arbitrary endpoint (URL) and route requests to that endpoint to ASP.NET.
  • Explain how cookies work. Give an example of Cookie abuse.
  • Explain the importance of HttpRequest.ValidateInput()?
  • What kind of data is passed via HTTP Headers?
  • Juxtapose the HTTP verbs GET and POST. What is HEAD?
  • Name and describe at least a half dozen HTTP Status Codes and what they express to the requesting client.
  • How does if-not-modified-since work? How can it be programmatically implemented with ASP.NET?
    Explain <@OutputCache%> and the usage of VaryByParam, VaryByHeader.
  • How does VaryByCustom work?
  • How would one implement ASP.NET HTML output caching, caching outgoing versions of pages generated via all values of q= except where q=5 (as in http://localhost/page.aspx?q=5)?

Developers using XML

  • What is the purpose of XML Namespaces?
  • When is the DOM appropriate for use? When is it not? Are there size limitations?
  • What is the WS-I Basic Profile and why is it important?
  • Write a small XML document that uses a default namespace and a qualified (prefixed) namespace. Include elements from both namespace.
  • What is the one fundamental difference between Elements and Attributes?
  • What is the difference between Well-Formed XML and Valid XML?
  • How would you validate XML using .NET?
  • Why is this almost always a bad idea? When is it a good idea? myXmlDocument.SelectNodes("//mynode");
  • Describe the difference between pull-style parsers (XmlReader) and eventing-readers (Sax)
  • What is the difference between XPathDocument and XmlDocument? Describe situations where one should be used over the other.
  • What is the difference between an XML "Fragment" and an XML "Document."
  • What does it meant to say “the canonical” form of XML?
  • Why is the XML InfoSet specification different from the Xml DOM? What does the InfoSet attempt to solve?
  • Contrast DTDs versus XSDs. What are their similarities and differences? Which is preferred and why?
  • Does System.Xml support DTDs? How?
  • Can any XML Schema be represented as an object graph? Vice versa?

Tracked by:
http://www.hanselman.com/blog/MyPicksForTechEd2005Sessions.aspx [Pingback]
http://planningisbe.corp.infosupport.com/ISBlog/PermaLink.aspx?guid=307dd43d-4da... [Pingback]
http://tonetheman.us/wordpress/index.php?p=17 [Pingback]
"Scott Hanselman again ... What Great .NET Developers Ought To Know (More .NET I... [Trackback]
".Net Questions Part-I " (Avneesh's .Net Blog) [Trackback]
"What a Great .NET Developers Ought To Know: Answers" (Ayende @ Blog) [Trackback]
"(大师级Java开发者 须知!)What Great Java Developers Ought To Know " (totodo) [Trackback]
"Questions I should know the answers to" (Dot Net Monkey) [Trackback]
".NET interview questions from Scott Hanselman" (Eran Kampf's Blog) [Trackback]
".Net 面试应知应会" (Fresh living in  [Trackback]
".Net 面试应知应会" (Fresh living in  [Trackback]
"Great List of Interview Questions..." (Scooter's Musings) [Trackback]
"ZenMan's ASP.NET Interview Q's" (No Fun Intended) [Trackback]
".NET interview questions from Scott Hanselman - Answers (Part 1)" (Eran Kampf's... [Trackback]
"HOLY MOLY! I've got a lot to learn" (Atlanta .NET Regular Guys) [Trackback]
".Net Interview Questions" (Mihir Solanki) [Trackback]
"How to Pass .NET Developer Interview?" (Sachin Kulkarni's Weblog) [Trackback]
"More .Net Questions - III" (.Net on the Operating Table) [Trackback]
"Great interview questions from Scott Hanselman" (the blog of michael eaton) [Trackback]
"what a good sharepoint subject matter expert ought to know..." (Method ~ of ~ f... [Trackback]
".NETエンジニアが答えられなければいけない質問集(2)" (VBASPCoder.com(日本語版)) [Trackback]
"How to Pass .NET Developer Interview?" (Sachin Kulkarni's Weblog) [Trackback]
".NET Interview Questions" (Dewayne Mikkelson and Shadow his Webdog) [Trackback]
"Was ein guter .NET Developer wissen sollte" (Alex on ASP.NET) [Trackback]
"What great .Net developers ought to know" (Tim Haines' Blog) [Trackback]
"More interview insite over on ComputerZen" (Zinoblog) [Trackback]
"More interview questions over on ComputerZen" (Zinoblog) [Trackback]
"What Great .NET Developers Ought To Know..." (W.Roldan's Weblog) [Trackback]
"Not all interview questions are created equal" (Sorting It All Out) [Trackback]
"Psst, want a question?" (Ayende @ Blog) [Trackback]
".NETエンジニアが答えられるべき質問集" (VBASPCoder.com(日本語版)) [Trackback]
"Etes-vous un bon d" (Tonio's developper .NET Blog) [Trackback]
"Interview Questions part ni" (Lazycoder weblog) [Trackback]
"Etes-vous un bon d" (Tonio's developper .NET Blog) [Trackback]
"What Great .NET Developers Outht To Know" (blah, blah, blahg...) [Trackback]
".NET Developer Quiz" (Claudio Brotto) [Trackback]
".Net Quiz" (Ugh!!'s GreyMatter Honeypot) [Trackback]
"My criteria when employing a developer" (Martin Spedding's Blog) [Trackback]
"Some interesting .Net questions" (.Net on the Operating Table) [Trackback]
"What Great .NET Developers Ought To Know..." (W.Roldan's Weblog) [Trackback]
"answers to Hanselman's questions - part 1" (Never Underestimate Radical Vision) [Trackback]
"More (.Net questions+Typing) -II" (.Net on the Operating Table) [Trackback]
".Net Interview Questions" (Mihir Solanki) [Trackback]
".Net Interview Questions" (Mihir Solanki) [Trackback]
".NET Interview Questions" (Bat's Blog) [Trackback]
"Probably the best resume in the world (English joke, sorry non UK viewers)" (Pa... [Trackback]
"Great Post by Scot Hanselman - Interview Questions for .NET Developers" (Moshe ... [Trackback]
".NET Interview Questions Wrath" (powten.com) [Trackback]
"Great Post by Scot Hansleman - Interview Questions for .NET Developers" (Moshe ... [Trackback]
"What Great .NET Developers Ought To Know" (Scott Dukes' Blog) [Trackback]
http://spaces.msn.com/members/ajayb/blog/cns!1pPRH94VP2uQNZMoYKCJxkgQ!156.entry [Trackback]
".NET interview questions from Scott Hanselman - Answers (Part 2)" (Eran Kampf's... [Trackback]
".NET Interview Questions" (Bat's Blog) [Trackback]
"[.NET] What Great .NET Developers Ought to Know" (The Farm: The Tucows Develope... [Trackback]
"Entrevistas e carreiras na " (Rui Quintino) [Trackback]
"VGA Multiple Split-Screen Aggregator and Interesting Questions" (ComputerZen.co... [Trackback]
".NET Interview Questions" (Michael Williams -- Master of None) [Trackback]
".NET Interview Questions 2; Answers" (Michael Williams -- Master of None) [Trackback]
"Scott Hanselman's Guide to Greatness " (SharpSense) [Trackback]
"So, How Great Am I (Part I of III)" (The Cerebrate's Contemplations) [Trackback]
"What Great .NET Developers Ought To Know (More .NET Interview Questions)" (dehr... [Trackback]
"What Great .NET Developers Ought To Know" (Jannik Anker) [Trackback]
"Interview Questions for .NET developers and Architects!!!" (Ram Gopinathan's Bl... [Trackback]
"Interview Questions for .NET developers and Architects!!!" (Ram Gopinathan's Bl... [Trackback]
"Developer Blogs for watch out for" (C#, VS Deployment and all geek talk) [Trackback]
"Developer Blogs to watch out for" (C#, VS Deployment and all geek talk) [Trackback]
"Developer Blogs to watch out for" (C#, VS Deployment and all geek talk) [Trackback]
"Find any processes currently using .NET" (Kirk Allen Evans' Blog) [Trackback]
"Sweet. detect .net running processes" (Liming Xu BroadCastDotnet.limingxu.com) [Trackback]
"Interview .NET questions" (Simon Thorneycroft and Jonathan Hodgson) [Trackback]
".NET?! Waas i net!" (Puls200) [Trackback]
"Developer Blogs to watch out for" (C#, VS Deployment and all geek talk) [Trackback]
"My Year In Blogging - 2005" (ComputerZen.com - Scott Hanselman) [Trackback]
".NET interview questions" (Little Tidbits of Random Knowledge) [Trackback]
".Net Questions Part-I (everyone who writes code...) " (My encounters with techn... [Trackback]
"I gotta " (Outta My Mind...) [Trackback]
"I gotta " (Outta My Mind...) [Trackback]
".NET Questions " (DevDevin) [Trackback]
".Net Questions Part-I (everyone who writes code...) " (AVNEESH KUMAR) [Trackback]
".NET interview questions from Scott Hanselman - Answers (Part 1)" (DeveloperZen... [Trackback]
"How Great Am I? (I of III)" (The Cerebrate's Contemplations) [Trackback]
"The Microsoft Interview" (Jason Looney) [Trackback]
"The Microsoft Interview" (Jason Looney) [Trackback]
".Net Ought To Know #1" (DotNetDoc - Daniel Egan) [Trackback]
"What All Great .NET Developers Should Know" (Matthew Podwysocki's Blog) [Trackback]
".Net Ought To Know #2 - Windows Services" (DotNetDoc - Daniel Egan) [Trackback]
".Net Ought To Know #2 - Windows Services" (DotNetDoc - Daniel Egan) [Trackback]
".Net Ought To Know #1" (DotNetDoc - Daniel Egan) [Trackback]
"Great things .NET developers should know" (Reflective Perspective) [Trackback]
".Net Ought To Know #3" (DotNetDoc - Daniel Egan) [Trackback]
".Net Ought To Know #4" (DotNetDoc - Daniel Egan) [Trackback]
".Net Ought To Know #5 : Strong vs. Weak Typing" (DotNetDoc - Daniel Egan) [Trackback]
".Net Ought To Know #6 : Component Container" (DotNetDoc - Daniel Egan) [Trackback]
".Net Ought To Know #7 : PID" (DotNetDoc - Daniel Egan) [Trackback]
"My grandmother and the difference between processes and threads" (Gray's Matter... [Trackback]
"My grandmother and the Global Assembly Cache (and Star Wars)" (Gray's Matter) [Trackback]
"Tentando trabalho na MS Corp - parte V (a entrevista FINAL)" (Impressoes Digita... [Trackback]
"My grandmother and the difference between HTTP GET and HTTP POST" (Gray's Matte... [Trackback]
sendhil [Trackback]
"What Great .NET Developers Ought To Know (More .NET Interview Question" (DotNet... [Trackback]
"Что должен знать правильный .NET-разработчик" (C...R...a...S...H UltraBlog) [Trackback]
"The Microsoft Interview" (Jason Looney) [Trackback]


Contact

Sponsors

Hosting By

On this page...

Tags

Calendar

<October 2008>
SunMonTueWedThuFriSat
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

Archives

Google Ads