These are some must know questions if you are going for a basic entry level coder position in .Net. In this case the interviewer will try to assess your basic and conceptual knowledge about the language and the framework. Most of the questions may be just asking for a definition.
Your ability to show your basic knowledge in addition to your ability to learn new things are the key to success. Do not be hesitant to say You don't know about something, instead use phrases like, "I have not dealt with this topic yet in my past projects / college studies etc however given time I can surely gain knowledge about this"
or
Refer to a similar area and tell the interviewer that in place of area X ( say remoting ) you are more comfortable in questions related to area Y ( say web services)
Some example Questions :
1. Explain the differences between Server-side and Client-side code?
Server side code basically gets executed on the server (for example on a webserver) per request/call basis, while client side code gets executed and rendered on the client side (for example web browser as a platform) per response basis.
2. What type of code (server or client) is found in a Code-Behind class?
In the Code-behind class the server side code resides, and it generates the responses to the client appropriately while it gets called or requested.
3. What does the "EnableViewState" property do? Why would I want it on or off?
EnableViewState stores the current state of the page and the objects in it like text boxes, buttons, tables etc. So this helps not losing the state between the round trips between client and server. But this is a very expensive on browser. It delays rendering on the browser, so you should enable it only for the important fields/objects.
4. What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?
Server.Transfer transfers the currnet context of the page to the next page and also avoids double roundtrips. Where as Response.Redirect could only pass querystring and also requires roundtrip.
5. How does VB.NET/C# achieve polymorphism?
Polymorphism is achieved through virtual, overloaded, overridden methods in C# and VB.NET.
6. Whats an assembly
An assembly is the primary building block of .NET. It's a reusable, self-describing,versionable deployment unit for types and resources. They are self-describing so to allowthe .NET runtime to fully understand the application and enforce dependency and versioning rules.
7. What is other name for shared assembly?
Global Assembly
8. How do you create and use shared assemblies?
using GACUtil.exe
9. How do you use thread in your .NET application?
Derive your class from Thread Class
10. what are the main differences between Web Server controls and HTML Server controls?
HTML Server controls are the nothing but some html tags with runat=server attribute in that tag. Web Server controls have richer event handling. HTML Server Controls need to be nested within a form tag. and so on.
11. Differences between ref and out parameters?
out parameter need not be initialized, where as ref parameter needs to be. This clarifies that ref is both I/O parameter and out is only Output parameter as name suggests
12. When on the internet would you look for web services?
I guess the question is where on the Internet would you look for web services. Go to UDDI Server and find.
13. Does .NET supports Pessimistic record locking or Optimistic record locking or both?
both.
14. What is Catch API?
I am not aware of any Catch API. If it is Cache then look for Cache class and if it is exception handling (try catch throw block) look for it.
15. which method do you use to redirect the user to another page without performing a round trip to the client?
Server.Transfer
16. What base class do all web forms inherit from?
System.web.UI.Page class. But for UserControl its System.Web.UI.UserControl
17. what method do you use to explicitly kill a users session?
Session.Abandon
18. Which .NET class is used to validate an XML document?
XMLValidatingReader.
19. What is AutoPostBack
Use this property to specify whether the state of the control is posted back to the server when clicked, changes, list.
20. What is reflection
The process of obtaining information about assemblies and the types defined within them, and creating, invoking, and accessing type instances at run time.
Search Your Question
Tuesday, April 22, 2008
Entry level questions
Subscribe to:
Post Comments (Atom)
Archives
-
▼
2008
(992)
-
▼
April
(208)
- Can you name different software development life c...
- What is Microsoft Analysis Service?
- Explain what is “AutoPostBack” feature in ASP.NET ?
- Can you explain what is DCOM ?
- What do you understand by Data mining and Data War...
- How can we find out what the garbage collector is ...
- How can we stop our code being reverse-engineered ...
- How do you stop a running thread?
- How does an AppDomain get created?
- How is method overriding different from method ove...
- Is COM+ dead? Is COM+ is not needed anymore?
- Is DCOM dead? not needed anymore?
- Should you use ReaderWriterLock instead of Monitor...
- What are different types of caching in ASP.Net?
- What are the validation controls?
- What are user controls and custom controls?
- What does aspnet_regiis -i do ?
- What is Regression Testing?
- What is the difference between an event and a dele...
- What is view state and use of it?
- What's a bubbled event?
- Why do we get errors when we try to serialize a Ha...
- Why is XmlSerializer so slow?
- How can I load the icons provided by .NET dynamica...
- In windows forms what class does Icon derive from?
- How's anchoring different from docking in windows ...
- Why is it not a good idea to insert code into Init...
- Why is it not a good idea to insert code into Init...
- What is ErrorProvider control? When would you use it?
- Can you debug a Windows Service? How ?
- How can a win service developed in .NET be install...
- What is a Windows Service and how does its lifecyc...
- What does AspCompat="true" mean and when should it...
- Is it possible to prevent a browser from caching a...
- Is it possible to prevent a browser from caching a...
- What technology enables out-of-proc communication ...
- What are some of the responsibilities of the CLR?
- What are some features of the CLR?
- What are some features of the CLR?
- What are namespaces used for in .NET?
- How do class property members work in C#?
- What does a binding define in a WSDL document? Wha...
- What are the main similarities and differences bet...
- What information do you need to know in order to a...
- True false questions - Set 1
- True false questions - Set 2
- True false questions - Set 3
- What are CAO's i.e. Client Activated Objects ?
- Can you configure a .NET Remoting object via XML f...
- What does a Port define? What does the PortType de...
- What makes web services usable in almost any devel...
- When should a struct be used instead of a class?
- How does the switch statement in C# differ from th...
- What are some similarities and differences between...
- What is the main Difference between Managed code a...
- In Dot Net What are different type of JIT ?
- Is versioning applicable to private assemblies?
- What is .Net Remoting
- What was .net Framework 3.0 earlier known as?
- What are the changes to the version of the .NET Fr...
- Can DotNet Framework 3 be installed over Framework 2?
- What is the version of C# In .net Framework 3.0?
- What Operating system are supported by Framework 3.0?
- What are the 4 basic new technologies included in ...
- What is a workflow? How does Windows workflow foun...
- What are the components found in Windows workflow ...
- What tool is available for creating workflows in d...
- What Improvements does WCF offers over its earlier...
- What contemporary computing problems WCS solves?
- What are WCF features and what communication probl...
- What is High assurance certificate?
- What contemporary computing problems WPF solves?
- What is XAML ?
- What is XBAP?
- What is a service contract ( In WCF) ?
- In terms of WCF, What is a message?
- In terms of WCF, What is a service?
- In terms of WCF, What is an endpoint?
- In terms of WCF, What is an application endpoint?
- In terms of WCF, What is an infrastructure endpoint?
- In terms of WCF, What is an address?
- In terms of WCF, What is binding?
- What is a message contract?
- IN WCF, what do you understand by metadata of a se...
- What are activities in Windows Workflow Foundation?
- What do you mean by Code Refactoring?
- What is ASP.Net Web Matrix?
- What do you mean by shipping in terms of sql server ?
- What is 'Write-ahead log' in Sql Server 2000 ?
- What is DOM?
- What is XPATH?
- What is the difference between abstract class and ...
- What is a Satellite Assembly ?
- What is late binding ?
- What do you understand by the term "immutable"?
- enforce a call from an inherited constructor to an...
- How do you make sure that your code runs when the ...
- Why does code get a security exception when its ru...
- Can you use the Win32 API from a .NET Framework pr...
- How do in-process and cross-process communication ...
-
▼
April
(208)
No comments:
Post a Comment