Question

Need some .Net interview questions

Asked by: slightwv

Check my profile, I'm an Oracle guy...  I've helped out with similar questions to this in my areas, now I'm asking over here.

We're attempting to hire a Senior .Net developer and I happen to be on the interview/selecting team and really don't have a senior .Net person to lead the interview.  I know enough .Net to be dangerous and we have a sys admin that knows twice what I do.  We're looking to also have this person administrator the web servers/app pools/???  which is why I've cross posted over in IIS.

We're having trouble coming up with some decent questions to gauge their 'senior' ability.

Sure I can Google them (and have) but I really don't want them to be able to Google the same questions (Like I'd ever do that prior to an interview).

If you happen to stumble across this post and end up talking to me in the interview I'll know!!!!!!!!  You will probably get bonus points for being a member here!!!  I always give bonus points when EE is mentioned when I ask: How do you keep current? or any question about problem solving.

P.S.
It would be nice if you post a question to please post the answer as you would an interviewee to respond.

Disclaimer:  I figure I'll split the points about evenly.  I think its only fair.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2008-04-17 at 10:57:02ID23331894
Topics

.NET

,

Programming for ASP.NET

,

Microsoft IIS Web Server

Participating Experts
3
Points
500
Comments
19

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Perl interview question
    I have to give interview on perl.I am oracle programmer.Please write the interview questions usually asked. Thanks in advance. Pooja
  2. Need help for Interview.
    Hi Friends, I have an interview tommorow for an access programmer/administrator position.I would like to know: 1.What should I prepare for the interview?Can someone tell me some sample questions or send me a link to one. 2.I would be given a test to complete,so I would be o...
  3. ORACLE SENIOR DBA INTERVIEW QUESTIONS AND ANSW…
    I am appearing for SENIOR ORACLE DBA interview. Can anybody out there help me with interview question and answers. consider this as highest priority. Especially I am looking at interview questions ranging from installations on Solaris, AIX, Configurations, migration, replica...
  4. Interview
    Hi Experts .. I have an Interview tommorrow ( C++ developer position) .. I need recommendations and advices from your EXPERTS .. I did a C++ test in the company last week (some definitions and expalantions for OOP concepts, pointers, string mainpulation, virtual functions, t...
  5. Interview Questions with Answers
    Hi all Im having interview ...so pls anyone send some Interview questions on c# , asp.net and dotnet with answers thanks in advance

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: TheLearnedOnePosted on 2008-04-17 at 12:13:06ID: 21380362

This is going to be tough to lead, since candidates can give you any kind of crap answer, and you really wouldn't know any different.

What you might want to do is to have a candidate pre-screening with a .NET expert leading that effort.

I could give you a whole bunch of questions, with possible answers, but I don't think that would get you where you need to be.

Bob

 

by: slightwvPosted on 2008-04-17 at 12:22:06ID: 21380447

I'd like to think I've been around the block long enough to know if someone is blowing smoke.  I was hoping between myself and our admin (remember we're not 100% ignorant of .Net) we'd know enough to see through the B.S.  If you ask them to 'expand' on an answer, you can usually trip them up.  Don't you think?

I do agree that it would be nice to have an expert or someone here to immediately see through any embellishment and I'm trying to get one but we'll still need the questions.

 

by: TheLearnedOnePosted on 2008-04-17 at 12:37:49ID: 21380578

Test for you to fill in:

1) What is garbage collection?

2) What is a value type?  What is a reference type?

3) Does .NET use reference counting for object finalization?

4) What is the impact of the IDisposable interface?

5) What is an anonymous function?

6) What is the difference between Response.Redirect, Server.Transfer, and Server.Execute?

7) Do you know anything about AJAX?  Microsoft AJAX?  

8) With the Microsoft AJAX's UpdatePanel, what are the two update modes?

9) If you add an object to the Cache, where is it stored?

10) List as many of the events in the ASP.NET page life cycle.

11) How do you attach Javascript code to a button to call the alert function?

12) Is ASP.NET multi-threaded or single-threaded?

13) What are the different ways to persist a variable, and what is the scope for each way?

14) What is the worker process .exe for IIS 5.0?  

15) What is the worker process .exe for IIS 6.0?

16) How does the concept of an AppDomain relate to ASP.NET?

17) What does "application recycle" mean?

18) What different authentication modes are possible with ASP.NET web sites?

19) What is the difference between the Web Site model and the Web Application model in 2005 and 2008 web sites?

20) What kind of design patterns have you used?

21) How do you create a web service?

22) How would you implement global exception handling?

Some of these may not apply, and there are a lot of different possible questions, so you can start with those, and throw out any that you don't think are useful.

Bob

 

by: slightwvPosted on 2008-04-17 at 12:56:48ID: 21380724

>>Test for you to fill in:
You actually want to see responses?  

I'll admit that I would only be able to handle a couple of those without some Google time  but I called over our sys admin and he only saw a few he would classify as 'hard'.  He even commented "That's a really good question" a couple of times.

I'll send these over to the person I'm considering bringing in as our expert and see what he thinks.



 

by: TheLearnedOnePosted on 2008-04-17 at 12:59:14ID: 21380744

Oh, I can think of harder questions, if you give me some time to think.  That was questions that floated right off the top of my head, without much thought.

Bob

 

by: slightwvPosted on 2008-04-17 at 13:02:09ID: 21380767

>>Oh, I can think of harder questions, if you give me some time to think.
I don't doubt that for a second !!!!!

 

by: TheLearnedOnePosted on 2008-04-17 at 13:29:50ID: 21381040

I don't really want to see the responses, I just didn't want to give you the answers, without you at least thinking them through and seeing how many you can answer without looking anything up.

23) What is required to set up HTTPS for a web site?

24) What would you need to implement URL rewriting?

25) If you have a GridView and an SqlDataSource is there anything else that you need to do/implement to achieve paging and sorting?

26) How would you maintain the same position on a page when the page posts back?

27) Can you use an .aspx page to stream an image to another .aspx page?

28) Should user validation occur server side or client-side?

29) What type of validators does ASP.NET provide?

30) Describe the difference between inline and code behind.

31) Which method do you invoke on the DataAdapter control to load your generated dataset with data?

32) How would you change the mode for the DetailsView?

33) With the GridView, if you wanted one type of control to display, and another type to edit, how would you achieve that?

34) How would you data-bind a DropDownList in an ItemTemplate to an SqlDataSource?

35) What is the difference between the SqlDataSource and the ObjectDataSource?

36) What is the transport protocol you use to call a Web service?

37) What does WSDL stand for?

38) What are the different types of Session state management options available with ASP.NET?

39) What is the difference between DataSet.Clone and DataSet.Copy?

40) What is a partial class, and what advantage does it provide?

41) What is the difference between managed and unmanaged code?

42) What is boxing and unboxing?

43) What is reflection, and what would be one place that you would use it?

44) What is difference between Debug.Trace and Trace.Write?

45) How would you pass on a variable to another page?  

46) How would you retrieve that variable on the destination page?

47) With ASP.NET 2.0, how would you retrieve a connection string from the web.config file?

48) What is an HttpHandler?

49) Can reference a control from a UserControl that exists on a master page?

50) What does strong-typed master page mean?

51) How would you design a multi-lingual web site?

52) What is the "best" format to store a date in a database, if you had access from clients all over the world?

53) How would you determine what control caused a post back?

54) What is the main difference between external and inline style sheets?

55) What is the difference between machine.config and web.config?

56) What does JIT mean (pronounced like 'git' in legit)?

57) Can you run an ASP.NET 2.0 web site without a web.config file?

58) How would you detect a specific exception, like 'Object variable or with block not set', and show a user-friendly message to the user instead?

59) What HTML attribute is required for a control to effectively use FindControl?

60) What happens when you change the AutoeventWireup attribute from true to false for a web page?

61) Would you use to parse an XML file (more than 1 way possible)?

62) If you dynamically add controls to a web page, what consideration do you need to take into account when the page posts back?

63) How do you create a permanent cookie?

64) How many cookies can be stored on a client's machine?

65) Can you set the starting file for an FileUpload control?

66) Describe the difference between a Thread and a Process?

67) What is the GAC (pronounced like gack)?

68) How would you digitally sign an assembly?

69) Contrast the use of an abstract base class against an interface.

70) What benefit do you get from using a Primary Interop Assembly (PIA)?

Bob



 

by: TheLearnedOnePosted on 2008-04-17 at 14:02:01ID: 21381324

If you eventually want the answers, I can fill them in as best as I can.

Bob

 

by: josgoodPosted on 2008-04-17 at 19:42:53ID: 21382949

You might consider a testing service such as BrainBench, http://www.brainbench.com/.

At my company we've used them with some pretty good success.  They provide a useful rating of the answers.

I've taken the C++ and C# tests personally and can testify that they aren't easy.  Looking up the answers taught me a few things.

 

by: slightwvPosted on 2008-04-18 at 06:21:04ID: 21385461

Bob,
WOW, were you bored?  I'll take a look at the new batch a little later.

josgood,
I'll look into that once we get to the face-to-face interview but I was looking for questions on the tech phone interview.

 

by: TheLearnedOnePosted on 2008-04-18 at 06:39:42ID: 21385602

Those were Google search results that I looked through while I was waiting for a process to finish.

Bob

 

by: slightwvPosted on 2008-04-18 at 09:08:30ID: 31449860

Thanks again for all the help.

 

by: TheLearnedOnePosted on 2008-04-18 at 09:09:34ID: 21387099

Did you get all 70 answered?

Bob

 

by: slightwvPosted on 2008-04-18 at 09:15:10ID: 21387164

I had our sys admin scan them.   He seemed to like quite a few of them and seemed to know a lot of them.  I'm sure the ones we don't know, we can research.

I think we can find enough in the list to use and didn't want to leave the question hanging.  I'm afraid, I'd forget to close it out since I'm not active that much.

 

by: fosiul01Posted on 2008-04-18 at 09:22:08ID: 21387235

Thats it, You realy want to kill those poor interviewee , its not it!!!!??  i will never get any .net job within  few years if i get some interviewer like TheLearnedOne!!!!! Joke!!


 

by: TheLearnedOnePosted on 2008-04-18 at 09:54:28ID: 21387555

There is a general interview process that I adhere to, and that is start with easy questions, and see how far you can get until the interviewee starts to squeal, and then back off a little.  *BIG GRIN*

Bob

 

by: TheLearnedOnePosted on 2008-04-18 at 09:55:24ID: 21387561

That is a superset of questions, and you would probably only need to ask a handful to get a good measure of someone's capabilities.

Bob

 

by: slightwvPosted on 2008-04-18 at 10:02:10ID: 21387626

That's what I was thinking.  If we can get hold of the one senior .Net person that I know about (works in a different division) later, we'll sit down and pick the best and rank them from what we think is easiest to hardest.

I also like to throw in 1 or 2 at the end that will make me go "DAMN" if they can answer it.  Back when I was hiring UNIX admins, I NEVER had anyone answer ALL the questions on our list.  We had the existing group come up with the list and I couldn't even have answered them all.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...