What great. NET developers ought to Know (more. NET interview Questions)

Source: Internet
Author: User
Tags form post web services
If You enjoyed this post, or this blog,Please Make a secure tax-deductable donation to the American Diabetes Association. Please read My personal story about life as a diabeticand Donate Today.

A while back, I posted a list of asp.net interview Questions. Conventional wisdom is split, with about half the folks saying I is nuts and that it is 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 right response.

Certainly I wasn ' t trying to boil all of the. NET Software Development down to a few the simple "trivia" questions. However, I am trying to get folks thinking. I believe that really good asp.net (and for that matter, WinForms) are a little [read:lot] more than just draging a contro L onto a designer and hoping for the best. A Good race driver knows he 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 in a plane last week in the way from Boise to Portland. I tried to take into consideration the concerns this my lists contain unreasonable. I tried to make a list of that is organized by section. If you have ' ve never down asp.net, your obviously won ' t know all of the ASP.net section. If you are an indenpendant consultant, your may never come upon some to these concepts. However, ever question here has come to more than once to the last 4 years of the I time at Corillian. So, knowing groking this questions may don't make you a good or bad developer, but it would save you at problems Aris E.

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 it lifecycle differ from a "standard" EXE? What is the maximum amount of memory no single process in Windows can address? Is this different than the maximum virtual memory for the system? How to 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. The Name at least 3 component containers, the ship now with the Windows Server Family. What is a PID? How are 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 are 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 is appropriate? What is a asssembly qualified Name? Is it a filename? How are it different? Is this valid? Assembly.Load ("Foo.dll"); How are 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 is the generational garbage collector in the. NET CLR Manage object lifetime? What is non-deterministic finalization? What is the differenceBetween Finalize () and Dispose ()? How are 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 are it running within on Windows XP? Windows 2000? Windows 2003?

Senior developers/architects What ' s wrong with a-like this? DateTime.Parse (myString); What are PDBs? Where must they is located for debugging to work? What is cyclomatic complexity and why are 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 the 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 is 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 is 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 a 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 does 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 in 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, Publickeytok en=593777ae2d274679d Explain The differences between public, protected, private and internal. What benefit do/get from using a Primary Interop Assembly (PIA)? By what mechanism does NUnit know what 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 ' the ' the ' Constructor:public class c{public C (String a): this () {;}, public C () {;}} How are this construct useful? What is this? Can This is 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 are IT encoded? Is it encrypted? Who uses ViewState? What is the <machinekey> element and What two asp.net technologies are 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? Given one asp.net application, how many application objects the it does on a single have box? A dual? A dual with Web gardening enabled? How would this affect a? Are threads reused in asp.net between reqeusts? Does every httprequest get its own thread? Should your use Thread the local storage with asp.net? is the [threadstatic] attribute useful in asp.net? Are there side effects? Good or bad? Give an example the how using a HttpHandler could simplify a existing design that serves Check Images the from. aspx page. What kinds of events can an HttpModule SUBSCRibe to? What influence can they have on a implementation? What can be done without recompiling the asp.net application? Describe ways to present a 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 the 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 the express to the they client. How does if-not-modified-since work? How can it being 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= exc EPT where q=5 (as inhttp://localhost/page.aspx?q=5)?

developers using XML What is the purpose of XML namespaces? When is the DOM appropriate to use? When was it not? Are There size limitations? What is the "WS-I" Basic profile and why 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 do 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 X Pathdocument and XmlDocument? Describe situations where one should is used over the other. What is the difference between a 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 is represented as an object graph? Vice versa?

   

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.