GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  Microsoft.NET
Go To First  |  Previous Question  |  Next Question 
 Microsoft.NET  |  Question 22 of 38    Print  
1). what is view stae? what are the pros and cons of using view stae?

2). what is .Net remoting?

3).please write an example of declaring a function as web services?

4). what is web services?

  
Total Answers and Comments: 8 Last Update: November 16, 2009     Asked by: naveenreddi 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 24, 2006 15:56:25   #1  
shankar        

RE: 1). what is view stae? what are the pros and cons ...

view state:

view state is natively by the asp.net web controls. it allows them to retain their properties between post backs. You can add your own data to the view state using a built in page.

viewstate( shankar ) 1


 
Is this answer useful? Yes | No
August 30, 2006 05:46:06   #2  
Imran Parvez        

RE: 1). what is view stae? what are the pros and cons ...

.net Remoting:-

.NET Remoting is an enabler for application communication. It is a generic system for different applications to use to communicate with one another. .NET objects are exposed to remote processes thus allowing interprocess communication. The applications can be located on the same computer different computers on the same network or even computers across separate networks.

Imran Parvez

9871555021


 
Is this answer useful? Yes | No
September 04, 2006 01:53:06   #3  
srikanth        

RE: 1). what is view stae? what are the pros and cons ...

good


 
Is this answer useful? Yes | No
September 28, 2006 07:56:31   #4  
prppdeepak        

RE: 1). what is view stae? what are the pros and cons ...

hello friend

can u send the code for how to retrieve the values that are stored in viewstate

pls its urgent.

pls send pls ...


 
Is this answer useful? Yes | No
November 14, 2006 02:36:24   #5  
santhoshkarthiks Member Since: November 2006   Contribution: 3    

RE: 1). what is view stae? what are the pros and cons ...
Hi Friend Code to retrieve the values that are stored in viewstateTo store values in the viewstateC#ViewState[ count ] 1;int counts (int)ViewState[ count ];We must know what type of data we stored in the ViewState under the given key.Expecting the feedback on this answer:-) Good bye
 
Is this answer useful? Yes | No
November 14, 2006 23:49:22   #6  
santhoshkarthiks Member Since: November 2006   Contribution: 3    

RE: 1). what is view stae? what are the pros and cons ...
Hi Friend
Code to retrieve the values stored in viewstate is as follows.
To store values in the viewstate
ViewState[ count ] 1;
int counts (int)ViewState[ count ];
We must know what type of data we stored in the ViewState under the given key.Expecting the feedback on this answer.
:-) Good bye

 
Is this answer useful? Yes | No
November 06, 2007 09:42:47   #7  
learner        

RE: 1). what is view stae? what are the pros and cons ...

View state is used to maintain the state of control and it is stored in the hidden field called _VIEWSTATE.

It enables to see all previously entered values in the view state -enabled control

Web services facilitated data transfer independent of platform.When you want to send and receive data to different platforms(e.g java to .net or another) - use web services.
When u want to send and receive data within same platform-use .NEt Remoting as remoting is platform dependent.



 
Is this answer useful? Yes | No
November 15, 2009 23:56:06   #8  
rk51131 Member Since: November 2009   Contribution: 1    

RE: 1). what is view stae? what are the pros and cons of using view stae?2). what is .Net remoting?3).please write an example of declaring a function as web services?4). what is web services?

A ViewState has the details or values of the control in encrypted format. This encrypted details are passed to and fro between the requests to server and hence help in retaining the state of the control. The disadvantage is that it will create an overhead and increase the size of data being transeferred hence increasign the network traffic.

.Net Remoting helps to connect to different systems on the same network.

Web Services are programs which run on different servers in the internet and provide some defined functionality thus providing reusability. The communication though http:// and the communication of the request-reply form.


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape