.NET/ASP.NET Interview Question - Explain WebService and how does it differ from Remoting?
WebServices is a cross platform where we can invoke object which are lying on
different server or different georphical location.
Both WebService and Remoting are used for same Purpose but the difference in
Remoting is that both the server and client should be .NET platform while in
WebService the server and client can be in different platform.
Remoting is faster than WebService.
WebService can be access only through http protocol but Remoting can access
.NET/ASP.NET Interview Question - Can you explain remoting?
Remoting is a .NET technology where we can invoke objects which are lying on
different server or different geographical location.
Below is the diagram shows the concept of Remoting.
In the above diagram, a client which is located in India want to access object
of .NET class from the server which is located in US, So this can be done by
Please click here to see more .NET/ASP.NET
Answer: Let's see an Simple example to understand.
Assuming that we have a Textbox and Button on the ASP.NET page like
<asp:TextBox ID="txtName" runat="server"></asp:TextBox> <asp:Button ID="btnSubmit" runat="server" Text="Submit" OnClientClick="return validate()" />
Now, Add the below code snippet on the page source.
WCF Interview Question - Name and explain types of security in WCF?
In WCF there are two types of Security, transport level security and
message level security.
Transport Security: Transport level security happens at the channel level.
Transport level security is the easiest to implement as it happens at the
communication level. WCF uses transport protocols like TCP, HTTP, MSMQ etc and
every of these protocols have their own security mechanisms. One of the common
implementation of transport level security is HTTPS. HTTPS is imp
WCF Interview Question -Can you distinguish between Basic httpbinding and WShttpbinding?
Basic Httpbinding:In httpbinding Data is sent as a plain text.In other
words,there is no security provided for the message when the client calls
This is aimed for clients who do not have .NET 3.0 installed and it supports
wider ranges of clients. Many of the clients like Windows 2000 still do not run
.NET 3.0. So older version of .NET can consume this service.
It uses SOAP1.1 version.
WShttpbinding:As WsHttBinding supports WS-*, it has WS-Security enabled by
C#/.NET interview Question - How will you distinguish between ArrayList and Array?
They are fixed length.
They are resizable and variable length.
They are compiled strong type collection.
They are flexible and can accommodate any data types.
Because arrays are of fixed size and strong type collection
performance is faster.
In arraylist lots of boxing and unboxing are done there f
How to uninstall Best Malware Protection and remove virus
After installing "Best Malware Protection" I found fake errors in system, I tried to close this with
Insert Multiple records with single Insert statement
For entering data in table we will write below command. insert into persons ( p_id, First_Name, La
C#/.NET interview Question - Show different types of collection in .NET?
Collection: - Collections are basically group of
records which can be treated as a one logical unit.
.NET Collections are divided in to four important categories as follows.
Key Value Pair.
Let’s begin with Indexed based and key value pair.
Indexed based: - It helps you to access the value of row
by using the inte
How to count rows in Notepad
Follow these steps to count the rows in notepad.
(1) Open notepad
(2) Go to View > Click