Sie sind auf Seite 1von 108

Interview Questions: ASP.

NET
ASP.NET Interview Questions

This is a list of questions I have gathered and created over a period of time from my experience, many
of which I felt where incomplete or simply wrong. I have finally taken the time to go through each
question and correct them to the best of my ability. However, please feel free to post feedback to
challenge, improve, or suggest new questions. I want to thank those of you that have contributed
quality questions and corrections thus far.

There are some questions in this list that I do not consider to be good questions for an interview.
However, they do exist on other lists available on the Internet so I felt compelled to keep them here
for easy access.

1. Describe the role of inetinfo.exe, aspnet_isapi.dll


andaspnet_wp.exe in the page loading process.
inetinfo.exe is theMicrosoft IIS server running, handling ASP.NET
requests among other things.When an ASP.NET request is
received (usually a file with .aspx extension), the ISAPI filter
aspnet_isapi.dll takes care of it by passing the request tothe
actual worker process aspnet_wp.exe.

2. What’s the difference between Response.Write()


andResponse.Output.Write()?
Response.Output.Write() allows you to write formatted output.

3. What methods are fired during the page load?


Init() - when the page is instantiated
Load() - when the page is loaded into server memory
PreRender() - the brief moment before the page is displayed to
the user as HTML
Unload() - when page finishes loading.

4. When during the page processing cycle


is ViewState available?
After the Init() and before the Page_Load(), or OnLoad() for a
control.

5. What namespace does the Web page belong in


the .NET Framework class hierarchy?
System.Web.UI.Page

6. Where do you store the information about the


user’s locale?
System.Web.UI.Page.Culture

7. What’s the difference between


Codebehind="MyCode.aspx.cs"
andSrc="MyCode.aspx.cs"?
CodeBehind is relevant to Visual Studio.NET only.

8. What’s a bubbled event?


When you have a complex control, like DataGrid, writing an
event processing routine for each object (cell, button, row, etc.)
is quite tedious. The controls can bubble up their eventhandlers,
allowing the main DataGrid event handler to take care of its
constituents.
9. Suppose you want a certain ASP.NET function
executed on MouseOver for a certain button. Where do
you add an event handler?
Add an OnMouseOver attribute to the button. Example:
btnSubmit.Attributes.Add("onmouseover","someClientCodeHere(
);");

10. What data types do the RangeValidator control


support?
Integer, String, and Date.

11. Explain the differences between Server-side and


Client-side code?
Server-side code executes on the server. Client-side code
executes in the client's browser.

12. What type of code (server or client) is found in a


Code-Behind class?
The answer is server-side code since code-behind is executed on
the server. However, during the code-behind's execution on the
server, it can render client-side code such as JavaScript to
be processed in the clients browser. But just to be clear, code-
behind executes on the server, thus making it server-side code.

13. Should user input data validation occur server-


side or client-side? Why?
All user input data validation should occur on the server at a
minimum. Additionally, client-side validation can be performed
where deemed appropriate and feasable to provide a richer,
more responsive experience for the user.

14. What is the difference between Server.Transfer


and Response.Redirect? Why would I choose one over the
other?
Server.Transfer transfers page processing from one page directly
to the next page without making a round-trip back to the client's
browser. This provides a faster response with a little less
overhead on the server. Server.Transfer does not update the
clients url history list or current url. Response.Redirect is used
to redirect the user's browser to another page or site. This
performas a trip back to the client where the client's browser is
redirected to the new page. The user's browser history list is
updated to reflect the new address.

15. Can you explain the difference between an


ADO.NET Dataset and an ADO Recordset?
Valid answers are:
· A DataSet can represent an entire relational database in
memory, complete with tables, relations, and views.
· A DataSet is designed to work without any continuing
connection to the original data source.
· Data in a DataSet is bulk-loaded, rather than being loaded on
demand.
· There's no concept of cursor types in a DataSet.
· DataSets have no current record pointer You can use For Each
loops to move through the data.
· You can store many edits in a DataSet, and write them to the
original data source in a single operation.
· Though the DataSet is universal, other objects in ADO.NET
come in different versions for different data sources.

16. What is the Global.asax used for?


The Global.asax (including the Global.asax.cs file) is used to
implement application and session level events.

17. What are the Application_Start and


Session_Start subroutines used for?
This is where you can set the specific variables for the
Application and Session objects.

18. Can you explain what inheritance is and an


example of when you might use it?
When you want to inherit (use the functionality of) another class.
Example: With a base class named Employee, a Manager class
could be derived from the Employee base class.

19. Whats an assembly?


Assemblies are the building blocks of the .NET framework.
Overview of assemblies from MSDN

20. Describe the difference between inline and code


behind.
Inline code written along side the html in a page. Code-behind is
code written in a separate file and referenced by the .aspx
page.

21. Explain what a diffgram is, and a good use for


one?
The DiffGram is one of the two XML formats that you can use to
render DataSet object contents to XML. A good use is reading
database data to an XML file to be sent to a Web Service.

22. Whats MSIL, and why should my developers need


an appreciation of it if at all?
MSIL is the Microsoft Intermediate Language. All .NET
compatible languages will get converted to MSIL. MSIL also
allows the .NET Framework to JIT compile the assembly on the
installed computer.

23. Which method do you invoke on the DataAdapter


control to load your generated dataset with data?
The Fill() method.

24. Can you edit data in the Repeater control?


No, it just reads the information from its data source.

25. Which template must you provide, in order to


display data in a Repeater control?
ItemTemplate.

26. How can you provide an alternating color scheme


in a Repeater control?
Use the AlternatingItemTemplate.
27. What property must you set, and what method
must you call in your code, in order to bind the data from
a data source to the Repeater control?
You must set the DataSource property and call the DataBind
method.

28. What base class do all Web Forms inherit from?


The Page class.

29. Name two properties common in every validation


control?
ControlToValidate property and Text property.

30. Which property on a Combo Box do you set with


a column name, prior to setting the DataSource, to display
data in the combo box?
DataTextField property.

31. Which control would you use if you needed to


make sure the values in two different controls matched?
CompareValidator control.

32. How many classes can a single .NET DLL contain?


It can contain many classes.

Web Service Questions

1. What is the transport protocol you use to call a


Web service?
SOAP (Simple Object Access Protocol) is the preferred protocol.

2. True or False: A Web service can only be written


in .NET?
False

3. What does WSDL stand for?


Web Services Description Language.

4. Where on the Internet would you look for Web


services?
http://www.uddi.org

5. True or False: To test a Web service you must


create a Windows application or Web application to
consume this service?
False, the web service comes with a test page and it provides
HTTP-GET method to test.

State Management Questions

1. What is ViewState?
ViewState allows the state of objects (serializable) to be stored
in a hidden field on the page. ViewState is transported to the
client and back to the server, and is not stored on the server or
any other external source. ViewState is used the retain the
state of server-side objects between postabacks.

2. What is the lifespan for items stored in


ViewState?
Item stored in ViewState exist for the life of the current page.
This includes postbacks (to the same page).

3. What does the "EnableViewState" property do?


Why would I want it on or off?
It allows the page to save the users input on a form across
postbacks. It saves the server-side values for a given control
into ViewState, which is stored as a hidden value on the page
before sending the page to the clients browser. When the page
is posted back to the server the server control is recreated with
the state stored in viewstate.

4. What are the different types of Session state


management options available with ASP.NET?
ASP.NET provides In-Process and Out-of-Process state
management. In-Process stores the session in memory on the
web server. This requires the a "sticky-server" (or no load-
balancing) so that the user is always reconnected to the same
web server. Out-of-Process Session state management stores
data in an external data source. The external data source may
be either a SQL Server or a State Server service. Out-of-Process
state management requires that all objects stored in session are
serializable.

posted on Tuesday, March 16, 2004 8:14 AM

Feedback

# re: Interview Questions: ASP.NET 6/1/2004 5:00 AM pinak


hey can anyone gimme some common basic questions on .net which can b expected in interview. Plz
consider that i'm just beginer in .net. You can mail me at
pinak222@yahoo.com. I'll b really thankfull to u ...
bye

# re: Interview Questions: ASP.NET 6/25/2004 11:08 PM thomas


hello friend

thankx for you questions.


the questions seems to be little bit tough, so if you have prilim questions for a beginner, could you
please send it to me.

with prayers..........................................thomas
thomasjames_code@yahoo.co.in

# re: Interview Questions: ASP.NET 7/1/2004 12:49 AM doubt


11. What type of code (server or client) is found in a Code-Behind class? Server-side code.

we can write client side code in code-behind calss like


button1.Attributes.Add("onMouseOver", "window.open('webform1.aspx')")

pls help me

# re: Interview Questions: ASP.NET 7/1/2004 12:44 PM Mark Wagner


You are correct. You can write dynamically created client-side code in the code-behind class just as
you have shown in your example. I understand your question and believe you have a good point.
However, I would argue the code-behind class should still be considered "server-side" code since that
is where it is executing. Client-side code does not execute in the code-behind, it is simply text or data,
not really code and is treated as such in the code-behind.

Your (excellent) example demonstrates the power of ASP in that a developer can dynamically create
HTML, XML, or even Javascript in the code-behind. As you have pointed out, this dynamically
generated code would execute on the client-side.

In short, you are correct in your assessment and appear to be able to intelligently answer this
question should you encounter it in an interview. Great question!

# re: Interview Questions: ASP.NET 7/3/2004 10:36 AM Yasser


Hi,

This is in response to Question 12, validation should occur on client side and server side both. Client
side should happen to avoid server round trip, but it's easily possible to by-pass client side validation.
Say if someone has turned of javascript in her browser or if the browser is not supporting javascript?
In that scenario client side validation will not work. Hence if the validation is also done on server than
such scenario can be avoided. The rule is whether validation occurs on client or not, but it should
always occur on server.

# re: Interview Questions: ASP.NET 7/5/2004 10:26 PM Vivek Kumbhojkar


This article is realyy good for beginners..

Excellent article

Vivek

# re: Interview Questions: ASP.NET 7/16/2004 11:00 PM vishal wadhawan


This is a real good stuff.I liked it very much and i'll refer it to every fresher.

# re: Interview Questions: ASP.NET 7/20/2004 3:02 AM Rohit Kalia


This is in response to Question 14 : What is the difference between Server.Transfer and
Response.Redirect? Why would I choose one over the other?

server.transfer simply transfer execution to another page. this doesn't require any information to be
sent to the browser== it all occurs on the server without the user's knowledge.
The response.redirect method sends http information to the browser instructing it to go to another
page.
rohitkalya@yahoo.com

# re: Interview Questions: ASP.NET 7/29/2004 11:31 AM Mukti ranjan


It's very very useful for interview purpose. thanks for this good did.

# re: Interview Questions: ASP.NET 7/29/2004 11:07 PM vishal


hi all
I,m working in NIC .it's a very good question for all freshers who really want about the .net

# re: Interview Questions: ASP.NET 8/5/2004 12:01 AM sandy


hi all,
i think these questions r very much useful for freshers,but it will be more useful if u provide more
questions on this topic
bye to all
sandy

# re: Interview Questions: ASP.NET 8/5/2004 9:05 PM Akhil Bhandari


Good Stuff!!

Flood it with more....

# re: Interview Questions: ASP.NET 8/8/2004 11:04 PM Fahad Khalil


Hi

About question 12... the validation on client side. Yes, one should perform the validation on client
side... but as they say, *never trust your client, specially thin*.

So always perform validation on client side, try to save atleast one trip. If client is not messing with
the HTML, then he is doing a favor on himself. If he is messing, let him waste his own band width.

To check whether all the validors on a page validate into *true*, before performing business, you
better should do...

Page.IsValid

or if you want to perform validation for a particular validator, just do...

FieldValidator.IsValid.

Hope this helps :)

mEEEEEEEEEEEEEEE!!!!!!!

# re: Interview Questions: ASP.NET 8/11/2004 12:04 PM swapna


could any one pls send me imp questions in .Net,ASP.Net,Sqlserver 2000
mail me on jara_gala@yahoo.com
thanks in advance
# re: Interview Questions: ASP.NET 8/16/2004 2:43 AM pradeep
The Questions are really great.

Thank you.

# re: Interview Questions: ASP.NET 8/16/2004 4:56 AM suresh


Question are good enough for a fresher.

# re: Interview Questions: ASP.NET 8/18/2004 9:36 AM Sergey


Most questions are good, but asking about property names or tag names has no benefit whatsoever.
Why would I memorize them if I have intellisence and MSDN library? Rather concentrate on questions
about general programming knowledge and understanding of ASP.NET concepts such as
request/response, processing pipelines and code-behind.

# re: Interview Questions: ASP.NET 8/18/2004 10:08 AM Mark Wagner


I agree Sergey.

# re: Interview Questions: ASP.NET 8/19/2004 12:28 PM RKA


Good for Interview point of view, but require more additional question in practicle.

# re: Interview Questions: ASP.NET 9/2/2004 11:16 PM sarvjeet


Thats really nice

# re: Interview Questions: ASP.NET 9/6/2004 2:54 AM Senthil Kumaran


Yeah nice questions u have it here. But still towards OOPS concept and their implementation will do
better

mail me @ senthilkumaranz@rediffmail.com I do have some questions.........

Ever Loving,
R. Senthil Kumaran

# re: Interview Questions: ASP.NET 9/7/2004 3:52 AM Ravi Nagaraj


Its indeed a good article. Please if you find any interview questions for Beginner in ASP.net please mail
it to evanirn@yahoo.com
Thanks
Ravi Nagaraj

# re: Interview Questions: ASP.NET 9/7/2004 5:38 AM Ravi


Its real good Information.
Thanks

# re: Interview Questions: ASP.NET 9/17/2004 10:20 AM Niveditha


Hi

The questions and answers in this article are quite useful


in an interview.
But i am not satisfied by the answer to
Q No.14. What is the difference between Server.Transfer and Response.Redirect? Why would I choose
one over the other?

My answer will be
The Response .Redirect () method can be used to redirect the browser to specified url, pointing to any
resource and may contain query strings and causes an extra roundtrip

Server.Transfer() performs server side redirection of the page avoiding extra roundtrip.

Server.Transfer() is preferred over Response.Redirect to avoid rountrip but the limitation is the aspx
page should reside on same web server.

# re: Interview Questions: ASP.NET 9/27/2004 12:52 PM Rakesh M Naithani


The Questions are really helpful for all of us and design as if we are at test.

Thank you.

# re: Interview Questions: ASP.NET 10/2/2004 9:00 PM anil


sir very good

# re: Interview Questions: ASP.NET 10/4/2004 8:57 PM SS


Very useful article.Thanks for spending the time to come up with such an article.Would really
appreciate more questions regding general asp.net & OOP concepts...

# re: Interview Questions: ASP.NET 10/5/2004 1:33 PM jag


tuelly remarkable

# ASP.NET Interview Q&A 10/8/2004 9:25 AM roux mohammed


1. Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process.
inetinfo.exe is theMicrosoft IIS server running, handling ASP.NET requests among other things.When
an ASP.NET request is received (usually a file with .aspx extension),the ISAPI filter aspnet_isapi.dll
takes care of it by passing the request tothe actual worker process aspnet_wp.exe.
2. What’s the difference between Response.Write() andResponse.Output.Write()?
The later one allows you to write formattedoutput.
3. What methods are fired during the page load?
Init() - when the pageis instantiated
Load() - when the page is loaded into server memory
PreRender() - the brief moment before the page is displayed to the user asHTML,
Unload() - when page finishes loading.
4. Where does the Web page belong in the .NET Framework class hierarchy?
System.Web.UI.Page
5. Where do you store the information about the user’s locale?
System.Web.UI.Page.Culture
6. What’s the difference between Codebehind="MyCode.aspx.cs" andSrc="MyCode.aspx.cs"?
CodeBehind is relevant to Visual Studio.NET only.
7. What’s a bubbled event?
When you have a complex control, like DataGrid, writing an event processing

# re: Interview Questions: ASP.NET 10/8/2004 10:47 AM Mark Wagner


Roux,

Excellent questions. I will "eventually" add them to the main list above.

Thanks!

# re: Interview Questions: ASP.NET 10/10/2004 6:33 PM santhosh chary


hi
iam fresher, addemding interviews.any one can send me faqs,maninly on oops concept,web
services/remoting,security and windows services

# re: Interview Questions: ASP.NET 10/14/2004 1:29 AM Erik Lane


Great stuff along with your others too.

# re: Interview Questions: ASP.NET 10/15/2004 5:22 AM satyan


Thanks ,

Help every one to reach their Dream Job .

# re: Interview Questions: ASP.NET 10/21/2004 11:36 PM Horatiu Cristea


Sergey,
you know there is a point in asking about proprety names and tag names :)
knowing those answers, could prove the interviewed person that he has worked with that stuff, not
just theoreticaly knowledge. For example what is the difference between visibility and display styles
for a html tag?

but what iritates me at intervies and tests is that there are companies that give you as test a small
project to do. This has no relevance in my point of view. instead i prefer to test the coding skill on
paper. i usualy ask the person to write me on paper a snippet of code of 5-10 lines of code.

# re: Interview Questions: ASP.NET 11/7/2004 11:13 PM mouli


very good

# re: Interview Questions: ASP.NET 11/17/2004 3:47 AM Sharad


Hi I am Working in Hanu Software Systems . It will be
Good If u also Provide all the quetions through topic wise

# re: Interview Questions: ASP.NET 11/17/2004 3:47 AM Sharad


Hi I am Working in Hanu Software Systems . It will be
Good If u also Provide all the quetions through topic wise
# re: Interview Questions: ASP.NET 11/18/2004 10:30 PM arati
its very nice to have such a website, Its good if u provide topicwise questions

# re: Interview Questions: ASP.NET 11/22/2004 10:48 PM Senthilkumar


Thirukkami
Hi,

Questions listed in the articles sounds good. I am adding more to the above mentioned list. As many
opted for some basics in .NET.

1) What is CLS (Common Language Specificaiton)?


It provides the set of specificaiton which has to be adhered by any new language writer / Compiler
writer for .NET Framework. This ensures Interoperability. For example: Within a ASP.NET application
written in C#.NET language, we can refer to any DLL written in any other language supported by .NET
Framework. As of now .NET Supports around 32 languages.

2) What is CTS (Common Type System)?


It defines about how Objects should be declard, defined and used within .NET. CLS is the subset of
CTS.

3) What is Boxing and UnBoxing?


Boxing is implicit conversion of ValueTypes to Reference Types (Object) .
UnBoxing is explicit conversion of Reference Types (Object) to its equivalent ValueTypes. It requires
type-casting.

4) What is the difference between Value Types and Reference Types?


Value Types uses Stack to store the data where as the later uses the Heap to store the data.

5) What are the different types of assemblies available and their purpose?
Private, Public/shared and Satellite Assemblies.

Private Assemblies : Assembly used within an application is known as private assemblies

Public/shared Assemblies : Assembly which can be shared across applicaiton is known as shared
assemblies. Strong Name has to be created to create a shared assembly. This can be done using
SN.EXE. The same has to be registered using GACUtil.exe (Global Assembly Cache).

Satellite Assemblies : These assemblies contain resource files pertaining to a locale


(Culture+Language). These assemblies are used in deploying an Gloabl applicaiton for different
languages.

6) Is String is Value Type or Reference Type in C#?


String is an object (Reference Type).

More to come....

Thanks & Regards,


Senthilkumar.Thirukkami
senthil_kumart@yahoo.com

# re: Interview Questions: ASP.NET 11/26/2004 3:29 AM Omendra


Hi all.This is very good u provide guide like this.
Omendra
# re: Interview Questions: ASP.NET 11/27/2004 12:08 AM sivamohanreddy
Please give me description about
the difference between Codebehind and Src

this is very urgent

# re: Interview Questions: ASP.NET 11/29/2004 6:06 AM Venkatajalapathi


Good Job, this questions is very useful for beginners.

# re: Interview Questions: ASP.NET 12/3/2004 10:19 PM Narendra Singh


This is nice to have such questions on net. Its really
helpful.

# re: Interview Questions: ASP.NET 12/5/2004 4:47 AM Niks


Good set of questions.

I feel the difference between "src" and "code behind" tag can be better explained from the deployment
perspective.
When "code behind" tag is used, ASP.NET expects the precompiled dll on the server. When "src" tag is
used the code behind is converted to MSIL just in time. Then it does not expect the pre-compiled DLL.
So directly the .cs (if C# is used) can be deployed on the server.
For further details Microsift msdn help - Knowledge base can be looked.

# re: Interview Questions: ASP.NET 12/16/2004 3:02 AM binay


hello can anyone provide me some common basic questions on .net which can b expected in interview.

consider me as a beginner. pls do mail me with Ans.


at sharmabinay@indiatimes.com.
I'll b really thankfull to u ...
bye

# re: Interview Questions: ASP.NET 12/16/2004 3:29 AM hemant sudehely


this is too much helpful, so thaks for this and continue and if i can contribute than how can.

# re: Interview Questions: ASP.NET 12/16/2004 7:06 AM Sahana


Can anyone give interview quesions about OOP and c#

# re: Interview Questions: ASP.NET 12/16/2004 10:08 AM Shriram Nimbolkar


These are really very good Q & A and those helped me a lot!

# re: Interview Questions: ASP.NET 12/18/2004 6:01 AM R J Singh


Thanks for you questions.

Can u send me some more quetion on asp.net and C#.

My Email id is ramjanm@gmail.com

Regrads & Thanks

R J Singh

# re: Interview Questions: ASP.NET 12/20/2004 1:34 AM Subhajit Biswas


This is excellent !! would certainely expect something more..

subhajit.biswas@gmail.com

# re: Interview Questions: ASP.NET 12/20/2004 5:17 AM P.K.MANIKANDAN


Thanks for you questions.

Can u send me some more quetion on asp.net and C#.

My Email id is pk_manikandan@rediffmail.com

Regrads & Thanks

P.K.MANIKANDAN

# re: Interview Questions: ASP.NET 3/11/2005 12:21 PM Developer in Seattle


Someone posts a great article, and the feedback thread is littered with requests for more help. Are
you guys idiots? Why should anyone take time out of their day to send you anything?

# re: Interview Questions: ASP.NET 3/14/2005 2:00 AM deepak


these question r not enough for interview plz add more question and mail me
accesdipak@rediffmail.com

# re: Interview Questions: ASP.NET 3/14/2005 2:00 AM deepak


these question r not enough for interview plz add more question and mail me
accesdipak@rediffmail.com

# re: Interview Questions: ASP.NET 3/17/2005 11:27 PM Giribabu.T


Dear friends,
U can send Interview model papers on this, If u have any. If u do so, i am very thankfull to u. If it is
possible to u u can mail me: giri_chinna27@yahoo.co.in

# re: Interview Questions: ASP.NET 3/21/2005 12:10 AM s kotteeswaran


sir,
please give some Asp.Net Interview Questions
it is usefull for me.plz send my url.
Thank you
s.kotteeswaran

# New questions from today! 3/21/2005 7:17 PM Bork, James Bork.


1. What is the user in an asp.net application?

2. How can you unload an asp.net app without touching the iis?

3. What is "delegation" in c# ?

4. in a load balancing environment, which way you choose to maintain state info, if security is
important?

5. What is the life cycle of an asp.net page? (events, from start to end)

6. What command line tools do we have in .net environment?

7. What is the plugin architecture? how to use it?

That's it for today, see if you have answers...

# re: Interview Questions: ASP.NET 3/22/2005 6:34 AM Rathi


Hello sir,

Can u send me some more asp.net and vb.net interview questions with answers
my emailid is rathi_balu2004@yahoo.com

Thank you,
B.sharu

# re: Interview Questions: ASP.NET 3/22/2005 11:34 PM Dhruv goyal


it's great help . thnx for all these ...
but better if some question related to praticle situation can come..
thnx

# re: Interview Questions: ASP.NET 3/28/2005 4:37 AM sprakash

Can u send me some more asp.net and vb.net interview questions with answers
my emailid is prak_smile@yahoo.co.in
Thank you,
sprakash

# re: Interview Questions: ASP.NET 3/28/2005 9:38 AM Venkataramana Alladi


1. What is the purpose of XSLT other than displaying XML contents in HTML?
2. How to refresh a static HTML page?

3. What is the difference between DELETE and TRUNCATE in SQL?

4. How to declare the XSLT document?

5. What are the data Islands in XML?

6. How to initialize COM in ASP?

7. What are the deferences of DataSet and ???

8. What are the cursers in ADO?

9. What are the in-build components in ASP?

10. What are the Objects in ASP?

Can any body send more ASP.net questions to rampurni@yahoo.com

# MCAD question Bank 4/2/2005 4:07 AM ToLearn


Please give sites or links containing MCAD questions and answers.Please mail it to
tolearnall@yahoo.co.in or
tolearn@all.com

# re: Interview Questions: ASP.NET 4/4/2005 10:12 PM jagadeesh


This is a real good stuff. I liked it very much and i'll refer it to every fresher.

# re: Interview Questions: ASP.NET 4/6/2005 11:19 AM SANDEEP KUMAR GUPTA


Excellent ! Really these questions will be very beneficial for freshers. I like these very much and hope
you will send these type important question on my E-mail.
E-mail :- sandeep_gupta8sep@rediffmail.com

# re: Interview Questions: ASP.NET 4/7/2005 8:29 AM ravi kumar


Excellent ! Really these questions will be very HELPFUL for freshers. pl.send these type important
question on my E-mail.
E-mail :- ravikumarkolla@rediffmail.com

# re: Interview Questions: ASP.NET 4/9/2005 9:56 PM armugam


I want interview question on asp.net, c#

# re: Interview Questions: ASP.NET 4/16/2005 3:38 AM vnvskumar@yahoo.com


Questions are good.

# re: Interview Questions: ASP.NET 4/18/2005 3:12 AM praveen


these questions are extremely fantastic.as a fresher like me, these are very helpful.I like these very
much and hope you will send these type important question on my E-mail.
# re: Interview Questions: ASP.NET 4/18/2005 3:22 AM Deepu
I like these very much and hope you will send these type important question on my E-mail.

# Interview Questions: ASP.NET 4/19/2005 9:53 PM inder


Excellent ! Really these questions will be very beneficial for freshers. I like these very much and hope
you will send these type important question on my E-mail.
E-mail :- indradeochaurasiya@rediffmail.com

# re: Interview Questions: ASP.NET 4/19/2005 9:55 PM inder


Excellent ! Really these questions will be very beneficial for freshers. I like these very much and hope
you will send these type important question on my E-mail.
E-mail :- indradeochaurasiya@rediffmail.com

# re: Interview Questions: ASP.NET 4/20/2005 5:59 AM Santhosh


Hi all,

Can anyone provide me some common questions on ASp.net which can be expected in interview.
consider me as a beginner. pls do mail me with Ans.

It will be very helpfull for my preparations

My email id is get2santy@yahoo.com

# re: Interview Questions: ASP.NET 4/21/2005 9:08 PM Ravi Bais


Excellent ! Really these questions will be very beneficial for all. I like these very much and hope you
will send these type important question on my E-mail.
E-mail :- bais.ravi@gmail.com

# re: Interview Questions: ASP.NET 4/22/2005 8:45 PM Saravanan


Really i am satiesfied with this notes
i like this site shuld continue thier service

# re: Interview Questions: ASP.NET 4/29/2005 10:19 PM Bindu


1.Using ADO.NET Datareader a user extracted data from a database table
having 5 records.What happens if another user adda 5 more
records to the table same time.Can the first user extracted records
become 10 instead of 5 or will it remain same 5?
what about same case when ADO ? pls explain in detail.

2. Using ADO.NET Datareader a user extracts data from a database table


having 1000 rows.He closed his browser in between.
that is after fetching only 50 records.
What happens to the Datareader?will it remain connected?
and will fetch 1000 records and what after?
will garbage collector collect and dispose it soon?

3. A user fetched dtata from a database table


using Dataset(Disconnected records) for updation.
Another user deleted the table just after.
what happens when the first user try to update the table after changes? Error or Something else?

4. What are different types of assemblies in ASP.NET?

5.where is session id stored in ASP? in IIS aerver or ASP Engine?

# re: Interview Questions: ASP.NET 5/2/2005 10:08 PM alin


I really appreciate this answers. You are doing so great job here. Thank you so much.

# re: Interview Questions: ASP.NET 5/4/2005 11:12 AM dan


When designing an ASCX control is it good practice to use read from the viewstate in onload event of
the control? Why or Why not.

answer: Its not good practice because if the control is loaded in page_load by use of LoadControl() it
will not see any of its own viewstate in onload. So if there is a textbox on the ascx that the control
needs it will not be able to see the postback data.

onload
{
string temp = textbox1.text
}

temp = ""

At the end of the onload event it will sync back up with viewstate. So in any of the userfired events it
will have the correct values.

Also anything that is not named or loaded global must be loaded before it will respond to events on
the pages round trip.

If the control is named in the html portion it will have its viewstate synced already in pageload.

# re: Interview Questions: ASP.NET 5/7/2005 12:28 AM syed anwar ali


A nice piece of work.

# re: Interview Questions: ASP.NET 5/10/2005 1:14 AM abcd


hmm fine
# re: Interview Questions: ASP.NET 5/11/2005 5:06 AM Yogi_virgin

thanks buddy !!!!!!!!!!!!!

# re: Interview Questions: ASP.NET 5/11/2005 5:31 AM mayur


hi it is gr8 & very helpful 4 me

# re: Interview Questions: ASP.NET 5/11/2005 9:10 AM Mukesh Kumar


I wants more interviews Question on asp.net, controls

# re: Interview Questions: ASP.NET 5/11/2005 9:17 PM Jaineesh


Pleae send me more latest questions About ASP.Net.

Thanking you,

Yours sincerely,

Jaineesh

# re: Interview Questions: ASP.NET 5/11/2005 9:22 PM Jaineesh


Please send me good more questions about ASP.Net on jaineeshthakur@homtail.com

Thanking you,

Yours sincerely,

Jaineesh

# re: Interview Questions: ASP.NET 5/17/2005 4:29 AM Ravi Goyal


i am new to ASP.NET please guide me how to approch to learn asp.net send me more questions also.

i will be very thankful of you.


Regards

Ravi Goyal

# re: Interview Questions: ASP.NET 5/17/2005 5:36 AM Vivek Harne


Hi all,

I want the ASP.Net interview question and examples urgently.


please forword it on my email-id.

vivek_harne@rediffmail.com

Vivek Harne
# re: Interview Questions: ASP.NET 5/19/2005 4:59 AM rojali
thanx fpr the questions.

# re: Interview Questions: ASP.NET 5/22/2005 10:15 PM Vivek sharma


Hi all,

I want the ASP.Net interview question and examples urgently.


please forword it on my email-id.
These responses r really very satisfactory.
Thank you.

# re: Interview Questions: ASP.NET 5/22/2005 10:34 PM P.Durga Rao


Hi
I need the Questions mainly asked in WebServices and Remoting.
Thanks

# re: Interview Questions: ASP.NET 5/22/2005 10:34 PM P.Durga Rao


Hi
I need the Questions mainly asked in WebServices and Remoting.
Thanks

# re: Interview Questions: ASP.NET 5/22/2005 10:34 PM P.Durga Rao


Hi
I need the Questions mainly asked in WebServices and Remoting.
Thanks

# re: Interview Questions: ASP.NET 5/24/2005 1:31 PM RAJU


Hi all,

I need the frequently asked interview questions on asp.net, C#, webservices and remoting. Please
send to my email id. subramaniam3007@hotmail.com

it will be very helpful to me.

Thanks

# re: Interview Questions: ASP.NET 5/24/2005 10:24 PM renju

Can u send me some more .net and ASP.NET interview questions with answers
my emailid is kuttumalu@gmail.com
Thank you, renju

# re: Interview Questions: ASP.NET 5/26/2005 2:32 PM Ram


How many "cache" statements can we have in "try" block in C#?

# re: Interview Questions: ASP.NET 5/26/2005 7:58 PM KS


Does anyone know about any job openings for ASP.NET

# re: Interview Questions: ASP.NET 5/27/2005 12:16 AM Venkatesh


Please send me the interview questions in ASP.NEt and C#.

# re: Interview Questions: ASP.NET 5/27/2005 10:51 PM Harish gopinath


Hi,

Please send me some VB.Net based questions. Please send it to harish@sampatti.com

Regards,
Harish

# re: Interview Questions: ASP.NET 5/29/2005 6:33 AM Ramakant Singh


Dear Sir,

I need the frequently asked interview questions and answer on VB.Net, ASP.Net, C#. Please send to
my email id. ramakant_1352@rediffmail.com.

It will be very helpful to me.

Regards,
Ramakant Singh

# re: Interview Questions: ASP.NET 5/29/2005 10:44 PM santhosh


Dear Sir,

I need the frequently asked interview questions and answer on VB.Net, ASP.Net, C#. Please send to
my email id. santhosh_reddy8@yahoo.com.

# re: Interview Questions: ASP.NET 5/31/2005 5:53 AM Manjunath


Hi,

Can have some more basic as well as advanced questions?


Please send them to manjunathhk@gmail.com.

Thanks in advance.

# re: Interview Questions: ASP.NET 6/1/2005 2:10 AM Siva


Nice Job.

If somebody have asp.net and vb.net interview questions and answers, pls send it to
rskshiva@rediffmail.com.

Thanks,
Siva R
# re: Interview Questions: ASP.NET 6/1/2005 10:05 AM Raja Sekhar
Excellent Stuff. Thanks a lot.
I have a question how state management is done in a webfarm or webgarden.
I mean how a session will travel from one web server to another web server?
Thanks in advance Raja

# re: Interview Questions: ASP.NET 6/3/2005 10:23 PM Diwakar Sharma


Grrrrrrrrrrrrrr8

# Interview Questions: ASP.NET 6/6/2005 1:07 AM N.S.Jenkins


Hai friends
I want webservices Question .Net with c#

Please Send it in jenkinsns@rediffmail.com

# re: Interview Questions: ASP.NET 6/7/2005 6:11 AM Pavan Kumar Devangam.


hi friends/brothers n sisters,

i am new to c#.net. plz send me the frequently asked interview questions and plz guide to get through
some good company where i can explore my knowledge in .net.

awaiting with anticipation,


thanking you,
pavan kumar.

# re: Interview Questions: ASP.NET 6/7/2005 6:11 AM Pavan Kumar Devangam.


hi friends/brothers n sisters,

i am new to c#.net. plz send me the frequently asked interview questions and plz guide to get through
some good company where i can explore my knowledge in .net.

my id is : pavan.devangam@gmail.com

awaiting with anticipation,


thanking you,
pavan kumar.

# re: Interview Questions: ASP.NET 6/7/2005 7:06 AM Poornachander


It's tooooo good
really nice job
Thank you
thanks alot

# re: Interview Questions: ASP.NET 6/7/2005 8:46 PM gopal chandra biswas


hi friends,

i am new to ASP.net. plz send me the frequently asked interview questions and plz guide to get
through some good company where i can explore my knowledge in ASP/ASP.net.
my id is : g.c_biswas@sify.com

awaiting with anticipation,


thanking you,
gopal chandra biswas

# re: Interview Questions: ASP.NET 6/8/2005 1:25 AM hari pratap


Hello sir

This is Hari Pratap

I am Searching for good job so please help me by giving me all the latest asp interview quiestions

my mail ID is skd_hari@yahoo.co.in

# re: Interview Questions: ASP.NET 6/8/2005 3:27 AM Nidhi Mishra


Hi Mark

THis is good stuff..and a very jhelpful post!

# re: Interview Questions: ASP.NET 6/8/2005 6:02 AM Apurva


hi,
very good stuff for study
if u have some more deep qus then pls send me @

apurva2k000@yahoo.com

thx

# re: Interview Questions: ASP.NET 6/13/2005 4:01 AM Priza


Hi..
Its a real good piece of work.Its good that freshers like me are being guided by professionals.Plz. send
more .NET questions and guide me to get a good job off-campus.
Thanx,
priza.

# re: Interview Questions: ASP.NET 6/15/2005 6:11 AM Shankar


Dear Friends,

Even if you ask an experience professional this above questions they to answer the same and I didn't
know how you can differenciate that this answer are realated to the freshers.

With Query,
Shankar

# re: Interview Questions: ASP.NET 6/15/2005 12:07 PM Sohel


Hi,
I am new at .net and planning to take some interview. The questions on the top help me alot. If you
have some more interview questions and useful links, please send me at sohel@ieee.org.
Thanks in advance.
Sohel.

# re: Interview Questions: ASP.NET 6/20/2005 12:37 AM thiyagarajan


pls send .net faq at my mail id plthiyagu@yahoo.com

# re: Interview Questions: ASP.NET 6/20/2005 3:16 AM Bhavesh Patel


Hi Thanks to everyone who has provide this information. Please send me more FAQ related with C#
and XML.

My Mail id is
Bhaveshpatel.78@gmail.com

# re: Interview Questions: ASP.NET 6/22/2005 11:45 PM Prasad Reddy Aluru


hello friends ,
I said thanks to every body in this group for their helping nature and spend their valuable time
please send me the interview related material and URLs in .net
@parsu_aluri@yahoo.co.in

thank you

# re: Interview Questions: ASP.NET 6/23/2005 1:27 AM Parmeeta Oberoi


I am fresher n these interview question with answers really helping me.Good Show.....keep it up!!
Keep flooding with more :)

# re: Interview Questions: ASP.NET 6/26/2005 11:00 PM harvinder singh


hello sir.....these questions r really good for freshers..as im a freshers im looking for some more
faqs..do mail me at saini_harvindersingh@yahoo.com....

# re: Interview Questions: ASP.NET 6/26/2005 11:02 PM harvinder singh


plz mail me constantly asked faqs on vb.net,asp.net n c#.net

# re: Interview Questions: ASP.NET 6/27/2005 6:05 AM murthy


sir,

Please send me all the faqs on vb.net , asp.net & c#.net which might help me out in my inteview

# re: Interview Questions: ASP.NET 6/27/2005 6:10 AM murthy


It is good, providing lot of interesting questions

thanks

# re: Interview Questions: ASP.NET 6/28/2005 2:02 PM Great questions ..


Is there any other good URL For VB.NEt or C# question too? --
Thanks
Krithika

# re: Interview Questions: ASP.NET 6/28/2005 8:16 PM Ashish


Plz provide me the interview questions for vb.net and SQL if possible.
My Email id is Ashish.great@indiatimes.com

# re: Interview Questions: ASP.NET 6/30/2005 8:06 AM Mahesh


i like this website really,,every time i prepare for interview but ,people doesn't want to take ..
i don't y?

# re: Interview Questions: ASP.NET 7/1/2005 12:03 AM Senthil kumar


Dear Sir,

I need the frequently asked interview questions and answer on VB.Net, ASP.Net, C#. Please send to
my email id. pgseram@gmail.com.

# re: Interview Questions: ASP.NET 7/1/2005 1:15 AM prashanth


qustions r very good can u send me some more qustions to my mail shanthsp2002@yahoo.com

# re: Interview Questions: ASP.NET 7/4/2005 1:57 AM Johny


qustions r very good can u send me some more qustions to my mail roses937@yahoo.com

# re: Interview Questions: ASP.NET 7/4/2005 2:01 AM johny


1. What is the purpose of XSLT other than displaying XML contents in HTML?

2. How to refresh a static HTML page?

3. What is the difference between DELETE and TRUNCATE in SQL?

4. How to declare the XSLT document?

5. What are the data Islands in XML?

6. How to initialize COM in ASP?

7. What are the deferences of DataSet and ???

8. What are the cursers in ADO?

9. What are the in-build components in ASP?

10. What are the Objects in ASP?

Can any body send more ASP.net questions to roses937@yahoo.com


# re: Interview Questions: ASP.NET 7/4/2005 2:03 AM johny
1. What is the user in an asp.net application?

2. How can you unload an asp.net app without touching the iis?

3. What is "delegation" in c# ?

4. in a load balancing environment, which way you choose to maintain state info, if security is
important?

5. What is the life cycle of an asp.net page? (events, from start to end)

6. What command line tools do we have in .net environment?

7. What is the plugin architecture? how to use it?


Can any body send more ASP.net questions to roses937@yahoo.com

# re: Interview Questions: ASP.NET 7/5/2005 2:28 AM shiva


Can any body send more ASP.net questions to
shiva14@rediffmail.com

# re: Interview Questions: ASP.NET 7/6/2005 5:50 AM chandu


please send any .net questions and answers whether they are touch and simple.

with regards
thanQ
chandu

# re: Interview Questions: ASP.NET 7/6/2005 2:24 PM Manoj Kumar M


The article seems to be very much helpful for an interview.It would be great if some more questions
are added to this article.

Thanks
manoj

# Interview Questions: ASP.NET 7/7/2005 2:09 AM predeep


Good Questions and answers.Send more questions and answers in kollamjayan@yahoo.com

# re: Interview Questions: ASP.NET 7/18/2005 9:47 PM DIVAGAR


Nice article. I need more basic questions in c# and asp.net

# re: Interview Questions: ASP.NET 7/18/2005 10:04 PM SaiCHaran


Dear
i glad to see this questions and i benifited from this questions please send me any FAQ'S from vb.net
or asp.nte or C#

to

saicharan.m@gmail.com

# re: Interview Questions: ASP.NET 7/19/2005 12:29 AM Abhijit Nayak


Really, the questions provide are very helpful. Will you please send some more advanced question
in .NET ?

# re: Interview Questions: ASP.NET 7/19/2005 3:52 AM RajyaLakshmi


The Questions are really great.
could any one pls send me imp questions in C#.Net,ASP.Net,Sqlserver 2000
mail me on rlakshmiyepuri@gmail.com

# re: Interview Questions: ASP.NET 7/20/2005 10:31 AM Joe


not bad for starters. But You definately need more

# re: Interview Questions: ASP.NET 7/22/2005 10:20 PM gopal


please mail asp.net interview questions
i have an interview

# re: Interview Questions: ASP.NET 7/22/2005 11:23 PM madheshwar


Its very good for starter.

# re: Interview Questions: ASP.NET 7/23/2005 7:20 AM sailendra


hi,all
can anyone tell me how better we can explian .net features like .net architecture, clr,cls and other
other features in interview .
and also how to restrict session time out

plz mail me at sai_sailendra@yahoo.co.in

# re: Interview Questions: ASP.NET 7/26/2005 2:32 AM Chandan Chaudhari


This Page containes the questions that r asked in most of the interviews. I just faced an interview and
believe me all the questions were from the Same Page. So It is better to refer these questions before
attending an Interview.

# re: Interview Questions: ASP.NET 7/26/2005 2:33 AM Chandan Chaudhari


Why we USE XML in .NET. Please Explain the ADVANTAGES of using XML and Send to
vedcyrus@yahoo.com
Thanks

Chandan

# re: it is a nice work 7/27/2005 12:47 AM shashank bhopal


it was a very good work

i've a question too

Q. I want to programme in raw MSIL how can i do it can i use object orientation in it how will it
compile ultimately.

Q. when .NET has a built in garbage collector then is there any use defining a destructor in any .NET
class?

# re: Interview Questions: ASP.NET 7/27/2005 5:15 AM Arnab Samanta(Globsyn)


Expecting more....

# re: Interview Questions: ASP.NET 7/31/2005 12:14 AM PKs


This is not at all impressive site, I mean, To become a good and usable site, please upload 10000
questions and answer ( That may be even hypothetical question) to this site.

Happy programming....

# re: Interview Questions: ASP.NET 8/1/2005 10:17 AM sailesh

RESPECTED SIR

UR QUESTIONS SEEM TO BE VRY HELPFUL

AS I WAS BEGINEER IN .NET I NEED SOME QUESTIONS IN THE INTERVIEW POINT OF VIEW

I WILL BE VERY THANKFUL FOR U IF U MAIL IT FOR ME


MY ID:SAILU_WIN@YAHOO.CO.IN

# re: Interview Questions: ASP.NET 8/3/2005 2:38 AM Sonia


Questions are really very helpful.

Mail me if you have some more of such kind

My ID: sonia.khoja@gmail.com

# re: Interview Questions: ASP.NET 8/3/2005 9:57 PM jagannath


i want DotNet(VB.NET,ASP.NET,C#) Frequently asked questions or interview questions

Please mail me at : jagan_nath_02@yahoo.co.in


# re: Interview Questions: ASP.NET 8/3/2005 11:32 PM
shanise_lavender7@yahoo.com
please mail me at my email ad shanise_lavender7@yahoo.com

# re: Interview Questions: ASP.NET 8/6/2005 5:56 AM kiran


i need DotNet(VB.NET,ASP.NET,C#) Frequently asked
nterview questions

# Interview Questions: ASP.NET 8/8/2005 12:44 AM Satya Vir Singh


Questions are really very helpful

# re: Interview Questions: ASP.NET 8/9/2005 9:13 PM Arun Devdas


qustions r very good can u send me some more qustions to my mail arund02@yahoo.co.in

# re: Interview Questions: ASP.NET 8/11/2005 1:12 AM Suriya


I was in need of such collection. Great work to all those who involved...

Keep this good job on!!!

# re: Interview Questions: ASP.NET 8/12/2005 1:17 AM Rajesh Thakur


Hi Everybody

This is realy great place for the Beginer attending interviews i am one of them.so is any one have
some collection of question in .Net and SQL Server please mail me at this ID mal_rajesh@sify.com

# re: Interview Questions: ASP.NET 8/14/2005 5:26 AM malini


the article is excellent.can u pls send me more questions in ASP.net to my mail id.

thanx.

# re: Interview Questions: ASP.NET 8/17/2005 5:38 AM kumaresh


Really good collective questions and answers. Keep update its useful for us.

Thanks

# re: Interview Questions: ASP.NET 8/19/2005 10:27 PM bhumit rathod


PLS SEND ME MORE QUESTIONS SIR..

# Interview Questions: ASP.NET 8/21/2005 11:38 PM Saravanan


Plz provide me the interview questions for vb.net and SQL Server if possible.
My Email id is durai_saran2002@yahoo.com

# re: Interview Questions: ASP.NET 8/24/2005 4:22 AM Srinivas


RESPECTED SIR

UR QUESTIONS SEEM TO BE VRY HELPFUL . Plese Send More questions on .NET.


I WILL BE VERY THANKFUL FOR U IF U MAIL IT FOR ME
my E-mail id is : srinivas.gvl@gmail.com

# re: Interview Questions: ASP.NET 8/25/2005 12:38 PM renu


Good Site. But I agree with 'Developer in Seattle' - For God's sake stop asking for more questions..and
wasting space here !!

# re: Interview Questions: ASP.NET 8/25/2005 10:58 PM Balaji_nayuni


Hai

# re: Interview Questions: ASP.NET 8/29/2005 3:48 AM Vijayananth


Pls. any one have some collection of question in .Net and SQL Server please mail me at this ID
p_vijey@yahoo.com

# re: Interview Questions: ASP.NET 8/30/2005 5:22 AM Mark Hoffman


Some good questions, but many of them are just sheer trivia. These types of questions don't give you
any insight in to the person's skill or their ability to think.

For example:
"What data types do the RangeValidator control support?
Integer, String, and Date. "

Suppose I know the answer. What does that really tell you? That I've worked with a Range Validator
before. Whoopee. Who cares?

If I don't now answer then it means that either I don't know it exists, haven't worked with it, or more
likely, simply don't remember which data types it supports. I can Google the question and get a
satisfactory answer in about 10 seconds.

When I interview, I want to know that the candidate understands deeper concepts than what can be
Googled in 30 seconds. Explain to me some particular OOP concepts. When would you use a
Singleton? Why? Why use an Interface? How would you implement exception handling in this case? I
want to know that they can THINK. Sure, I'll ask some basic questions that are trivial during a phone
screening, but asking what namespace some class out of the BCL belongs to is just...well, stupid. It
might make you feel superior if you know the answer, but it does nothing to help you find talented
programmers who can think intelligently.

# re: Interview Questions: ASP.NET 9/1/2005 5:25 AM Yogesh Srivastava


These question are very much helpfull for the asp.net interviews.
# re: Interview Questions: ASP.NET 9/3/2005 6:54 PM shahnawaz
i also want a interview questions on ASP.NET,VB.NET,SQL SERVER.PLS ANY BODY SEND ME.

# re: Interview Questions: ASP.NET 9/3/2005 9:17 PM madhavi


the questions are really good and heplful for facing interviews..

# re: Interview Questions: ASP.NET 9/11/2005 7:00 AM Amit Gupta


I want an interview questions on ASP.NET,VB.NET,C#, SQL SERVER.PLS ANY BODY SEND ME.

# Interview Questions: ASP.NET 9/13/2005 3:11 AM Tiki


I hav just jumped to .net technologies its quite a good site for learners coz i can brush up wht i hav
studied through the books. Thanks Mr.Mark Wagner

# re: Interview Questions: ASP.NET 9/14/2005 1:28 AM swati


WOW!!!! i really enjoyed goin.. thru all da ques n ans.... as i m a beginner i gained lot of knowledge
thru dis session............. good work ..............
keep it up!!!!!!!!!!!!
but i feel some ques r repeating n shud be deleted as they consume lot of space over here(on dis
page)

:-)KEEP SMILNG :-)

# re: Interview Questions: ASP.NET 9/14/2005 1:51 AM neha


hi friends !!!!!!!!!!!!
i like the questions being put here as well as the responses but i am in search of some more difficult
questions try to put some more over here O.K.
U BETTER BE OTHERWISE HaHaHaHa

# re: Interview Questions: ASP.NET 9/14/2005 11:16 PM prashant pandey


hi friends !!!!!!!!!!!!
i like the questions being put here as well as the responses but i am in search of some more difficult
questions try to put some more over here O.K.
U BETTER BE OTHERWISE HaHaHaHa

# A Question 9/15/2005 6:00 AM Sanket


Hello there,

Can someone explain when we inherit from HttpApplication to create a class for Global.asax,
Why do we NOT have to override Application_Start or any other event handler methods ??

Or, How is that eventhandler linked with the event?

Thanks
Sanket Vaidya
# re: Interview Questions: ASP.NET 9/19/2005 12:33 AM mithun.achar
hi,
I thank u 4 these questions this will help me in my interview today

# re: Interview Questions: ASP.NET 9/21/2005 2:31 AM Apurva


I like the wat Mark Hoffman wrote
that helps us to understand wht interviwer wants
good
can u pls send me some more interview qus

mail me at apurva2k000@yahoo.com

# re: Interview Questions: ASP.NET 9/23/2005 12:02 AM umesh


I like this type of question

# re: Interview Questions: ASP.NET 9/24/2005 5:51 AM Ashu


I found question/ansews to ASP.Net very very interesting. I stumble upon this link by chance. In fact i
was looking for Interview styled question on Visual Studio.Net. If u can plz email it to me or any
relevant URL.. Although i m looking for a URL on my own and wud post it here if i get a good URL on
Visula Studio.Net.
rgds and thanx

# re: Interview Questions: ASP.NET 9/24/2005 5:58 AM Ashu


sorry didn't left my email address. My email is kapil.aashu@gmail.com.

# re: Interview Questions: ASP.NET 9/28/2005 3:54 AM NarasimhaRao


Pls provide some stuff for ADO.Net with XML

My mail Id is narasimha_nandu@yahoo.com

# re: Interview Questions: ASP.NET 9/28/2005 12:17 PM Job Hunter in Seattle


Good God. So many threads going on. I think there are a lot of desperate job searchers are out there
(especially freshers). Every body is asking for questions to be sent to their email id. You already have
got tons and tons of question in this page. Have you all done learning those.

The basic thing is nobody knows what to study [what are the important topics to focus, how to study
for the interview....[ we never know what Q would come from the interviewer] . Me too..Thats the
reason i am here.

By just going through the questions and answerers you can not win.

All you need to do is once you done reading the particular topic for eg. ADO.Net, then search for
questions and see if you could answer.

Or just don't read the answer and try to remember that. Read that topic fully and try to understand.

I got some basic questions, may seem very easy but try to answer [try to tell out loud in 3 or 4 lines]
with out googling
1. What is HTML ?
2. What is XML ?
3. What is the difference between a class and struct ?
4. What is the difference between a Get and a Post ?
5. What is a managed code ?
6. int n *=2; int x = n & 1; What is the value of x ?
7. What is a friend in C++ ?

Knowledge is Power. All the best for the hunters.

# re: Interview Questions: ASP.NET 9/29/2005 1:24 PM Job Hunter in Seattle


1.Why would you use an array vs linked-list ?

Linked List:
? They allow a new element to be inserted or deleted at any position in a constant number of
operations (changing some references) O(1).
? Easy to delete a node (as it only has to rearrange the links to the different nodes)., O(1).
? To find the nth node, will need to recurse through the list till it finds [linked lists allow only
sequential access to elements. ], O(n)

Array
? Insertion or deletion of element at any position require a linear (O(n)) number of operations.
? Poor at deleting nodes (or elements) as it cannot remove one node without individually shifting all
the elements up the list by one., O(n)
? Poor at inserting as an array will eventually either fill up or need to be resized, an expensive
operation that may not even be possible if memory is fragmented. Similarly, an array from which
many elements are removed may become wastefully empty or need to be made smaller, O(n)

? easy to find the nth element in the array by directly referencing them by their position in the array.
[ arrays allow random access ] , O(1)

# re: Interview Questions: ASP.NET 10/3/2005 3:51 AM venkatesh moorthy


For beginners in asp.net the following site is very useful...
www.aspspider.com

# re: Interview Questions: ASP.NET 10/9/2005 10:18 PM ramanarasimham


Nice the questions are really good and I have learnt some new topics from this.

# re: Interview Questions: ASP.NET 10/10/2005 7:40 PM D. Swicegood


The inheritance question that you have is incomplete; you fail to mention both types of
inheritance:implementation and interface inheritance. Also, the answer to your web service testing
question is just plain wrong. 99 percent of .NET web services out there use complex types in method
signatures to push data across the wire; the test page does not support this.

Looks like you are trying to do a good thing here; but most of your answers are very incomplete. If
you were an interviewee for a senior developer position with my company and gave some of the
answers that you have listed they would definitely warrant follow up questions, or I would consider
them wrong; and that is just at first glance.
Dave

# re: Interview Questions: ASP.NET 10/11/2005 4:39 AM Gopinath


Very Good Boosting Tips For the Interviews.

I got Six Years of Experience in vb , asp. I Know .net and i did some projects in asp.net.
Now i am trying job in MNC comapnies. I don't know how they are asking questions can you give me
some sample questions?

# re: Interview Questions: ASP.NET 10/15/2005 12:46 AM pankaj


can anyone tell me about thread in asp.net

# re: Interview Questions: ASP.NET 10/23/2005 11:00 PM chandralekha


good collection of queries with its answers. So i am also encouraged to get solve my query from
expert if possible.

Sir - I am developing one application where my front end is vb.NET. I want to make DLL library of
classes and various components that will be used again and again in the application. but as I have
studied in book for making dll library for classes we use class library. and for making library of various
components we use Window control library. In this way there will be many dll libraries.
Thus my question is - can we make one library where all classes , window control components and
web contents can reside for reusabilility purpose. If yes then how? Or is it must to make three
different libraries for these three?
chandralekha

# re: Interview Questions: ASP.NET 10/26/2005 3:06 AM Rohit Daga


What do you mean by GAC(Global Assembly Cache)?

# re: Interview Questions: ASP.NET 11/6/2005 7:20 PM Basu


Dear sir,

I am a fresher and seeking about a job in a reputed company.can u send me the questions of related
type which were asked in the interviews.I have the knowledge of .net and no practical experience on
it..
My email is kvbhaskar7@yahoo.co.in

# re: Interview Questions: ASP.NET 11/7/2005 9:14 PM Parivesh Gupta


I m a software engineer. I have 1 year experience in ASP.Net with C#. I want to change the job. so i
need Interview Questions. Kindly send me Interview Questions.I m waiting.....

Thanks and Regards


Parivesh Gupta
parivesh.gupta@rediffmail.com
# re: Interview Questions: ASP.NET 11/8/2005 12:45 AM yogesh choudhary
Dear All,

Please send me all the FAQs on vb.net , asp.net & c#.net which might help me out in my inteview

yogeshrc@gmail.com
Yogesh Choudhary

9890254775

# re: Interview Questions: ASP.NET 11/10/2005 8:07 AM Mukesh


Good Ones

# re: Interview Questions: ASP.NET 11/17/2005 7:43 AM John Vasili


Except the fact that some of the questions are not clear and some of the answers are wrong I dont
think you can make a right decision for a new hire based on this kind of interview. Talents are spotted
differently. Hard workers differently. I dont think any of the .NET creators knows by heart all
assemblies and their respective methods, but they developed the .NET so you can fail them in
interviews like these.

# re: Interview Questions: ASP.NET 11/20/2005 10:31 PM sachin


i am very thankful to you sir

# re: Interview Questions: ASP.NET 11/20/2005 10:36 PM sachin


God help me

# re: Interview Questions: ASP.NET 11/29/2005 1:13 AM lakshminarayana


Good help for me

# re: Interview Questions: ASP.NET 11/30/2005 5:09 AM Rishi


hi very nice

# re: Interview Questions: ASP.NET 11/30/2005 9:14 PM banu


I want an interview questions on ASP.NET,VB.NET,C#, SQL SERVER.PLS ANY BODY SEND ME.

# re: Interview Questions: ASP.NET 12/1/2005 11:12 AM Jack


The very best part of this page is reading all the comments. Most of the time, if a given answer is
wrong or incomplete, responders will jump on it and we all gather a good idea of the right answer
based on that.

Also, there are a lot of people asking to have things emailed to them. Just out of curiosity, are people
actually replying to those requests? I'm also studying for a job interview, but I wouldn't bother asking
for help! I go and seek out what I need. I googled to find this page, I can google to find others. I'm
just sayin...

p.s. I've been working with ASP.Net since it was in beta, and even I didn't know the answer to a lot of
these questions! In any big company, the way work and projects are divided up, you don't always
work with all aspects of web development. You do the part that's assigned to you. We used SOAP, but
I never coded for that part of it; I've coded to use other peoples' web services but never coded my
own; never used a diffgram; etc. And as far as what the methods are, type a dang dot and see what
pops up!

# re: Interview Questions: ASP.NET 12/4/2005 7:30 PM xyz


Questions are really good.But , I am not getting the answer of the following question.
Because if we make EnableViewState=true of Dropdownlist control.Then say 5 values will be added
each time page will get refreshed.This means ViewState is available after page gets laoded.

When during the page processing cycle is ViewState available?


After the Init() and before the Page_Load(), or OnLoad() for a control.

# re: Interview Questions: ASP.NET 12/6/2005 7:57 PM Jags Gowda


Dear all,

Questions are very good , please update the page with different Question and answers so that we can
learn more and more .

Regards & Thanks


Jagadish Gowda

# re: Interview Questions: ASP.NET 12/8/2005 10:29 PM rajaguru


ya, These are really good.

# re: Interview Questions: ASP.NET 12/21/2005 7:37 AM Denim


The answer for #24 is wrong. The data in repeater can be edited if Itemtemplates are added.

# re: Interview Questions: ASP.NET 12/29/2005 11:03 PM Jags Gowda


Hey ,

Thanks guru for such a good information .

i wanted to know advanced technique is added to VS 2005 and Server SQL 2005 .

regards
Jagadish Gowda

# re: Interview Questions: ASP.NET 1/5/2006 10:08 AM Prakjii


Hi Guru,
Thankyou for such a wonderful site.
I need sqlserver 2005 Questions and answer.
Regards
prakjiii

# Interview Questions: ASP.NET,C# 1/9/2006 11:31 PM Arunkavin


Dear Sir,
These questions all are very much helpfull for the asp.net interviews.
I need the any other frequently asked interview questions and answer on VB.Net, ASP.Net, C#. Please
send to my email id. ps_arun_2002@yahoo.co.in.

It will be very helpful to me.

Regards,
Arunkavin

# re: Interview Questions: ASP.NET,c#,ADO.Net,SQL Server 1/11/2006 2:46 AM


J.DURAISAMY
Dear sir,

All these questions are very much helpfull for the asp.net interviews.
i need some more frequently asked questions for the interview in asp.net c#,Ado.net,SQL Server

kindly send me frequently asked questions to

jdsamymsc@yahoo.com

regards

J.Duraisamy
.

# re: Interview Questions: ASP.NET 1/16/2006 9:26 AM amit


does any bodyhas kenexa interview pattern questions?

# Interview Questions: ASP.NET 1/16/2006 10:40 PM NIkita


Dear Sir,
i want to know the difference between repeater,datalist and datagrid controls?

# re: Interview Questions: ASP.NET 1/21/2006 12:49 AM raji


Can u send me .net interview questions to this id.

# re: Interview Questions: ASP.NET 1/23/2006 2:10 PM Rohit Shrestha


Very nice posting and site.thank you all.

# re: Interview Questions: ASP.NET 1/26/2006 9:02 AM Manish Kumar Tiwari


Hello Sir

I am a student of B. Tech (Information Technology).


These questions are really very very help full to me.
Sir I want to build my career with .NET technologies.
Sir can u send me some e books on ASP.NET, VB.NET or which u think will be helpfull to me. Sir if u
can please send me some material on my id

manishmiet2006@gmail.com

With Regards
Manish Kumar Tiwari

# re: Interview Questions: ASP.NET 1/27/2006 10:41 PM S. Suresh kumar(cd)


Sir,
I think this site is very useful for the beginners who r going 2 attend the interview as well as for exp.
candidates. It provides me confident to get into entry level programmer.

# re: Interview Questions: ASP.NET 1/31/2006 3:51 AM Kranthi Kumar


Hi all,

I got an interview with Bosch can any body help me providing some hi level and standard interview
questions on ASP.NET,C#.net and SQL SERVER 2005.Plz I am really thankful if anybody help me out.

id psamlskranthi@yahoo.co.in

# Interview Questions: ASP.NET 1/31/2006 9:53 PM C.Ramesh


Dear sir,

All these questions are very much helpfull for the asp.net interviews.
i need some more frequently asked questions for the interview in asp.net c#,Ado.net,SQL Server

kindly send me frequently asked questions to

rc@levi.com

regards

C.Ramesh

# re: Interview Questions: ASP.NET 2/2/2006 10:22 PM Menaka


Dear sir,

All these questions are very much helpfull for the asp.net interviews.
i need some more frequently asked questions for the interview in asp.net c#,Ado.net,SQL Server

kindly send me frequently asked questions to

menaka.soms@gmail.com

regards

Menaka

# re: Interview Questions: ASP.NET 2/5/2006 9:52 AM Nima Varghese


This question are realy good not only for the interview but also for knowlledge wise.

Nima
# re: Interview Questions: ASP.NET 2/8/2006 12:19 AM Seshu Kumar
Please send the interview questions .. so that i can prepare these questions

seshu

# re: Interview Questions: ASP.NET 2/10/2006 8:13 AM rajdeep


hi
i am begineer in the asp.net i read wrox for beginners .now i am prepraing for the intervies so please
send me the asp.net with c #question as soon as possible

# re: Interview Questions: ASP.NET 2/16/2006 5:28 AM Deepak Sharma


Awesome Man

Really, this time I am not going to give answer of any question because I am novice in this field but
dear I will come back with lots of question along with sollutions.

Warm Regards
Deepak

# re: Interview Questions: ASP.NET 2/17/2006 5:04 AM saibabu.M


Hello

these question and answers are very useful to face the technical interview purpose

Thanks and Regards


saibabu.M
GlobaleProcure

# re: Interview Questions: ASP.NET 2/20/2006 10:43 AM Anil L


Really!! good Questions and very helpful

# re: Interview Questions: ASP.NET 2/21/2006 1:44 AM Harikrishna kondapalli


Hi,

I Have a programing problem. Could You help me.

The question:

How to bind Three Different DropdownList Boxes?


i meen
first one --- Dropdown DAY
second------Dropdown month
thirdone-----DropDown Year
so iwant to store date format in DateDataSource column.

my Email Id: hari.kondapalli@nunet-tech.com

Thanking You sir.


# re: Interview Questions: ASP.NET 2/22/2006 3:37 AM Manish Soni
Anyone can ask me questions related to .Net framework and anyone can send me tutorials to me on
manish1soni@yahoo.com. I am .Net programmer with 2 years experience

# re: Interview Questions: ASP.NET 2/22/2006 8:41 AM Intekhab Aalam


I am keen to look more questions and answers on advanced features of .NET like Remoting,
Reflection, Web Services, Assembly etc.

Mail me if ne1 have : intekhab.aalam@gmail.com

Thanks,

Intekhab

# re: Interview Questions: ASP.NET 2/22/2006 1:25 PM Yogesh Patange


This page has got extensive list of Questions and Answers, even if you go through it once you should
get good idea about what to expect in ASP.Net and .Net interviews
I went through the answers of many of questions, for some of those answers you can expect sub-
questions which one should be prepared for. So best way to tackle this is to learn about these .Net
topics in little more details by going through online articles Or msdn.
I think you have to know following topics to be confidently attend the interview:
- CLR functions, CTS, MSIL, Metadata
- OOP's in C# & VB.Net
- .Net Remoting Basics & Web Services
- XML & Serialization
- Enterprise Services
- ADO.Net, DataSets, Typed DataSets
- Multi-threading and Syncronization
- State Management in ASP.Net
- Data binding in ASP.Net (specifically with Grid & List controls)
- Security in ASP.Net
- Application Configuration
- Whats New in .Net Framework 2.0 (to be upto date with tecnology changes)

I just have the list, please look around for answers. Even I need it. Best of Luck!!

# re: Interview Questions: ASP.NET 2/22/2006 9:19 PM Atul Verma


Hi

thanks for Providing these Question & Answers to help


the beginers like me

Thanks,
Atul

# Interview Questions: ASP.NET 2/24/2006 4:08 AM Sankar


hi friends,

i am new to ASP.net. plz send me the frequently asked interview questions and plz guide to get
through some good company where i can explore my knowledge in ASP/ASP.net.
my id is : sankarjosephcse@yahoo.com

# re: Interview Questions: ASP.NET 2/26/2006 9:46 PM Ashok.L


EXPLAIN ABOUT RECORDSET

# re: Interview Questions: ASP.NET 2/27/2006 6:23 PM Ralph


I am not impressed by your list of questions. If you really want to impress me get your MCSD.

With the MCSD, they ask in depth questions. Not lame repeats of stuff you can google out on google.

# re: Interview Questions: ASP.NET 3/2/2006 2:28 AM Kamlesh patel


Mind Blowing article!!!!
Marvellous work done here.
Thanks to mark and all respondent for their contribution.
expect such thing in future.

True friend of web developer:asp.net

# Server.Transfer vs. Response.Redirect 3/3/2006 10:57 PM premanshu mukherji


Good information but very brief.
Need to stress on the actual mechanism.
Yet, good job.
Thanks

# re: Interview Questions: ASP.NET 3/5/2006 10:39 PM jolly


i need more questions on web services

# re: Interview Questions: ASP.NET 3/6/2006 4:04 AM Sonia


Questions are really very helpful.

Mail me if you have some more of such kind

My new ID: sonia.khoja@yahoo.com

# re: Interview Questions: ASP.NET 3/6/2006 6:12 AM Anand


Can someone send me some vb.net , vb, asp and Database related question. Please mail me at
anand.sengar@gmail.com
thanks in advance

# Interview Questions: ASP.NET 3/6/2006 6:52 PM Thangaraj


pls forward the question and answer

# re: Interview Questions: ASP.NET 3/7/2006 2:34 AM leena


what is webservices?How it is work
# re: Interview Questions: ASP.NET 3/7/2006 2:34 AM leena
what is webservices?How it is work

# re: Interview Questions: ASP.NET 3/7/2006 1:34 PM asp.net_beginner


Indeed this is a very good ariticle. greatly appreciated.
thanks to all who have put these questions and answers together

# re: Interview Questions: ASP.NET 3/7/2006 8:06 PM Atul kumar


hi
myself atul kumar i have done MCA in 2005 and after that i continuesly search the job in dot net so u
lease u send me some more questions on c# and asp.net so that i can prepare myself for the
interviews in MNC
thanks & regards
atul kumar

# re: Interview Questions: ASP.NET 3/9/2006 11:45 AM Ajay Kumar


Dear Friends ,
If You have any more question related to .net please send to me.I am very very thankful to you...

Ajay Kumar

# re: Interview Questions: ASP.NET 3/9/2006 11:01 PM Manigandan


Hai Sir,
you have given that Range Validator supports only int, str, and date but it also supports double and
currency data types. please check it out and correct it!.

# re: Interview Questions: ASP.NET 3/15/2006 5:28 AM prasad


good questions!!!!

# re: Interview Questions: ASP.NET 3/16/2006 9:09 PM Surinder Kumar


i need some more Question. If somebody have some fundoo questions in asp.net or c#.net pls send
me at surinder_jaiswal@yahoo.com

# re: Interview Questions: ASP.NET 3/17/2006 1:10 AM Arudhran


Its just amazing and interesting.. it helps me a lot keep going..

Arudhran

# re: Interview Questions: ASP.NET 3/17/2006 8:20 PM nagarajyam


good

# Interview Questions: ASP.NET 3/20/2006 6:42 AM vijay kumar


hi,

I questions is ,how many tables a single dataset can store.


If anybody knows about it plz mail me.
thank u

# re: Interview Questions: ASP.NET 3/22/2006 1:20 AM M.P. RODGE


This is excelent site as a guideline to new programmers in asp.net another such site is
geekinterview.com pl. see.

# re: Interview Questions: ASP.NET 3/26/2006 1:08 AM Sanjar


Good questions for a beginner. Good job.

Cheers

# re: Interview Questions: ASP.NET 3/29/2006 6:29 AM Annamalai


It is very helpful for me.

can anybody send some more important ASP.NET interview Q/A like typed dataset and so on.

My maid id: eannamalai@yahoo.com

Thanks

# re: Interview Questions: ASP.NET 3/31/2006 5:14 PM hema


hi all,

Iam B-Tech graduate, iam new to .net,asp.net and c# languages.I need basic questions to work on
this.Suggest me any book or send me questions on this.

This site is ver helpfull for me and i need more information


about this.

Thanks

# re: Interview Questions: ASP.NET 4/2/2006 11:39 PM girish


1.I wanna access controls of one form into another webform. (I dont want to use Session/Querystring
etc)
Is their any other Method please help.
I tried using property by returing refernce of that control.

2.I want to destroy previous form when user moves from one form to another. The previous page
should not be accessable again i.e it should be Expired.

3.How to navigate through all textbox in a form.


Like i wanna clear the contents of all textboxes on my from using a for loop.

4.I want a list of availabe webservices.( I tried to find it on www.UDDI.org but couldn't find usefull
one.

# re: Interview Questions: ASP.NET 4/2/2006 11:43 PM girish


U can mail me at girish_sakhare@rediffmail.com.
wating in anticipation.
Please help me.

# re: Interview Questions: ASP.NET 4/3/2006 6:22 AM shailendra


Very good idea to share the knowledge.

# re: Interview Questions: ASP.NET 4/3/2006 9:56 PM vishal shende


I like this type of question

if anybody have question so send me


i am also send u other dot net question
so share our and youer knowlwdge

# re: Interview Questions: ASP.NET 4/3/2006 11:07 PM shilpa s


can we add/insert new items in drop-downlist during execution(running)? for tht seperate code is
required in asp.net??? send me on:sadhale.shilpa@gmail.com

# re: Interview Questions: ASP.NET 4/3/2006 11:07 PM shilpa s


can we add/insert new items in drop-downlist during execution(running)? for tht seperate code is
required in asp.net??? send me on:sadhale.shilpa@gmail.com

# re: Interview Questions: ASP.NET 4/4/2006 2:40 AM Swap


Hi ,
I like site very much ,
Plz answer my questions
1.what are ADO objects int .net?
2.What is differance between ASP.NET & ASP?
3.Is .net a platform independent?
4 What is default datatype in .net?

# re: Interview Questions: ASP.NET 4/8/2006 1:38 PM saira


I hav a question ...

I have a file called a.aspx which has some textboxes. I want to post the values to b.aspx without
using response.redirect. How can I do this.?????

# re: Interview Questions: ASP.NET 4/11/2006 12:17 PM sam


Hi,
These are really good questions.

Could all the people send me the question which they faced in their interviews? Or Help me with
questions that u can think can be asked.

I need more question on asp.net(vb.net), advantages of c3, sql server 2000 .


Thanx,
sam

# re: Interview Questions: ASP.NET 4/13/2006 9:26 AM uros-h


hi, this is great stuff!
MY COMMENTS:

question 3: i would answer like this "the view state is available when Load event is fired" I was little
confused with answer before and after... because this is main difference between this two events.
During Init we can not see view state.

question 10: full answer is integer, string, double, date and currency.

greetings from Serbia:)

# re: Interview Questions: ASP.NET 4/13/2006 10:52 PM Satyendra


very good questions
can u send these types of questions on my id

thanks
Satyendra

# re: Interview Questions: ASP.NET 4/15/2006 1:05 PM TG


I had interview yesterday 13 out of 15 question was from your question. I wished I had seen your web
site before the interview. Guys if you have interview it real help. Thank you for your time.

# re: Interview Questions: ASP.NET 4/17/2006 3:19 AM shiv


Hi ,

Good to watch this area n learned a lot from this area

# Best ASP.NET FAQ 4/18/2006 12:05 AM Joy


TrackBack From:http://littlebamboo.cnblogs.com/archive/2006/04/18/378206.html

# Best ASP.NET FAQ 4/18/2006 12:06 AM Joy


TrackBack From:http://littlebamboo.cnblogs.com/archive/0001/01/01/378206.html

# re: Interview Questions: ASP.NET 4/19/2006 7:11 AM Ashik Wani


The questions are really obevious in such kind of interview...
Thanks for posting
Ashik Wani
BQE Software Inc.

# Session Never Expired 4/23/2006 11:42 PM Satyadeep


Session Never Expired
---------------------------
On Code Project, I found something very useful in which the author was discussing a very beautiful
idea for preventing session timeouts Idea was to call the following function in the Page Load() event.
private void ReconnectSession()
{
int int_MilliSecondsTimeOut = (this.Session.Timeout * 60000) - 30000;
string str_Script = @"
<script type='text/javascript'>
function Reconnect()
{
window.open('reconnect.aspx','reconnect','width=5,height=5,top=180
0,left=1800,scrollbars=no,showintaskbar=no');
}
window.setInterval('Reconnect()',"+int_MilliSecondsTimeOut.ToString()+ @");
</script>
";
this.Page.RegisterClientScriptBlock("Reconnect", str_Script);
}
Using the above code the page will restore the session variables 30 seconds prior to session timeout
specified in the web.config file.
What it does is, calling a javascript function that opens a page in a new window. This javascript
function call is "scheduled" so that the it will happen when the session is going to expire in 30
seconds. window.setInterval() is used for that purpose.
In my application, some details were to be retrieved from the database at the time of session renewal.
Reconnect.aspx is the page in which these things are done. You can put your own code in that page.
In the actual article on Code Project, the author was trying to embed the page within a java script
Image() tag. This was not suitable for my application. So 30 seconds prior to session expiry, I am
opening a window with the above properties and after refreshing the session variables, it will close
automatically. Since that idea is pretty straight forward, we are not discussing it here.
The trickiest part of the game is yet to come. If the application consists of more than 50 or 100 pages,
in order to avoid pasting the code in every page, we can make use of the inheritance feature of web
forms.
As we know, all the web forms are inherited from the System.Web.UI.Page class. We can add a class
file to the project that inherits from System.Web.UI.Page class.
public class YourNewPageClass : System.Web.UI.Page

Then add the following code to the class.


override protected void OnInit(EventArgs e)
{
base.OnInit(e);

if (Context.Session != null)
{
int int_MilliSecondsTimeOut = (this.Session.Timeout * 60000) - 30000;
string str_Script = @"
<script type='text/javascript'>
function Reconnect()
{
window.open('reconnect.aspx','reconnect','width=5,height=5,top=1800,left=1800,scrollbars=no,showi
ntaskbar=no');
}
window.setInterval('Reconnect()',"+int_MilliSecondsTimeOut.ToString()+ @");
</script>";
this.Page.RegisterClientScriptBlock("Reconnect", str_Script);
}
}
Solution 2
I recently came across some code which attempted to fix this problem but that was unsuccessful
because the author had forgotten the issue of client side caching.
Add to your page the following code:
private void Page_Load(object sender, System.EventArgs e)
{
this.AddKeepAlive();
}
private void AddKeepAlive()
{
int int_MilliSecondsTimeOut = (this.Session.Timeout * 60000) - 30000;
string str_Script = @"
<script type='text/javascript'>
//Number of Reconnects
var count=0;
//Maximum reconnects setting
var max = 5;
function Reconnect()
{
count++;
if (count < max)
{
window.status = 'Link to Server Refreshed ' + count.toString()+' time(s)' ;
var img = new Image(1,1);
img.src = 'Reconnect.aspx';
}
}
window.setInterval('Reconnect()',"+ _
int_MilliSecondsTimeOut.ToString()+ @"); //Set to length required
</script>
";
this.Page.RegisterClientScriptBlock("Reconnect", str_Script);
}
This code will cause the client to request within 30 seconds of the session timeout the page
Reconnect.aspx.

The Important Part


Now this works the first time but if the page is cached locally then the request is not made to the
server and the session times out again, so what we have to do is specify that the page
Reconnect.aspx cannot be cached at the server or client.
This is done by creating the Reconnect.aspx page with this content:
<%@ OutputCache Location="None" VaryByParam="None" %>
<html>
</html>
The OutputCache directive prevents this from being cached and so the request is made each time. No
code behind file will be needed for this page so no @Page directive is needed either.

# Attaching access files to sql Server 4/23/2006 11:56 PM Satyadeep


I am using Sql Server 2000 for my project (a reporting system for my company needs). There is so
many tools currently using access database, and i need to bring those datas into the browser without
migrating the same into my sql server,
I tried witth addlinkedserver and OPENROWSET provided by sqlserver. is there any information on
accessing MDB remotely, please let me know.

My id: satyadeep_b@hotmail.com
# re: Interview Questions: ASP.NET 4/25/2006 4:00 AM K.SABARI BABU
This is very useful url for the beginners to study ..Dont miss to read it ok........All The Best ..May this
site be useful at its best.

# re: Interview Questions: ASP.NET 4/27/2006 3:56 AM Bijay Kumar Mandal


Questions and solutions given are very very helpful for the job seekers

# re: Interview Questions: ASP.NET 5/4/2006 4:43 AM Pooja


Hi....
Really usefull FAQs.

-Regrads
-Pooja

# re: Interview Questions: ASP.NET 5/6/2006 4:24 AM khan


very helpful. thankx to the person who initiated this thread.

# re: Interview Questions: ASP.NET 5/6/2006 12:15 PM sanat pandey


Hi sir

very nice questions you hv provided .


i hope i'll find a nice job by referring these questions.
thanks.

# re: Interview Questions: ASP.NET 5/8/2006 6:46 AM lavakumar


thanks for the useful FAQ questions.

# re: Interview Questions: ASP.NET 5/10/2006 1:37 AM anil


hi
i am begineer in the asp.net i read wrox for beginners .now i am prepraing for the intervies so please
send me the asp.net with vb.net & c #question.

my id is anildudam@yahoo.com

Thanks & regards,


anil

# re: Interview Questions: ASP.NET 5/10/2006 2:22 AM Vinoth kumar


Dear sir,

I am a fresher and seeking about a job in a reputed company.can u send me the questions of related
type which were asked in the interviews.I have the knowledge of .net and no practical experience on
it..
My email is vinomca@gmail.com

# re: Interview Questions: ASP.NET 5/10/2006 11:10 AM sudeep sharma


qustions r very usefull for any one .
send me more qustions n ans. related to asp.net, remoting,socket programming, c#.

# re: Interview Questions: ASP.NET 5/10/2006 11:10 AM sudeep sharma


qustions r very usefull for any one .
send me more qustions n ans. related to asp.net, remoting,socket programming, c#.

# Interview Questions: ASP.NET 5/11/2006 7:49 AM Suresh


I want to which is best for codebehind technic by using either vb.net or c#

# re: Interview Questions: ASP.NET 5/13/2006 12:46 AM sai


Hello,
Thankyou very much for the article. Really it is very helpful for every dot net programmer. Once again
thankyou

Regards,
sai

# re: Interview Questions: ASP.NET 5/13/2006 10:36 PM Khyati


All questions are very good.some some r tough for bignners.

# re: Interview Questions: ASP.NET 5/14/2006 10:58 PM Jayender


Too good ...
thanks,
jay

# re: Interview Questions: ASP.NET 5/15/2006 12:05 AM dileep


sir,
i want to know how to add yahoo,gmail & rediffmail and access them from one page.if u have any
information then pls send me on dileep05it@yahoo.co.in

# re: Interview Questions: ASP.NET 5/16/2006 3:45 AM sunit tyagi


Hi All,

The questions published are good.


I would like to refer a website which contains the basic questions and answers on .net

# re: Interview Questions: ASP.NET 5/20/2006 9:40 PM saravana selvam K.


Dear sir,

Really very nice collection Your question. If You have some more questions Please send me c# and
VB.net and Asp.net to my mail id.

My Mail id : selvaa_k@hotmail.com
Thanks and regards

K. saravana selvam

# re: Interview Questions: ASP.NET 5/21/2006 10:34 PM Shailesh


The questions and answers in this article are quite useful in an interview.

I am very thankful to this site.

From
shailesh
e-mail id: shailesh_ek@yahoo.com
`

# re: Interview Questions: ASP.NET 5/22/2006 3:15 AM Rituparno


Qustions are very usefull for Interview

# re: Interview Questions: ASP.NET 5/25/2006 9:58 PM Santu Ghosh


Vey Good

# re: Interview Questions: ASP.NET 5/29/2006 11:21 PM Ashokraja


Its Really Good and useful for job seekers as well as recuriters. Thanks.

# re: Interview Questions: c#.NET 5/31/2006 2:59 AM Ramya


Site is really gud for freshers....

# re: Interview Questions: ASP.NET 5/31/2006 6:30 AM karthik d.s


what is the default execution time for asp.net page?

pls help me.

mail:dskarthik_tamil@yahoo.co.in

# re: Interview Questions: ASP.NET 6/6/2006 9:45 PM Rupesh sharma (S/W


Devlpr. NIIT Ltd. Gurgaon)
how does the .net framework support explicit standardized version management?

# re: Interview Questions: ASP.NET 6/8/2006 4:06 AM Aniruddha Chauhan


Respected Sir

I am a corprate trainner in NIIT LIMITED.I have two year experience on .NET as corporate trainner
and i have good knowledge on .NET plateform.but now i am going to join interviews on .NET at the
level of two year experience.I want to check whattype of question can be asked in interviews.so
please send me immediatly interview question on .NET at two year experience level.I shell highly
obliged to you.

My Email Id : ap_chauhan24@yahoo.com
Thanking You

# re: Interview Questions: ASP.NET 6/9/2006 10:36 AM madhusudhan


very good

# re: Interview Questions: ASP.NET 6/10/2006 7:41 AM vishal brahamne


HI
I m vishal, completed BE computer (2005), Pune university and seeking for job. i m interested in .NET
technologies so plz send me more & more questions and ans .....and material regarding .net
interview...waiting for ur help.

# re: Interview Questions: ASP.NET 6/10/2006 7:46 AM vishal brahamne


my email id: vb10@rediffmail.com

# Interview Questions: ASP.NET 6/11/2006 10:36 PM Kiranmai


Hi,

Can you please forward me the basic quesitons and the advanced questions on ASP.net.

My id is kiranmai_maddula@yahoo.co.in

Thanks in advance,
Kiran

# re: Interview Questions: ASP.NET 6/12/2006 6:57 AM beneez


hi friends,

i am new to ASP.net. plz send me the frequently asked interview questions and plz guide to get
through some good company where i can explore my knowledge in ASP/ASP.net.

my id is : beneezrch@gmail.com

awaiting with anticipation,


thanking you,
beneez ch

# re: Interview Questions: ASP.NET 6/13/2006 10:15 PM adesh jain


could any one pls send me imp questions in .Net,ASP.Net,Sqlserver 2000
mail me on
jain_adesh2002@yahoo.com
I am very thankful to you.

Regards

Adesh Jain
# re: Interview Questions: ASP.NET 6/13/2006 11:13 PM JHANSI RANI
This site is very useful to me. Please include some more interview question and also
Conduct online exam in asp.net.

I done two project in ASP.Net and I am final year student. I am searching good job in ASP.Net please
help me to get good job in ASP.net

# Important questions 6/14/2006 5:21 AM kaushal


whats the difference between convert.ToInt() and parse.int()
a) the first does not work for null value .
b) the later does not work for null value.

# re: Interview Questions: ASP.NET 6/15/2006 1:24 AM Ramu Mangena


I agree with Mr. Mark Haffman... but ..... still.... this info is useful for most ......... and ...... any peice
of information on .Net is highly useful ... no matter .... how small the info is..... but it is ... greatly
useful........

Friends.... if u hav any usful info on .Net plz forward them to my mail id...... here it
goes.....ramuniceguy@yahoo.com or ramsinfokit@gmail.com.

My advance thanks for those who are willing to help me........ hav a great time....

# re: Interview Questions: ASP.NET 6/15/2006 1:32 AM Ramu Mangena


hai frdz.... these Faqs may help u all
1. Write a simple Windows Forms MessageBox statement.
2. System.Windows.Forms.MessageBox.Show

3. ("Hello, Windows Forms");


4. Can you write a class without specifying namespace? Which namespace does it belong to by
default??
Yes, you can, then the class belongs to global namespace which has no name. For commercial
products, naturally, you wouldn’t want global namespace.
5. You are designing a GUI application with a window and several widgets on it. The user then resizes
the app window and sees a lot of grey space, while the widgets stay in place. What’s the problem?
One should use anchoring for correct resizing. Otherwise the default property of a widget on a form is
top-left, so it stays at the same location when resized.
6. How can you save the desired properties of Windows Forms application? .config files in .NET are
supported through the API to allow storing and retrieving information. They are nothing more than
simple XML files, sort of like what .ini files were before for Win32 apps.
7. So how do you retrieve the customized properties of a .NET application from XML .config file?
Initialize an instance of AppSettingsReader class. Call the GetValue method of AppSettingsReader
class, passing in the name of the property and the type expected. Assign the result to the appropriate
variable.
8. Can you automate this process? In Visual Studio yes, use Dynamic Properties for automatic .config
creation, storage and retrieval.
9. My progress bar freezes up and dialog window shows blank, when an intensive background process
takes over. Yes, you should’ve multi-threaded your GUI, with taskbar and main form being one
thread, and the background process being the other.
10. What’s the safest way to deploy a Windows Forms app? Web deployment: the user always
downloads the latest version of the code; the program runs within security sandbox, properly written
app will not require additional security privileges.
11. Why is it not a good idea to insert code into InitializeComponent method when working with Visual
Studio? The designer will likely throw it away; most of the code inside InitializeComponent is auto-
generated.
12. What’s the difference between WindowsDefaultLocation and WindowsDefaultBounds?
WindowsDefaultLocation tells the form to start up at a location selected by OS, but with internally
specified size. WindowsDefaultBounds delegates both size and starting position choices to the OS.
13. What’s the difference between Move and LocationChanged? Resize and SizeChanged? Both
methods do the same, Move and Resize are the names adopted from VB to ease migration to C#.
14. How would you create a non-rectangular window, let’s say an ellipse? Create a rectangular form,
set the TransparencyKey property to the same value as BackColor, which will effectively make the
background of the form transparent. Then set the FormBorderStyle to FormBorderStyle.None, which
will remove the contour and contents of the form.
15. How do you create a separator in the Menu Designer? A hyphen ‘-’ would do it. Also, an
ampersand ‘&\’ would underline the next letter.
16. How’s anchoring different from docking? Anchoring treats the component as having the absolute
size and adjusts its location relative to the parent form. Docking treats the component location as
absolute and disregards the component size. So if a status bar must always be at the bottom no
matter what, use docking. If a button should be on the top right, but change its position with the form
being resized, use anchoring.

AND FEEEW MORE>>>>


1. Write a simple Windows Forms MessageBox statement.
2. System.Windows.Forms.MessageBox.Show

3. ("Hello, Windows Forms");


4. Can you write a class without specifying namespace? Which namespace does it belong to by
default??
Yes, you can, then the class belongs to global namespace which has no name. For commercial
products, naturally, you wouldn’t want global namespace.
5. You are designing a GUI application with a window and several widgets on it. The user then resizes
the app window and sees a lot of grey space, while the widgets stay in place. What’s the problem?
One should use anchoring for correct resizing. Otherwise the default property of a widget on a form is
top-left, so it stays at the same location when resized.
6. How can you save the desired properties of Windows Forms application? .config files in .NET are
supported through the API to allow storing and retrieving information. They are nothing more than
simple XML files, sort of like what .ini files were before for Win32 apps.
7. So how do you retrieve the customized properties of a .NET application from XML .config file?
Initialize an instance of AppSettingsReader class. Call the GetValue method of AppSettingsReader
class, passing in the name of the property and the type expected. Assign the result to the appropriate
variable.
8. Can you automate this process? In Visual Studio yes, use Dynamic Properties for automatic .config
creation, storage and retrieval.
9. My progress bar freezes up and dialog window shows blank, when an intensive background process
takes over. Yes, you should’ve multi-threaded your GUI, with taskbar and main form being one
thread, and the background process being the other.
10. What’s the safest way to deploy a Windows Forms app? Web deployment: the user always
downloads the latest version of the code; the program runs within security sandbox, properly written
app will not require additional security privileges.
11. Why is it not a good idea to insert code into InitializeComponent method when working with Visual
Studio? The designer will likely throw it away; most of the code inside InitializeComponent is auto-
generated.
12. What’s the difference between WindowsDefaultLocation and WindowsDefaultBounds?
WindowsDefaultLocation tells the form to start up at a location selected by OS, but with internally
specified size. WindowsDefaultBounds delegates both size and starting position choices to the OS.
13. What’s the difference between Move and LocationChanged? Resize and SizeChanged? Both
methods do the same, Move and Resize are the names adopted from VB to ease migration to C#.
14. How would you create a non-rectangular window, let’s say an ellipse? Create a rectangular form,
set the TransparencyKey property to the same value as BackColor, which will effectively make the
background of the form transparent. Then set the FormBorderStyle to FormBorderStyle.None, which
will remove the contour and contents of the form.
15. How do you create a separator in the Menu Designer? A hyphen ‘-’ would do it. Also, an
ampersand ‘&\’ would underline the next letter.
16. How’s anchoring different from docking? Anchoring treats the component as having the absolute
size and adjusts its location relative to the parent form. Docking treats the component location as
absolute and disregards the component size. So if a status bar must always be at the bottom no
matter what, use docking. If a button should be on the top right, but change its position with the form
being resized, use anchoring.

Alll The Best Frndz

# re: Interview Questions: ASP.NET 6/15/2006 1:39 AM Ramu Mangena


Also frnd... try to find answers.... to some unanswered questions in the above questions..... it is
worth... if u can work out those questins.

If u hav any questions.... plz forward them to my id..... ramsinfokit@gmail.com or


ramuniceguy@yahoo.com

# re: Interview Questions: ASP.NET 6/15/2006 6:26 AM Anju V


Sir,

I am working in ASP.Net using C#.Now I am looking for a job in an established concern.

Would you pls send me some Interview questions in ASP.Net and C#?

With Regards
Anju

# re: Interview Questions: ASP.NET 6/16/2006 8:35 AM Frank


I am looking for a C#, SQL, ASP.NET job, can you please send me some interview questions related to
C#, SQL, ASP.NET?
Email : frankli868@hotmail.com
Kind Regards
Frank

# re: Interview Questions: ASP.NET 6/19/2006 4:18 AM samarjit


I am looking for a C#, SQL, ASP.NET interview qns. can you please send me some interview questions
related to C#, SQL, ASP.NET?send it to my mail id
my mail id :- silu95421@yahoo.com

# re: Interview Questions: ASP.NET 6/20/2006 12:05 AM deepthi


send me imp questions in .Net,ASP.Net,Sqlserver 2000
mail me on

# re: Interview Questions: ASP.NET 6/20/2006 3:44 AM santosh Lonkar


Thanks Admin This site is very useful to me. Please include some more interview question and answer
and also Conduct online exam in asp.net.

thanks
santosh lonkar
# re: Interview Questions: ASP.NET 6/21/2006 1:08 AM Rituparno
1.Different type of Garbage Collection?
2.How use Payment Gateway?
3.Satellite

# re: Interview Questions: ASP.NET 6/22/2006 3:23 AM Mohd. Kaif


Hi Friends,
Here i found good collection of Dot Net and ASP.Net questions, plz mail me more good written and
interview questions N answers of Dot Net to my mail id--> akbar.kaif@gmail.com soon.

bye

# re: Interview Questions: ASP.NET 6/22/2006 4:30 AM Swarup


From constructor to destructor (taking into consideration Dispose() and the concept of non-
deterministic finalization), what the are events fired as part of the ASP.NET System.Web.UI.Page
lifecycle. Why are they important?

What interesting things can you do at each?

What are ASHX files? What are HttpHandlers? Where can they be configured?

What is needed to configure a new extension for use in ASP.NET? For example, what if I wanted my
system to serve ASPX files with a *.jsp extension?

What events fire when binding data to a data grid? What are they good for?

Explain how PostBacks work, on both the client-side and server-side. How do I chain my own
JavaScript into the client side without losing PostBack functionality?

How does ViewState work and why is it either useful or evil?

What is the OO relationship between an ASPX page and its CS/VB code behind file in ASP.NET 1.1? in
2.0?

What happens from the point an HTTP request is received on a TCP/IP port up until the Page fires the
On_Load event?

How does IIS communicate at runtime with ASP.NET? Where is ASP.NET at runtime in IIS5? IIS6?

What is an assembly binding redirect? Where are the places an administrator or developer can affect
how assembly binding policy is applied?

Compare and contrast LoadLibrary(), CoCreateInstance(), CreateObject() and Assembly.Load().

# re: Interview Questions: ASP.NET 6/22/2006 10:39 PM Nazar Masi


Hi

Thanks Admin This site is very useful to me. Please include some more interview question and answer
and also Conduct online exam in asp.net. and vb.net and sql server.

Thanks
Nazar
# Interview Questions: ASP.NET 6/23/2006 12:29 AM Yogesh Nagpal
Hi to everyone,
I m a new guy on the\is site.I m working in mango it solutions pvt ltd,new delhi since jan 2005.I
want .net interview questions as now i want to change the company.Plz mail those interview questions
at yogesh_us2002@yahoo.com.
Thanks,
With regards.
Yogesh Nagpal.

# re: Interview Questions: ASP.NET 6/25/2006 10:36 PM Rituparno


The DataReader loads one record from the data store at a time. Each time the DataReader's Read()
method is called, the DataReader discards the current record, goes back to the database, and fetches
the next record in the resultset. The Read() method returns True if a row was loaded from the
database, and False if there are no more rows.

DataSets are a more complex and feature-rich object than DataReaders. Whereas DataReaders simply
scuttle data back from a data store, DataSets can be thought of as in-memory databases. Just like a
database is comprised of a set of tables, a DataSet is made up of a collection of DataTable objects.
Whereas a database can have relationships among its tables, along with various data integrity
constraints on the fields of the tables, so too can a DataSet have relationships among its DataTables
and constraints on its DataTables' fields

# re: Interview Questions: ASP.NET 6/25/2006 10:38 PM Rituparno


Difference between Vb.NET class & compnent?
IBM

# re: Interview Questions: ASP.NET 6/26/2006 7:36 PM Brian


I am an .NET architect for a big company. The questions listed here are totally meaningless for
screening candidates. In another words, if I use these questions, I will miss lots of qualified
developers. Instead, I will hire lots of junor ones who knows how to memorize ...

I won't use any of these questions at all.

# re: Interview Questions: ASP.NET 6/30/2006 2:57 AM Ashok


hello dear friends,

can anybody send me all possible interview questions both for freshers as well as experienced people
for asp.net
also if possible please send me the available source codes or projects

thanking you
ashok
ashoka_4u_y2kn@yahoo.com

# re: Interview Questions: ASP.NET 7/3/2006 1:05 AM anusha


hi friends ...i have 2 years experience in .net ie vB.net ...could you guys please help me out ...plzz
send interview questions in asp.net ,vb.net ,sharepoint

my email id is.....anusha_diva2004@yahoo.com
thanks in advance

# re: Interview Questions: ASP.NET 7/3/2006 10:12 PM Bhupendra


plz send me some questions for webservice

# re: Interview Questions: ASP.NET 7/6/2006 1:34 AM ravish


This is realy a good site for interview.I have a small request that is please add the answer below the
question.

# re: Interview Questions: ASP.NET 7/7/2006 6:00 AM Chintan Darji


Respected Sir,

The answers of the Frequently Asked Questions are extremely helpful to me for my interview
preparation.

I am very very thankful to you sir.

# re: Interview Questions: ASP.NET 7/8/2006 4:15 AM Parag


These questions are really good

# re: Interview Questions: ASP.NET 7/10/2006 3:10 AM bhaskar


What is a proxy in web service? How do I use a proxy server when invoking a Web service?

What are the events fired when web service called?


How will do transaction in Web Services?
How does SOAP transport happen and what is the role of HTTP in it? How you can access a webservice
using soap?
What are the different formatters can be used in both? Why?.. binary/soap
How you will protect / secure a web service?

csbhaskar_soft@yahoo.com

# re: Interview Questions: ASP.NET 7/10/2006 11:54 PM vivek


sir plz snd me more interview question.

# re: Interview Questions: ASP.NET 7/12/2006 12:44 AM sakthivel


Pl send me the mail regarding .net interview related questions. pl

# re: Interview Questions: ASP.NET 7/13/2006 3:51 AM Askar


hi it is very imprtant question if any more question please send me
id : ktaskar @gmail.com

# re: Interview Questions: ASP.NET 7/13/2006 10:44 AM chirag


Thank u

give me other important dot net question.

email : ritscoolman@yahoo.co.in

# re: Interview Questions: ASP.NET 7/15/2006 8:35 AM vijay


helo sir i read this interview questions its' very nice.I request you to send these updated questions
and answers to my id becoz i couldnot download.so i hope as soon as u r sending to my mail.thanking
you

# re: Interview Questions: ASP.NET 7/15/2006 9:24 AM Srihari


i want asp.net, Vb.net, asp,c#,opps concepts Interview Questions.

# re: Interview Questions: ASP.NET 7/16/2006 10:13 PM shailendra pratap singh


All the question and their answer are very good and are very useful for us.Plz send this type of more
question to me on the id shailendra_talent_mca@yahoo.co.in

# re: Interview Questions: ASP.NET 7/17/2006 12:28 PM .net


hy

# re: Interview Questions: ASP.NET 7/18/2006 7:59 AM cherkos


can web server replaces application server? is web server a client of application server? what if we put
all the logic or classes or domain or middle layer in the web server? what if we use web service
instead of application server? what if we use ajax? guys I want to get rid of non-web at all? ,
cherkosreborn@yahoo.com

# re: Interview Questions: ASP.NET 7/19/2006 12:00 PM Bicky Jalali


The documentation above is truly great.

Can any one send me some documentation on .Net Design Patterns. at :

hereiam.bicky@gmail.com

# re: Interview Questions: ASP.NET 7/20/2006 9:45 AM Joe Gakenheimer


Excellent, I appreciate effort you put into your list!

# re: Interview Questions: ASP.NET 7/20/2006 10:45 PM Subhash Dome


Hi All
Can anybody send questions which is asked about C#
my email Id Subhash_dome@yahoo.com

# re: Interview Questions: ASP.NET 7/23/2006 9:42 AM Arindam


Can anybody answer me:

What is the difference between delegates and pointer ?


mail me at arindam.mallik@gmail.com

# re: Interview Questions: ASP.NET 7/23/2006 12:22 PM Brian(ATnT)


Mark u did a gr8 job man!!! this blog is jus awesome...
i dont know, why dont ppl understand tht they jus need to ve an idea abt wht will be asked.... other
than crammin the complete MSDN...
i jus saw...ppl askin for more... when thrs already a set of arnd thousand ques in this page itself...
hahahaa.
Adios Amigos

# re: Interview Questions: ASP.NET 7/23/2006 10:08 PM Dilip and Harish


Its really good article,
nad helped us lot in understanding the concepts

# re: Interview Questions: ASP.NET 7/24/2006 6:42 PM pls help me....


pls help me in deploying my project, can you give me the step by step in deploying the project, im
using visual basic .net 2003 I have 2 webforms, (asp.net)

send me thru my email: joboiser_vbprog@hushmail.com

# re: Interview Questions: ASP.NET 7/27/2006 7:53 PM


mumshad_2004@yahoo.co.in
hi

# re: Interview Questions: ASP.NET 7/29/2006 7:01 AM sumit bajpai


plz send me more asp.net question

# re: Interview Questions: ASP.NET 7/30/2006 10:03 PM randhir


plz send questions

# re: Interview Questions: ASP.NET 8/1/2006 10:09 PM Vinay


Thanks for the question and answer..i was quite lucky in my interview that the person who was taking
my interview ask me the same question

i got thru to the interview.

but i would like clear some more doubts

what does EnableViewStateMac does?


what is bubble event?
what is delegates?(in detail i know its like pointer in C++)

so far i can remember this much....?

thanking you,
vinay

# re: Interview Questions: ASP.NET 8/6/2006 7:38 AM PaulS


Vinay,

1) EnableViewStateMac is designed to detect when the viewstate of a page has been tampered with. If
the EnableViewStateMac attribute of the page directive is set to true then the server will perform a
Machine Authentication Check on the viewstate posted back to determine if it has been tampered with
on the client.

Further, if you perform a Server.Execute() on a page it is important to disable viewstate mac on the
page you are executing else the server will report that the viewstate has been tampered with (since
the page that has been executed' ViewState will be merged with the Viewstate of the calling page and
thus wont match with what the server expects).

2) Bubbling an event is the process of passing an event upto a higher level event handler to prevent
having to write an event handler for each individual object. For example, if you had lots of buttons on
a row, rather than writing a handler for each button you could bubble the event up to an object higher
in the hierarchy to handle. The original event data should still be available.

3) As you describe a delegate is in essence a pointer to a function. Why use delegates?

A delegate allows you to specify the format of the function that you will be calling without having to
specify which function you wish to call - this then leaves it upto the function called to determine how
to implement the action.

As a practical example: say you wish to design a sort method but are unsure how the sort should be
implemented, you can define a sort delegate which, when called can notify any subscribers with the
correct signature that the data needs to be sorted - these functions have therefore been "delegated"
or assigned with the requirement to sort data without the original caller having to worry about the
implementation -- as long as the signature (return type and parameters) match the delegate then the
responsibility of performing a sort can be off-loaded to another function.

By seperating the algorithm it allows the code to be written in a more general way.

Think of it like a button you add to a form: onclick you want to notify the application that a click has
occured but you want to offload the responsibility of handling the action to something else as you dont
know how it needs to be implemented.

Anyone: feel free to correct me on these responses.

Regards,

Paul

# re: Interview Questions: ASP.NET 8/6/2006 11:20 PM Shaielsh


Respected Sir

I have One year experience on .NET as Asst. Programmer and i have good knowledge on .NET
plateform.but now i am going to join interviews on .NET at the level of One year experience.I want to
check what type of question can be asked in interviews.so please send me immediatly interview
question on .NET at one year experience level.I shell highly obliged to you.

From Shailesh Bakadia


Email : shailesh_ek@yahoo.com

# re: Interview Questions: ASP.NET 8/8/2006 9:30 PM swapna


what is a diffgram?

what are the types of HTML's?

# re: Interview Questions: ASP.NET 8/10/2006 2:28 AM Murali Mohan


Very helpful.. thank you for done good job

# re: Interview Questions: ASP.NET 8/10/2006 4:38 AM JAGADEESAN


Respected Sir,
i am jagadeesan and i am working in Neosys Technologies as .Net Developer.while i had prepared
some interview pattern questions through google search,i saw ur site and i took some questions from
ur site.it is really helpful for me.

but i am sorry to say that few answers are wrong in my point of view.

for example:

What data types do the RangeValidator control support?


Integer, String, and Date.

my answer for this question is:


Integer, String, Date, Boolean, Currency(this answer i got from asp.net unleased materials)

Name two properties common in every validation control?


ControlToValidate property and Text property.

my answer for this question is:

EnableClientScript,Enabled
the above two properties are commonly used in all validation control.
for ex: ValidationSummary control dont have any text and controltovalidate property but it
has Enableclientscript,enabled property.

enableclientscript - it means enable the clientscript

enabled - it means enable the clientscript and serverscript

sir onething i want to tell u frankly,many of the software concerns in india who are all giving ur
questions.so i couldnt say my answer is correct.

if u feel my answer is correct please kindly update my answer in ur website.

if u want to say something regarding this please mail me jagan_phm@yahoo.co.in

sorry for the inconvenience

with regards
s.jagadeesan
(INDIA)

# re: Interview Questions: ASP.NET 8/10/2006 9:26 PM Samiyappan Prabakar


Its a Nice Article to refresh .and for the starters.

# re: Interview Questions: ASP.NET 8/10/2006 11:31 PM sivakumar


good and best

# problem faced with Tool Box in asp.net 8/12/2006 9:34 AM Bharat Agrawal
hi .
I m using visual studio web devloper 2005 express edition ..it was runnung very fine but now I dont
know what changes I hve made in toolbox setting from which I m not able to use all toolbox
controls ...only Html controls are highlighted to be used ..I can see all the controls but they r not
highlighted ...initially all of them were working very fine ...plzzz help me out .

# re: Interview Questions: ASP.NET 8/17/2006 11:48 PM Poongkodi


Thanks .............

If anyone can Pls send me VB.net Qestions also.

# Interview Questions: ASP.NET 8/21/2006 2:28 AM Arumuga Kumar


I have One year experience on .NET as Asst. Programmer and i have good knowledge on .NET
plateform.but now i am going to join interviews on .NET at the level of One year experience.I want to
check what type of question can be asked in interviews.so please send me immediatly interview
question on .NET at one year experience level.I shell highly obliged to you.

From Arumuga kumar


Email : arumugakumar_ceg@yahoo.com

# re: Interview Questions: ASP.NET 8/23/2006 4:17 AM ravi


excellent collection , this plus a bit of OOP will definitly help the freshers.

# re: Interview Questions: ASP.NET 8/23/2006 5:23 AM venu


this very intelictuvale for .net students

# re: Interview Questions: ASP.NET 8/23/2006 11:10 PM gaurav


hello sir/mam
i m one year experience asp.net developer and want to face interview for experience base. can u send
me interview question.

from
gaurav goel
mail id gauravhctm@yahoo.co.in

# re: Interview Questions: ASP.NET 8/25/2006 5:02 PM Swetha


Hi Sir,

These questions are useful for me.Can you plz send me frequently asked interview questions on
asp.net, C#, webservices and remoting.

Please send to my email id.


reddy1569@yahoo.com

it will be very helpful to me.

Thanks

Swetha

# #9 doesn't answer the question 8/28/2006 5:30 AM rlively


On #9, the answer doesn't answer the question:

Suppose you want a certain ASP.NET function executed on MouseOver for a certain button. Where do
you add an event handler?
Add an OnMouseOver attribute to the button. Example:
btnSubmit.Attributes.Add("onmouseover","someClientCodeHere();");

This wouldn't execute an ASP.NET function, it would execute a client-side javascript function. In order
to execute an ASP.NET function, someClientCodeHere() would have to invoke __doPostBack (or
another function that would do the same) to post back the form to the server, or else it would have to
use AJAX/ATLAS to make an XMLHTTPRequest to the server to invoke an ASP.NET function.

As to the example given, if I ever see a web page that does an auto post back on mouseover of a
button, I'll personally strangle the developer with his own mouse cord.

# re: Interview Questions: ASP.NET 8/28/2006 9:21 PM Shah Nishit


hi sir thanks but i m fresher and i want a good job in good companies so please send me a some good
url from different companies i really thanks to u in advanced please help me sir

# re: Interview Questions: ASP.NET 8/30/2006 12:39 AM swaroopa


I have two year experience on .NET as Asst. Programmer and i have good knowledge on .NET
plateform.but now i am going to join interviews on .NET at the level of two year experience.I want to
check what type of question can be asked in interviews.so please send me immediatly interview
question on .NET at two year experience level.I shell highly obliged to you.

From roopa
Email : roopa3_10@yahoo.co.in

# re: Interview Questions: ASP.NET 8/30/2006 4:06 AM swaroopa


I have two year experience on .NET as Asst. Programmer and i have good knowledge on .NET
plateform.but now i am going to join interviews on .NET at the level of two year experience.I want to
check what type of question can be asked in interviews.so please send me immediatly interview
question on .NET at two year experience level.I shell highly obliged to you.

From roopa
Email : roopa3_10@yahoo.co.in
# Interview Questions: ASP.NET 8/31/2006 4:58 AM SM. MANIKANDAN
I have two year experience on .NET as Asst. Programmer and i have good knowledge on .NET
plateform.but now i am going to join interviews on .NET at the level of two year experience.I want to
check what type of question can be asked in interviews.so please send me immediatly interview
question on .NET at two year experience level (ASP.NET, C#).I shell highly obliged to you.

M.MANIKANDAN

# re: Interview Questions: ASP.NET 9/2/2006 2:30 AM Anitha


Good resource

# re: Interview Questions: ASP.NET 9/4/2006 3:33 PM kamal


after studying some dotnet books i searched for the interview Questions, and i found this page helpful
with vast critereia.
if you can send Questions via email pls send.
Thanks for support.

raturi.kamal@gmail.com

# re: Interview Questions: ASP.NET 9/6/2006 10:02 PM DR PATEL


Thank's to sexena sir , YOUR question answer so very well for me . so thank form all for you .

# re: Interview Questions: ASP.NET 9/14/2006 12:56 AM Krupali


I have one year experience in asp.net. and This site is very useful to me. Please include some more
interview question and answer on asp.net, and also sqlserver 2000 and sql server 2005
pls send me this on my mail
krupali23@gmail.com

# re: Interview Questions: ASP.NET 9/14/2006 4:31 AM rock


good one.. got some idea

# re: Interview Questions: ASP.NET 9/16/2006 7:01 PM Mohan G


Hi ... the quesions were too good and very usefull for interview.i am in searching mode... with 3+ yrs,
so please send me more interview questions in asp.net,C#.net, sql server 2000.

mail me at :

msc.2003@gmail.com , gannarammohan@yahoo.com

# re: Interview Questions: ASP.NET 9/16/2006 7:06 PM Mohan G


Hi ... the quesions were too good and very usefull for interview.i am in searching mode... with 3+ yrs,
so please send me more interview questions in asp.net,C#.net, sql server 2000, along with answers

mail me at :

msc.2003@gmail.com , gannarammohan@yahoo.com
# re: Interview Questions: ASP.NET 9/17/2006 8:05 PM sunil patil
hellow sir ,
my self sunil patil ,
a interview question on .net is very standard
&i like thah question
my mail account is spatil512@gmail.com

# Interview Questions: ASP.NET 9/19/2006 2:26 AM Muthu Kumar


Dear Sir,

I have one plus experience in VB.Net ..I thought of attending interviews with this experience..However
I dont have any idea of how the interview questions would be?.. Pls send me frequently asked
Interview questions in Vb.Net (both web and windows programming related..)..

# re: Interview Questions: ASP.NET 9/19/2006 2:30 AM Muthu Kumar


This is my mail id

itsmenmk@gmail.com,
hiitsmenmk@yahoo.co.in

# re: Interview Questions: ASP.NET 9/21/2006 12:18 AM Vijay


hi everyone.
The questions are really good.
I am 2 years exp in .NET. I need some of the interview questions which might be frequently asked
during the interview for a 2+ exp candidate. Plz send to my mail id asap.
My mail id is hvijay83@yahoo.co.in
Thanks in advance

# re: Interview Questions: ASP.NET 9/21/2006 10:12 PM Srinivas


The questions posted are excellent and are very helpful.

I am 2 years exp in .NET. I need some of the interview questions which might be frequently asked
during the interview for a 2+ exp candidate. Plz send to my mail id m_svasu@rediffmail.com

Thanks

# re: Interview Questions: ASP.NET 9/24/2006 3:59 PM Maggie


Thank all your guys very much!!!!
I have 2 years experience in C#, SQL server, and ASP.NET. I am looking for some inteview questions
for my upcoming interview. Please send more interview questions to my email account
yc99yc@hotmail.com
. Thanks in advance.

Maggie

# re: Interview Questions: ASP.NET 9/24/2006 10:00 PM priyanka maishra


hi!!
i m priyanka. i m very greatful to use the interview question for asp.net .
# re: Interview Questions: ASP.NET 10/3/2006 8:17 AM Samar
hi!!
i m samar,its really good collections of questions.

# re: Interview Questions: ASP.NET 10/6/2006 8:01 AM Purwa


Hi
Its indeed a good article. Please if you find any interview questions for Beginner (simple Questions
also)in ASP.net please mail it to purwakala@yahoo.com
Thanks

# re: Interview Questions: ASP.NET 10/6/2006 9:46 PM Supriya


Hi,

The questions are really good.


I am 2 years exp in .NET. I need some of the interview questions which might be frequently asked
during the interview for a 2+ exp candidate. Plz send to my mail id given below:
My mail id is sugeddam@rediffmail.com
Thanks in advance

# re: Interview Questions: ASP.NET 10/7/2006 12:59 AM Ashwin


any C#, sql server2000, ado.net interview questions please.

my id is ashwin_ala20@yahoo.co.in

# re: Interview Questions: ASP.NET 10/7/2006 1:51 AM Rajesh


what is exe to filter the asp page in iis like isapi.exe for aspx page.Looking forward to see the reply

# re: Interview Questions: ASP.NET 10/9/2006 6:24 AM jyotsna


i m mca student. i need asp.net question for interview.please send me.
thanks in advanced.

# re: Interview Questions: ASP.NET 10/9/2006 6:56 AM Aneeta


I have to for interview of .Net
Please somebody tell me
1). what are the event which are there in datagrid for ASP.NET with csharp

2). What are object that can be placed in in datagrid

3). What is code for placing the text box in the datagird

please give me some URL or the code of the last answer you can email me on annivaul@hotmail.com
HELP WILL BE APPERIACATED

# re: Interview Questions: ASP.NET 10/9/2006 11:35 AM Mrs Mann Bisht


Hi

All the information is really useful. Keep it up and keep helping others

BEST OF LUCK

CheersL:-)

# re: Interview Questions: ASP.NET 10/9/2006 3:18 PM ramakrishna


hi guys

Please send me all the interview questions necessary while applying to positions for 2 years
experience

Also kindly send me some source code of a real time projects along with their description

please

# re: Interview Questions: ASP.NET&c#.net 10/12/2006 2:21 AM A.Durga prasad


these questions are good.
Please send the interview questions for 2 yesra exp candidates And if any body can send two ASP.net
small projects with explanation .I will be great ful to you .
And good resume format because i did not get the correct resume format Thanks alot fofr all who ever
is sending.

# re: Interview Questions: ASP.NET 10/15/2006 9:47 PM muthuraman


hai

Please send me all the interview questions necessary while applying to positions for 3+ years
experience

Also kindly send me some source code of a real time projects along with their description

# re: Interview Questions: ASP.NET 10/16/2006 3:08 AM Arjyabala


These questions are really very usefull.Please send the interview questions based on .NET
technologies for 2 years exp candidates .I will be great ful to you
And also send good resume format because i did not get the correct resume format. Thanks a lot for
all who ever is sending.

# re: Interview Questions: ASP.NET 10/21/2006 11:10 AM jagan mohan


how to retrieve data base table values using hash table (using xml is optional)
please answer this
# re: Interview Questions: ASP.NET 10/23/2006 11:38 AM Ishwar
In any ASP.NET Codebehind, client scripts can be attached to the page. Here are a couple of questions
people ask me:-
1) What is a framework?
2) Why does a ASP.NET web page get compiled twice?
3) Explain MSIL in terms of PE.
4) What is a web service? Explain WSDL.

It is an extremely good to start practising your data structures using C#.

5) What are the different states of a ASP.NET web page?


6) What is the difference between jpeg and gif formats?

# re: Interview Questions: ASP.NET 10/25/2006 10:24 PM Parag


Excellent questions!

Could you please provides some more questions on Data Access Layer (related to dataset, datareader)
and crystal report

# re: Interview Questions: ASP.NET 10/27/2006 11:23 AM geeta


Please send me the ASP.NET C# interview questions
if anyone knows.

Mail me at gr_rama1@yahoo.com

Its very urgent

# re: Interview Questions: ASP.NET 10/27/2006 6:23 PM Sudhir


Please send me asp.net inteview questions ( beginner level ) i'm having an interview in the first week
of november

mail me @ : sudhir.kumar.ch@gmail.com

# re: Interview Questions: ASP.NET 10/29/2006 5:34 AM Shalabh


hi friends,
i m a fresher in .net. I need your help to crack the interviews.Also suggest me that on which part i
must give stress.please send me some questions & answers for VB.NET,ASP.NET,C#.NET,XML.NET.
Please help me out.
u can mail me at skamboj_2003@yahoo.com
& kamboj.shalabh@gmail.com

# re: Interview Questions: ASP.NET 10/30/2006 6:14 AM Chandra Kumar


Hi,
I am an ASP.Net Professional with 2 yrs Exp.Please send me the interview questions please on
ckumar@iemployee.com
# re: Interview Questions: ASP.NET 10/31/2006 7:55 PM Faisal
I am having 3 yrs of experience

# re: Interview Questions: ASP.NET 11/2/2006 4:47 AM Sathiya


this is really usefull thanks lot

# re: Interview Questions: ASP.NET 11/2/2006 4:53 AM sathiya


i am searching .net jobs pls send the related notes and guide to jssathiya@yahoo.com

# re: Interview Questions: ASP.NET 11/4/2006 12:34 PM alok kumar jha


hi friends i am alok having 2 years exprince now i am preparing for interviews so plz send me some
questions

# re: Interview Questions: ASP.NET 11/6/2006 1:24 AM Rahul


Please send me asp.net inteview questions

# re: Interview Questions: ASP.NET 11/9/2006 5:28 AM Srinivas


Can we bind arrays, strings to datagrid ? and what are the events fired in the datagrid?

# re: Interview Questions: ASP.NET 11/9/2006 9:55 PM hemang


hi i am 2006 passout.
i know java well.
but due to some reason i have to work in .net tech.
so plz mail me to good code & doc which is helpfull to develop my prj.
mailid=hemang_2k@yahoo.com

# re: Interview Questions: ASP.NET 11/12/2006 6:56 AM pankaj


hi i am 2004 passout.
i have to work in .net tech.
so plz mail me to good code & doc which is helpfull to develop my projecj.
pankaj.mca@gmail.com

# re: Interview Questions: ASP.NET 11/14/2006 9:58 PM jayapragash


i need Asp.net interviews quwstions and c# and web services

# re: Interview Questions: ASP.NET 11/17/2006 2:13 AM Sowmya


Good Questions but there are many topics which are not covered. And there should be a little more
description

# re: Interview Questions: ASP.NET 11/18/2006 1:39 AM zahed


hey can anyone gimme some common basic questions on .net which can b expected in interview. Plz
consider that i'm just beginer in .net. You can mail me at
md_zahidurrahman@yahoo.com. I'll b really thankfull to u ...
bye

# re: Interview Questions: ASP.NET 11/20/2006 4:04 AM 数据恢复


good~

# re: Interview Questions: ASP.NET 11/20/2006 7:17 AM anilkumar


Its very good question,i am 2006 pass out.But can i get the most frequently used question in
asp.net.so that i can prepare for interviews.

# re: Interview Questions: ASP.NET 11/20/2006 7:22 AM 123


hi my name is anil.i am 2006 passout.can any one send me the most frequent asked question in
asp.net.so that i can prepare for my interview.
anilkumar_sagars@yahoo.co.in

# re: Interview Questions: ASP.NET 11/26/2006 10:02 PM Pramod Kumar


Can u send me some more .net and ASP.NET interview questions with answers
my emailid is pramod221937@yahoo.co.in
Thank you
Pramod Kumar

# re: Interview Questions: ASP.NET 11/28/2006 2:20 AM veerendra


Very Good Question for freshers, must read for getting a job

# re: Interview Questions: ASP.NET 11/28/2006 2:28 AM AtulAks


Hi Guys, Its good collection of FAQ but need some database Questions

# re: Interview Questions: ASP.NET 11/30/2006 11:09 AM shailendra kashyap


hi,
I like ur co-operation, but my personal request to provide book name of interview questions with
answers

# re: Interview Questions: ASP.NET 12/1/2006 2:37 AM Fakhruddin


good ones but can u tell me or give me the links where i can find questions on Threading
fakhruddinsethji@yahoo.com

# re: Interview Questions: ASP.NET 12/4/2006 8:50 PM SEKAR. V


THANKS

YOUR QUESTIONS ARE VERY USEFUL FOR OUR INTERVIEW

BYE
SEKAR.V

# re: Interview Questions: ASP.NET 12/4/2006 8:50 PM SEKAR. V


THANKS

YOUR QUESTIONS ARE VERY USEFUL FOR OUR INTERVIEW

BYE

SEKAR.V

# re: Interview Questions: ASP.NET 12/6/2006 10:23 PM shiva


Plz send me the asp.net,c# interview questions to this id
shivanarayanreddy@gmail.com

# re: Interview Questions: ASP.NET 12/12/2006 5:06 PM Rajan Patel


hi everyone.
The questions are really good.
I have 2 years exp in .NET. I need some of the interview questions which might be frequently asked
during the interview for a 2+ exp candidate. Plz send to my mail id .

My mail id is rajan2304@yahoo.co.in

Thanks

# Technical Interview Questions & Answer: ASP.NET 12/13/2006 8:46 PM Ram


Lakshman
Dear Sir,
Please send me Interview related Q. & Ans. to my e-mail ID.
Thank You.

# re: Interview Questions: ASP.NET 12/15/2006 2:59 AM Biren Patel


all questations are very usefull for me i got too much new thing frm it...

# re: Interview Questions: ASP.NET 12/15/2006 10:26 AM Santanu Ghosh


Please send me ASP.NET and C# interview question and answer.

# re: Interview Questions: ASP.NET 12/18/2006 4:19 AM balamurugan.r


Plz send me the asp.net,SQL Server interview questions to this id:balamuruganmpower@yahoo.co.in

# re: Interview Questions: ASP.NET 12/18/2006 5:16 PM Asif


Nice Website giving answers of most of the Questions
# re: Interview Questions: ASP.NET 12/18/2006 11:35 PM Debasis Bose
hi everyone.
The questions are really good.
I have 2 years exp in .NET. I need some of the interview questions which might be frequently asked
during the interview for a 3+ exp candidate. Plz send to my mail id .

My mail id is debasis123@hotmail.com

Thanks

# re: Interview Questions: ASP.NET 12/18/2006 11:35 PM Debasis Bose


hi everyone.
The questions are really good.
I have 3 years exp in .NET. I need some of the interview questions which might be frequently asked
during the interview for a 3+ exp candidate. Plz send to my mail id .

My mail id is debasis123@hotmail.com

Thanks

# re: Interview Questions: ASP.NET 12/18/2006 11:35 PM Debasis Bose


hi everyone.
The questions are really good.
I have 3 years exp in .NET. I need some of the interview questions which might be frequently asked
during the interview for a 3+ exp candidate. Plz send to my mail id .

My mail id is debasis123@hotmail.com

Thanks

# re: Interview Questions: ASP.NET 12/20/2006 4:15 AM Manoj


hi,
The questions are really too good.
I have 2 years exp in .NET. Plz send the Questions and Answers to my mail id.

My mail id is : manojkuswain@yahoo.co.in

Thanks
Manoj

# re: Interview Questions: ASP.NET 12/20/2006 8:46 AM Priya


A couple of more questions:

1) How do you pass by reference rather than by value in C#?

By default C# passes parameters by value. To make it pass by reference, keywords ref and out can be
used. Difference between them is that ref parameter needs to be initialised, as below

int itot = 20;

Add(10, ref itot);


For out:
Add(10, out itot);
No need of initializing the parameter in case of out.

2) What does the virtual and override keywords mean and how are they used?

When a method, property or event is declared with Virtual keyword, the derived class can modify and
override the method, property or event.
Override keyword is used when a derived class wants to change the functionality of a method from its
actual definitionin the base class.

3) What is MVC?
MVC is a Design method where the Business logic in the application is completely decoupled from
presentation layer logic. this way, it is eaasy to program and also maintain high profile applications.
MVC = Model View Control

4) What is the Singleton pattern?


Singleton Pattern defines that an object of a class of this type can have only one instance active at
any time and that it provides a Global point of access to it from a well known access point.

Above are my answers, please correct them if its not right.


-Priya

# re: Interview Questions: ASP.NET 12/23/2006 4:06 AM Nagarjuna Reddy


plz send me asp.net & c# .ney questations

# re: Interview Questions: ASP.NET 12/26/2006 12:44 AM vikram


It is good for those candidate who are preparing for interview in .net

# re: Interview Questions: ASP.NET 12/27/2006 3:55 AM DEEPAK BHANOT


GUD QUESTIONS

# re: Interview Questions: ASP.NET 12/27/2006 12:13 PM nagendra


Hi Mark,
i had found a very good and very much useful quesions from this site thank you for it,i am new to
dotnet software and i am learning it . i wanted now if any material or documents are there where i can
understand the subject clearly in asp,vb and c#-because my background is mechanical and i am now
learning dotnet so can you please suggest me how to move in........

Regards
nagendra
nagendrareddy_g@yahoo.co.in

# re: Interview Questions: ASP.NET 12/28/2006 11:21 AM Pozycjonowanie


Thanks for help, Keep up the good work. Greetings

# re: Interview Questions: ASP.NET 1/2/2007 1:50 AM hansat


hello any one tell me when and how the session_End event in global.asax file fired
# re: Interview Questions: ASP.NET 1/2/2007 11:01 AM sidna
good job! and thanks to all who posted those questions

# re: Interview Questions: ASP.NET 1/6/2007 6:49 AM Srikanta Dash


How to find the no of records in full outer join of two tables T1, T2.

T1 contains M rows T2 consists of N rows and matching rows are 5.

Hi anyone pl tell me quickly

# re: Interview Questions: ASP.NET 1/9/2007 12:29 AM Nailesh


hi...Please send me the list of .NET framework, C# and ASP.NET interview questions at
nailesh.123@gmail.com

Please send it ASAP

# re: Interview Questions: ASP.NET 1/10/2007 9:15 AM VISHAL


this is a very good site. plz send me the faqs, materials on this id.
vishals_ab@yahoo.com
thanks,
VISHAL.

# re: Interview Questions: ASP.NET 1/12/2007 2:31 AM Prabu


Thank u

# re: Interview Questions: ASP.NET 1/15/2007 8:34 PM Sudarshan


I am Getting major Problem in asp.net
The Problem is When i started the application suddenly its gone to error page that Error Name is
MACHINE.CONFIG file can't be loaded ,Access denied, Please Help Me

My Id Is : sudarshan_268@yahoo.co.in

# re: Interview Questions: ASP.NET 1/15/2007 10:14 PM deepthi


i will come again . sure.
thanks.

# re: Interview Questions: ASP.NET 1/16/2007 8:13 AM Vipin Vij


Hi Can some one please give some questions on OOPS concept in ASP.NET?

# re: Interview Questions: ASP.NET 1/16/2007 8:22 AM Vipin Vij


Hi Can some one please give some questions on OOPS concept in ASP.NET? Please also tell me about
web.config and Machine.config.

I would also like to know how can we transfer the data from one page to another in case of
server.transfer and response.redirect.
Are both server.transfer and response.redirect behaves like form.submit.

Please update me at vijvipin@rediffmail.com

# re: Interview Questions: ASP.NET 1/22/2007 2:01 PM Bobby


Hi Friends,

Could anybody tell me what is the difference between Server DataGrid and Windows DataGrid.

Thank you,
Bobby

# re: Interview Questions: ASP.NET 1/22/2007 11:22 PM Nutty


the questions are good and rich. what i want to know is that is it possible for you to have interview
questions for credit controller or debt collection.

# re: Interview Questions: ASP.NET 1/25/2007 3:22 AM Nishi Srivastava


Please send me the .NET C# interview questions
if anyone knows.

Mail me at nishi.srivastava@sify.com

Its very urgent

# re: Interview Questions: ASP.NET 1/27/2007 5:18 PM Rajan


hi I would like to about ASP.Net Interwiew Question pls send all question this mail

mp_hegn@yahoo.com

# re: Interview Questions: ASP.NET 1/28/2007 7:15 AM John Haynes


Though these questions are very specific to Asp.net, I fail to see anything in here that would actually
give any insight into an applicants ability to actually write software.

# re: Interview Questions: ASP.NET 1/28/2007 10:10 PM neelesh


Please mail me asp.net interview questions if any one knows
my id is

id : nilesh.co.hot.comp.28.28.5.9@gmail.com

# re: Interview Questions: ASP.NET 1/28/2007 11:23 PM swarnalatha


Hello very fine article. easier for freshers. Thankyou.

all the best.


swarna. a

# re: Interview Questions: ASP.NET 1/28/2007 11:23 PM swarnalatha


Hello very fine article. easier for freshers. Thankyou.

all the best.

swarna. a

# re: Interview Questions: ASP.NET 1/28/2007 11:23 PM swarnalatha


Hello very fine article. easier for freshers. Thankyou.

all the best.

swarna. a

# re: Interview Questions: ASP.NET 1/28/2007 11:23 PM swarnalatha


Hello very fine article. easier for freshers. Thankyou.

all the best.

swarna. a

# re: Interview Questions: ASP.NET 1/28/2007 11:23 PM swarnalatha


Hello very fine article. easier for freshers. Thankyou.

all the best.

swarna. a

# re: Interview Questions: ASP.NET 1/30/2007 12:21 AM Akshay


Hi,
Can you tell me
"How to avoid memory leaks in ASP.NET applications"?

You can mail me the reasons at


havile.akshay@gmail.com

Thanks,
Akshay

# re: Interview Questions: ASP.NET 2/1/2007 12:49 AM vikas


This is really useful asp.net professionals.
Thanks!

# re: Interview Questions: ASP.NET 2/1/2007 1:43 PM prasadrao LV


good

# re: Interview Questions: ASP.NET 2/6/2007 2:45 AM Ram


Really good questions

i would like to have some more on c# and sql server 2000. mail me at rcgirotra1@yahoo.com.....

Thanks.

# re: Interview Questions: ASP.NET 2/9/2007 8:41 AM Rohan V


Please send me more Interview Question for .net.

mail ID: rohanvaidya555@rediffmail.com

# re: Interview Questions: ASP.NET 2/9/2007 8:41 AM Rohan V


Please send me more Interview Question for .net.

mail ID: rohanvaidya555@rediffmail.com

# re: Interview Questions: ASP.NET 2/12/2007 1:39 AM shamim


Could you please send the basic code for DB connectivity in ASP.net+SQL server..
E-Mail ID: dewpearlz_dafodil@yahoo.ca

# re: Interview Questions: ASP.NET 2/13/2007 2:05 AM Pessi


*What is View State?
*Can you read the View State?
*What is the difference between encoding and encryption? Which is easy to break?
*Can we disable the view state application wide?
*can we disable it on page wide?
*can we disable it for a control?
*What is provider Model?
*Any idea of Data Access Component provided by Microsoft?
*Any idea of Enterprise library?
*What is web service?
*What is WSDL?
*Can a web service be only developed in asp.ent?
*can we use multiple web services from a single application?
*can we call a web service asynchronously?
*Can a web service be used from a windows application?
*What do we need to deploy a web service?
*What is the significance of web.config?
*Can we have multiple web.config files in a sigle web project?
*Can we have more then one configuration file?
*Type of Authentications?
*Can we have multiple assemblies in a single web project?
*What is GAC?
*What is machine.config?
*What different types of session state Management we have in asp.net?
*What are cookies?
*What is Cache?
*What is AJAX?
*Is AJAX a language?
*What is the difference between syncronus and asyncronus?
*What is an Assembly?
*Can an assembly contains more then one classes?
*What is strong name?
*What is the difference b/w client and server side?
*What we need for the deployment of a asp.net we application?
*what is the purpose of IIS?
*Difference between http and https?
*what is purpose of aspnet_wp.exe ?
*what is an ISAPI filter?
*what do you mean by HTTP Handler?
*What is the purpose of Global.asax?
*What is the significance of Application_Start/Session_Start/Application_Error?
*What is the difference between the inline and code behind?
*what is side by side execution?
*can we have two different versions of dot net frameworks running on the same machine?
*What is CLR? Difference b/w CLR and JVM?
*What is CLI?
*What is CTS?
*What is .resx file meant for?
*Any idea of aspnet_regiis?
*Any idea of ASP NET State Service?
*Crystal report is only used for read only data and reporting purposes?
*We can add a crystal report in aspx page using two techniques, what are these?
*What is the difference between stroed procedure and stored function in SQL?
*Can we have an updateable view in SQL?
*What is connection pooling? how can we acheive that in asp.net?
*What is DataSet?
*What is the difference between typed and untyped dataset?
*What is the difference bewteen accessing the data throgh the dataset and datareader?

# re: Interview Questions: ASP.NET 2/21/2007 10:30 PM pavan


in interview she asked me how many objects r in asp.net? any boby plz tell me the answer for this
question

# re: Interview Questions: ASP.NET 2/23/2007 11:49 AM Soumen


I have one year experience in asp.net. and This site is very useful to me. Please include some more
interview question and answer on asp.net, and also sqlserver 2000 and sql server 2005
pls send me this on my mail
ronit.mail@gmail.com

# Interview Questions: ASP.NET 2/26/2007 2:19 AM Ramji Reddy


rear readers & browsers

I am sending u some questions to u please write the answers

every body have done ecellently well

Tahn'Q'

*What is View State?


*Can you read the View State?
*What is the difference between encoding and encryption? Which is easy to break?
*Can we disable the view state application wide?
*can we disable it on page wide?
*can we disable it for a control?
*What is provider Model?
*Any idea of Data Access Component provided by Microsoft?
*Any idea of Enterprise library?
*What is web service?
*What is WSDL?
*Can a web service be only developed in asp.ent?
*can we use multiple web services from a single application?
*can we call a web service asynchronously?
*Can a web service be used from a windows application?
*What do we need to deploy a web service?
*What is the significance of web.config?
*Can we have multiple web.config files in a sigle web project?
*Can we have more then one configuration file?
*Type of Authentications?
*Can we have multiple assemblies in a single web project?
*What is GAC?
*What is machine.config?
*What different types of session state Management we have in asp.net?
*What are cookies?
*What is Cache?
*What is AJAX?
*Is AJAX a language?
*What is the difference between syncronus and asyncronus?
*What is an Assembly?
*Can an assembly contains more then one classes?
*What is strong name?
*What is the difference b/w client and server side?
*What we need for the deployment of a asp.net we application?
*what is the purpose of IIS?
*Difference between http and https?
*what is purpose of aspnet_wp.exe ?
*what is an ISAPI filter?
*what do you mean by HTTP Handler?
*What is the purpose of Global.asax?
*What is the significance of Application_Start/Session_Start/Application_Error?
*What is the difference between the inline and code behind?
*what is side by side execution?
*can we have two different versions of dot net frameworks running on the same machine?
*What is CLR? Difference b/w CLR and JVM?
*What is CLI?
*What is CTS?
*What is .resx file meant for?
*Any idea of aspnet_regiis?
*Any idea of ASP NET State Service?
*Crystal report is only used for read only data and reporting purposes?
*We can add a crystal report in aspx page using two techniques, what are these?
*What is the difference between stroed procedure and stored function in SQL?
*Can we have an updateable view in SQL?
*What is connection pooling? how can we acheive that in asp.net?
*What is DataSet?
*What is the difference between typed and untyped dataset?
*What is the difference bewteen accessing the data throgh the dataset and datareader?
# re: Interview Questions: ASP.NET 2/26/2007 2:22 AM vikas tiwari
Hi All,

the question are really good i have one year of experience in winforms and asp.net please send me
some more question as per 1 year of experience level.
my mail address is vikastiwari99@rediffmail.com.

# re: Interview Questions: ASP.NET 2/26/2007 2:29 AM Ramji Reddy


Dear readers,

this is ramji from Bangalore, thanks to all every have done a great job so iam also sending some faq s
regarding .net

ThanQ

With best regards


ramu
9916033438

1.Which controls do not have events?


Ans:Timer control.

2.What is the maximum size of the textbox?


Ans:65536.

3.Which property of the textbox cannot be changed at runtime?


Ans:Locked Porperty.
4.Which control cannot be placed in MDI?
Ans:The controls that do not have events.
5.Difference between a sub and a function.
Ands -A Sub Procedure is a method will not return a value
-A sub procedure will be defined with a “Sub” keyword
Sub ShowName(ByVal myName As String)
Console.WriteLine(”My name is: ” & myName)
End Sub

-A function is a method that will return value(s).


-A function will be defined with a “Function” keyword
Function FindSum(ByVal num1 As Integer, ByVal num2 As Integer) As Integer
Dim sum As Integer = num1 + num2
Return sum
End Function

6.Explain manifest & metadata.

Ands: Manifest is metadata about assemblies. Metadata is machine-readable information about a


resource, or “”data about data.” In .NET, metadata includes type definitions, version information,
external assembly references, and other standardized information.

7.Difference between imperative and interrogative code


Ans. There are imperative and interrogative functions and I think they are talking about that.
Imperative functions are the one which return a
value while the interrogative functions do not return a value.

8.What are the two kinds of properties


Ans. Two types of properties in .Net: Get & Set
Two kind of properties are scalar properties and indexed properties

9.Explain constructor
Ans. Constructor is a method in the class which has the same name as the class (in VB.Net its New()).
It initialises the member attributes whenever an instance of the class is created.

10.Describe ways of cleaning up objects


Ans. The run time will maintain a service called as garbage collector.
this service will take care of deallocating memory corresponding to
objects.it works as a thread with least priority.when application
demenads for memory the runtime will take care of setting the high
priority for the garbage collector,so that it will be called for execution
and memory will be released.the programmer can make a call
to garbage colector by using GC class in system name space.

11. what are value types and reference types?


Ans. Value type - bool, byte, chat, decimal, double, enum , float, int, long, sbyte, short, strut, uint,
ulong, ushort
Value types are stored in the Stack
Reference type - class, delegate, interface, object, string
Reference types are stored in the Heap

12.How can you clean up objects holding resources from within the
code?
Ands Call the dispose method from code for clean up of objects

13.Explain the life cycle of an ASP .NET page.


Life cycle of ASP.Net Web Form
Page Request >> Start >> Page Init >> Page Load >> Validation >>
PostBack Event Handling >> Page Rendering >> Page Unload
Page Request - When the page is requested ASP.Net determines
whether the page is to be parsed and compiled or a cached verion
of the page is to be sent without running the page.
Start - Page propertied REQUEST and RESPONSE are SET, if the
page is pastback request then the IsPostBack property is SET and
in addition to this UICulture property is also SET.
Page Initilization - In this the UniqueID of each property is SET.
If the request was postback the data is not yet loaded from the
viewstate.

Page Load - If it was a postback request then the data gets loaded
in the control from the ViewState and control property are set.
Validation - If any control validation present, they are performed
and IsValid property is SET for each control.
PostBack Event Handling - If it was a postback request then any
event handlers are called.
Page Rendering - Before this the viewstate is saved from the page
and RENDER method of each page is called.
Page Unload - Page is fully rendered and sent to the client(Browser)
and is discarded. Page property RESPONSE and REQUEST are unloaded.

14) .Net architecture?


The order starting from the bottom
1. CLR (Common Language Runtime)
2. .Net framework base classe
3. ASP.Net Web Form / Windows Form

15) What are object-oriented concepts?


Ans. Inheritance
Abstraction
Polymorphism
Encapsulation

16. How do you create multiple inheritance in c# and .NET?


Ans. Use interfaces
public class MyTest: IPaidInterface, ISoldInterface

17. When is web.config called?


Ans. Web.config is an xml configuration file. It is never directly called
unless we need to retrieve a configurations setting.

18. How many weg.configs can an application have?


Ans. One.

19. How do you set language in weg.config?


Ans. defaultLanguage=”vb”: This specifies the default code language.
debug=”true”: This specifies that the application should be run in debug
mode

20. What does connection string consist of?


Ans. Server, user id, password, database name.

21. Where do you store connection string?


Ans. Web.config

22. What is abstract class?


Ans. An abstract class is a class that cannot be instantiated. Its purpose is
to act as a base class from which other classes may be derived.

23. What is difference between interface inheritance and class inheritance?


Ans. We can only inherit from one class but multiple interfaces. In addition, an interface does not
contain any implementation it just contains a series of signatures.

24. What are the collection classes?


Ans. Queue, Stack, BitArray, HashTable, LinkedList, ArrayList, Name
ValueCollection, Array, SortedList , HybridDictionary, ListDictionary, StringCollection, StringDictionary

25. What are the types of threading models?


Ans. Single Threading: This is the simplest and most common threading
model where a single thread corresponds to your entire application’s
process.

Apartment Threading (STA): This allows multiple threads to exist in a


single application. In single threading apartment (STA), each thread
is isolated in it’s own apartment. The process may contain multiple
threads (apartments) however when an object is created in a
thread (i.e. apartment) it stays within that
apartment. If any communication needs to occur between different
threads (i.e. different apartments) then we must marshal the first
thread object to the second thread.
Free Threading: The most complex threading model. Unlike STA,
threads are not confined to their own apartments. Multiple treads can
make calls to the same methods and same components at the
same time.

26. What inheritance does VB.NET support?


Ans. Single inheritance using classes or multiple inheritance using
interfaces.

27. What is a runtime host?


Ans. The runtime host is the environment in which the CLR is started and
managed.

28. Describe the techniques for optimising your application?


Ans: Avoid round-trips to server. Perform validation on client.
. Save viewstate only when necessary.
. Employ caching.
. Leave buffering on unless there is a dire need to disable it.
. Use connection pooling.
. Use stored procedures instead of in-line SQL or dynamic SQL.

29. Differences between application and session


Ans. The session object maintains state on a per client basis whereas the
application object is on a per application basis and is consistent across
all client requests.

30. What is web application virtual directory?


Ans. A virtual directory appears to client browsers as though it were
contained in a Web server’s root directory, even though it can physically
Reside somewhere else.

31. What is isPostback property?


This property is used to check whether the page is being loaded and
accessed for the first time or whether the page is loaded in response
to the client postback.
Example:-
Consider two combo boxes
In one lets have a list of countries
In the other, the states.
Upon selection of the first, the subsequent one should be populated in
accordance. So this requires postback property in combo boxes to be true.

32. Where do you store connection string?


Ans. Database connection string can be stored in the web config file.
The connection string can be stored in the WEB.Config file under
element
33. What does connection string consist of?
Ans. The connection string consists of the following parts:
In general:
Server: Whether local or remote.
Uid: User Id (sa-in sql server)
Password: The required password to be filled-in here
Database: The database name.

34. What are the collection classes?


Ans. The .NET Framework provides specialized classes for data storage
and retrieval.
These classes provide support for stacks, queues, lists, and hash tables.

35. What is isPostback property?


Ans. This property is used to check whether the page is being loaded and
accessed for the first time or whether the page is loaded in response
to the client postback.
Example:
Consider two combo boxes
In one lets have a list of countries
In the other, the states.
Upon selection of the first, the subsequent one should be populated in
accordance. So this requires postback property in combo boxes to be true.

36. What are Abstract base classes?


Ans. Abstact Class is nothing but a true virtual class..
This class cannot be instantiated instead it has to be inherited.
The method in abstract class are virtual and hence they can be overriden in
the child class.

37.What is difference between interface inhertance and class inheritance?


Ans. Interface inheritance: -
1. The accessibility modifier in Interface is public by defalut.
2. All the methods defined in the interface class should be oveririden in the child class.
Class Inheritance -
1. There is not restriction on the acessibility modifier in a class.
2. Only the method that are defined virtual should be overriden.

38. ASP.NET OBJECTS?


Ans. Application,Request,Responce,server and session

39. How do you get the value of a combo box in Javascript?


Ans. document.form_name.element_name.value

40. Why do we use Option Explicit?


Ans:- Correct answer is - This statement force the declaration of
variables in VB before using them.

41. How do you create a recordset object in VBScript?


Ans.
//First of all declare a variable to hold the Recordset object,
ex-Dim objRs
//Now, Create this varible as a Recordset object, ex-
Set objRs=Server.CreateObject(ADODB.RECORDSET)

42. What is a class in CSS?


Ans. A class allows you to define different
style characteristics to the same HTML element.
class is a child to the id, id should be used only once, a css class
can be used multiple times:

div id=”banner”
p class=”alert”

43. When inserting strings into a SQL table in ASP what is the risk and
how can you prevent it?
Ans. SQL Injection, to prevent you probably need to use Stored Procedures
instead of inline/incode SQL

44. what is boxing?


what is unboxing?
what is deep copy & shallow copy?
Ans. Converting the value type into reverence type is call boxing.
Ans. Converting the reference type into value type is call unboxing.
When an object of value type is assigned with another, the data itself is
copied from one object to another. Suppose there are two integer

variables, count1 and count2. Further suppose that count1 contains the value 5 and that count2 is
assigned the value of count1.
count1 = 5;
count2 = count1;
Both count1 and count2 now contain their own copies of the data, in this case, the value 5. They are
independent. If count1 is now assigned the value 6, count2 will still contain the value 5. This type of
copy is referred to as a deep copy. The value itself is copied.
If count1 is now assigned the value 6, count2 will still contain the value 5. This type of copy is referred
to as a deep copy.
For reference types copies work differently. Remember that a reference type consists of two parts: the
data on the heap and the address of the data stored in the reference variable itself on the stack. When
one reference variable is assigned to another, the address stored in the first is copied to the second.
They both then refer to the same data content on the heap. This is referred to as a shallow copy.

45. What will be output for the given code?


Dim I as integer = 5
Do
I=I+2
Response.Write (I & \” \”)
Loop Until I > 10
Ans. o/p: It generates error because of \” \”. (VB.NET)

46. What is the output for the following code snippet:


public class testClass
{
public static void Main(string[] args)
{
System.Console.WriteLine(args[1]);
}//end Main
}//end class testClass

# re: Interview Questions: ASP.NET 2/27/2007 1:12 AM sankara narayanan


hello can anyone provide me some common basic questions on .net which can b expected in interview.

I am a fresh graduate. pls do mail me with Answer.


at sankara_cse41@yahoo.co.in
I'll b really thankfull to u ...
bye ...

# re: Interview Questions: ASP.NET 3/2/2007 1:05 PM Roshan


Could you please send me questions and answers on asp.net which can be expected in interview?
Thanks in advance.
mail me at roshanrht7@gmail.com
Thanks

# Interview Questions: ASP.NET 3/3/2007 11:19 PM bhaskar


Difference between finilize() and Dispose() ?
Jitter is Compiler or interpreter ?

# re: Interview Questions: ASP.NET 3/4/2007 7:46 PM vinayvarma


hi iam just a beginner so can u send me some important questions on C# and Asp.net. i'll b thankful
to u.

# re: Interview Questions: ASP.NET 3/6/2007 8:59 AM venuajkku


Thanks..But Those are infrequently Asked Quetions..am I write?.any way Thanks very Much

# re: Interview Questions: ASP.NET 3/7/2007 7:58 PM D Mondal


This is very very Imp

# re: Interview Questions: ASP.NET 3/20/2007 11:57 PM Gaurav Arora


Hello All!

Can anyone give me Questions & Answers of Vb.Net/C# and ASP.Net beneficial for interview

Regards,

Gaurav Arora

# re: Interview Questions: ASP.NET 3/21/2007 8:33 PM Pawandeep


These Questions r really useful to crack tech intrew

# re: Interview Questions: ASP.NET 3/22/2007 7:16 AM Shuchi Katiyar


Hi Friends,

i have experience of 2 & 1/2 yrs in ASP,VB ITP ,MATLAB and have done MCP in .Net.now i want to go
for .net. plz send me the frequently asked interview questions on ASP.net,VB.net,C#,etc and plz guide
to get through some good company where i can explore my knowledge in .net.

my id is : kshuchi.15@gmail.com

awaiting with anticipation,


thank you,
Shuchi Katiyar

# Interview Questions on: csharp 3/24/2007 9:10 AM johnson


send some interview qiestions

# Interview Questions on: csharp 3/24/2007 9:10 AM johnson


send some interview qiestions

# Hi 3/25/2007 11:08 PM raymondbgillespie


Hi..

# re: Interview Questions: ASP.NET 3/26/2007 5:10 AM venkat


Hi can anyone provide me questions and answars on SQL SERVER 2000 which can b expected in
interview.

venkat_chalapathik@yahoo.com
I will be really thankfull to you.

# re: Interview Questions: ASP.NET 3/27/2007 3:22 AM Dilip Bari


This artical is excilent. Can anyone send me some beneficial asp .net interview question. also send me
vb .net and sql server question.

# re: Interview Questions: ASP.NET 3/27/2007 3:23 AM Dilip Bari


This artical is excilent. Can anyone send me some beneficial asp .net interview question. also send me
vb .net and sql server question.

my id: dilipbari1@indiatimes.com

# re: Interview Questions: ASP.NET 3/27/2007 4:10 AM Prameet Sharma


Really a good collection of all .NET phases.
Thanks for Article

Prameet Sharma

# re: Interview Questions: ASP.NET 3/28/2007 2:49 AM Salil Mahajan


Very extensive and helpful !!!

# re: Interview Questions: ASP.NET 3/28/2007 11:17 PM Madhu


wt is the use of function overriding? why the .Net is not supporting Multiple inheritance by using
classes?

# re: Interview Questions: ASP.NET 3/29/2007 12:05 AM Madhu


wt r the differences between vs.net2000 and 2005? wt r the differences between iis 5.0 and iis 6.0?

# re: Interview Questions: ASP.NET 4/8/2007 9:46 AM lakshmi


Hi,

What code can we write in prerender() render.


lakshmi

# re: Interview Questions: ASP.NET 4/13/2007 4:52 PM Sathya


Really.. Very Useful !!! Thanx Mark

# re: Interview Questions: ASP.NET 4/17/2007 9:04 PM GomathiNatarajan


hi friends,

I am looking for a VB.NET, ASP.NET interview qns. can you please send me some interview questions
related to VB.NET, ASP.NET?send it to my mail id.

# re: Interview Questions: ASP.NET 4/19/2007 1:58 AM raghu


could u include some more interview questions? you can mail me at my id raghutmr@yahoo.com also.

thanks,
Raghu

# re: Interview Questions: ASP.NET 4/20/2007 1:29 AM prasanth

I am a fresher and seeking about a job in a reputed company.can u send me the questions of related
type which were asked in the interviews.I have the knowledge of .net and no practical experience on
it..

My email id is lj.prasanth@gmail.com

# re: Interview Questions: ASP.NET 4/23/2007 3:44 AM Prameet Sharma


Hello Mark

This is good stuff..

Thanks

# re: Interview Questions: ASP.NET 4/30/2007 12:13 PM Uglin Vans


hai,
Can any one send ASP.Net Object type question and Answers? My id is uglin1@gmail.com

Thanks in advance.

# re: Interview Questions: ASP.NET 5/3/2007 11:28 PM Nipun


This stuff is awesome, its a very helping stuff. Add some more questions on OOPs Concepts.

# re: Interview Questions: ASP.NET 5/4/2007 3:46 AM Amala


Very good question bank. If answers have been more elaborate then nothing like it.

# re: Interview Questions: ASP.NET 5/9/2007 3:27 AM Yogita Patange

Basic .NET Framework


What is a IL?
Twist :- What is MSIL or CIL , What is JIT?
What is a CLR?
What is a CTS?
What is a CLS(Common Language Specification)?
What is a Managed Code?
What is a Assembly ?
What are different types of Assembly?
What is NameSpace?
What is Difference between NameSpace and Assembly?
If you want to view a Assembly how to you go about it ?
Twist : What is ILDASM ?
What is Manifest?
Where is version information stored of a assembly ?
Is versioning applicable to private assemblies?
What is GAC ?
Twist :- What are situations when you register .NET assembly in GAC ?
What is concept of strong names ?
Twist :- How do we generate strong names or what is the process of generating strong
names , What is use of SN.EXE , How do
we apply strong names to assembly ? , How do you sign an assembly ?
How to add and remove a assembly from GAC?
What is Delay signing ?

.NET Interview Questions

What is garbage collection?


Can we force garbage collector to run ?
What is reflection?
What are different type of JIT ?
What are Value types and Reference types ?
What is concept of Boxing and Unboxing ?
What’s difference between VB.NET and C# ?
What’s difference between System exceptions and Application exceptions?
What is CODE Access security?
What is a satellite assembly?
How to prevent my .NET DLL to be decompiled?
What’s the difference between Convert.toString and .toString() method ?
What is Native Image Generator (Ngen.exe)?
We have two version of the same assembly in GAC? I want my client to make choice of
which assembly to choose?
What is CodeDom?

.NET Interoperability

How can we use COM Components in .NET?


Twist : What is RCW ?
Once i have developed the COM wrapper do i have to still register the COM in registry?
How can we use .NET components in COM?
Twist :- What is CCW (COM callable wrapper) ?, What caution needs to be taken in order
that .NET components is compatible with COM ?
How can we make Windows API calls in .NET?
When we use windows API in .NET is it managed or unmanaged code ?
What is COM ?
What is Reference counting in COM ?
Can you describe IUKNOWN interface in short ?
Can you explain what is DCOM ?
How do we create DCOM object in VB6?
How to implement DTC in .NET ?
How many types of Transactions are there in COM + .NET ?
How do you do object pooling in .NET ?
What are types of compatibility in VB6?
What is equivalent for regsvr32 exe in .NET ?

Threading

What is Multi-tasking ?
What is Multi-threading ?
What is a Thread ?
Did VB6 support multi-threading ?
Can we have multiple threads in one App domain ?
Which namespace has threading ?
Can you explain in brief how can we implement threading ?
How can we change priority and what the levels of priority are provided by .NET ?
What does Addressof operator do in background ?
How can you reference current thread of the method ?
What's Thread.Sleep() in threading ?
How can we make a thread sleep for infinite period ?
What is Suspend and Resume in Threading ?
What the way to stop a long running thread ?
How do i debug thread ?
What's Thread.Join() in threading ?
What are Daemon thread's and how can a thread be created as Daemon?
When working with shared data in threading how do you implement synchronization ?
Can we use events with threading ?
How can we know a state of a thread?
What is a monitor object?
What are wait handles ?
Twist :- What is a mutex object ?
what is ManualResetEvent and AutoResetEvent ?
What is ReaderWriter Locks ?
How can you avoid deadlock in threading ?
What’s difference between thread and process?

Remoting and Webservices

What is a application domain?


What is .NET Remoting ?
Which class does the remote object has to inherit ?
What are two different types of remote object creation mode in .NET ?
Describe in detail Basic of SAO architecture of Remoting?
What are the situations you will use singleton architecture in remoting ?
What is fundamental of published or precreated objects in Remoting ?
What are the ways client can create object on server in CAO model ?
Are CAO stateful in nature ?
In CAO model when we want client objects to be created by “NEW” keyword is there
any precautions to be taken ?
Is it a good design practice to distribute the implementation to Remoting Client ?
What is LeaseTime,SponsorshipTime ,RenewonCallTime and LeaseManagerPollTime?
Which config file has all the supported channels/protocol ?
How can you specify remoting parameters using Config files ?
Can Non-Default constructors be used with Single Call SAO?
Twist :- What are the limitation of constructors for Single call SAO ?
How can we call methods in remoting Asynchronously ?
What is Asynchronous One-Way Calls ?
What is marshalling and what are different kinds of marshalling ?
What is ObjRef object in remoting ?
What is a WebService ?
What is UDDI ?
What is DISCO ?
What is WSDL?
What the different phase/steps of acquiring a proxy object in Webservice ?
What is file extension of Webservices ?
Which attribute is used in order that the method can be used as WebService ?
What are the steps to create a webservice and consume it ?
Do webservice have state ?

Caching Concepts

What is application object ?


What’s the difference between Cache object and application object ?
How can get access to cache object ?
What are dependencies in cache and types of dependencies ?
Can you show a simple code showing file dependency in cache ?
What is Cache Callback in Cache ?
What is scavenging ?
What are different types of caching using cache object of ASP.NET?
How can you cache different version of same page using ASP.NET cache object ?
How will implement Page Fragment Caching ?
What are ASP.NET session and compare ASP.NET session with classic ASP session
variables?
Which various modes of storing ASP.NET session ?
Is Session_End event supported in all session modes ?
What are the precautions you will take in order that StateServer Mode work properly ?
What are the precautions you will take in order that SQLSERVER Mode work properly ?
Where do you specify session state mode in ASP.NET ?
What are the other ways you can maintain state ?
What are benefits and Limitation of using Hidden fields ?
What is ViewState ?
Do performance vary for viewstate according to User controls ?
What are benefits and Limitation of using Viewstate for state management?
How an you use Hidden frames to cache client data ?
What are benefits and Limitation of using Hidden frames?
What are benefits and Limitation of using Cookies?
What is Query String and What are benefits and Limitation of using Query Strings?
OOPS
What is Object Oriented Programming ?
What’s a Class ?
What’s a Object ?
What’s the relation between Classes and Objects ?
What are different properties provided by Object-oriented systems ?
Twist :- Can you explain different properties of Object Oriented Systems?
Twist :- What’s difference between Association , Aggregation and Inheritance relationships?
How can we acheive inheritance in VB.NET ?
What are abstract classes ?
What’s a Interface ?
What is difference between abstract classes and interfaces?
What is a delegate ?
What are event’s ?
Do events have return type ?
Can event’s have access modifiers ?
Can we have shared events ?
What is shadowing ?
What’s difference between Shadowing and Overriding ?
What’s difference between delegate and events?
If we inherit a class do the private variables also get inherited ?
What are different accessibility levels defined in .NET ?
Can you prevent a class from overriding ?
What’s the use of “MustInherit” keyword in VB.NET ?
Why can not you specify accessibility modifier in Interface ?
What are similarities between Class and structure ?
What’s the difference between Class and structure’s ?
What does virtual keyword mean ?
What are shared (VB.NET)/Static(C#) variables?
What is Dispose method in .NET ?
Whats the use of “OverRides” and “Overridable” keywords ?
Where are all .NET Collection classes located ?
What is ArrayList ?
What’s a HashTable ?
Twist :- What’s difference between HashTable and ArrayList ?
What are queues and stacks ?
What is ENUM ?
What is nested Classes ?
What’s Operator Overloading in .NET?
In below sample code if we create a object of class2 which constructor will fire first ?
What’s the significance of Finalize method in .NET?
Why is it preferred to not use finalize for clean up?
How can we suppress a finalize method?
What’s the use of DISPOSE method?
How do I force the Dispose method to be called automatically, as clients can forget to call
Dispose method?
In what instances you will declare a constructor to be private?
Can we have different access modifiers on get/set methods of a property ?
If we write a goto or a return statement in try and catch block will the finally block
execute ?
What is Indexer ?
Can we have static indexer in C# ?
In a program there are multiple catch blocks so can it happen that two catch blocks are
executed ?
What is the difference between System.String and System.StringBuilder classes?

ASP.NET

What’s the sequence in which ASP.NET events are processed ?


In which event are the controls fully loaded ?
How can we identify that the Page is PostBack ?
How does ASP.NET maintain state in between subsequent request ?
What is event bubbling ?
How do we assign page specific attributes ?
Administrator wants to make a security check that no one has tampered with ViewState
, how can he ensure this ? 153
What’s the use of @ Register directives ?
What’s the use of SmartNavigation property ?
What is AppSetting Section in “Web.Config” file ?
Where is ViewState information stored ?
What’s the use of @ OutputCache directive in ASP.NET?
How can we create custom controls in ASP.NET ?
How many types of validation controls are provided by ASP.NET ?
Can you explain what is “AutoPostBack” feature in ASP.NET ?
How can you enable automatic paging in DataGrid ?
What’s the use of “GLOBAL.ASAX” file ?
What’s the difference between “Web.config” and “Machine.Config” ?
What’s a SESSION and APPLICATION object ?
What’s difference between Server.Transfer and response.Redirect ?
What’s difference between Authentication and authorization?
What is impersonation in ASP.NET ?
Can you explain in brief how the ASP.NET authentication process works?
What are the various ways of authentication techniques in ASP.NET?
How does authorization work in ASP.NET?
What’s difference between Datagrid , Datalist and repeater ?
From performance point of view how do they rate ?
What’s the method to customize columns in DataGrid?
How can we format data inside DataGrid?
How will decide the design consideration to take a Datagrid , datalist or repeater ?
Difference between ASP and ASP.NET?
What are major events in GLOBAL.ASAX file ?
What order they are triggered ?
Do session use cookies ?
How can we force all the validation control to run ?
How can we check if all the validation control are valid and proper ?
If you have client side validation is enabled in your Web page , Does that mean server
side code is not run?
Which JavaScript file is referenced for validating the validators at the client side ?
How to disable client side script in validators?
I want to show the entire validation error message in a message box on the client side?
You find that one of your validation is very complicated and does not fit in any of the
validators , so what will you do ?
What is Tracing in ASP.NET ?
How do we enable tracing ?
What exactly happens when ASPX page is requested from Browser?
How can we kill a user session ?
How do you upload a file in ASP.NET ?
How do I send email message from ASP.NET ?
What are different IIS isolation levels?
ASP used STA threading model , whats the threading model used for ASP.NET ?
Whats the use of <%@ page aspcompat=true %> attribute ?
Explain the differences between Server-side and Client-side code?
Can you explain Forms authentication in detail ?
How do I sign out in forms authentication ?
If cookies are not enabled at browser end does form Authentication work?
How to use a checkbox in a datagrid?
What are the steps to create a windows service in VB.NET ?
What’s the difference between “Web farms” and “Web garden”?
How do we configure “WebGarden”?
What is the main difference between Gridlayout and FlowLayout ?

.NET Architecture

What are design patterns ?


What’s difference between Factory and Abstract Factory Pattern’s?
What’s MVC pattern?
Twist: - How can you implement MVC pattern in ASP.NET?
How can we implement singleton pattern in .NET?
How do you implement prototype pattern in .NET?
Twist: - How to implement cloning in .NET ? , What is shallow copy and deep copy ?
What are the situations you will use a Web Service and Remoting in projects?
Can you give a practical implementation of FAÇADE patterns?
How can we implement observer pattern in .NET?
What is three tier architecture?
Have you ever worked with Microsoft Application Blocks, if yes then which?
What is Service Oriented architecture?
What are different ways you can pass data between tiers?
What is Windows DNA architecture?
What is aspect oriented programming?
ADO.NET

What is the namespace in which .NET has the data functionality classes ?
Can you give a overview of ADO.NET architecture ?
What are the two fundamental objects in ADO.NET ?
What is difference between dataset and datareader ?
What are major difference between classic ADO and ADO.NET ?
What is the use of connection object ?
What is the use of command objects and what are the methods provided by the command
object ?
What is the use of dataadapter ?
What are basic methods of Dataadapter ?
What is Dataset object?
What are the various objects in Dataset ?
How can we connect to Microsoft Access , Foxpro , Oracle etc ?
How do we connect to SQL SERVER , which namespace do we use ?
How do we use stored procedure in ADO.NET and how do we provide parameters to
the stored procedures?
How can we force the connection object to close after my datareader is closed ?
I want to force the datareader to return only schema of the datastore rather than data ?
How can we fine tune the command object when we are expecting a single row or a single
value ?
Which is the best place to store connectionstring in .NET projects ?
What are steps involved to fill a dataset ?
Twist :- How can we use dataadapter to fill a dataset ?
What are the various methods provided by the dataset object to generate XML?
How can we save all data from dataset ?
How can we check that some changes have been made to dataset since it was loaded ?
Twist :- How can we cancel all changes done in dataset ? , How do we get values which
are changed in a dataset ?
How can we add/remove row’s in “DataTable” object of “DataSet” ?
What’s basic use of “DataView” ?
What’s difference between “DataSet” and “DataReader” ?
Twist :- Why is DataSet slower than DataReader ?
How can we load multiple tables in a DataSet ?
How can we add relation’s between table in a DataSet ?
What’s the use of CommandBuilder ?
What’s difference between “Optimistic” and “Pessimistic” locking ?
How many way’s are there to implement locking in ADO.NET ?
How can we perform transactions in .NET?
What’s difference between Dataset. clone and Dataset. copy ?
Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?
Explain in detail the fundamental of connection pooling?
What is Maximum Pool Size in ADO.NET Connection String?
How to enable and disable connection pooling?

# Interview Questions: ASP.NET 5/13/2007 6:48 PM sooraj


hellow sir very useful one

can i have asp.net ,c# sql questions for a 2+ year of experience,


It would be a great help for me

soorajkkhere@gmail.com
Thanks in advnace

# re: Interview Questions: ASP.NET 5/13/2007 10:35 PM manoj


i earned a lot of knowledge from your site

# re: Interview Questions: ASP.NET 5/14/2007 4:59 AM bony vijay


it is very useful sir

# re: Interview Questions: ASP.NET 5/14/2007 9:38 PM Rahul


hi,

The questions are same from many days,it will be grateful if u add some more questions .

Thank You
Rahul.

# re: Interview Questions: ASP.NET 5/21/2007 10:53 PM Sridevi


Hi!

This is a good article which helps a lot for


beginers...

# re: Interview Questions: ASP.NET 5/21/2007 11:30 PM saini


Plz tell me what si the use JIT

# re: Interview Questions: ASP.NET 5/21/2007 11:38 PM saini


Plz tell me what is the use JIT

# re: Interview Questions: ASP.NET 5/24/2007 2:47 AM dhaval desai


im learning asp.net and its a great thing that the grt experience people r there 2 help us plz help
everyone thanks

# re: JIT (as the response for Saini) 5/25/2007 2:55 AM Selva
A Microsoft.NET application can be run only after the MSIL code is translated into native machine
code. In .NET Framework,
the intermediate language is complied "just in time" (JIT) into native code when the application or
component is run instead of
compiling the application at development time. The Microsoft.NET runtime consists of two JIT
compilers. They are standard JIT
compiler and the EconoJIT compiler. The EconoJIT compiler compiles faster than the standard JIT
compiler, but the code it produces is not
as optimized as the code obtained from the standard JIT compiler.

# re: Interview Questions: ASP.NET 6/2/2007 3:23 AM vasu


Respected Sir
I am a corprate trainner in NIIT LIMITED.I have two year experience on .NET as corporate trainner
and i have good knowledge on .NET plateform.but now i am going to join interviews on .NET at the
level of two year experience.I want to check whattype of question can be asked in interviews.so
please send me immediatly interview question on .NET at two year experience level.I shell highly
obliged to you.

My Email Id :saggurthi_sri@yahoo.com

# re: Interview Questions: ASP.NET 6/3/2007 5:21 PM Mohammed Muneer


Hi this is good stuff!!!!

# re: Interview Questions: ASP.NET 6/6/2007 1:47 AM Rajchaithanya


.Net Framework 2.0 Advantages:-

The .Net Framework (version 2.0) includes 51 assemblies.

The .Net Framework (version 2.0) includes 18,619 types; 12,909 classes; 401,759 public methods;
93,105 public properties and 30,546 public events.

It includes a new feature called Control State. Control state is similar to view state except that is used
to preserve only critical information. For example the gridview control uses control state to store the
selected row. Even if you disable the viewstate, the gridview control remembers which row is selected.

We can precompile an entire ASP.Net application by using the aspnet_compiler.exe command line tool.
If you precompile an application, users do not experience the compilation delay resulting from the first
page request.

Dynamic Compilation in detail:-

The entire contents of an ASP.NET page, including all script and HTML content, are compiled into a
.net class. If we request a page that does not exist ASP.NET automatically compiles the page into a
new class and stores the compiled class (the assembly) in the temporary ASP.NET files folder located
in the following path

\Windows\Microsoft.NET\Framework\[version]\Temporary ASP.Net files

The next time when anyone request for the same page the page is not compiled again the previous
one is executed even if you request the page after three years.

When the class is added to the Temporary ASP.NET files folder, a file dependency created between the
class and the original ASP.NET page. If the ASP.NET page is modified in any way, the corresponding
.net class is automatically deleted. The next time when someone request the page, the Framework
automatically compiles the modified page source into a new .net class. This process is called Dynamic
compilation. Dynamic compilation enables ASP.Net application o support thousands of simultaneous
users.

Note:-
We can disable dynamic compilation for a single page, the pages in folder, or an entire website with
the CompilationMode attribute.

Disabling the compilation is useful when thousands of pages in a website and you do not want to load
an assembly into memory for every page. When the compilation attribute is said to the value Never,
the page is never compiled and an assembly is never generated for the page. The page is interpreted
at runtime. We cannot disable the compilation code that includes server side code.
Literal Control:-

We can use literal control to display text or HTML content in a browser. It does not render its content
inside a <span> tag.
It does not support CSS class or Back color properties. However it supports the mode property that is
not supported by the label control.

Using Client Scripts with Button Controls:-

<asp: Button id = “btnDelete” Text=”Delete” onclick=”btnDelete_Click” onclientclick=”return confirm


(‘Are you sure?’);” runat =”server”/>

<asp: Button id = “btnSubmit” Text = “Submit” onmouseover=”this.value=’click here!’”


onmouseout=”this.value=’Submit’” runat=”server”/>

Mater Pages:-

You can nest content place holder controls in a master page. If you do this, then you have the option
of overriding greater or smaller areas of content in master page.

You cannot work with nested master pages in visual web developer while in design view. If you need
to nest master pages, then you need to stick to source view.

Relative URLs used by ASP.NET controls in master page are automatically reinterpreted relative to
master page. This process of reinterpretation is called rebasing. Only ASP.NET control properties
decorated with URL property attribute are rebased.

You will receive null reference exception if you use the Page.Header property when the master page
does not contain a server-side <head> tag.

Themes:-

The contents of a theme folder are automatically compiled in the background into a new class. So you
want to be careful not to name a theme with a class name that conflicts with an existing class name in
your project.

The textbox control includes a Runat=”server” attribute, but it does not include an ID attribute. You
must always include a Runat attribute, but you can never include the ID attribute when declaring a
control in a skin.

We can not create a skin that applies to the properties of a user control. However, you can skin the
controls contained in a user control.

AJAX and User Controls:-

AJAX (Asynchronous JavaScript and XML) enables you to update content in a page without posting
back to the server. In the ASP.NET Framework, AJAX is referred to as ‘client callbacks’. To add AJAX
support to a user control, you must implement the ICallBackEventHandler interface and add the
necessary JavaScript scripts to process the results of the AJAX call.

Steps for implementing AJAX:-

? Create a client script for invoking the AJAX call. You can get this script with the
Page.ClientScript.GetCallbackEventReference () method.
? Create a sever methods named RaiseCallbackEvent() and GetCallbackResult(), which returns a string
value from the server.

? Create a client method that receives the value from the server RaiseCallbackEvent() method and
does something with the value.

With Regards,
Raj Chaithanya

# re: Interview Questions: ASP.NET 6/7/2007 10:25 AM Rakesh Verma


Nice questions, but answers need some elaborations.

anyway Thanks!

# re: Interview Questions: ASP.NET 6/8/2007 12:04 AM Manish


hi,
very good job

if u have some more deep qus then pls send me

manishmukati@yahoo.com

Thanx
wating for reply

# re: Interview Questions: ASP.NET 6/8/2007 1:42 AM Aravind


In a DataSet I have 3 tables A,B,C. how can i merge A and B to C while keeping all the previous
records in C intact

# re: Interview Questions: ASP.NET 6/9/2007 3:03 AM neeraj


Very good questions for beginners

# re: Interview Questions: ASP.NET 6/21/2007 3:58 AM obalesu


what is the difference b/n asp and asp.net

# re: Interview Questions: ASP.NET 6/27/2007 11:16 PM narendra goud


what is the difference .netframework 1.1 and2.0
what are the features in it
mail to narendragoudb@yahoo.c0.in

# re: Interview Questions: ASP.NET 6/28/2007 7:36 AM Ramamurthy


Questions are very good
please send me C#, VB.NET, ADO.NET, ASP.NET and Web Services questions with ANSWERS on

ram_kvrm04@yahoo.com

# re: Interview Questions: ASP.NET 6/28/2007 7:44 AM Ramamurthy


Hi,

These Questions are very good.

1. What are the main differences between asp and asp.net?

ASP 3.0

• Supports VBScript and JavaScript


o scripting languages are limited in scope
o interpreted from top to bottom each time the page is loaded
• Files end with *.asp extension
• 5 objects: Request, Response, Server, Application, Session
• Queried databases return recordsets
• Uses conventional HTML forms for data collection

ASP .NET

• Supports a number of languages including Visual Basic, C#, and JScript


o code is compiled into .NET classes and stored to speed up multiple hits on a page
o object oriented and event driven makes coding web pages more like traditional applications
• Files end with *.aspx extension
• .NET contains over 3400 classes
• XML-friendly data sets are used instead of recordsets
• Uses web forms that look like HTML forms to the client, but add much functionality due to server-
side coding
• Has built-in validation objects
• Improved debugging feature (great news for programmers)
• ASP .NET controls can be binded to a data source, including XML recordsets
Source: mikekissman.com

2. What is a user control?

• An ASP.NET user control is a group of one or more server controls or static HTML elements that
encapsulate a piece of functionality. A user control could simply be an extension of the functionality of
an existing server control(s) (such as an image control that can be rotated or a calendar control that
stores the date in a text box). Or, it could consist of several elements that work and interact together
to get a job done (such as several controls grouped together that gather information about a user's
previous work experience).
Source: 15seconds.com

3. What are different types of controls available in ASP.net?


• HTML server controls HTML elements exposed to the server so you can program them. HTML server
controls expose an object model that maps very closely to the HTML elements that they render.
• Web server controls Controls with more built-in features than HTML server controls. Web server
controls include not only form-type controls such as buttons and text boxes, but also special-purpose
controls such as a calendar. Web server controls are more abstract than HTML server controls in that
their object model does not necessarily reflect HTML syntax.
• Validation controls Controls that incorporate logic to allow you to test a user's input. You attach a
validation control to an input control to test what the user enters for that input control. Validation
controls are provided to allow you to check for a required field, to test against a specific value or
pattern of characters, to verify that a value lies within a range, and so on.
• User controls Controls that you create as Web Forms pages. You can embed Web Forms user
controls in other Web Forms pages, which is an easy way to create menus, toolbars, and other
reusable elements.
• Note You can also create output for mobile devices. To do so, you use the same ASP.NET page
framework, but you create Mobile Web Forms instead of Web Forms pages and use controls
specifically designed for mobile devices.
Source: MSDN

4. What are the validation controls available in ASP.net?

Type of validation Control to use


Description

Required entry RequiredFieldValidator Ensures that the user does not skip an entry.
Comparison to a value CompareValidator Compares a user's entry against a constant value, or against
a property value of another control, using a comparison operator (less than, equal, greater than, and
so on).
Range checking RangeValidator Checks that a user's entry is between specified lower and upper
boundaries. You can check ranges within pairs of numbers, alphabetic characters, and dates.
Pattern matching RegularExpressionValidator Checks that the entry matches a pattern defined by a
regular expression. This type of validation allows you to check for predictable sequences of characters,
such as those in social security numbers, e-mail addresses, telephone numbers, postal codes, and so
on.
User-defined CustomValidator Checks the user's entry using validation logic that you write yourself.
This type of validation allows you to check for values derived at run time.
Source: MSDN

5. How will you upload a file to IIS in Asp and how will you do the same in ASP.net?

First of all, we need a HTML server control to allow the user to select the file. This is nothing but the
same old <input tag, with the type set to File, such as <input type=file id=”myFile” runat=server />.
This will give you the textbox and a browse button. Once you have this, the user can select any file
from their computer (or even from a network). Then, in the Server side, we need the following line to
save the file to the Web Server.

myFile.PostedFile.SaveAs ("DestinationPath")

Note: The Form should have the following ENC Type


<form enctype="multipart/form-data" runat="server">

Source: ASP Alliance


6. What is Attribute Programming? What are attributes? Where are they used?

Attributes are a mechanism for adding metadata, such as compiler instructions and other data about
your data, methods, and classes, to the program itself. Attributes are inserted into the metadata and
are visible through ILDasm and other metadata-reading tools. Attributes can be used to identify or use
the data at runtime execution using .NET Reflection.
Source: OnDotNet.com

7. What is the difference between Data Reader & Dataset?

Data Reader is connected, read only forward only record set.


Dataset is in memory database that can store multiple tables, relations and constraints; moreover
dataset is disconnected and is not aware of the data source.

8. What is the difference between server side and client side code?
Server code is executed on the web server where as the client code is executed on the browser
machine.

9. Why would you use “EnableViewState” property? What are the disadvantages?

EnableViewState allows me to retain the values of the controls properties across the requests in the
same session. It hampers the performance of the application.

10. What is the difference between Server. Transfer and Response. Redirect?

The Transfer method allows you to transfer from inside one ASP page to another ASP page. All of the
state information that has been created for the first (calling) ASP page will be transferred to the
second (called) ASP page. This transferred information includes all objects and variables that have
been given a value in an Application or Session scope, and all items in the Request collections. For
example, the second ASP page will have the same SessionID as the first ASP page.

When the second (called) ASP page completes its tasks, you do not return to the first (calling) ASP
page. All these happen on the server side browser is not aware of this.
The redirect message issue HTTP 304 to the browser and causes browser to got the specified page.
Hence there is round trip between client and server. Unlike transfer, redirect doesn’t pass context
information to the called page.

11. What is the difference between Application_start and Session_start?

Application_start gets fired when an application receive the very first request.
Session_start gets fired for each of the user session.

12. What is inheritance and when would you use inheritance?

The concept of child class inheriting the behavior of the parent is called inheritance.
If there are many classes in an application that have some part of their behavior common among all ,
inheritance would be used.

13. What is the order of events in a web form?

1. Init
2. Load
3. Cached post back events
4. Prerender
5. Unload

14. Can you edit Data in repeater control?

No

15. Which template you must provide to display data in a repeater control?

Item Template

16. How can you provide an alternating color scheme in a Data Grid?

Use ALTERNATINGITEMSTYLE and ITEMSTYLE, attributes or Templates

17. Is it possible to bind a data to Textbox?

Yes
18. What method I should call to bind data to control?

Bind Data ()

19. How can I kill a user session?

Call session. abandon.

21. Which is the common property among all the validation controls?

ControlToValidate

22. How do you bind a data grid column manually?

Use BoundColumn tag.

23. Web services can only be written in .NET, true or false?

False

24. What does WSDL, UDDI stands for?

Web Service Description Language.


Universal Description Discovery and Integration
25. How can you make a property read only? (C#)

Use key word Read Only

25. Which validation control is used to match values in two controls?

Compare Validation control.

26. To test a Web Service I must create either web application or windows application. True or false?

False

27. How many classes can a single .NET assembly contains?

Any number

28. What are the data types available in JavaScript?

Object is the only data type available.

29. Is it possible to share session information among ASP and ASPX page?

No, it is not possible as both of these are running under different processes.

30. What are the caching techniques available?


Page cahahing.
Fragment Caching
And Data Caching

31. What are the different types of authentication modes available?

1. Window.
2. Form.
3. Passport.
4. None.

32. Explain the steps involved to populate dataset with data?

Open connection
Initialize Adapter passing SQL and connection as parameter
Initialize Dataset
Call Fill method of the adapter passes dataset as the parameter
Close connection.

33. Can I have data from two different sources into a single dataset?

Yes, it is possible.

34. Is it possible load XML into a Data Reader?

No.

35. Is it possible to have tables in the dataset that are not bound to any data source?

Yes, we can create table object in code and add it to the dataset.

36. Why do you deploy an assembly into GAC?

To allow other application to access the shared assembly.

37. How do you uninstall assembly from GAC?

Use Gacutil.exe with U switch.

38. What does Regasm do?

The Assembly Registration tool reads the metadata within an assembly and adds the necessary entries
to the registry, which allows COM clients to create .NET Framework classes transparently. Once a class
is registered, any COM client can use it as though the class were a COM class. The class is registered
only once, when the assembly is installed. Instances of classes within the assembly cannot be created
from COM until they are actually registered.

39. What is the difference between Execute Scalar and ExceuteNoneQuery?

Execute Scalar returns the value in the first row first column of a query result set.
ExceuteNonQuery return number of rows affected.

40. What is an assembly?

Assembly is a deployment unit of .NET application. In practical terms assembly is an Executable or a


class library.

41. What is CLR?

The common language runtime is the execution engine for .NET Framework applications.
It provides a number of services, including the following:
• Code management (loading and execution)
Application memory isolation
• Verification of type safety
• Conversion of IL to native code
• Access to metadata (enhanced type information)
• Managing memory for managed objects
• Enforcement of code access security
• Exception handling, including cross-language exceptions
• Interoperation between managed code, COM objects, and pre-existing DLLs (unmanaged code and
data)
• Automation of object layout
• Support for developer services (profiling, debugging, and so on)

42. What is the common type system (CTS)?

The common type system is a rich type system, built into the common language runtime that supports
the types and operations found in most programming languages. The common type system supports
the complete implementation of a wide range of programming languages.

43. What is the Common Language Specification (CLS)?

The Common Language Specification is a set of constructs and constraints that serves as a guide for
library writers and compiler writers. It allows libraries to be fully usable from any language supporting
the CLS, and for those languages to integrate with each other. The Common Language Specification is
a subset of the common type system. The Common Language Specification is also important to
application developers who are writing code that will be used by other developers. When developers
design publicly accessible APIs following the rules of the CLS, those APIs are easily used from all other
programming languages that target the common language runtime.

44. What is the Microsoft Intermediate Language (MSIL)?

MSIL is the CPU-independent instruction set into which .NET Framework programs are compiled. It
contains instructions for loading, storing, initializing, and calling methods on objects.
Combined with metadata and the common type system, MSIL allows for true cross-language
integration.
Prior to execution, MSIL is converted to machine code. It is not interpreted.

45. What is managed code and managed data?

Managed code is code that is written to target the services of the common language runtime (see
what is the Common Language Runtime?). In order to target these services, the code must provide a
minimum level of information (metadata) to the runtime. All C#, Visual Basic .NET, and JScript .NET
code is managed by default. Visual Studio .NET C++ code is not managed by default, but the compiler
can produce managed code by specifying a command-line switch (/CLR).
Closely related to managed code is managed data—data that is allocated and de-allocated by the
common language runtime's garbage collector. C#, Visual Basic, and JScript .NET data is managed by
default. C# data can, however, be marked as unmanaged through the use of special keywords. Visual
Studio .NET C++ data is unmanaged by default (even when using the /CLR switch), but when using
Managed Extensions for C++, a class can be marked as managed by using the __gc keyword. As the
name suggests, this means that the memory for instances of the class is managed by the garbage
collector. In addition, the class becomes a full participating member of the .NET Framework
community, with the benefits and restrictions that brings. An example of a benefit is proper
interoperability with classes written in other languages (for example, a managed C++ class can inherit
from a Visual Basic class). An example of a restriction is that a managed class can only inherit from
one base class.

46. What is an assembly?

An assembly is the primary building block of a .NET Framework application. It is a collection of


functionality that is built, versioned, and deployed as a single implementation unit (as one or more
files). All managed types and resources are marked either as accessible only within their
implementation unit or as accessible by code outside that unit.

Assemblies are self-describing by means of their manifest, which is an integral part of every assembly.
The manifest: Establishes the assembly identity (in the form of a text name), version, culture, and
digital signature (if the assembly is to be shared across applications).
Defines what files (by name and file hash) make up the assembly implementation.
Specifies the types and resources that make up the assembly, including which are exported from the
assembly.
Itemizes the compile-time dependencies on other assemblies.
Specifies the set of permissions required for the assembly to run properly.

This information is used at run time to resolve references, enforce version binding policy, and validate
the integrity of loaded assemblies. The runtime can determine and locate the assembly for any
running object, since every type is loaded in the context of an assembly. Assemblies are also the unit
at which code access security permissions are applied. The identity evidence for each assembly is
considered separately when determining what permissions to grant the code it contains.
The self-describing nature of assemblies also helps makes zero-impact install and XCOPY deployment
feasible.

47. What are private assemblies and shared assemblies?

A private assembly is used only by a single application, and is stored in that application's install
directory (or a subdirectory therein). A shared assembly is one that can be referenced by more than
one application. In order to share an assembly, the assembly must be explicitly built for this purpose
by giving it a cryptographically strong name (referred to as a strong name). By contrast, a private
assembly name need only be unique within the application that uses it.
By making a distinction between private and shared assemblies, we introduce the notion of sharing as
an explicit decision. Simply by deploying private assemblies to an application directory, you can
guarantee that that application will run only with the bits it was built and deployed with. References to
private assemblies will only be resolved locally to the private application directory.
There are several reasons you may elect to build and use shared assemblies, such as the ability to
express version policy. The fact that shared assemblies have a cryptographically strong name means
that only the author of the assembly has the key to produce a new version of that assembly. Thus, if
you make a policy statement that says you want to accept a new version of an assembly, you can
have some confidence that version updates will be controlled and verified by the author. Otherwise,
you don't have to accept them.
For locally installed applications, a shared assembly is typically explicitly installed into the global
assembly cache (a local cache of assemblies maintained by the .NET Framework). Key to the version
management features of the .NET Framework is that downloaded code does not affect the execution of
locally installed applications. Downloaded code is put in a special download cache and is not globally
available on the machine even if some of the downloaded components are built as shared assemblies.
The classes that ship with the .NET Framework are all built as shared assemblies.

48. If I want to build a shared assembly, does that require the overhead of signing and managing key
pairs?

Building a shared assembly does involve working with cryptographic keys. Only the public key is
strictly needed when the assembly is being built. Compilers targeting the .NET Framework provide
command line options (or use custom attributes) for supplying the public key when building the
assembly. It is common to keep a copy of a common public key in a source database and point build
scripts to this key. Before the assembly is shipped, the assembly must be fully signed with the
corresponding private key. This is done using an SDK tool called SN.exe (Strong Name).
Strong name signing does not involve certificates like Authenticode does. There are no third party
organizations involved, no fees to pay, and no certificate chains. In addition, the overhead for
verifying a strong name is much less than it is for Authenticode. However, strong names do not make
any statements about trusting a particular publisher. Strong names allow you to ensure that the
contents of a given assembly haven't been tampered with, and that the assembly loaded on your
behalf at run time comes from the same publisher as the one you developed against. But it makes no
statement about whether you can trust the identity of that publisher.
49. What is the difference between a namespace and an assembly name?

A namespace is a logical naming scheme for types in which a simple type name, such as MyType, is
preceded with a dot-separated hierarchical name. Such a naming scheme is completely under the
control of the developer. For example, types MyCompany.FileAccess.A and MyCompany.FileAccess.B
might be logically expected to have functionality related to file access. The .NET Framework uses a
hierarchical naming scheme for grouping types into logical categories of related functionality, such as
the Microsoft® ASP.NET application framework, or remoting functionality. Design tools can make use
of namespaces to make it easier for developers to browse and reference types in their code. The
concept of a namespace is not related to that of an assembly. A single assembly may contain types
whose hierarchical names have different namespace roots, and a logical namespace root may span
multiple assemblies. In the .NET Framework, a namespace is a logical design-time naming
convenience, whereas an assembly establishes the name scope for types at run time.

50. What options are available to deploy my .NET applications?

The .NET Framework simplifies deployment by making zero-impact install and XCOPY deployment of
applications feasible. Because all requests are resolved first to the private application directory, simply
copying an application's directory files to disk is all that is needed to run the application. No
registration is required.
This scenario is particularly compelling for Web applications, Web Services, and self-contained desktop
applications. However, there are scenarios where XCOPY is not sufficient as a distribution mechanism.
An example is when the application has little private code and relies on the availability of shared
assemblies, or when the application is not locally installed (but rather downloaded on demand). For
these cases, the .NET Framework provides extensive code download services and integration with the
Windows Installer. The code download support provided by the .NET Framework offers several
advantages over current platforms, including incremental download, code access security (no more
Authenticode dialogs), and application isolation (code downloaded on behalf of one application doesn't
affect other applications). The Windows Installer is another powerful deployment mechanism available
to .NET applications. All of the features of Windows Installer, including publishing, advertisement, and
application repair will be available to .NET applications in Windows Installer 2.0.

51. I've written an assembly that I want to use in more than one application. Where do I deploy it?

Assemblies that are to be used by multiple applications (for example, shared assemblies) are deployed
to the global assembly cache. In the prerelease and Beta builds, use the /i option to the GACUtil SDK
tool to install an assembly into the cache:
gacutil /i myDll.dll
Windows Installer 2.0, which ships with Windows XP and Visual Studio .NET will be able to install
assemblies into the global assembly cache.

52. How can I see what assemblies are installed in the global assembly cache?

The .NET Framework ships with a Windows shell extension for viewing the assembly cache. Navigating
to % windir%\assembly with the Windows Explorer activates the viewer.

53. What is an application domain?

An application domain (often AppDomain) is a virtual process that serves to isolate an application. All
objects created within the same application scope (in other words, anywhere along the sequence of
object activations beginning with the application entry point) are created within the same application
domain. Multiple application domains can exist in a single operating system process, making them a
lightweight means of application isolation.

An OS process provides isolation by having a distinct memory address space. While this is effective, it
is also expensive, and does not scale to the numbers required for large web servers. The Common
Language Runtime, on the other hand, enforces application isolation by managing the memory use of
code running within the application domain. This ensures that it does not access memory outside the
boundaries of the domain. It is important to note that only type-safe code can be managed in this way
(the runtime cannot guarantee isolation when unsafe code is loaded in an application domain).

54. What is garbage collection?

Garbage collection is a mechanism that allows the computer to detect when an object can no longer
be accessed. It then automatically releases the memory used by that object (as well as calling a
clean-up routine, called a "finalizer," which is written by the user). Some garbage collectors, like the
one used by .NET, compact memory and therefore decrease your program's working set.

55. How does non-deterministic garbage collection affect my code?

For most programmers, having a garbage collector (and using garbage collected objects) means that
you never have to worry about deallocating memory, or reference counting objects, even if you use
sophisticated data structures. It does require some changes in coding style, however, if you typically
deallocate system resources (file handles, locks, and so forth) in the same block of code that releases
the memory for an object. With a garbage collected object you should provide a method that releases
the system resources deterministically (that is, under your program control) and let the garbage
collector release the memory when it compacts the working set.

56. Can I avoid using the garbage collected heap?

All languages that target the runtime allow you to allocate class objects from the garbage-collected
heap. This brings benefits in terms of fast allocation, and avoids the need for programmers to work
out when they should explicitly 'free' each object.
The CLR also provides what are called ValueTypes—these are like classes, except that ValueType
objects are allocated on the runtime stack (rather than the heap), and therefore reclaimed
automatically when your code exits the procedure in which they are defined. This is how "structs" in
C# operate.
Managed Extensions to C++ lets you choose where class objects are allocated. If declared as
managed Classes, with the __gc keyword, then they are allocated from the garbage-collected heap. If
they don't include the __gc keyword, they behave like regular C++ objects, allocated from the C++
heap, and freed explicitly with the "free" method.

57. How do in-process and cross-process communication work in the Common Language Runtime?

There are two aspects to in-process communication: between contexts within a single application
domain, or across application domains. Between contexts in the same application domain, proxies are
used as an interception mechanism. No marshaling/serialization is involved. When crossing application
domains, we do marshaling/serialization using the runtime binary protocol.
Cross-process communication uses a pluggable channel and formatter protocol, each suited to a
specific purpose.
If the developer specifies an endpoint using the tool soapsuds.exe to generate a metadata proxy,
HTTP channel with SOAP formatter is the default.
If a developer is doing explicit remoting in the managed world, it is necessary to be explicit about
what channel and formatter to use. This may be expressed administratively, through configuration
files, or with API calls to load specific channels. Options are:
HTTP channel w/ SOAP formatter (HTTP works well on the Internet, or anytime traffic must travel
through firewalls)
TCP channel w/ binary formatter (TCP is a higher performance option for local-area networks (LANs))
When making transitions between managed and unmanaged code, the COM infrastructure
(specifically, DCOM) is used for remoting. In interim releases of the CLR, this applies also to serviced
components (components that use COM+ services). Upon final release, it should be possible to
configure any remotable component.
Distributed garbage collection of objects is managed by a system called "leased based lifetime." Each
object has a lease time, and when that time expires, the object is disconnected from the remoting
infrastructure of the CLR. Objects have a default renew time-the lease is renewed when a successful
call is made from the client to the object. The client can also explicitly renew the lease.
58. Can I use COM objects from a .NET Framework program?

Yes. Any COM component you have deployed today can be used from managed code, and in common
cases the adaptation is totally automatic.
Specifically, COM components are accessed from the .NET Framework by use of a runtime callable
wrapper (RCW). This wrapper turns the COM interfaces exposed by the COM component into .NET
Framework-compatible interfaces. For OLE automation interfaces, the RCW can be generated
automatically from a type library. For non-OLE automation interfaces, a developer may write a custom
RCW and manually map the types exposed by the COM interface to .NET Framework-compatible
types.

59. Can .NET Framework components be used from a COM program?

Yes. Managed types you build today can be made accessible from COM, and in the common case the
configuration is totally automatic. There are certain new features of the managed development
environment that are not accessible from COM. For example, static methods and parameterized
constructors cannot be used from COM. In general, it is a good idea to decide in advance who the
intended user of a given type will be. If the type is to be used from COM, you may be restricted to
using those features that are COM accessible.
Depending on the language used to write the managed type, it may or may not be visible by default.
Specifically, .NET Framework components are accessed from COM by using a COM callable wrapper
(CCW). This is similar to an RCW (see previous question), but works in the opposite direction. Again, if
the .NET Framework development tools cannot automatically generate the wrapper, or if the
automatic behavior is not what you want, a custom CCW can be developed.

60. Can I use the Win32 API from a .NET Framework program?

Yes. Using platform invoke, .NET Framework programs can access native code libraries by means of
static DLL entry points.
Here is an example of C# calling the Win32 MessageBox function:
using System;
using System.Runtime.InteropServices;

class MainApp
{
[DllImport("user32.dll", EntryPoint="MessageBox")]
public static extern int MessageBox(int hWnd, String strMessage, String strCaption, uint uiType);

public static void Main()


{
MessageBox( 0, "Hello, this is PInvoke in operation!", ".NET", 0 );
}
}

61. What do I have to do to make my code work with the security system?

Usually, not a thing—most applications will run safely and will not be exploitable by malicious attacks.
By simply using the standard class libraries to access resources (like files) or perform protected
operations (such as a reflection on private members of a type), security will be enforced by these
libraries. The one simple thing application developers may want to do is include a permission request
(a form of declarative security) to limit the permissions their code may receive (to only those it
requires). This also ensures that if the code is allowed to run, it will do so with all the permissions it
needs.
Only developers writing new base class libraries that expose new kinds of resources need to work
directly with the security system. Instead of all code being a potential security risk, code access
security constrains this to a very small bit of code that explicitly overrides the security system.
62. Why does my code get a security exception when I run it from a network shared drive?

Default security policy gives only a restricted set of permissions to code that comes from the local
intranet zone. This zone is defined by the Internet Explorer security settings, and should be configured
to match the local network within an enterprise. Since files named by UNC or by a mapped drive (such
as with the NET USE command) are being sent over this local network, they too are in the local
intranet zone.
The default is set for the worst case of an unsecured intranet. If your intranet is more secure you can
modify security policy (with the .NET Framework Configuration tool or the CASPol tool) to grant more
permissions to the local intranet, or to portions of it (such as specific machine share names).

63. How do I make it so that code runs when the security system is stopping it?

Security exceptions occur when code attempts to perform actions for which it has not been granted
permission. Permissions are granted based on what is known about code; especially its location. For
example, code run from the Internet is given fewer permissions than that run from the local machine
because experience has proven that it is generally less reliable. So, to allow code to run that is failing
due to security exceptions, you must increase the permissions granted to it. One simple way to do so
is to move the code to a more trusted location (such as the local file system). But this won't work in
all cases (web applications are a good example, and intranet applications on a corporate network are
another). So, instead of changing the code's location, you can also change security policy to grant
more permissions to that location. This is done using either the .NET Framework Configuration tool or
the code access security policy utility (caspol.exe). If you are the code's developer or publisher, you
may also digitally sign it and then modify security policy to grant more permissions to code bearing
that signature. When taking any of these actions, however, remember that code is given fewer
permissions because it is not from an identifiably trustworthy source—before you move code to your
local machine or change security policy, you should be sure that you trust the code to not perform
malicious or damaging actions.

64. How do I administer security for my machine? For an enterprise?

The .NET Framework includes the .NET Framework Configuration tool, an MMC snap-in
(mscorcfg.msc), to configure several aspects of the CLR including security policy. The snap-in not only
supports administering security policy on the local machine, but also creates enterprise policy
deployment packages compatible with System Management Server and Group Policy. A command line
utility, CASPol.exe, can also be used to script policy changes on the computer. In order to run either
tool, in a command prompt, change the current directory to the installation directory of the .NET
Framework (located in %windir%\Microsoft.Net\Framework\v1.0.2914.16\) and type mscorcfg.msc or
caspol.exe.

65. What’s the implicit name and type of the parameter that gets passed in