Posts

Showing posts with the label Properties

Most Interesting Questions in C#, ASP.Net and SQL Server, WCF, ASP.Net MVC

Most Interesting Questions in C#, ASP.Net and SQL Server, WCF, ASP.Net MVC Hello Guys, In this article, we will see the most interesting questions in Microsoft Technologies like in C#, ASP.Net, Sql Server, WCF services, ASP.Net MVC. Q 1. I have logged in to the ASP.Net website using my credential for the login page. Now I want that when my session is expired, it should logout the application and show the login page. With that It should also logged out from the Windows and I should use the Windows credentials again to reach to my application again. How do you think it can be done? Ans. This question is related to the Sessions in ASP.Net where the session time out is configured for the current user. And when the session gets expired, we need to set so that it should automatically come back to login page and user need to enter the credentials again. Session time can be set as: Q 2. In .Net Framework, Garbage collector is used for the Automatic Memory Management(to free-up the me...