Tamil cinema News,Videos,Songs,Photos and Tailers :: Tamil Cinema Bazaar

Pages

Infolinks In Text Ads

Showing posts with label DotNet. Show all posts
Showing posts with label DotNet. Show all posts

Wednesday, 28 December 2011

Freshers Walk-In at DCKAP Technologies Chennai - BE / B.Tech / MCA : 2009 / 2010 / 2011 Passout

DCKAP Technologies (www.dckap.com)

(Freshers) Walk-In : BE / B.Tech / MCA : 2009 / 2010 / 2011 Passout @ Chennai

Job Position : Software Engineer - Trainee

Job Category : IT / Software

Walk-In Location : Chennai, Tamilnadu

Job Location : Chennai, Tamilnadu

Desired Qualification :
• BE / B.Tech / MCA
• 2009/2010/2011 passouts
• Aggregate of 65%

Desired Experience : 0 Years

Job Description :

• DCKAP is on the lookout for bright engineering graduates/postgraduates for "Software Engineer-Trainee" position.
• Yes! We are recruiting fresh talents and the talent acquisition team at DCKAP is calling new talents.
• BE/B.TECH/M.C.A Freshers (2009/2010/2011 passouts) with an aggregate of 65% may WALK IN WITH A COPY OF THE RESUME and we will walk you through the process!
• Selected candidates will be trained in latest technologies and deployed to work for our international projects.
• So come and join us to discover your skills and make a grand entry into the IT industry.

Please Carry (mandatory) :

• Updated Resume Copy
• A printout of this ChetanaS job posting
• Photo ID proof

Note: You can mention the reference as 'ChetanaS'.

Walk-In Date : On 7th & 8th January 2012 : 10.00 AM to 3.30 PM

Walk-In Venue :
DCKAP Technologies,
L-76 A, L Block, 21st Street,
Anna Nagar (East)
Chennai

How to reach: Anna Nagar Chinthamani Signal->Towards Valiammal School gate/Balaji Bhavan hotel->Move further straight ->Spencer’s daily to your left->Take the road to the opposite of Spencer’s daily ->End of the road to your left you see Kala’s Kalalaya/Mervin Nook Building->Take the left adjacent road and to your right you see DCKAP Technologies

Contact Person : Gowthami S (HR)

Contact Number : +91-44-26633535

Monday, 19 December 2011

GoSEO Freshers Off-Campus Web Masters @ Chennai | Place 4 Search

GoSEO (www.goseo.co.in)
- Exclusive Job for Chetanaites...

Dear ChetanaS,

We would like to publish below job requirement in your ChetanaSforum.com

(Freshers) Off-Campus : Web Masters @ Chennai

Note: This is NOT a direct Walk-In. You need to apply through ChetanaS at given Email Id & Only shortlisted candidates will be called for personal interview.

Note: This is a direct job with our company. There will NOT be any Training/Recruitment/Registration/Consulting fees collected from candidates before/after the placement.

Job Position : Web Master

Job Category : IT / Software

Interview Location : Chennai, Tamilnadu

Job Location : Chennai, Tamilnadu

Note: Chennai local candidates should only apply.

Desired Qualification : Any Graduate with above 70% in Academics

Desired Experience : 0 to 1 Years

Mandatory Skills : Basic knowledge in CSS, Photoshop, HTML, Java Script, Flash and Dreamweaver

Desired Skills :
• Basic knowledge in CSS, Photoshop, HTML, Java Script, Flash and Dreamweaver.
• Excellent Communication Skills
• Ability to handle projects independently.

Job Description :
• Website Content Management, Online Promotion, SEO, SEM and SMM

Note: Applications without COVER LETTER will NOT be considered for this recruitment.

..................................................

How to Apply for this Job ?

* This is NOT a direct Walk-In. You need to apply at given Email Id & Only shortlisted candidates will be called for test/interview.

* Please apply ONLY IF you have above mentioned skills. Clearly mention the same in your resume. Otherwise, your resume will NOT be considered.

If eligible, Please send your resume at : goseo_madhu@ChetanaSforum.com

Job Code : CHETANAS

Last Date to Apply : 20th January 2012

Please mention the Subject Line of your Email in the below format :

<Job Code> - <Job Position> - <Your Current Location> - <Qualification & Branch> - <Year of Passout> - <Aggregate Percentage in Graduation> - <Years of Experience> - <Technical Skills>

Examples :

CHETANAS - Web Master - Chennai - B.Tech (CSE) - 2011 - 75% - 0 Years - HTML, CSS, Photoshop, SEO

CHETANAS - Web Master - Chennai - B.Tech (CSE) - 2010 - 72% - 1 Years - HTML, CSS, Flash, SEO, SEM

* You must apply exactly in the above mentioned format only. Otherwise, resumes will NOT be considered.

SYNTEL FRESHERS Campus Recruitment Program for India @ All India

Syntel Ltd (www.syntelinc.com)
(Freshers) Off-Campus : Syntellect 2012 - Syntel's Campus Recruitment Program for India
click image to view full size

XERAGO Freshers Off-Campus : BE / B.Tech / MCA : .NET Programmers @ Chennai | Place 4 Search

XERAGO (www.xerago.com)
- Exclusive Job for Chetanaites...

Xerago is a unique amalgamation of knowledge professionals from varied domain and functional backgrounds. Fusing skills-sets, experience and creativity across business, technology and operations for verticals like banking, insurance and mutual funds; Xerago offers a basket of solutions based on tools, process automation and people services.

Dear ChetanaS,

We would like to publish below job requirement in your ChetanaSforum.com

(Freshers) Off-Campus : BE / B.Tech / MCA : .NET Programmers @ Chennai

Note: This is NOT a direct Walk-In. You need to apply through ChetanaS at given Email Id & Only shortlisted candidates will be called for personal interview.

Note: This is a direct job with our company. There will NOT be any Training/Recruitment/Registration/Consulting fees collected from candidates before/after the placement.

Job Position : .NET Trainee

Job Designation : Trainee Programmer

Job Category : IT / Software

Interview Location : Chennai, Tamilnadu

Job Location : Chennai, Tamilnadu

Note: Chennai local candidates should only apply.

Desired Qualification :
• BE / B.Tech / MCA
• Should have scored 60% above in 10th, 12th & BE/B.Tech/MCA

Desired Experience : 0 Years

Mandatory Skills : .NET

Desired Skills :
• Should have good knowledge in .NET (VB, ASP, C# & SQL SERVER)
• Good Knowledge in RDBMS and PL/SQL4
• Should be strong in Dotnet

Note: Candidates without knowledge in '.NET' - Please do NOT apply.

..................................................

How to Apply for this Job ?

* This is NOT a direct Walk-In. You need to apply at given Email Id & Only shortlisted candidates will be called for test/interview.

* Please apply ONLY IF you have above mentioned skills. Clearly mention the same in your resume. Otherwise, your resume will NOT be considered.

If eligible, Please send your resume at : xerago_arul@ChetanaSforum.com

Job Code : CHETANAS

Please mention the Subject Line of your Email in the below format :

<Job Code> - <Job Position> - <Your Current Location> - <Qualification & Branch> - <Year of Passout> - <Years of Experience> - <Technical Skills>

Examples :

CHETANAS - .NET Trainee - Chennai - B.Tech (CSE) - 2011 - 0 Years - .NET, VB, C#, SQL Server

CHETANAS - .NET Trainee - Chennai - B.Tech (CSE) - 2010 - 0 Years - .NET, ASP. C#, SQL Server

* You must apply exactly in the above mentioned format only. Otherwise, resumes will NOT be considered.

Friday, 4 November 2011

TextBox control key events in C#

Detect key events

Here we look at how you can read key down events in the TextBox control in Windows Forms using the C# language. The Windows Forms system provides several key-based events, and this tutorial uses the KeyDown event handler which is called before the key value actually is painted on the TextBox. You can cancel the key event in the KeyDown event handler as well, although this is not demonstrated. The program will display an alert when the Enter key is pressed, and an alternative alert message when the Escape key is pressed.
Windows Forms class that uses KeyDown on TextBox [C#]

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication20
{
    public partial class Form1 : Form
    {
 public Form1()
 {
     InitializeComponent();
 }

 private void textBox1_KeyDown(object sender, KeyEventArgs e)
 {
     //
     // Detect the KeyEventArg's key enumerated constant.
     //
     if (e.KeyCode == Keys.Enter)
     {
  MessageBox.Show("You pressed enter! Good job!");
     }
     else if (e.KeyCode == Keys.Escape)
     {
  MessageBox.Show("You pressed escape! What's wrong?");
     }
 }
    }
}
 
Keys enumeration. The Windows Forms platform provides a Keys enumeration that you can use to test individual key values. One of the simplest ways to test keys is to type "Keys" and press period, and then use the IntelliSense feature in Visual Studio to scroll through all the possible key values. Because the KeyCode value is of type Keys enum, you can use it as a switch evaluation expression for faster code as well.
Showing messages and dialogs. The above class text demonstrates the MessageBox.Show method, which is the easiest way to display a dialog box in the Windows Forms system.
 

Partial Classes, Structs and Methods in C# | Place 4 Search

C# Interview Questions on partial classes, structs and methods. 

 Place 4 Search
What is a partial class. Give an example?
A partial class is a class whose definition is present in 2 or more files. Each source file contains a section of the class, and all parts are combined when the application is compiled. To split a class definition, use the partial keyword as shown in the example below. Student class is split into 2 parts. The first part defines the study() method and the second part defines the Play() method. When we compile this program both the parts will be combined and compiled. Note that both the parts uses partial keyword and public access modifier.
Place 4 Search
using System;
namespace PartialClass
{
  public partial class Student
  {
    public void Study()
    {
      Console.WriteLine("I am studying");
    }
  }
  public partial class Student
  {
    public void Play()
    {
      Console.WriteLine("I am Playing");
    }
  }
  public class Demo
  {
    public static void Main()
    {
      Student StudentObject = new Student();
      StudentObject.Study();
      StudentObject.Play();
    }
  }
}

Place 4 Search
It is very important to keep the following points in mind when creating partial classes.
1. All the parts must use the partial keyword.
2. All the parts must be available at compile time to form the final class.
3. All the parts must have the same access modifiers - public, private, protected etc.
4. Any class members declared in a partial definition are available to all the other parts.
5. The final class is the combination of all the parts at compile time.
Place 4 Search
What are the advantages of using partial classes?
1. When working on large projects, spreading a class over separate files enables multiple programmers to work on it at the same time.
Place 4 Search
2. When working with automatically generated source, code can be added to the class without having to recreate the source file. Visual Studio uses this approach when it creates Windows Forms, Web service wrapper code, and so on. You can create code that uses these classes without having to modify the file created by Visual Studio.
Place 4 Search
Is it possible to create partial structs, interfaces and methods?
Yes, it is possible to create partial structs, interfaces and methods. We can create partial structs, interfaces and methods the same way as we create partial classes.
Place 4 Search
Will the following code compile?
using System;
namespace PartialClass
{
  public partial class Student
  {
    public void Study()
    {
      Console.WriteLine("I am studying");
    }
  }
  public abstract partial class Student
  {
    public void Play()
    {
      Console.WriteLine("I am Playing");
    }
  }
  public class Demo
  {
    public static void Main()
    {
      Student StudentObject = new Student();
    }
  }
}

Place 4 Search
No, a compile time error will be generated stating "Cannot create an instance of the abstract class or interface "PartialClass.Student". This is because, if any part is declared abstract, then the whole class becomes abstract. Similarly if any part is declared sealed, then the whole class becomes sealed and if any part declares a base class, then the whole class inherits that base class.

Can you create partial delegates and enumerations?
No, you cannot create partial delegates and enumerations.

Can different parts of a partial class inherit from different interfaces?
Yes, different parts of a partial class can inherit from different interfaces.
Place 4 Search
Can you specify nested classes as partial classes?
Yes, nested classes can be specified as partial classes even if the containing class is not partial. An example is shown below.
Place 4 Search
class ContainerClass
{
  public partial class Nested
  {
    void Test1() { }
  }
  public partial class Nested
  {
    void Test2() { }
  }
}

Place 4 Search
How do you create partial methods?
To create a partial method we create the declaration of the method in one part of the partial class and implementation in the other part of the partial class. The implementation is optional. If the implementation is not provided, then the method and all the calls to the method are removed at compile time. Therefore, any code in the partial class can freely use a partial method, even if the implementation is not supplied. No compile-time or run-time errors will result if the method is called but not implemented. In summary a partial method declaration consists of two parts. The definition, and the implementation. These may be in separate parts of a partial class, or in the same part. If there is no implementation declaration, then the compiler optimizes away both the defining declaration and all calls to the method.
Place 4 Search
The following are the points to keep in mind when creating partial methods.
1. Partial method declarations must begin partial keyword.
2. The return type of a partial method must be void.
3. Partial methods can have ref but not out parameters.
4. Partial methods are implicitly private, and therefore they cannot be virtual.
5. Partial methods cannot be extern, because the presence of the body determines whether they are defining or implementing.
Place 4 Search
What is the use of partial methods?
Partial methods can be used to customize generated code. They allow for a method name and signature to be reserved, so that generated code can call the method but the developer can decide whether to implement the method. Much like partial classes, partial methods enable code created by a code generator and code created by a human developer to work together without run-time costs.
Place 4 Search

Difference between EXE and DLL | Place 4 Search

Difference between EXE and DLL

 Place 4 Search
1. .EXE is an executable file and can run by itself as an application, where as .DLL is usullay consumed by a .EXE or by another .DLL and we cannot run or execute .DLL directly.

2. For example, In .NET, compiling a Console Application or a Windows Application generates .EXE, where as compiling a Class Library Project or an ASP.NET web application generates .DLL. In .NET framework, both .EXE and .DLL are called as assemblies.

3. .DLL's can be reused, where as .EXE's cannot be reused.

4. .EXE stands for executable, and .DLL stands for Dynamic Link Library
 

Place 4 Search

New Features Introduced in c# 4.0 | Place 4 Search

What are the new features introduced in c# 4.0?
Place 4 Search
This is very commonly asked c# interview question. This question is basically asked to check, if you are passionate about catching up with latest technological advancements. The list below shows a few of the new features introduced in c# 4.0. If you are aware of any other new features, please submit those using the from at the end of this post.

1. Optional and Named Parameters
2. COM Interoperability Enhancements
3. Covariance and Contravariance
4. Dynamic Type Introduction

Place 4 Search

Monday, 26 September 2011

Basic and Important Dot .Net Interview Questions and Answers


Basic and Important Dot .Net Interview Questions and Answers
  1. What is an application server?
    As defined in Wikipedia, an application server is a software engine that delivers applications to client computers or devices. The application server runs your server code. Some well known application servers are IIS (Microsoft), WebLogic Server (BEA), JBoss (Red Hat), WebSphere (IBM).
  2. What is a base class and derived class?
    A class is a template for creating an object. The class from which other classes derive fundamental functionality is called a base class. For e.g. If Class Y derives from Class X, then Class X is a base class.

    The class which derives functionality from a base class is called a derived class. If Class Y derives from Class X, then Class Y is a derived class.
  3. What is an extender class?
    An extender class allows you to extend the functionality of an existing control. It is used in Windows forms applications to add properties to controls.

    A demonstration of extender classes can be found over here.
  4. What is inheritance?
    Inheritance represents the relationship between two classes where one type derives functionality from a second type and then extends it by adding new methods, properties, events, fields and constants.

    C# support two types of inheritance:
    · Implementation inheritance
    · Interface inheritance
  5. What is implementation and interface inheritance?
    When a class (type) is derived from another class(type) such that it inherits all the members of the base type it is Implementation Inheritance.

    When a type (class or a struct) inherits only the signatures of the functions from another type it is Interface Inheritance.

    In general Classes can be derived from another class, hence support Implementation inheritance. At the same time Classes can also be derived from one or more interfaces. Hence they support Interface inheritance.
    Source: Exforsys.
  6. What is inheritance hierarchy?
    The class which derives functionality from a base class is called a derived class. A derived class can also act as a base class for another class. Thus it is possible to create a tree-like structure that illustrates the relationship between all related classes. This structure is known as the inheritance hierarchy.
  7. How do you prevent a class from being inherited?
    In VB.NET you use the NotInheritable modifier to prevent programmers from using the class as a base class. In C#, use the sealed keyword.
  8. When should you use inheritance?
Inheritance is a useful programming concept, but it is easy to use inappropriately. Often interfaces do the job better. This topic and When to Use Interfaces help you understand when each approach should be used.Inheritance is a good choice when:
                                                               i.      Your inheritance hierarchy represents an "is-a" relationship and not a "has-a" relationship.
                                                             ii.      You can reuse code from the base classes.
                                                            iii.      You need to apply the same class and methods to different data types.
                                                           iv.      The class hierarchy is reasonably shallow, and other developers are not likely to add many more levels.
                                                            v.      You want to make global changes to derived classes by changing a base class.
  1. Define Overriding?
    Overriding is a concept where a method in a derived class uses the same name, return type, and arguments as a method in its base class. In other words, if the derived class contains its own implementation of the method rather than using the method in the base class, the process is called overriding.
  2. Can you use multiple inheritance in .NET?
    .NET supports only single inheritance. However the purpose is accomplished using multiple interfaces.
  3. Why don’t we have multiple inheritance in .NET?
    There are several reasons for this. In simple words, the efforts are more, benefits are less. Different languages have different implementation requirements of multiple inheritance. So in order to implement multiple inheritance, we need to study the implementation aspects of all the languages that are CLR compliant and then implement a common methodology of implementing it. This is too much of efforts. Moreover multiple interface inheritance very much covers the benefits that multiple inheritance has.
  4. What is an Interface?
    An interface is a standard or contract that contains only the signatures of methods or events. The implementation is done in the class that inherits from this interface. Interfaces are primarily used to set a common standard or contract.
  5. When should you use abstract class vs interface or What is the difference between an abstract class and interface?
    I would suggest you to read this. There is a good comparison given over here.
  6. What are events and delegates?
    An event is a message sent by a control to notify the occurrence of an action. However it is not known which object receives the event. For this reason, .NET provides a special type called Delegate which acts as an intermediary between the sender object and receiver object.
  7. What is business logic?
    It is the functionality which handles the exchange of information between database and a user interface.
  8. What is a component?
    Component is a group of logically related classes and methods. A component is a class that implements the IComponent interface or uses a class that implements IComponent interface.
  9. What is a control?
    A control is a component that provides user-interface (UI) capabilities.
  10. What are the differences between a control and a component?
    The differences can be studied over here.
  11. What are design patterns?
    Design patterns are common solutions to common design problems.
  12. What is a connection pool?
    A connection pool is a ‘collection of connections’ which are shared between the clients requesting one. Once the connection is closed, it returns back to the pool. This allows the connections to be reused.
  13. What is a flat file?
    A flat file is the name given to text, which can be read or written only sequentially.
  14. What are functional and non-functional requirements?
    Functional requirements defines the behavior of a system whereas non-functional requirements specify how the system should behave; in other words they specify the quality requirements and judge the behavior of a system.
    E.g.
    Functional - Display a chart which shows the maximum number of products sold in a region.
    Non-functional – The data presented in the chart must be updated every 5 minutes.
  15. What is the global assembly cache (GAC)?
    GAC is a machine-wide cache of assemblies that allows .NET applications to share libraries. GAC solves some of the problems associated with dll’s (DLL Hell).
  16. What is a stack? What is a heap? Give the differences between the two?
    Stack is a place in the memory where value types are stored. Heap is a place in the memory where the reference types are stored. Check this link for the differences.
  17. What is instrumentation?
    It is the ability to monitor an application so that information about the application’s progress, performance and status can be captured and reported.
  18. What is code review?
    The process of examining the source code generally through a peer, to verify it against best practices.
  19. What is logging?
    Logging is the process of persisting information about the status of an application.
  20. What are mock-ups?
    Mock-ups are a set of designs in the form of screens, diagrams, snapshots etc., that helps verify the design and acquire feedback about the application’s requirements and use cases, at an early stage of the design process.
  21. What is a Form?
    A form is a representation of any window displayed in your application. Form can be used to create standard, borderless, floating, modal windows.
  22. What is a multiple-document interface(MDI)?
    A user interface container that enables a user to work with more than one document at a time. E.g. Microsoft Excel.
  23. What is a single-document interface (SDI) ?
    A user interface that is created to manage graphical user interfaces and controls into single windows. E.g. Microsoft Word
  24. What is BLOB ?
    A BLOB (binary large object) is a large item such as an image or an exe represented in binary form.
  25. What is ClickOnce?
    ClickOnce is a new deployment technology that allows you to create and publish self-updating applications that can be installed and run with minimal user interaction.
  26. What is object role modeling (ORM) ?
    It is a logical model for designing and querying database models. There are various ORM tools in the market like CaseTalk, Microsoft Visio for Enterprise Architects, Infagon etc.
  27. What is a private assembly?
    A private assembly is local to the installation directory of an application and is used only by that application.
  28. What is a shared assembly?
    A shared assembly is kept in the global assembly cache (GAC) and can be used by one or more applications on a machine.
  29. What is the difference between user and custom controls?
    User controls are easier to create whereas custom controls require extra effort.
    User controls are used when the layout is static whereas custom controls are used in dynamic layouts.
    A user control cannot be added to the toolbox whereas a custom control can be.
    A separate copy of a user control is required in every application that uses it whereas since custom controls are stored in the GAC, only a single copy can be used by all applications.
  30. Where do custom controls reside?
    In the global assembly cache (GAC).
  31. What is a third-party control ?
    A third-party control is one that is not created by the owners of a project. They are usually used to save time and resources and reuse the functionality developed by others (third-party).
  32. What is a binary formatter?
    Binary formatter is used to serialize and deserialize an object in binary format.
  33. What is Boxing/Unboxing?
    Boxing is used to convert value types to object.
    E.g. int x = 1;
    object obj = x ;
    Unboxing is used to convert the object back to the value type.
    E.g. int y = (int)obj;
    Boxing/unboxing is quiet an expensive operation.
  34. What is a COM Callable Wrapper (CCW)?
    CCW is a wrapper created by the common language runtime(CLR) that enables COM components to access .NET objects.
  35. What is a Runtime Callable Wrapper (RCW)?
    RCW is a wrapper created by the common language runtime(CLR) to enable .NET components to call COM components.
  36. What is a digital signature?
    A digital signature is an electronic signature used to verify/gurantee the identity of the individual who is sending the message.
  37. What is garbage collection?
    Garbage collection is the process of managing the allocation and release of memory in your applications. Read this article for more information.
  38. What is globalization?
    Globalization is the process of customizing applications that support multiple cultures and regions.
  39. What is localization?
    Localization is the process of customizing applications that support a given culture and regions.

Saturday, 17 September 2011

DotNet Framework Interview Questions and Answers - 1


1. What is CLR? 

The .NET Framework provides a runtime environment called the Common Language Runtime or CLR (similar to the Java Virtual Machine or JVM in Java), which handles the execution of code and provides useful services for the implementation of the program. CLR takes care of code management at program execution and provides various beneficial services such as memory management, thread management, security management, code verification, compilation, and other system services. The managed code that targets CLR benefits from useful features such as cross-language integration, cross-language exception handling, versioning, enhanced security, deployment support, and debugging. 

 DotNet Framework Interview Questions and Answers

2. What is CTS? 

Common Type System (CTS) describes how types are declared, used and managed in the runtime and facilitates cross-language integration, type safety, and high performance code execution.

3. What is CLS? 

The CLS is simply a specification that defines the rules to support language integration in such a way that programs written in any language, yet can interoperate with one another, taking full advantage of inheritance, polymorphism, exceptions, and other features. These rules and the specification are documented in the ECMA proposed standard document, "Partition I Architecture"


 DotNet Framework Interview Questions and Answers

4. What is CLI? 

The CLI is a set of specifications for a runtime environment, including a common type system, base class library, and a machine-independent intermediate code known as the Common Intermediate Language (CIL). (Source: Wikipedia.)

5. Explain Namespace
 
Namespaces are logical groupings of names used within a program. There may be multiple namespaces in a single application code, grouped based on the identifiers? use. The name of any given identifier must appear only once in its namespace.


 DotNet Framework Interview Questions and Answers

6. Explain Assembly and Manifest 

An assembly is a collection of one or more files and one of them (DLL or EXE) contains a special metadata called Assembly Manifest. The manifest is stored as binary data and contains details like versioning requirements for the assembly, the author, security permissions, and list of files forming the assembly. An assembly is created whenever a DLL is built. The manifest can be viewed programmatically by making use of classes from the System.Reflection namespace. The tool Intermediate Language Disassembler (ILDASM) can be used for this purpose. It can be launched from the command prompt or via Start> Run.


 DotNet Framework Interview Questions and Answers

7. What is Shadow Copy? 

In order to replace a COM component on a live web server, it was necessary to stop the entire website, copy the new files and then restart the website. This is not feasible for the web servers that need to be always running. .NET components are different. They can be overwritten at any time using a mechanism called Shadow Copy. It prevents the Portable Executable (PE) files like DLLs and EXEs from being locked. Whenever new versions of the PEs are released, they are automatically detected by the CLR and the changed components will be automatically loaded. They will be used to process all new requests not currently executing, while the older version still runs the currently executing requests. By bleeding out the older version, the update is completed.


 DotNet Framework Interview Questions and Answers

8. What is DLL Hell?
 
DLL hell is the problem that occurs when an installation of a newer application might break or hinder other applications as newer DLLs are copied into the system and the older applications do not support or are not compatible with them. .NET overcomes this problem by supporting multiple versions of an assembly at any given time. This is also called side-by-side component versioning.


 DotNet Framework Interview Questions and Answers

9. Explain Web Services
 
Web services are programmable business logic components that provide access to functionality through the Internet. Standard protocols like HTTP can be used to access them. Web services are based on the Simple Object Access Protocol (SOAP), which is an application of XML. Web services are given the .asmx extension.


 DotNet Framework Interview Questions and Answers

10. Explain Windows Forms

Windows Forms is employed for developing Windows GUI applications. It is a class library that gives developers access to Windows Common Controls with rich functionality. It is a common GUI library for all the languages supported by the .NET Framework.


 DotNet Framework Interview Questions and Answers

11. Define Boxing and UnBoxing
 
C# provides us with Value types and Reference Types. Value Types are stored on the stack and Reference types are stored on the heap. The conversion of value type to reference type is known as boxing and converting reference type back to the value type is known as unboxing.


 DotNet Framework Interview Questions and Answers

12. Define Value Types and Reference Types 

Value Types Value types are primitive types that are mapped directly to the FCL. Like Int32 maps to System.Int32, double maps to System.double. All value types are stored on stack and all the value types are derived from System.ValueType. All structures and enumerated types that are derived from System.ValueType are created on stack, hence known as ValueType. Reference TypesReference Types are different from value types in such a way that memory is allocated to them from the heap. All the classes are of reference type. C# new operator returns the memory address of the object.


 DotNet Framework Interview Questions and Answers

13. What are Service Oriented Architectures (SOA)? 

SOA describes an information technology architecture that enables distributed computing environments with many different types of computing platforms and applications. Web services are one of the technologies that help make SOAs possible. As a concept, SOA has been around since the 1980s, but many early IT technologies failed to achieve the goal of linking different types of applications and systems. By making early investments with .NET, Microsoft has helped provide the building blocks that today are putting many enterprise customers on the path to successfully implementing SOAs. With SOAs, companies can benefit from the unimpeded flow of information that is the hallmark of connected systems.


 DotNet Framework Interview Questions and Answers

14. What are Web Services Enhancements for Microsoft .NET (WSE)? 

WSE is an add-on to Microsoft Visual Studio .NET and the Microsoft .NET Framework that helps developers build greater security features into Web services using the latest Web services protocol specifications and standards. With WSE 2.0 developers can create security-enhanced connected systems that help improve business processes within?and beyond?corporate trust boundaries and create new revenue-generating opportunities.


 DotNet Framework Interview Questions and Answers

15. What is a Smart Client? 

Smart clients are client applications that consume Web services and reside on user hardware such as desktop PCs, laptops, Pocket PCs, and Smartphones. They are easily deployed and managed and provide an adaptive, responsive, and rich interactive experience by taking advantage of the computing resources on the device and intelligently connecting to distributed data sources.


 DotNet Framework Interview Questions and Answers

16. What is .NET Passport? 

.NET Passport is a Web-based service that is designed to make signing in to Web sites fast and easy. Passport enables participating sites to authenticate a user with a single set of sign-in credentials, alleviating the need for users to remember numerous passwords and user names.


 DotNet Framework Interview Questions and Answers

17. Does C# support multiple inheritance? 

No, use interfaces instead


 DotNet Framework Interview Questions and Answers

18. What?s the implicit name of the parameter that gets passed into the class? set method? 

Value, and its datatype depends on whatever variable we?re changing


 DotNet Framework Interview Questions and Answers

19. What?s the top .NET class that everything is derived from? 

System.Object.


 DotNet Framework Interview Questions and Answers

20. How?s method overriding different from overloading? 

When overriding, you change the method behavior for a derived class. Overloading simply involves having a method with the same name within the class.


 DotNet Framework Interview Questions and Answers

21. What is strong name? 

A name that consists of an assembly's identity?its simple text name, version number, and culture information (if provided)?strengthened by a public key and a digital signature generated over the assembly.


 DotNet Framework Interview Questions and Answers

22. What is Application Domain? 

The primary purpose of the AppDomain is to isolate an application from other applications. Win32 processes provide isolation by having distinct memory address spaces. This is effective, but it is expensive and doesn't scale well. The .NET runtime enforces AppDomain isolation by keeping control over the use of memory - all memory in the AppDomain is managed by the .NET runtime, so the runtime can ensure that AppDomains do not access each other's memory. Objects in different application domains communicate either by transporting copies of objects across application domain boundaries, or by using a proxy to exchange messages.


 DotNet Framework Interview Questions and Answers

23. What is serialization in .NET? What are the ways to control serialization? 

Serialization is the process of converting an object into a stream of bytes. Deserialization is the opposite process of creating an object from a stream of bytes. Serialization/Deserialization is mostly used to transport objects (e.g. during remoting), or to persist objects (e.g. to a file or database).Serialization can be defined as the process of storing the state of an object to a storage medium. During this process, the public and private fields of the object and the name of the class, including the assembly containing the class, are converted to a stream of bytes, which is then written to a data stream. When the object is subsequently deserialized, an exact clone of the original object is created. Binary serialization preserves type fidelity, which is useful for preserving the state of an object between different invocations of an application. For example, you can share an object between different applications by serializing it to the clipboard. You can serialize an object to a stream, disk, memory, over the network, and so forth. Remoting uses serialization to pass objects "by value" from one computer or application domain to another. XML serialization serializes only public properties and fields and does not preserve type fidelity. This is useful when you want to provide or consume data without restricting the application that uses the data. Because XML is an open standard, it is an attractive choice for sharing data across the Web. SOAP is an open standard, which makes it an attractive choice. There are two separate mechanisms provided by the .NET class library - XmlSerializer and SoapFormatter/BinaryFormatter. Microsoft uses XmlSerializer for Web Services, and uses SoapFormatter/BinaryFormatter for remoting. Both are available for use in your own code.


 DotNet Framework Interview Questions and Answers

24. What's an interface class? 

It's an abstract class with public abstract methods all of which must be implemented in the inherited classes


 DotNet Framework Interview Questions and Answers

25. What is the transport protocol?

you use to call a Web service SOAP is the preferred protocol

 DotNet Framework Interview Questions and Answers


Friday, 16 September 2011

DotNet Framework Interview Questions and Answers - 2

26. What are Satellite Assemblies? 

Satellite assemblies are often used to deploy language-specific resources for an application. These language-specific assemblies work in side-by-side execution because the application has a separate product ID for each language and installs satellite assemblies in a language-specific subdirectory for each language. When uninstalling, the application removes only the satellite assemblies associated with a given language and .NET Framework version. No core .NET Framework files are removed unless the last language for that .NET Framework version is being removed.


 DotNet Framework Interview Questions and Answers


27. What is Global Assembly Cache (GAC) and what is the purpose of it? 

Each computer where the common language runtime is installed has a machine-wide code cache called the global assembly cache. The global assembly cache stores assemblies specifically designated to be shared by several applications on the computer. You should share assemblies by installing them into the global assembly cache only when you need to.

 DotNet Framework Interview Questions and Answers

28. What is Reflection in .NET?

All .NET compilers produce metadata about the types defined in the modules they produce. This metadata is packaged along with the module (modules in turn are packaged together in assemblies), and can be accessed by a mechanism called reflection. The System.Reflection namespace contains classes that can be used to interrogate the types for a module/assembly.

 DotNet Framework Interview Questions and Answers

29. What is the managed and unmanaged code in .net? 

The .NET Framework provides a run-time environment called the Common Language Runtime, which manages the execution of code and provides services that make the development process easier. Compilers and tools expose the runtime's functionality and enable you to write code that benefits from this managed execution environment. Code that you develop with a language compiler that targets the runtime is called managed code; it benefits from features such as cross-language integration, cross-language exception handling, enhanced security, versioning and deployment support, a simplified model for component interaction, and debugging and profiling services

 DotNet Framework Interview Questions and Answers

30. What are the access-specifiers available in c#? 

Private, Protected, Public, Internal, Protected Internal.


 DotNet Framework Interview Questions and Answers


31. Difference between OLEDB Provider and SqlClient ? 

SQLClient .NET classes are highly optimized for the .net / sqlserver combination and achieve optimal results. The SqlClient data provider is fast. It's faster than the Oracle provider, and faster than accessing database via the OleDb layer. It's faster because it accesses the native library (which automatically gives you better performance), and it was written with lots of help from the SQL Server team.


 DotNet Framework Interview Questions and Answers


32. Differences between dataset.clone and dataset.copy? 

Clone - Copies the structure of the DataSet, including all DataTable schemas, relations, and constraints.Does not copy any data . Copy - Copies both the structure and data for this DataSet.

 DotNet Framework Interview Questions and Answers

33. In a Webservice, need to display 10 rows from a table. So DataReader or DataSet is best choice?
 
WebService will support only DataSet.


 DotNet Framework Interview Questions and Answers


34. What is Remoting? 

The process of communication between different operating system processes, regardless of whether they are on the same computer. The .NET remoting system is an architecture designed to simplify communication between objects living in different application domains, whether on the same computer or not, and between different contexts, whether in the same application domain or not.

 DotNet Framework Interview Questions and Answers

35. What?s the difference between System.String and System.StringBuilder classes? 

System.String is immutable; System.StringBuilder was designed with the purpose of having a mutable string where a variety of operations can be performed.


 DotNet Framework Interview Questions and Answers

36. What?s a delegate?
 
A delegate object encapsulates a reference to a method. In C++ they were referred to as function pointers.


 DotNet Framework Interview Questions and Answers

37. What?s the implicit name of the parameter that gets passed into the class? set method? 

Value, and its datatype depends on whatever variable we?re changing.


 DotNet Framework Interview Questions and Answers


38. How do you inherit from a class in C#? 

Place a colon and then the name of the base class. Notice that it?s double colon in C++.

 DotNet Framework Interview Questions and Answers

39. Does C# support multiple inheritance? 

No, use interfaces instead.

 DotNet Framework Interview Questions and Answers

40. When you inherit a protected class-level variable, who is it available to? 

Classes in the same namespace.


 DotNet Framework Interview Questions and Answers

41. Are private class-level variables inherited? 
 
Yes, but they are not accessible, so looking at it you can honestly say that they are not inherited. But they are.

 DotNet Framework Interview Questions and Answers

42. Describe the accessibility modifier protected internal. 

It's available to derived classes and classes within the same Assembly (and naturally from the base class it?s declared in).


 DotNet Framework Interview Questions and Answers


43. C# provides a default constructor for me. I write a constructor that takes a string as a parameter, but want to keep the no parameter one. How many constructors should I write? 

Two. Once you write at least one constructor, C# cancels the freebie constructor, and now you have to write one yourself, even if there?s no implementation in it.


 DotNet Framework Interview Questions and Answers

44. How?s method overriding different from overloading? 

When overriding, you change the method behavior for a derived class. Overloading simply involves having a method with the same name within the class.


 DotNet Framework Interview Questions and Answers


45. What does the keyword virtual mean in the method definition? 

The method can be over-ridden.


 DotNet Framework Interview Questions and Answers

46. Can you declare the override method static while the original method is non-static? 

No, you can?t, the signature of the virtual method must remain the same, only the keyword virtual is changed to keyword override.


 DotNet Framework Interview Questions and Answers


47. Can you override private virtual methods? 

No, moreover, you cannot access private methods in inherited classes, have to be protected in the base class to allow any sort of access.

 DotNet Framework Interview Questions and Answers

48. Can you prevent your class from being inherited and becoming a base class for some other classes? 

Yes, that?s what keyword sealed in the class definition is for. The developer trying to derive from your class will get a message: cannot inherit from Sealed class WhateverBaseClassName. It?s the same concept as final class in Java.


 DotNet Framework Interview Questions and Answers


49. Can you allow class to be inherited, but prevent the method from being over-ridden?

Yes, just leave the class public and make the method sealed.

 DotNet Framework Interview Questions and Answers

50. What?s an abstract class? 

A class that cannot be instantiated. A concept in C++ known as pure virtual method. A class that must be inherited and have the methods over-ridden. Essentially, it?s a blueprint for a class without any implementation.

 DotNet Framework Interview Questions and Answers

Blog Archive