we have deployed .NET Agent on the windows server and after that, the server is restarting automatically and the
Application monitored by the .Net agent is getting down time to time.has anyone faced this issue before
.NET behavior is different than Java. When the application reaches its timeout due to inactivity the application shuts down so the agent disappears. It will come back again once the application receives another request.
Indeed, that is correct, behavior and how to adjust the timeout is documented in the below page in docops.
Configure .NET Application Idle Time - CA Application Performance Management - 10.7 - CA Technologies Documentation