Click here to Skip to main content
15,892,298 members
Home / Discussions / C#
   

C#

 
GeneralRe: Can I make this sloppy array better? Pin
LongRange.Shooter10-Mar-04 4:56
LongRange.Shooter10-Mar-04 4:56 
GeneralSecuitry restrictions with Runtime.remoting Pin
hammackj9-Mar-04 9:19
hammackj9-Mar-04 9:19 
GeneralRe: Secuitry restrictions with Runtime.remoting Pin
Tom Larsen9-Mar-04 10:04
Tom Larsen9-Mar-04 10:04 
GeneralRe: Secuitry restrictions with Runtime.remoting Pin
hammackj9-Mar-04 11:22
hammackj9-Mar-04 11:22 
GeneralRe: Secuitry restrictions with Runtime.remoting Pin
LongRange.Shooter9-Mar-04 10:15
LongRange.Shooter9-Mar-04 10:15 
GeneralRe: Secuitry restrictions with Runtime.remoting Pin
hammackj9-Mar-04 11:23
hammackj9-Mar-04 11:23 
GeneralRe: Secuitry restrictions with Runtime.remoting Pin
mav.northwind9-Mar-04 20:06
mav.northwind9-Mar-04 20:06 
GeneralRe: Secuitry restrictions with Runtime.remoting Pin
LongRange.Shooter10-Mar-04 3:11
LongRange.Shooter10-Mar-04 3:11 
I have not looked at the MSDN 'real world sample' so I cannot speak specifically to that one project. mav.northwind is correct, though, in that there is no single way you implement TypeFiltering...it all depends on how you establish your channels.

The example might not address the fact that you can configure your channel either in the configuration file or in code. The code I posted in my reply gives you the development direction within your program.

Generally: If you have an application - and it always connects to only one machine - and you never have to dynamically change this -- then you can use a configuration section. The GotDotNet article that mav pointed to will give you a discussion on the config file pieces.

Specifically: In any remoting application that we have put together we do not have a single machine being connected to. Thus we allow the user to answer a few questions in a wizard and then we let them dynamically choose the server to connect to. Then, programmatically, we get the URL from the user choice, append the remoting object URI pieces, and then create and establish the channel to the specific server. We have control over the formatters as well as defining the needed parameters such as killing the proxy server search. It minimizes what is exposed to the client that they can go mucking about in, it lets us update servers by modifying a simple config statement, and it does no expose any remoting-specific information outside of what is needed at the IIS side.

_____________________________________________
Of all the senses I could possibly lose,
It is most often the one called 'common' that gets lost.

GeneralTab Control - Disabling a TabPage Pin
Ruchi Gupta9-Mar-04 9:04
Ruchi Gupta9-Mar-04 9:04 
GeneralRe: Tab Control - Disabling a TabPage Pin
Heath Stewart9-Mar-04 13:14
protectorHeath Stewart9-Mar-04 13:14 
QuestionHow to convert html file to doc or rtf format Pin
Inam9-Mar-04 7:11
Inam9-Mar-04 7:11 
AnswerRe: How to convert html file to doc or rtf format Pin
Heath Stewart9-Mar-04 8:47
protectorHeath Stewart9-Mar-04 8:47 
GeneralEditing Images on the fly... Pin
Verdant1239-Mar-04 7:08
Verdant1239-Mar-04 7:08 
GeneralRe: Editing Images on the fly... Pin
Heath Stewart9-Mar-04 8:34
protectorHeath Stewart9-Mar-04 8:34 
QuestionHow to convert html file to pdf Pin
Inam9-Mar-04 7:07
Inam9-Mar-04 7:07 
AnswerRe: How to convert html file to pdf Pin
Heath Stewart9-Mar-04 8:40
protectorHeath Stewart9-Mar-04 8:40 
GeneralMultiple Classes and Functions/Methods Pin
thewebmonster9-Mar-04 6:47
thewebmonster9-Mar-04 6:47 
GeneralRe: Multiple Classes and Functions/Methods Pin
LongRange.Shooter9-Mar-04 6:57
LongRange.Shooter9-Mar-04 6:57 
GeneralRe: Multiple Classes and Functions/Methods Pin
Heath Stewart9-Mar-04 7:02
protectorHeath Stewart9-Mar-04 7:02 
Generalserializing a delegate to a non-public method Pin
Judah Gabriel Himango9-Mar-04 6:11
sponsorJudah Gabriel Himango9-Mar-04 6:11 
GeneralRe: serializing a delegate to a non-public method Pin
LongRange.Shooter9-Mar-04 6:35
LongRange.Shooter9-Mar-04 6:35 
GeneralRe: serializing a delegate to a non-public method Pin
Judah Gabriel Himango9-Mar-04 9:17
sponsorJudah Gabriel Himango9-Mar-04 9:17 
GeneralRe: serializing a delegate to a non-public method Pin
LongRange.Shooter9-Mar-04 9:50
LongRange.Shooter9-Mar-04 9:50 
GeneralRe: serializing a delegate to a non-public method Pin
LongRange.Shooter9-Mar-04 6:40
LongRange.Shooter9-Mar-04 6:40 
GeneralBrush that does not mix with the background color Pin
Manobal9-Mar-04 6:08
Manobal9-Mar-04 6:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.