ASP.NET INTERVIEW QUESTION & ANSWERS
141. |
How do I sign out in forms authentication? |
|
FormsAuthentication.Signout () |
142. |
Why do Web Services use ASP.NET? |
|
Web Services use ASP.NET because ASP.NET provides supporting infrastructure and plumbing for the service. Specifically, ASP.NET automatically generates WSDL files for any client of the Web Service, provides code that translates SOAP requests into method requests, and provides code that packages method responses in to SOAP responses for Web Service clients. |
143. |
What are server controls? |
|
ASP.NET server controls are components that run on the server and encapsulate user interface and other related functionality. They are used in ASP.NET pages and in ASP.NET code-behind classes. |
144. |
What property is used by many ASP.NET Web controls to specify a data field to use as the source for data binding? |
|
The DataTextField property specifies source data. |
145. |
What are the other ways you can maintain state? |
|
The following technique to store state:- Hidden fields
- View state
- Hidden frames
- Cookies
- Query strings
|