我的公司即将招聘。net开发人员。我们在各种。net平台上工作:ASP。NET,紧凑框架,windows窗体,Web服务。我想整理一份好问题的清单/目录,这是一种衡量应聘者是否有经验的最低标准。我的问题是:
你认为一个优秀的。net程序员应该能够回答哪些问题?
我也会把它看作是我自己的一张清单,以便看到我自己的缺陷在哪里(有很多……)
*更新:它想要明确的是,我们不仅仅测试。net知识,解决问题的能力和一般的编程技能对我们来说更重要。
我的公司即将招聘。net开发人员。我们在各种。net平台上工作:ASP。NET,紧凑框架,windows窗体,Web服务。我想整理一份好问题的清单/目录,这是一种衡量应聘者是否有经验的最低标准。我的问题是:
你认为一个优秀的。net程序员应该能够回答哪些问题?
我也会把它看作是我自己的一张清单,以便看到我自己的缺陷在哪里(有很多……)
*更新:它想要明确的是,我们不仅仅测试。net知识,解决问题的能力和一般的编程技能对我们来说更重要。
当前回答
Martin Fowler更喜欢设计技能而不是平台知识。另一方面,你可以问这样一个问题来展示你对设计模式和。net平台的了解:
说说你知道的设计模式和原则,以及它们是如何在。net框架中使用的?
其他回答
这可能不是你想听到的,但我建议不要关注狭隘的技术,而是一般的编程和解决问题的技能。扎实的开发人员可以快速学习您想让他们做的任何事情。
举个例子,我并不是一个支持紧凑框架的人,所以如果你这么做的话,我可能会让你的面试失败。但如果我需要使用它,我可以做一些研究,然后直接投入。
Joel的书《Smart and Gets Things Done》为招聘开发者提供了很好的建议,其中有大量关于该问哪些问题的内容。我强烈推荐它。
还有一些:
局部类。那么它的局限性呢? 密封类 如何在。net中进行本地化? 数据库连接 各种配置文件 代表vs事件 非托管dll访问 反射 泛型类 .NET 3.5最热 单元测试框架。
这是一个可变的问题,你现在不应该完全回答,但你应该在适当的时候回答:
“.NET框架提供了什么来完成任务X ?”
或者更具体地说:
" .NET框架是否包含一个做X的对象?"
例如,我最近花了几个小时开发了一个对象,该对象经过优化,可以存储一个布尔值数组并对其进行操作,例如执行集合的NOT、OR、XOR、and、设置所有值等。直到我完成了所有的单元测试,并将其调整到最佳性能,我才意识到我的“BoolArray”对象已经存在于. net框架中,名为“BitArray”。
这可能是一个很难回答的问题,因为很多时候关于使用什么对象/ helper的最佳答案是你不知道或不完全理解的。如果每个人都知道简单的StringBuilder(一个可以显著提高性能的基本工具),. net世界将会多么美好。
我在Scott Hanselman的博客上找到了这些列表:
伟大的。net开发人员应该知道什么(更多。net面试问题) ASP。NET面试问题
以下是我从这些文章中归纳出来的最重要的问题。我编辑并重新编排了它们。幸运的是,对于这些问题中的大多数,在Stack Overflow上已经有了很好的答案。只要按照链接(我会尽快更新它们)。
与平台无关的。net问题
What is the difference between a thread and a process? What is the difference between an EXE and a DLL? What is strong-typing versus weak-typing? What is the difference between a.Equals(b) and a == b? What is boxing? Is string a value type or a reference type? What is the Global Assembly Cache (GAC)? What problem does it solve? What is an Interface and how is it different from a Class? What is Reflection? Conceptually, what is the difference between early-binding and late-binding? When would using Assembly.LoadFrom or Assembly.LoadFile be appropriate? What is an Asssembly Qualified Name? Is it a filename? How is it different? How is a strongly-named assembly different from one that isn’t strongly-named? What does this do? sn -t foo.dll 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()? (external article) What is the difference between in-proc and out-of-proc? What technology enables out-of-proc communication in .NET? What is FullTrust? Do GAC’ed assemblies have FullTrust? 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? 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()? What is the purpose of XML Namespaces? What is the difference between an XML "Fragment" and an XML "Document"? (XML Basics) How would you validate XML using .NET?
ASP。网
What is a PostBack? What is ViewState? How is it encoded? Is it encrypted? Who uses ViewState? Why is it either useful or evil? What Session State providers are available in ASP.NET? What are the pros and cons of each? What is the OO relationship between an ASPX page and its CS/VB code behind file? 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)? What are HttpHandlers? What are HttpModules? What is needed to configure a new extension for use in ASP.NET? For example, what if I wanted my system to serve ASPX files with a *.jsp extension? How do cookies work? What is an example of Cookie abuse? What kind of data is passed via HTTP Headers? How does IIS communicate at runtime with ASP.NET? Where is ASP.NET at runtime in the different versions of IIS (5 to 7)?
诚实?
“什么是。net ?”
如果他们能给你一个明确的答案,关于。net是什么,不是什么,它是如何使用的,它是由什么元素组成的,等等……如果他们能让你相信他们知道这是什么,那么他们很有可能非常了解。
事实上,很多人并不真正知道。net是什么。甚至包括那些为它写程序的人。