In a networked XNA WP7 game, I want to notify the server when the game gets deactivated, e.g., when I press the search button during the game. The game uses HTTP requests for networking and it seems like HttpWebRequests do not get handled immediately but at some point in the main loop in the UI thread. In other words, any HttpWebRequest I make from a deactivated event handler just before the app gets tombstoned will never get handled.
Is there a workaround for this without having to rewrite the whole networking code using sockets or did I just misunderstand something?