Category Archives: .NET

54 ASP and ASP.NET questions

Explain the life cycle of an ASP .NET page.
Explain the .NET architecture.
What are object-oriented concepts?
How do you create multiple inheritance in c# and .NET?
When is web.config called?

Also posted in Web dev | 57 Comments

A dozen .NET questions

Differences between DLL and EXE?
Can an assembly have EXE?
Can a DLL be changed to an EXE?
Compare & contrast rich client (smart clients or Windows-based) & browser-based Web application
Compare Client server application with n-Tier application
Can a try block have more than one catch block?
Can a try block have nested try blocks?
How do you load an assembly [...]

Posted in .NET | 26 Comments

Active Server Pages interview questions

How do you create a recordset object in VBScript?
What is Querystring collection? - It allows you to extract data sent to the server using a GET request.
Explain the difference between POST and GET Method. - GET requests are string data that is visible to the end user via the URL and a limit of [...]

Also posted in VB, Web dev, Windows | 22 Comments

.NET WebDev interview questions - Part 3

State True or False: If you set AutoGenerateColumns=True and still provide custom column definitions, the DataGrid will render both
TrueFalse

The data from an XSL Transform with XmlReader can be returned in one of the following ways
objReader = objXslT.Transform(objNav, nothing)objXslT.Transform(objNav, nothing)objReader = objXslT.Transform(objNav, nothing, objWriter)objXslT.Transform(objNav, nothing, objWriter)

Pick the command line that would result in the C# compiler [...]

Also posted in Web dev | 72 Comments

.NET WebDev interview questions - Part 2

A structure in C# can be derived from one or more
classinterfacebothnone

State True or False: Static method cannot be overridden
TrueFalse

The Equivalent HTML Control for the <input type=”button”> tag is
HtmlInputHtmlButtonHtmlPushButtonHtmlInputButton

The Equivalent Html Control for the <input type=”checkbox”> tag is
HtmlCheckBoxHtmlInputChkBoxHtmlInputCheckBoxHtmlInputTypeChkBox

Also posted in Web dev | 67 Comments

.NET WebDev interview questions - Part 1

Which of the following languages is NOT included in the default .NET Framework installation?
C#VB.NETJScript.NETVBScript.NET

What are the different types of serialization supported in .NET Framework
XmlSerializerSoapFormatterXPathNavigator HttpFormatter

The CLR uses which format for assembly version numbers
Major:Minor:Revision:BuildMajor:Build:Minor:RevisionMajor:Revision:Minor:BuildMajor:Minor:Build:Revision

What tool is used to manage the GAC?
GacMgr.exeGacSvr32.exeGacUtil.exeRegSvr.exe

Also posted in Web dev | 46 Comments

.NET database dev questions

To test a Web Service you must create a windows application or web application to consume this service? It is True/False?
How many classes can a single.NET DLL contain?
What are good ADO.NET object(s) to replace the ADO Recordset object?
On order to get assembly info which namespace we should import?
How do you declare a static variable and [...]

Also posted in Database | 30 Comments

Interview questions for .NET

What is a static class?
What is static member?
What is static function?
What is static constructor?
How can we inherit a static variable?
How can we inherit a static member?
Can we use a static function with a non-static variable?
How can we access static variable?
Why main function is static?

Posted in .NET | 15 Comments

.NET WebDev and Web services questions

How does ASP page work?
How ASP.NET page works?
What are the contents of cookie?
How do you create a permanent cookie?
What is ViewState? What does the “EnableViewState” property do? Whay would I want it on or off?

Also posted in Web dev, Windows | 28 Comments

Microsoft ASP.NET interview questions

These questions are asked by Microsoft at one of their international locations.

What is an interface and what is an abstract class? Please, expand by examples of using both. Explain why.
What is serialization, how it works in .NET?
What should one do to make class serializable?
What exactly is being serialized when you perform serialization?

Also posted in Web dev | 68 Comments

Simple interview questions on Microsoft .NET

What is the base class of .NET?
Explain assemblies.
Name some of the languages .NET support?
ADO.NET features? Benefits? Drawbacks?

Also posted in Web dev | 100 Comments

ASP.NET interview questions and answers

Describe the difference between a Thread and a Process?
What is a Windows Service and how does its lifecycle differ from a “standard” EXE?
What is the maximum amount of memory any single process on Windows can address? Is this different than the maximum virtual memory for the system? How would this affect a system design?
What is [...]

Also posted in Web dev | 92 Comments