How to configure my .net remoting application without config file

In Ingo Rammer's book - Advanced .NET Remoting - chapter 13, there is an excellent sample of compression sink. It even mentioned how to make the server support both compressed and uncompressed data in the same time. If the server receives client's compressed messages, it replies with compressed messages too, and vice versa.

In Ingo Rammer's book, the compression sink provider is configured in the configuration file. As long as it is in the configuration file, it will always be used.

i want to know if it is possible to make it work without using config file (configure it directly in the source code) and how?

merci d'avance
Vidéos High-Tech et Jeu Vidéo
Vos réponses
Gagnez chaque mois un abonnement Premium avec GNT : Inscrivez-vous !
Poster une réponse