Hello,
i'm currently working with Sytem.Runtime.InteropServices and i've a
problem with the marshalling between managed and unmanaged code.
I created a file called APIWin32.cs and declared the various structs
needed to use MapAndLoad method (the code is at the end of this mail).
When i try to us
Hi,
in my opinion an object model like the .NET Framework should be based on
concepts that shows us the nature. when i design a person class i will hide
as much as possible from the outer world to prevent bad thinks. therefore i
need (as person or the treenode) a lot of information, which i colle
The IIS configuration is programatically accessible [1]. And the code to
config IIS is a LOT simpler than a custom SSL-like solution (including
socket mgmt, encryption, etc.). IIS can also be configured to only listen
publicly on the SSL port (443) to reduce the security risk. [2]
And if you thin
Greetings all,
I've got two questions about data binding, specifically about data views
and relationships.
First questions: Is there any way to attach a DataView to a
relationship? For example, in a Customer to Orders relationship, I've
got customer, say, 1. Customer number 1, has, sa
Actually, closest X to Y (in a reliable non "." way) would be:
X[^Y]*Y
"." : Matches any character except \n. If modified by the Singleline
option, a period character matches any character.
"*" : greedy - Specifies zero or more matches
"*?" : lazy - Specifies the first match that consumes as fe
private const string TEST_LINES = "[!output
>SAFE_NAMESPACE_NAME]\n[!output CLASS_NAME]\n[!output INTERFACE_LIST]";
>
>And when I use new Regex("\[!output ).*\]").Matches(TEST_LINES), it will
>correctly return 3 matches.
>If I use the same TEST_LINES (but, replacing the newline characters with
>an
I'm not sure I understand what you're getting at here. The CAS
infrastructure depends on the ability of the runtime to enforce
type-safety (among other things). This goes right out the window in the
cross-machine remoting case. Also, the CAS infrastructure allows code
to make demands up the cal
There may be a way to do this, but my advice is not to try. The data reader
is very interactive; this not a class that you want to access over a process
boundary. Each call will have a lot of overhead because it is passing over
a process boundary.
Creating a dataset is probably a better alterna
You are right Ian, packages under 48bytes will be padded and packages over
that will not..
I don't know if Jim is thinking about the Nagle algorithm that waits a x
number of ms before sending the package (to try to fill it up) but that's
possible to disable..
Cheers,
Patrik Torstensson
> -
Uh...really?
I thought that the Ethernet standard (IEEE 802.3) recommended that the data
field be between 46 and 1500 bytes. Padding only occurs for packets that
contain fewer than 46 bytes.
Strictly speaking, IEEE 802.3 defines the required padding parametrically -
the amount of padding requir
Hi Ed,
I think you are missing the point of CAS. There is no way the .NET
runtime can ensure the identity of code not under its control (i.e. the
other side of the remoting connection), therefor CAS cannot work across
remoting boundaries.
Alternatively, if you're talking about user identity base
I know this doesn't quite answer your question, but there were some threads
on reducing the number of round trips to a web server when downloading a
web-launched .exe.
http://discuss.develop.com/archives/wa.exe?A2=ind0203A&L=DOTNET&P=R20699&I=-
3
http://discuss.develop.com/archives/wa.exe?A2=ind0
I agree and would add: that RPC calls optimizing for space is futile if the
uncompressed message sizes are < ~1500 bytes and you're on Ethernet - which
I imagine is a very large chunk of the network traffic out there.
The Ethernet frame will be padded to 1500 bytes even if you don't have 1500
byt
> Well, I also have to deal with XP home edition. Plus the network
admins
> wouldn't like 1000 open IIS servers. It'd just make the LAN an
attractive
> target for hackers. The appliction needs to be simple and relatively
self
> sufficient. If I use IIS, I have to give directions to Joe Average on
Thanks, Andy - the explanation is much appreciated :-)
-Original Message-
From: Mcmullan, Andy (Andrew) [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 09, 2002 10:47 PM
To: [EMAIL PROTECTED]
Subject: Re: [ADVANCED-DOTNET] System.Text.RegularExpressions - how to
match on a single line
I tried to get some discussion going on this earlier and failed - perhaps if
I rephrase my questions:
If FullTrust is required for code to perform any remoting, does that not
prevent us from developing finer grained permissions that can be demanded by
remoted code?
If the answer is yes, isn't th
I don't have a .config file for my web-launched .exe. Is there any
property or something I can set to tell .NET to not try to load the .config
file?
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced
DOTNET, or
subscribe to other DevelopMentor lists at http://disc
Trees are indeed a special case. Some trees are viewed as containers
for objects, some just hold some text - sure the string is an object
but it doesn't know what it represents. The lowest common denominator
approach makes the node relatively dumb and gives the behavior to the
tree.
Of course, no
Mike -
On Thu, 5 Sep 2002 23:01:19 -0600, Mike Woodring <[EMAIL PROTECTED]>
wrote:
>I was able to reproduce your configuration (assuming you're calling
>Context.RegisterDynamicProperty from within IsContextOK on your context
>attribute). It works fine for me. The only thing you have to do is m
Mike -
On Thu, 5 Sep 2002 21:30:46 -0600, Mike Woodring <[EMAIL PROTECTED]>
wrote:
>From: "Ethan J. Brown" <[EMAIL PROTECTED]>
>This was always frustrating to me;
>especially when it became clear that when a context attribute indicated
that
>the current context was no good, the runtime always cr
20 matches
Mail list logo