Where do you store your connection string information?

The connection string can be stored in configuration files (web.config). 

Mon Dec 3,2018

What method do you use to explicitly kill a users session?


Mon Dec 3,2018

Can we have a web application running without web.Config file?


Mon Dec 3,2018

What is ViewState? How long the items in ViewState exists?

ViewState is used to retain the state of server-side objects between page post backs.  They exist for the life of the current page. 

Mon Dec 3,2018

Which validator control you use if you need to make sure the values in two different controls matched?

Compare Validator control.  

Mon Dec 3,2018

What are the different validators in ASP.NET?

1. Required field Validator
2. Range Validator
3. Compare Validator
4. Custom Validator
5. Regular expression Validator
6. Summary Validator 

Mon Dec 3,2018

In which event of page cycle is the ViewState available?

After the Init() and before the Page_Load().  

Mon Dec 3,2018
Subscribe & Get Regular Updates On Your E-mail