Skip to main content

Face to Face Interview for 5+ years experienced .Net Developers

Interviewer: Hi Loganathan, Good morning. How are you?

Me: Great, How are you?

Interviewer: I'm good. Can brief about yourself?

Me: Well, I started my career with .Net framework 2.0 then worked on 3.5 and 4.0 frameworks as well. So, I can work on any frameworks. I've no chance to develop a desktop application. From the begining I'm working as a pure Web developer. Initially started with ASP.Net web applications development and moved to Silverlight applications. I've well experience in C#, SQL Server 2005/2008 and WCF. I used Microsoft Enterprise Library Application blocks and LINQ in my applications. I worked in both Waterfall model and Agile model environments. Currently working as a Senior Developer. My roles and responsibilities are developing controls in Silverlight, writing WCF methods and consuming them in our applications, writing new stored procedures or modifying, doing unit testing and code review.

Interviewer: Great, Can you explain about your current project?

Me: (I explained my projects and my activities)

Interviewer: So, you are working on both ASP.Net and Silverlight. Isn't it?

Me: Yes, of course.

Interviewer: OK fine, We'll start with ASP.Net. When'll the Application_End event fire?

Me: Hmmm, It'll fire when we change the web.config or the bin directory. bin directory in the sense making changes in dlls.

Interviewer: What are the differences between user control and custom control?

Me: User controls in ASP.Net have .ascx entension and they are application specific. We can't create dlls for user controls but in case of custom controls we can create dlls and we can use the custom controls in different applications by installing the custom controls in GAC.

Interviewer: What do you mean by GAC?

Me: GAC is nothing but the directory where we are installing our global .Net libraries. You can see the directory named GAC under Windows directory in earlier versions of Windows machines but in Windows 7 machines the directory location has been changed somewhere like this
C:\Windows\Microsoft.NET\assembly\GAC_MSIL
C:\Windows\Microsoft.NET\assembly\GAC_32
The dlls installing by us will be stored under GAC_MSIL directory.

Interviewer: What are the new features in ASP.Net 4.0?

Me: Yeah, I know some of the new features like Setting meta tags, Controling Viewstate, Compressing Session data, Permanently redirecting pages and Output cache extensibility.

Interviewer: Did you use any of the new features in your project?

Me: No

Interviewer: What are HttpHandlers and HttpModules?

Me: HttpHandlers are extension based processors and HttpModules are event based processors.    

Interviewer: Suppose you need to save a data table from asp.net project to Database table. In 2008, How'll you do this?    

Me: In SQL Server 2008 we've table data type and Merge statements. This'll help us to achieve this scenario.    

Interviewer: What are the new features of SQL Server 2008 R2 used by you in your projects?    

Me: We used date, time and table types. Specifically merge statements. Some SSRS features.    

Interviewer: What are the points you should follow when you creating new database table?    

Me: Constraints, Relational tables, Column types and length of the types. Mainly normalized structure.    

Interviewer: How will you use the new Session state management feature? Can you write the coding?    

Me: Making some changes in web.config file we can.    

Interviewer: Do you have experience in LINQ?    

Me: Yes, I've.    

Interviewer: What’s IEnumerable?    

Me: Exposes the enumerator, which supports a simple iteration over a non-generic collection. IEnumerable must be implemented to support the foreach semantics.    

Interviewer: IEnumerable interface implicitly implemented in List or Collection?    

Me: List    

Interviewer:  You’ve two classes A and B. A is parent and B is derived from A. Then, which are wrong in the following combinations.
A obj=new A();
A obj=new B();
B obj=new A();
B obj=new B();


Me: B obj=new A() is wrong.

Interviewer: If A is abstract class then what’ll happen?

Me: A obj=new A() and B obj=new A() are wrong.

Interviewer: You are creating a user control (.ascx file) in one of your web application. Can you access this user control in another web application? In which way you achieve this?

Me: No, We can't access it from another web application.

Interviewer: Why do you use WCF instead of Web services?


Me: WCF is very much flexible compare to Web services. We can use different bindings. WCF supporting 20 binding types.

Interviewer:  Are you using Enterprise Library in your projects? What's the purpose?

Me: I was using these things in my previous projects. Not now. They are simplifying our data access module or security module or exception handling module funtionalities.

Interviewer: What are the differences between ObservableCollection and List?

Me: Observable collections are implicitly implementing the INotifyCollectionChanged interface but in case of List we should explicitly implement.

Interviewer: What's use of INotifyPropertyChanged?

Me: It's an interface to implement in entities to get whether the properties are getting changed or not.

Interviewer:  What are the difference between abstract class and interface? When'll you prepare abstract class? When'll you prepare interface? Why?

Me: (Explained the differences and features of both the things. I took 5 mins to explain the things regarding abstract and interface)

Interviewer: OK OK, enough. I think I'm done. Do you want to know anything?

Me: For which technology are you looking candidate, ASP.Net or Silverlight?

Interviewer: We are looking for both. Anything else?

Me: When should I join here?

Interviewer: We'll intimate you soon. Nice talking to you. Thanks.

Me: Thanks, Bye.

Comments

Post a Comment

Popular posts from this blog

Javascript - Unanswered questions - Part 1

What is Event delegation? Event delegation is Javascript as it relates to the DOM. It basically means that if you attach an event listener to a DOM element that listener is not only firing on that DOM element. It's actually firing on every children in that. So, for instance if you have a navigation and so you've got an unordered list you've got list items and then you've got anchor tags inside that navigation what you have. If you add an event listener to the ul element in essence you're actually adding event listener to all of the children as well. In short, JS event listeners fir not only on a single DOM element but on all its descendants. What is Event Bubbling? It's actually inverse of Event delegation. Also known as propagation, events on an DOM element will bubble up and also fire on all parents.  What's the difference between "target" and "currentTarget"? target is the actual element that triggered the event for example clicked, wh

One or more ActiveX controls could not be displayed because..... in Outlook

Some times We've facing this problem in Microsoft Outlook. While trying to add the images to our mails or Opening some emails. 1) Your current security settings prohibit running ActiveX controls on this page, or 2) You have blocked a publisher of one of the controls As a result, the page may not display correctly. To resolve this problem follow these steps. In Microsoft Outlook : Go to Tools > Options > Mail Format > Message Format Check the options " Use MS Office Word to ....". Happy Mailing..........................

Microservices vs. APIs

It still surprises me just how many times I come across misconceptions around Micro Services and APIs. Often hearing phrases like micro services are fine grained web services or API is themselves are equivalent to micro services. These all sort of show fundamental misconceptions under the covers. So, I've written this just to really break that out and explain about what the key differences are in those two concepts. What is an API? An API, fundamentally Application Programming Interface, that is an interface. It's a way of making requests into a component. So it's the route that you go in to make those requests. In modern use that typically means a REST API, that's a call made using HTTP protocol using JSON data as the payload. What are Micro Services? So let's ensure we also have a clear crisp definition on what a micro service architecture really is. Micro-Services architecture is about breaking down large silo applications into smaller components. That are more m