A reader sent in the list of open-ended .NET interview questions.
- What is the difference between VB 6 and VB.NET?
- What are the authentication methods in .NET?
- What’s the use of formatters in .NET?
- What is Serialization in .NET?
- How is Threading done in .NET?
- Differences between Namespace, Class, Assembly?
- What’s the use of System.Diagnostics.Process class?
38 Comments on Open-ended .NET questions
Answer for Ques #7. Provides access to local and remote processes and enables you to start and stop local system processes.
Difference between VB6 and VB.Net
vb.net
1. VB.net is object oriented
2. VB.Net can be used in Managed Code
3. It supports inheritance, implements
Difference between VB6 and VB.Net
vb.net
1. VB.net is object oriented
2. VB.Net can be used in Managed Code
3. It supports inheritance, implements
i want interview questions in dot net techonolgy
hi
this is good information for the programmers and the persons who are looking for jobs.
Differences between VB and VB.net
VB
_________________________________________
1,Object-based Language
2,Doesnot support Threading
3,Not powerful Exception handling
mechanism
4,Doesnot having support for the
console based applications
5,Cannot use more than one version
of com objects in vb application
called DLL error
6,Doesnot support for the Disconnected
data source.
VB.Net
__________________________
1,Object-oriented Language
2,supports Threading
3,powerful Exception handling
mechanism
4,having support for the
console based applications
5,More than one version of
dll is supported
6,supports the Disconnected
data source by using Dataset class
What is Serialization in .NET?
The serialization is the process of converting the objects into stream of bytes.
they or used for transport the objects(via remoting) and persist objects(via files and databases)
What is use of System.Diagnostics.Process class?
By using System.Diagnostics.Process class, we can provide access to the files which are presented in the local and remote system.
Example: System.Diagnostics.Process(”c:\mlaks\example.txt”) — local file
System.Diagnostics.Process(”http://www.mlaks.com\example.txt”) — remote file
difference between VB6 and VB.NET
VB:
1. Object-based language
2. Does not support inheritance
3. ADO.Net does not give support for disconnected data architecture
4. No interoperability function
5. No support for threading
VB.Net
1. Object-Oriented Programming lanugage
2. ADO.Net gives support for disconnected data architecture
3. It provides interoperability
4. It uses managed code
5. supports threading
6. provides access to third-party controls like COM, DCOM
what are the authentication methods in .NET?
Ans:
1. Windows: Basic, digest or Integrated windows authentication
2. Microsoft passport Authentication
3. Forms Authentication
4. Client Certificate Authentication
Dear Provider,
Thanx a lot for such a helpful techinterview questions with andwers which helps everyone to get rid of books.
Regards,
Mitul.
Dear Tech,
this is sriram. one suggestion that, why cont you add some info/questions about infragitics related to .NET,Java,.. Because this is one of the requirements in companies…
If you do so.. I will be thank full and all others may get gained to this… Even many of the members dont know about this.. And they will get known to this.. If you do so…
OK
Thanking you,
-sriram
What is the difference between VB 6 and VB.NET?
1.The concept of the complete flow of execution of a program from start to finish: Visual Basic
hides this aspect of programs from you, so that the only elements of a Visual Basic program you
code are the event handlers and any methods in class modules. C# makes the complete program
available to you as source code. The reason for this has to do with the fact that C# can be seen,
philosophically, as next-generation C++. The roots of C++ go back to the 1960s and predate windowed
user interfaces and sophisticated operating systems. C++ evolved as a low-level, closeto-
the-machine, all-purpose language. To write GUI applications with C++ meant that you had
to invoke the system calls to create and interact with the windowed forms. C# has been
designed to build on this tradition while simplifying and modernizing C++, to combine the
low-level performance benefits of C++ with the ease of coding in Visual Basic. Visual Basic, on
the other hand, is designed specifically for rapid application development of Windows GUI
applications. For this reason, in Visual Basic all the GUI boilerplate code is hidden, and all the
Visual Basic programmer implements are the event handlers. In C# on the other hand, this boilerplate
code is exposed as part of your source code.
2. Classes and inheritance: C# is a genuine object-oriented language, unlike Visual Basic, requiring
all code to be a part of a class. It also includes extensive support for implementation inheritance.
Indeed, most well-designed C# programs will be very much designed around this form of
inheritance, which is completely absent in Visual Basic.
Do not know who has made the website but has a free ebook for dot net interview questions
http://www.geocities.com/dotnetinterviews/
i have cleared all my interview from the above link.
What is Serialization in .NET?
When developing smaller applications that do not have a database (or other formal storage mechanism) or data that doesn’t need to be stored in a database (such as the state of a web application), you often still would like to save the data for later retrieval. There are many ways to do this, but many of them are subject to a lot of extra code (work) and extra time spent debugging. With .NET, there is now an easy way to add this functionality to your code with only a few lines of easily tested code. This easy way is called serialization.
Serialization is the process of storing an object, including all of its public and private fields, to a stream. Deserialization is the opposite – restoring an object’s field values from a stream. The stream is generally in the form of a FileStream, but does not have to be. It could be a memory stream or any other object that is of type IO.Stream. The format can be anything from XML to binary to SOAP.
There are 4 types of authentications.
1.WINDOWS AUTHENTICATION
2.FORMS AUTHENTICATION
3.PASSPORT AUTHENTICATION
4.NONE/CUSTOM AUTHENTICATION
The authentication option for the ASP.NET application is specified by using the tag in the Web.config file, as shown below:
other authentication options
1. WINDOWS AUTHENTICATION Schemes
I. Integrated Windows authentication
II. Basic and basic with SSL authentication
III. Digest authentication
IV. Client Certificate authentication
2. FORMS AUTHENTICATION
You, as a Web application developer, are supposed to develop the Web page and authenticate the user by checking the provided user ID and password against some user database
3.PASSPORT AUTHENTICATION
A centralized service provided by Microsoft, offers a single logon point for clients. Unauthenticated users are redirected to the Passport site
4 NONE/CUSTOM AUTHENTICATION:
If we don’t want ASP.NET to perform any authentication, we can set the authentication mode to “none”.
The reason behind this decision could be:
We don’t want to authenticate our users, and our Web site is open for all to use.
We want to provide our own custom authentication
If you have any queries related to the above ans reply me on sachinbdoshi@gmail.com
Any one Please let me know How to change font style(Verdana to Arial) and size for a label control thru code in VB.NET?
hello answer to question 1 vb.net use console application.
WHY YOU USE VB.NET LANGUAGE INSTEAD OF OTHER LANGUAGES. WHAT ARE MAIN DIFF BETWEEN VB.NET AND OTHER LANGUAGES
Some clarification on what Object-Based means as compared to an Object oriented system
Object based is a limited version of Object oriented, ex. object based does not support inheritance, polymorphism.
We know the features of object oriented a system, don’t we? :-)
How to achieve Polymorphism in VB.Net?
Whats the difference b/n class ana interfaces?
Difference Abstract class and Interface
Abstract class: This class has abstract methods (no body). This class cannot be instantiated. One needs to provide the implementation of the methods by overriding them in the derived class. No Multiple Inheritance.
Interfaces: Interface class contains all abstract methods which are public by default. All of these methods must be implemented in the derived class. One can inherit from from more than one interface thus provides for Multiple Inheritance.
re-clarification of object based:
VB6 DOES support polymorphism and interface inheritance. It also supports the “Implements” keyword. What is not supported in vb6 is implementation inheritance.
Also, from above, vb6 DOES “provides access to third-party controls like COM, DCOM ”
That is not anything new in .NET.
How to achieve Polymorphism in VB.Net?
we can achieve polymarphism in .Net i.e Compile time polymarphism and Runtime polymarphism. Compiletime Polymarphism achieved by method overloading. Runtime polymarphism achieved by Early Binding or Late Binding. Provide the function pointer to the object at compile time called as Early Binding.
provide the function pointer to the object at runtime called as Late Binding
class emp having the method display()
class dept having the method display()
create objects as in the main function
// Early binding
dim obj as new emp
dim ob as new dept
obj.display()-to call the display method of emp class
ob.display-to call the display method of the dept class
// Late binding
create object in the main class as
object obj
obj=new emp
obj.display()-to call the display of emp class
obj=new dept
obj.display()-to call the display of dept class
I am writing this answer by my sense.
If any correction please make them
Thank you
Ravi
Difference between Class And Interface
Class is logical representation of object. It is collection of data and related sub procedures with defination.
Interface is also a class containg methods which is not having any definations.
Class does not support multiple inheritance. But interface can support.
how does database access differ in vb6 and vb.net
This was really helpfull for me to refresh .Net concepts..
Thank you..
Q. What doesu mean by .NET framework?
The .NET Framework is an environment for building, deploying, and running Web Services and other applications. It consists of three main parts: the Common Language Runtime, the Framework classes, and ASP.NET
What doesu mean by .NET framework?
it is a single consisted class-lib which enables you to develop Distributed Applications.
Please give me the answer for my question.
How the NULL values are stored in the memory?
How the Database gives the unique identification to all NULL values in a table?
How NULL values are act as values for some queris like
count(*) and not a value for somw queries like count(field name)?
And my doubts are going on.
So the personality who is an expert in Database technology please give me the full concept about NULL values.
Thanks in Advance.
Regards ,
Nantha
What is IIS?
What is assembly?
It is a single deployable unit that contains all the information abt the implimentation of classes , stuctures and interfaces
What is namespaces?
It is a logical group of related classes and interfaces and that can be used byany language targeting the .net framework.
hi,
rescently i have attended few interviews.there r some questions which i was not able to answer.can u please send me answers.
1.say suppose in a structure which is value type we have added a reference type variable.will it be stored in stack memeory or heap?
2.suppose u want to store your connection string where u r going store it apart from web.config appsettings?
3.In a datagrid u r displaying atable.If u want to know what r the rows which r updated how do you implement it?
4.In try catch scenario there r two catch blocks one is system defined and other is user defined which will be executed first?
5.In boxing and unboxing which one is expensive?
6.What is the difference between catch and throw?
7.U have deployed windows service at client place.Say suppose it is giving erroneous results.it is a running application.How do you debug it?
8.There is a webservice deployed at the client place .how can u check whether that application is working fine or not?
9.u have deleted a record from database from u rapplication and at the same time some one is updating the same record.how do u handle the situation?
IIS stands for Internet Information Server.
Basically IIS is an engine that drives ASP.NET websites.
Internet Information Services (IIS) is a powerful Web server that provides a highly reliable, manageable, and scalable Web application infrastructure for all versions of Windows Server 2003. IIS helps organizations increase Web site and application availability while lowering system administration costs. It runs on Windows NT/2000 platforms and above versions. With IIS, Microsoft includes a set of programs for building and administering Web sites, a search engine, and support for writing Web-based applications that access database. IIS also called http server since it process the http request and gets http response
Diffrence between forms authentication and windows authentication?
Hello Everyone -
I am a recruiter and I was hoping that you could help me with a few screening questions pertaining to VB.NET. I am trying to determine how extensive an individuals VB.NET experience is - someone who has been exposed verse’s someone who can lead a group. Do you have any suggestions?
Thank you for all your input in this site.