Labels

Showing posts with label 4 years plus. Show all posts
Showing posts with label 4 years plus. Show all posts

Monday, 14 July 2014

C#.Net Basics: What is class? How to Declare a Class?

  • class is a construct that enables you to create your own custom types by grouping together variables of other types, methods and Events.
  • A class is like a blueprint. It defines the data and behavior of a type.
  • If the class is not declared as static, client code can use it by creating objects or instances which are assigned to a variable.
  • The variable remains in memory until all references to it go out of scope. At that time, the CLR marks it as eligible for garbage collection.
  • If the class is declared as static, then only one copy exists in memory and client code can only access it through the class itself, not an instance variable. 
  • Unlike  structs Classes support inheritance , a fundamental characteristic of object-oriented programming.
  • Classes are declared by using the class keyword,
  • The class keyword is preceded by the access level. The name of the class follows the class keyword.
  • The remainder of the definition is the class body, where the behavior and data are defined.
  • Fields, properties, methods, and events on a class are collectively referred to as class members.

             Access level class Customer
  {
    //Fields, properties, methods and events go here...
  }


 http://msdn.microsoft.com/en-us/library/x9afc042.aspx

Sunday, 13 July 2014

C# .Net OOPS Basics: Classes and Objects.

The terms class and object are sometimes used interchangeably, but in fact, classes describe the type of objects, while objects are usable instances of classes. 

So, the act of creating an object is called instantiation. 

Using the blueprint analogy, a class is a blueprint, and an object is a building made from that blueprint.


Class

class SampleClass
{

}

Object of SampleClass  :

SampleClass objSampleClass= new SampleClass();


For more details: http://msdn.microsoft.com/en-IN/library/dd460654.aspx

.Net Frequently asked questions for 4+ Years of experience having the skills C# .Net, OOPS Concept, ASP.Net and WCF

  1. What is sequence of code in retrieving data from database?
  2. What is about DTS package?
  3. What provider ADO.net use by default?
  4. Where does web.config info stored? Will this be stored in the registry?
  5. How do you register the dot net component or assembly?
  6. What is the Difference between asp and asp.net
  7. Which is stateless asp or asp.net?
  8. How many types of Authentication mechanisms are there in dot net?
  9. What is the State management in asp.net?
  10. Which Types of values mode can hold session state in web.config?
  11. Explain in detailed about Web Service?
  12. What is Http handler?
  13. What is view state and how this can be done and was this there in asp?
  14. How many Types of optimizations are there and name a few and how do you do?
  15. Explain about Data Adapters?
  16. Explain the Features of a Dataset?
  17. How do you do role based security?
  18. What is the Difference between Responses.Expires and Expires.Absolute?
  19. How many Types of object are there in .Net?
  20. Explain about duration in caching technique?
  21. Explain about types of configuration files and their differences?
  22. What is the Difference between ADO and ADO.net?
  23. Explain in detail about Post back?
  24. If you are calling three SPs from a window application how do u check for the performance of the SPS


SQL Server Frequently asked questions for .Net Programmers

  1.  What is normalization In SQL Server? 
  2.  What is an index and types of indexes? How many numbers of indexes can be used per table in SQL Server?
  3.  What is a constraint? How many Types of constraints are there in SQL Server?
  4. What are code pages in SQL Server?
  5. What is referential integrity in SQL Server?
  6. What is a trigger? How many types of triggers are there in SQL Servr?
  7. What are different types of joins in SQL Server?
  8. What is a self join and Give an Example in SQL Server?
  9. Explain Authentication mechanisms in Sql Server?
  10. What are the user defined stored procedures?
  11. What is INSTEAD OF trigger in SQL Server?
  12. How to optimize a query that retrieves data by joining 4 tables?
  13. What is the Usage of DTS in SQL Server?
  14. How to disable an index using select query in SQL Server?
  15. Is non-clustered index faster than clustered index? Why?
  16. Explain different types of optimization in queries?
  17. What is the difference between ISQL and OSQL in SQL Server?
  18. How you log an exception directly into Sql server what is used for this?
  19. Explain about Replication in Database?
  20. What is the default optimization done in oracle and Sql server?
  21. How can I make a column as unique in SQL Server?
  22. How many no of tables can be joined in same SQL Server?
  23. How many columns can exist per table in SQL Server?
  24. Explain about Sql Profiler usage in SQL Server?

.Net Frequently asked questions having the skills C# .Net, OOPS Concept, ASP.Net and WCF

  1. What is the Difference between asp and Asp.net?
  2. How do you do exception management?
  3. If you are using components in your application, how can you handle exceptions raised in a component?
  4. Can we throw exception from catch block?
  5. How do you relate an aspx page with its code behind page?
  6. What are the types of assemblies and where can u store them and how?
  7. What is difference between value and reference types?
  8. Is array reference type / value type?
  9. Is string reference type / value type?
  10. What is web.config. How many web.config files can be allowed to use in an application?
  11. What is difference between machine.config and web.config?
  12. What is shared and private assembly?
  13. What are asynchronous callbacks?
  14. How to write unmanaged code and how to identify whether the code is managed / unmanaged?
  15. How to authenticate users using web.config?
  16. What is strong name and which tool is used for this?
  17. What is gacutil.exe. Where do we store assemblies
  18. should sn.exe be used before gacutil.exe?
  19. What does assembly info.cs file consist of?
  20. What is boxing and unboxing?
  21. How many Types of authentications are there in ASP.NET?
  22. What is the difference between Trace and Debug?
  23. What is the Difference between Dataset and Data Reader?
  24. What is custom tag in web.config?
  25. How do you define authentication in web.config?

Saturday, 28 June 2014

.Net Face to Face interview questions for 4+ Years of experience along with the skills C# .Net, OOPS Concept, J-Query, ASP.Net, SQL Server, Java Script, and WCF

  1. Why you have used Jquery in your project?
  2. How you have used WCF in your project?
  3. What are ref types and value types in C#
  4. int a, b, c;  a=10;  b=a;   c=b ; what are ref types and what are value types
  5. In a grid view I have to bind 2000 records without losing performance how
  6. In what cases we go for?
  7. What is Public sealed abstract class?
  8. I have requested a aspx page which contains master page ( along with page load event) and user controls(along with page load event) what is the order of Execution of  aspx  page.
  9. Have you used logger concept in application? Which logger concept you have used?
  10. What are the Different types of Master Databases in SQL Server?
  11. What are magic tables can we access data from magic tables or not
  12. How many types can we take back up of database?
  13. What is the Page Life cycle of ASP.Net?
  14. Write example for singleton pattern?
  15. Have you used generic collections? 
  16. What is Garbage Collection in .net, how it does Garbage collection
  17. What are OOPS Concept in C# Explain All?
  18. What is the Difference between abstract classes and Interfaces?
  19. How many types of access specifies are there in .net Explain?
  20. What is the difference between dataset and data reader?
  21. What is the difference between customer controls and user controls?
  22. How many joins are there in Sql Server?
  23. What are triggers in Sql Server, how many types of triggers are there?
  24. What is the difference between clustered index and non clustered index?
  25. How many clustered indexes Can we create on a table?
  26. What is the difference between temporary tables and table valued elements?
  27. What is the difference between assembly and namespace?
  28. What is assembly? How many types are there?
  29. What is the difference between array, array list and generic, which is faster?  Why?
  30. What is boxing and un boxing explain with example?
  31. Which concept is useful to display 1,00,000 records in grid view ?

.Net Face to Face interview questions for 4+ Years of experience along with the skills C# .Net, OOPS Concept, J-Query, ASP.Net, SQL Server, Java Script, and WCF

  1. What is Difference between Abstract Class and Interface?
  2. What is Static Class?
  3. What is Sealed Class?
  4. I want same method in child class how to implement?
  5. How many types of joins are there in SQL?
  6. What is Left outer join, right outer join?
  7. What are delegates?
  8. By which keyword we will use to inherit a method? And which key word we use in child class tell two methods?
  9. Can we create instance of abstract class?
  10. What are types of Binding Available in WCF?
  11. Why we use basic http bindning?
  12. How many types of Contracts are there in wcf?
  13. Why to go for wcf service?
  14. How to hide a method in wcf service from client?
  15. What is data Contract?
  16. How to handle exceptions in wcf?
  17. Why to use fault Contract?
  18. Which type of messages can we send through fault contract??
  19. Why we use group by clause?
  20. What is difference between function and stored procedure?
  21. Have you worked on  Linq to Sql? What is linq to sql?
  22. How to bind data to Grid View?
  23. Which type of functionality you have worked in Grid View?
  24. What is need data source?
  25. Have you worked grid inside a grid?
  26. Explain Security in WCF Services?
  27. Do you Know Default Static Classes available in .Net?
  28. How many validation Controls are there?
  29. All validation controls run in server side or client side?
  30. What is View State?
  31. How can we handle exceptions in .net?
  32. How to handle exceptions in stored procedures?
  33. Can we have multiple catch blocks in one try?
  34. What is the order of execution of catch block?

.Net Face to Face interview questions for 4+ Years of experience along with the skills C# .Net, OOPS Concept, J-Query, ASP.Net, SQL Server, Java Script, WCF , Unit Testing and Lamda Expressions.

  1. What is the Difference between abstraction and interface?
  2. What is overriding?
  3. Which keyword have to use in the parent class?
  4. If the method is virtual in parent can I use static for the overridden method
  5. If I want to Encrypt the connection string how can I do?
  6. What is the difference between session and application?
  7. Can you explain page life cycle
  8. What will happen in page initialization
  9. If we don’t want to inherit particular class what we have to do
  10. What is the Architecture of WCF Services?
  11. What is the difference between repeater and gridview
  12. Can we use update in Repeater?
  13. There are 100 pages in my application I want to give permission to one user some pages and  to another user other pages how can I do that
  14. What is Delegate? What is Multicaste Deligate
  15. How to Generate Public assembly Key?
  16. What is Satellite Assembly?
  17. What is the Use of Satellite Assembly?
  18. When you write a multilingual or multi-cultural application in .NET, and want to distribute the core application separately from the localized modules, the localized assemblies that modify the core application are called satellite assemblies.
  19. What is difference between Satellite Assembly and Public Assembly
  20. What is difference between delegates and events?
  21. What are Asynchronous Delegates?
  22. Can we implement Properties in Interface?
  23.  

.Net telephonic interview questions for 4+ Years of experience along with the skills C# .Net, OOPS Concept, J-Query, ASP.Net, SQL Server, Java Script, and WCF

1.         What is Asp.Net Page Life Cycle?
2.         What is polymorphism?
3.         How many types of polymorphisms are there?
4.         Is Is post back property is read only or write only?
5.         What are the Ajax controls available in Tool Box?
6.         What is partial rendering and full rendering?
7.         How to call java script from code behind?
8.         Can we can call server side events from Javascript give example
9.         What is the difference between java script and Jquery?
10.     Can we call Java script through Master Page?
11.     What is .Net Frame work?
12.     What is JIT?
13.     What is DLR from which frame work it is available?
14.     What is the extension of WCF Services?
15.     How to call WCF service in our project?
16.     How to Create a Proxy?
17.     What is application domain?
18.     How many types of state management techniques are there?
19.     Can we enable session?
20.     Can we disable view state?
21.     Why statement management techniques used in Asp.Net?
22.     What is the Data type of Is Post Back?
23.     Where application objects will store?


Wednesday, 11 June 2014

.Net Face to Face interview questions having 4+ Years of experience in the skills C# .Net, AJAX, JQuery, ASP.Net, SQL Server, Java Script, WCF and JSON


  1. What is end point?
  2. What is the Difference between web services and WCF Services?
  3. Which is better to use web service or WCF service and why?
  4. What is Polymorphism?
  5. Architecture of WCF Services
  6. How many types of bindings are there in .Net?
  7. Difference between Basic Http binding and HTTP Binding
  8. What are abstract Classes?
  9. How you have implemented WCF services in your project
  10. How to create proxy? How many types we can create a Proxy?
  11. How the WCF service can know from which binding the request is coming
  12. After creating proxy in WCF services what are the default settings of Web.Config
  13. What are the Behaviors in WCF?
  14. What is AJAX?
  15. Have you worked on Tool Kit in Ajax?
  16. What is JSON?
  17. Write how JSON will send Text
  18. Write Syntax to JSON
  19. What is Difference between JSON and JavaScript? Why we will use JSON in Asp.net Applications?
  20. What is the main purpose of JSON?
  21. Explain N-Tier Architecture
  22. How Can we know about whether the service is WCF service or not?
  23. How to call WCF service from client
  24. How many types of hosting available and difference between them?
  25. Write C# Coding to Bring Data Trough a table to Grid in Disconnected and Connected Architecture.

Saturday, 7 June 2014

.Net telephonic Face to Face interview questions having 4+ Years of experience in the skills C# .Net, ASP.Net, Sql Server, Java Script, Ajax ,WCF

  1. What CLR?
  2. What is Managed and Unmanaged code?
  3. What is overloading?
  4. What is the difference between interface and abstract class?
  5. We have a class   class a { Method1()}How to call that method without create object
  6. We have a class   class b{ Method1() }  that class not inherited by another class what is the answer
  7. What is session?
  8. How many types of state management techniques are there?
  9. What is assembly? What is the difference between them?
  10. What is public assembly?
  11. What GAC? Which tool used to copy the assembly to GAC?
  12. What is WCF? What are the Main components?
  13. How many contracts available in WCF Explain in details?
  14. What is end point Explain In detail In WCF?
  15. What is the Fault Contract?
  16. What the difference between store procedure and Function Process?
  17. What is the Normalization? How many types?
  18. Write the query 2nd highest salary?
  19. How to retrieve the Row No from table?
  20. What are constraints? How many types?

Friday, 6 June 2014

.Net telephonic Face to Face interview questions having 4+ Years of experience in the skills C# .Net, ASP.Net, Sql Server, Java Script, WCF

  1. Explain About Your Self?
  2. Explain your current Project?
  3. How to write a query in LINQ to find sum of a particular columns?
  4. What is EDM Technology in .Net?
  5. How to raise error in SQL Server?
  6. What is output parameter in SQL Server?
  7. How many output parameters we can create in a stored Procedure?
  8. What is Index in SQL Server?
  9. How many Clustered indexes we can define for a table
  10. How many non clustered indexes can we create for a table?What are generics?
  11. How to Create Generic class in C#? What are the uses of it?
  12. What are Delegates in Real time why to Define Delegate?
  13. What are contracts in WCF?
  14. How many types of contracts are there in WCF?
  15. How to consume a service in our application
  16. What is Data Contract? Why to use data contract?
  17. How many types of Bindings available in WCF which binding used in your project why?
  18. Do you know how to host service in WCF?
  19. How to raise error in stored procedure?
  20. What is Garbage Collector?
  21. How Garbage Collector know that method is not in use
  22. What is Difference between Finalize & Dispose?
  23. What is behavior in WCF Services?
  24. How to Use Behavior’s in WCF?
  25. What is Partial Class?  Why we use partial classes? Do You know anything about partial Classes