How can we do caching in ASP.NET?
There are two ways of caching output cache directive and using the cache objects.
There are many more such questions on ASP.NET caching posted, also refer to them for your interview preparation.
How is ASP.NET page life cycle executed?
Following is the sequence in which the events occur: -
Remember the word SILVER: - SI (Init) L (Load) V (Validate) E (Event) R (Render).
Some more links to refer ASP.NET interview questions on caching, application and ASP.NET page life cycle.
How do we implement windows authentication?
- Create users in your local windows user group.
- In web.config file set the authentication mode to windows.
- In web.config file set .
Once you do the above three steps your asp.net pages will authenticated and authorized from the users stored in windows local user group.
Also refer to below practical video on Authentication and Authorization in ASP.NET: -