Thursday, 26 June 2014
Monday, 23 June 2014
ASP.NET Interview Basic Questions
ASP.NET Interview Questions
- 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 ?
- 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 ?
C# Basic Interview Questions
.NET Basic Interview Questions
- What is a IL?
- 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 ?
- What is ILDASM ?
- What is Manifest?
- Where is version information stored of a assembly ?
- Is versioning applicable to private assemblies?
- What is GAC ?
- What is concept of 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 ?
- 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?
Threading
- What is Multi-tasking ?
- What is Multi-threading ?
- What is a Thread ?
- 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 ?
- 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?
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 ?
- Can you explain different properties of Object Oriented Systems?
- What’s difference between Association , Aggregation and Inheritance relationships?
- 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 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 ?
- 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?
- 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?
Sunday, 22 June 2014
Subscribe to:
Posts (Atom)