.NET 2.0から追加される.NET RemotingのIpcChannelを使用する場合のexe.configの書き方。ちなみにCAOです。
Server側:
001 <?xml version="1.0" encoding="utf-8" ?>
002 <configuration>
003 <systemruntimeremoting>
004 <application name="MyApp">
005 <service>
006 <activated type="ClassLib.RemoteClass, ClassLib" >
007 </service>
008 <channels>
009 <!-- <channel ref="tcp" port="8000" /> -->
010 <channel ref="ipc" portName="testpipe" >
011 </channels>
012 </application>
013 </systemruntimeremoting>
014 </configuration>
015
クライアント側:
001 <?xml version="1.0" encoding="utf-8" ?>
002 <configuration>
003 <systemruntimeremoting>
004 <application>
005 <!-- <client url="tcp://localhost:8000/MyApp"> -->
006 <client url="ipc://testpipe/MyApp">
007 <activated type="ClassLib.RemoteClass, ClassLib" >
008 </client>
009 <channels>
010 <!-- <channel ref="tcp" /> -->
011 <chnnel ref="ipc" >
012 </channels>
013 </application>
014 </systemruntimeremoting>
015 </configuration>
#VS2005 Beta2についてきたmsdnだと書き方が解らないんですよねー。
#正直この書き方で良いのか解らん。
#msdnのここにあるって解った方は激しく教えてください。
コメント