home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 June (DVD) / DPPRO0605DVD.iso / dotNETSDK / SETUP.EXE / netfxsd1.cab / readme_xml_14________.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Encoding:
Extensible Markup Language  |  2002-06-17  |  2.4 KB  |  78 lines

  1. <?xml version='1.0'?> 
  2. <?xml-stylesheet type="text/xsl" href="..\..\..\..\readme.xsl"?> 
  3. <sample> 
  4. <title> Remoting ChannelSinks Sample</title>
  5.  
  6. <title-short>Writing your own Channel Sinks .NET remoting</title-short>
  7.  
  8. <overview> 
  9. This sample contains 3 different executables that demonstrate how to create your
  10. own channel sinks for use with remoting.  The IPFilterSink sample shows how a
  11. channel sink can be used to accept or reject calls coming from specified IP addresses.  The Logging sink shows how a sink might log all traffic passing through it while the WebServer sample shows how a sink might be used to server files to a browser.  The configuration files used with these samples demonstrate how these sinks and their
  12. providers are configured.
  13. </overview>
  14.  
  15. <subdirectory>Technologies\Remoting\Advanced\ChannelSinks
  16.  
  17. <directory name = "IPFilter">
  18. Contains the source for the sink, client and server together with the associated
  19. makefile.
  20. </directory>
  21.  
  22. <directory name = "Logging">
  23. Contains the source for the sink, client and server together with the associated
  24. makefile.
  25. </directory>
  26.  
  27. <directory name = "WebServer">
  28. Contains the source for the sink as server as well as the associated makefile.  Note that the files provided by this service are stored in the root directory under WebServer.
  29. </directory>
  30. </subdirectory>
  31.  
  32. <buildsteps> 
  33. <step> 
  34. Type <b>nmake -a all</b> from the command line (note: will throw warnings)      
  35. <example> 
  36. C:\Program Files\Microsoft.NET\SDK\v1.1\Samples\Technologies\Remoting\Advanced\ChannelSinks> nmake -a all
  37. </example>
  38. </step>
  39. </buildsteps>
  40.  
  41. <runsteps> 
  42. <step>
  43. For IPFilter:  Start the service by running server.exe form a console window.  Run the
  44. client by executing client.exe from a console window.
  45. </step>
  46.  
  47. <step>
  48. For Logging: Start the service by running server.exe from a console window.  Run the
  49. client by executing client.exe from a console window.
  50. </step>
  51.  
  52. <step>
  53. For WebServer: Start the server by running server.exe from a console window.  Connect
  54. to this service from your browser as follows
  55. </step>
  56.  
  57. <step>
  58. http://localhost:9000/MyServer/index.html
  59. </step>
  60.  
  61. <step>
  62. http://localhost:9000/MyServer/dotnet.gif
  63. </step>
  64.  
  65. <step>
  66. http://localhost:9000/MyServer/test.xml
  67. </step>
  68. </runsteps>
  69.  
  70. <keywords> 
  71. <word name="Remoting" keyword="R"/>
  72. <word name="ChannelSink" keyword="C"/>
  73. <word name="MBR" keyword="M"/>
  74. </keywords>
  75. </sample>
  76.  
  77.  
  78.