I've included my 'remoting' configuration settings in an appSettings block
in the app.config file then read them in via the standard
ConfigurationSettings.AppSettings. ie.
http://localhost/virtdir/factory.rem"; />
Granted the settings I have only represent the wellknown types of the SAO.
The key
"No source code available" message comes when the debugger tries to display
a part of the program when a problem or exception has occured in code where
you do not have the source.
Microsoft.Data.ODBC would just wrap the ODBC binaries where in the real
world it would spend most of its time. As you
> I
> can't help but notice the docs for System.Security.Cryptography are
> relatively sparse. It seems this branch of the framework is
> somewhat lacking
> in details.
Agreed.
> Hopefully it will be fleshed out later one, but
> for now I'm
> going leave the X509 certificate stuff alone and u
Type RootType = typeof( MyRootType );
string TypeName = GetMyTypeName();
Type[] Types = new Type[1];
Types[0] = Type.GetType(TypeName);
XmlSerializer xserializer = new XmlSerializer(RootType, Types);
Russ
-Original Message-
From: Moderated discussion of advanced .NET topics.
[mailto:[EMAI
-Original Message-
From: Craig Andera
Sent: Thursday, March 06, 2003 6:47 AM
To: [EMAIL PROTECTED]
Subject: Re: [ADVANCED-DOTNET] X509Certificate public key -> RSA?
>> X509Certificate has two methods that get the public key. One
>> returns a byte
>> array, the other returns a hex string. A
Are you trying to build a no-touch deployed Windows Forms app that is
run 'directly' off the web via an href link, and that then uses
remoting? If not, ignore this. If this is what you're trying to do...
Otherwise, you're basically SOL unless you have the ability to fiddle
around with the end us
hmm.. I have not had any problems with this - but the remoting config I
use is in the Web.config file for the site ...
-Inge
On Thu, 6 Mar 2003, Todd Hickerson wrote:
> Any takers on this question? I still haven't been able to read the
> remoting config file when the remoting app is deployed b
Phil Parker [mailto:[EMAIL PROTECTED] wrote:
> My question, is: Is this possible using XML serialization,
> and if so, does anyone have any advice on how to achieve this ?
>
> I have been unable to find a way of serializing an unknown
> polymorphic type and dynamically intercepting the
> serializa
What's the question?
-mike
-Original Message-
From: Moderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Todd Hickerson
Sent: Thursday, March 06, 2003 1:58 PM
To: [EMAIL PROTECTED]
Subject: Re: App.config file not found when remoting windows app
deployed by
As a note, I've made some progress on this through the use of the
overloaded constructor for XmlSerializer, which takes an additional
parameter, which is a Type[] array.
This allows me to specify additional types to be expected during
serialization/deserialization, and I can therefore dynamically
Hi all,
I guess one of you could help me out here with .NET Remoting. The situation
is below.
I have the following classes defined.
Public interface ISession
{
void Run();
void Stop();
//.. other methods
};
Public abstract class SessionBase : MarshalByRefObject, ISession
{
pub
Hi,
The "half-baked" code sample below is used to simply insert a data point
into a MySQL table using ADO.Net. This code works fine in a small,
standalone test program (implying that connecting to the MySQL database via
the MySQL ODBC Driver is working)... But when the same code is used in a
real
Thanks Mike,
While that's a really useful tool, I need to get these tokens on-the-fly -
the assembly I am emitting to will have no prior reference to the
"Intercept" assembly, so the MethodRefs won't be in its header. So I think
I need to add the new tokens into its header, correct? I'm not sure
Any takers on this question? I still haven't been able to read the
remoting config file when the remoting app is deployed by IIS. Yes, I am
trying to get the best of both worlds: IIS deployment, http protocol, Win
32 (.NET) app.
Thanks,
Todd
===
This list is ho
Hi, I'm hoping for a bit of advice on a design problem I have, in using XML
serialization:
What I want/need to do, is serialize a class which contains a reference of
type object. The object reference however, will be to a class type which
is not known at compile time. The class type will be defi
> X509Certificate has two methods that get the public key. One
> returns a byte
> array, the other returns a hex string. All well and good, but
> there's no
> clear way to use these key formats in the
> AsymmetricKeyExchangeFormatter
> classes.
Well, hopefully someone more familiar with the man
The methodref/def tokens are not scoped. You can use the same token
throughout the assembly.
On gotDotnet, there is something called PEReaderWriter. It does a lot
of the parsing of the metadatatables for you so you can search for your
methodref, and emit the token.
-mike
-Original Message-
The methodref/def tokens are not scoped. You can use the same token
throughout the assembly. The tokens are in the metadatatable. See the
.net ECMA specs, partition II for details.
On gotDotnet, there is something called PEReaderWriter. It does a lot
of the parsing of the metadatatables for yo
Nigel,
When you mean socket notifications, would you be looking for a means
of
listening for sockets arriving at ports that are already bound to (listened
on by)
different applications?
If so, I could recommend looking at using WinPCap, which is a free
driver
that is particularly goo
I've been trying to use the unmanaged profiling API to replace/decorate method bodies.
I've had success with simple IL bytecodes, but emitting method calls is proving a bit
tricky. Say I want to emit the following:
call void [Intercept]Interception.MyInterceptor::Call()
ret
the bytecode
The most efficient way to program sockets is via io completion ports. If
you use the (Begin/End)*** methods on the Socket class, and the host OS
supports io completion ports, these calls will get mapped to io completion
ports via the thread pool.
- Original Message -
From: "Nigel" <[EMAIL
How do you receive socket notifications from .Net? I suspect that they
don't exist at all which means that we have to monitor the sockets for
data and connection status ourselves. The automatic notifications are
occurring within win32, surely they must be passed in by the framework
somehow?
=
The code below may or may not be helpful, simply
because it was written for a completely different
purpose than what you are hoping to achieve. What it
does share with your problem is that it needed to
react to a user click and dynamically add objects to
the form. My coworker and I are building a
23 matches
Mail list logo