Tuesday, November 25, 2008

Top 100 ASP.Net Questions Asked in Actual Interviews

100 ASP.Net Questions Asked in Actual Interviews

What property must you set, and what method must you call in your code, in order to bind the data from some data source to the Repeater control?
Ans: 1. You must set the DataSource property and call the DataBind method.

Can a .NET web application consume Java web service ?

Please brief note about XSD,XSLT & XML.

Which dll handles the request of .aspx page?

Diff between Web User Control and Web Custom Control.

What does WSDL stand for?

What are webservices?

What is the transport protocol you use to call a Web service SOAP

What is the standard you use to wrap up a call to a Web service

What are the disadvantages of viewstate/what are the benefits

How is a property designated as read-only?

How does VB.NET/C# achieve polymorphism?

How do you call procedures in datastage?

If I'm developing an application that must accomodate multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users?

How can we implement a Identity (SQL Server) call in an asp.net page?

Can you give an example of what might be best suited to place in the Application_ Start and Session_Start subroutines?

How to rename a table using sql queries?

What is Viewstate?
Viewstate is a built-in structure for automatically retaining values among multiple requests for the same page. The view state is internally maintained as a hidden field on the page but is hashed, providing greater security than developer-implemented hidden fields do.

Which namespace is used by ADO.NET?

What is delay signing?

What is PreProcessor in .NET and type , where it use

How would you get ASP.NET running in Apache web servers - why would you even do this?

What is the life cycle of an asp.net page?

What base class do all Web Forms inherit from?

In order to get assembly info whcih namespace we should import?

Trace and Debug belongs to which namespaces

Which namespace is used to get assembly details?

What is the root namespace for all types?

Describe session handling in a webfarm, how does it work and what are the > limits

How do we Sort the data from a Dataset?

How do you create a permanent cookie

What method do you use to explicitly kill a user s session?

What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?

Which method do you use to redirect the user to another page without performing a round trip to the client?

What type of code (server or client) is found in a Code-Behind class

Explain the differences between Server-side and Client-side code

What types of data validation events are commonly seen in the client-side form validation?

How does u call and execute a SP in .NET?

What is DLL hell?

What is difference between OR and ORElse

Whats MSIL, and why should my developers need an appreciation of it if at all?

How to create dynamic Gridview?

Should validation (did the user enter a real date) occur server-side or client-side? Why?

Which template must you provide, in order to display data in a Repeater control?

Describe the difference between inline and code behind - which is best in a

Can you explain what inheritance is and an example of when you might use it?

How would you implement inheritance using VB.NET/C#?

What does the "EnableViewState" property do? Why would I want it on or off?

What is diff. between ASP State Management and ASP.NET State Management?( Imp) 19. How can we pass info between 2 asp.net pages?

Where would you use an iHTTPModule, and what are the limitations of any

Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component

If we remove web.config or machine.config from the application then, Is this application will works?

What tag do you use to add a hyperlink column to the DataGrid?

What is IPostBack? How to use it?

DIff. between Friend and Protected Friend.

What is CLR?

Name some of the Microsoft Application Blocks. Have you used any? Which ones?

What is event bubbling?

How many classes can a single .NET DLL contain?

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?

What is difference between singleton and single call?

What is versioning in .NET?

what is the difference between a defect and an enhancement?

1.How to enter same record twice in target table? give me syntax. 2. How to get particular record from the table in informatica? 3.How to create primary key only on odd numbers? 4. how to get the records starting with particular letter like A in informatica?

Diff between Dataset and Datareader

Diff. betn Dataset and Recordset.

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

How do we get only edited/deleted/ inserted records from a Dataset?

Why Datareader is useful?

How Dataadapter. fill works?

How to reduce the width of textbox in EditCommandColumn of DataGrid?

Which two properties are on every validation control?

What is server infrastructure & Server components?

Which control would you use if you needed to make sure the values in two different controls matched?

Let's say I have an existing application written using Visual Studio 6 (VB 6, InterDev 6) and this application utilizes Windows 2000 COM+ transaction services. How would you approach migrating this application to .NET

ColumnMapping belongs to which namespaces?

What is CLR? 2.1. Diff between CLR & CTS

Distinguish the differences between client-side and server-side data validations in web pages.

How do u declare static variable and how it is declared and what is its lifetime?

How do you turn off cookies for one page in your site?

What is an assembly

What r the ASP.NET list controls and diff. between them?

What are ASP.NET Web Forms? How is this technology different than what is available though ASP (1.0-3.0)?

What property do you have to set to tell the grid which page to go to when using the Pager object?

What tags do you need to add within the asp:datagrid tags to bind columns manually.

Web service support a) Data set b) dataReader c) both of above d) none of above

In A Page I have gridview with Options of select and delete using hyperlink when i am selecting any one of then it has to open another page how can it

What is an abstract class

What is diff. between abstract class and an interface? * What is shadowing? * Diff between Overriding and overloading

Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?

What is smoke testing?

Can you edit data in the Repeater control?

Explain what a diffgram is, and a good use for

What are delegates?

What tags do you need to add within the asp:datagrid tags to bind columns manually?

How can you provide an alternating color scheme in a Repeater control?

How to create a DB connection at one place/page so that we can use that connection for all pages/forms/ windows.what r the steps ned to be performed. if question not clear,let me know.

In what order do the events of an ASPX page execute. As a developer is it important to undertsand these events?

What are client activated objects and server activated objects?

How does u get record no from 5 to 15 from a dataset of 100 records?

Next Time I will give answers of all this questions.

No comments: