it can involve mean
it's worth considering any alternatives you might have. (If, that is, I
understood what you were asking.)
--
Ian Griffiths
-Original Message-
From: Steve Welborn
Thanks for the information. However when I said I couldn't find it
anywhere, I was meaning a C# example
a
little. Also, if your buffer pool is large enough you might be able to
reduce working set size under low load by using a stack. So it might
still be worth it. But be prepared for relatively disappointing
results...)
--
Ian Griffiths
-Original Message-
From: Peter Ritchie
Sent: 10 August
let me
pump messages while I wait.
Because Win32 is unable to deliver the semantics you might actually
want, WaitHandle.WaitAll will actually throw an exception if you call it
from an STA.
But WaitOne and WaitAny will both pump messages if you're on an STA.
--
Ian Griffiths
-Original
an Appdomain restriction, not a multi-UI-thread
restriction.
--
Ian Griffiths
-Original Message-
From: Peter Ritchie
When I wrote can I meant Windows, the CLR, and the .Net Framework
permit -- and I just don't see why MS would have built them to permit
this if there were an inviolable
barely any more
elegant than the everything virtual whether it makes sense or not
style.
--
Ian Griffiths - Pluralsight
http://www.interact-sw.co.uk/iangblog/
-Original Message-
From: David Lanouette
Sent: 08 July 2006 00:37
Anybody know why methods aren't virtual by default in .NET
that there are serious
problems in your code, and that you're papering over the cracks. Relying
on this flag is a sign of unwell code.
--
Ian Griffiths
http://www.interact-sw.co.uk/iangblog/
-Original Message-
From: gregory young
Ian I will disagree with one comment here.
But I stand by what I
that's not the case - just use more
significant digits than you have space for.
--
Ian Griffiths
http://www.interact-sw.co.uk/iangblog/
-Original Message-
From: gregory young
I usually try to avoid cross posting but I thought this was fairly
relevant
to advanceddotnet dotnet-clr
to lie undetected for longer, while penalising those who get
their code right.
--
Ian Griffiths
http://www.interact-sw.co.uk/iangblog/
-Original Message-
From: Discussion of advanced .NET topics. [mailto:ADVANCED-
[EMAIL PROTECTED] On Behalf Of gregory young
Sent: 05 June 2006 21:20
and PropertyDescriptor
classes to do the majority of the work, and just tweak the results
before returning them.
(This probably won't let you change category when you're already in the
grid. I suspect it only looks for the category at the point at which the
object is set as the SelectedObject.)
--
Ian
Wow - that sucks.
Since the original poster was asking in the context of PropertyGrid, I'm
hoping this limitation won't be an issue.
--
Ian Griffiths
-Original Message-
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Frans Bouma
Sent: 14 March 2006 15
) then if that's a
dual, it's always OK to upcast it to an IDispatch.
It's downcasts that can't be trusted in this scenario.
--
Ian Griffiths
-Original Message-
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Peter Ritchie
Sent: 07 March 2006 19:48
described.
--
Ian Griffiths
Pluralsight
-Original Message-
From: Peter Ritchie
Depends on what you consider safe. It's not safe in all cases (e.g.
aggregation); so, Steve is perfectly correct by dropping to the lowest-
common-denominator and saying Absolutely not. It may work in Josh's
you're actually trying to solve.
I'd forgotten how painful C++ COM was. (Although this is more a C++
issue than it is a COM issue. There are languages in which COM is
pretty easy to use.)
--
Ian Griffiths
-Original Message-
From: Frans Bouma
Sorry, I was only joking, I do not suspect
to do something that you know would be pretty easy for the
underlying implementation you happen to be using. But that doesn't
translate into an argument that Stream is designed wrong.
--
Ian Griffiths
http://www.interact-sw.co.uk/iangblog/
-Original Message-
From: John Davis
Yes, I
interference.
You'd need a completely different implementation if you wanted to
support non-sequential use wouldn't you?
--
Ian Griffiths
On Thu, 26 May 2005 23:22:45 +0100, Ian Griffiths
[EMAIL PROTECTED]
wrote:
Even if there were an atomic method how would that help? It wouldn't
eliminate
. But that's just
the implementation detail - all that really matters is: does the build
take too long?..)
--
Ian Griffiths - Pluralsight
http://www.interact-sw.co.uk/iangblog/
-Original Message-
From: Kunle Odutola
Not knowing anything about META.INF or MANIFEST.MF, or much
about Java, it's
I'd recommend not using that.
By default, only Administrators and Power Users can write there. If you
write your log there you'll be preventing non-admin users using any
application that uses your DLL.
--
Ian Griffiths - Pluralsight
http://www.interact-sw.co.uk/iangblog/
-Original
than
runtime-related. Which is presumably why it is possible to get it working.
So it really depends on how you feel about poor designer support and using a
completely unsupported feature...
--
Ian Griffiths
From: Eames, Andrew
I would tread very
that I'm
prepared to wait for minutes at a time to step over a line of code!
--
Ian Griffiths
From: Discussion of advanced .NET topics. on behalf of Brad Shannon
Sent: Thu 20/10/2005 02:45
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: [ADVANCED-DOTNET
, resources are likely to be more
tight, and adding a load of extra processes to a desktop is an
antisocial thing for an application to do, so it's best avoided unless
you really need multiple processes.
--
Ian Griffiths
http://www.interact-sw.co.uk/iangblog/
-Original Message-
From: Muhammad
Whidbey
When is this scheduled out?
7th November.
--
Ian Griffiths
===
This list is hosted by DevelopMentor® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
that provides
integrated authentication and encryption without the need to rely on
IIS.
--
Ian Griffiths - http://www.interact-sw.co.uk/iangblog/
===
This list is hosted by DevelopMentor® http://www.develop.com
View archives and manage your subscription(s
there are no
params, but loads it and runs it in the existing process if there are params.
(This is exploiting the fact that in .NET you can load an EXE into your process
and run it.)
This probably doesn't work with a hybrid managed/unmanaged EXE though... (I've
not tried it.)
--
Ian Griffiths
http
choices. (1) your GetHashCode could return a constant value,
the same for all instances regardless of value, or (2) your object's
hash code must change when the value changes in a way that affects the
outcome of Equals.
--
Ian Griffiths
http://www.interact-sw.co.uk/iangblog/
-Original
AFAIK.)
But is this a defect? It's a bug to use a stream from multiple threads
without synchronization. It would still be a bug even with the atomic
method you propose.
--
Ian Griffiths
http://www.interact-sw.co.uk/iangblog/
-Original Message-
From: John Davis
Are you saying
enough? Does the BeginWrite not in effect take a snapshot of
the seek location when the operation starts?
--
Ian Griffiths
http://www.interact-sw.co.uk/iangblog/
-Original Message-
From: John Davis
The way I understand it, the current BeginWrite on the FileStream
object
will write out
Can you post a simple example reproducing the problem?
--
Ian Griffiths
http://www.interact-sw.co.uk/iangblog/
-Original Message-
From: Ross Diesel
Hi
Have managed to further refine the UI thread problem reported in
earlier
posts.
Basically the problems manifested
Dang! I was hoping to provoke you into finding the definitive answer, since
I've been unable to find it so far. ;-)
Ian
From: John Davis
Uncle! :)
===
This list is hosted by DevelopMentor® http://www.develop.com
applications, for example.)
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk/iangblog/
===
This list is hosted by DevelopMentor® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
Note that the documentation is often misleading - there are plenty of classes
in the framework that claim to be using threads or the thread pool when they're
actually doing intrinsically asynchronous calls as Mike describes.
--
Ian Griffiths
From
is a separate question
of course - arranging to have hundreds of concurrent requests to the DB
might not help your performance much...)
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk/iangblog/
-Original Message-
From: John Davis
Ian,
Why do we use threads? How do IO
concur with your assessment of your comment's value, give or
take a couple of cents. :)
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk/iangblog/
-Original Message-
From: John Davis
I'm sure Fritz is a great guy and all, but that how to create an
extra
thread pool article
even mean by that.
It will call whatever function the delegate you pass in refers to.
('function' in your example code there.)
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk/iangblog/
-Original Message-
From: Sathiamurthy, Venkat
My many Thanks to Ian Griffiths and Bob
during initialization, and thereafter use it from multiple
threads that only ever read from it.
I'm not sure which of those two is actually true...
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk/iangblog/
===
This list is hosted by DevelopMentor
optimizations go, this is often a particularly bad one...
The ratio of cases where a ReaderWriterLock was the right thing to cases
where I thought in advance it was going to be the right thing has, in my
experience, been very low.
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk
-local,
then some other mechanism (e.g. thread-local storage) sounds like it
might be more appropriate.
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk/iangblog/
-Original Message-
From: J. Merrill
No one has commented on my suggestion that an array, with a lock only
to the
things that are not visible through TypeDescriptor, use Reflection.
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk/iangblog/
-Original Message-
From: J. Merrill
System.ComponentModel is not related, at all, to Reflection. You
cannot
use its methods to do
solution could also be built out of
reparse points and/or file system filters. :-)
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk/iangblog/
-Original Message-
From: Fernando Tubio
Actually, it is possible during the build process to use a
custom attribute to embed
then read out via reflection! Either way you'll be generating a
source file in a pre-build step.)
I was just wondering if I was wrong, and there was some more cunning
solution that I'm missing.
--
Ian Griffiths
===
This list is hosted by DevelopMentor® http
this is pretty
common in my code. Certainly a lot more common than code that contains
a raw unmanaged resource.
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk/iangblog/
===
This list is hosted by DevelopMentor® http://www.develop.com
View archives and manage
Zaslavskiy, Dmitriy (IT) wrote:
That's it. All the rest can implement disposable pattern but
not finalizer
Hold on... The disposable pattern as documented includes a finalizer.
So you mean implement IDisposable, but not the full disposable pattern
don't you?
--
Ian Griffiths
It wasn't in the message he quoted, it was in the message I sent a
couple of hours before that. This one, to be precise:
http://discuss.develop.com/archives/wa.exe?A2=ind0501dL=advanced-dotnet
T=0F=S=P=1203
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk/iangblog
pattern (i.e., with a finalizer
and two Dispose methods) in that case. And that's the most common case,
so it's a shame they tell you to use the full Dispose pattern... The
fact is that there's nothing useful you can do to such resources in your
finalizer.
--
Ian Griffiths - DevelopMentor
http
needing a solution to
exactly the same problem Raj posed in the first place: how do you
arrange for that text string to be whatever the time of day is at when
the build occurred?
Surely custom attributes offer just another form of the same problem,
not a solution?
--
Ian Griffiths
DevelopMentor
scenario, as
microbenchmarks like these tend not to be all that representative of
what you see in real life. (As should be obvious from the fact that a
very small change to my test code meant the answer changed from About
20 times slower to About the same speed.)
--
Ian Griffiths
-Original
. Is that what you required?
--
Ian Griffiths - http://www.interact-sw.co.uk/iangblog/
DevelopMentor - http://www.develop.com/
using System;
using System.IO;
using System.Drawing;
using System.Windows.Forms;
namespace ScrollImage
{
public class ImageForm : System.Windows.Forms.Form
{
private
ago. From what I remember, the intention was to
support targetting of multiple versions of the runtime. VS.NET templates
might not be set up that way, but I thought the MSBuild technology itself
was going to support this.
--
Ian Griffiths - http://www.interact-sw.co.uk/iangblog/
DevelopMentor
);
}
bmp.Save(@c:\temp.png, System.Drawing.Imaging.ImageFormat.Png);
--
Ian Griffiths - http://www.interact-sw.co.uk/iangblog/
DevelopMentor - http://www.develop.com/
- Original Message -
From: Bryan Clauss [EMAIL PROTECTED]
I want to create a transparent image (GIF format) at run time
to work out what type you need - it just uses the metadata
token. But I've not actually checked that.
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk/iangblog/
-Original Message-
From: jon
Thanks to both of you, got it!
--- Richard Blewett [EMAIL PROTECTED] wrote
throw a particular kind of SEH exception as a way of
telling the debugger what you'd like your thread to be called!
The essential problem with the mechanism is that you can't change the
name of a thread. .NET inherits that restriction.
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk
to be a better bet.
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk/iangblog/
-Original Message-
From: J. Merrill
In your situation, I don't understand why you want to use a
ReaderWriterLock at all. You presumably have multiple threads adding
new
messages to the queue
This will tell you what kinds of objects are taking all the memory.
That may well give you a pretty quick route to finding out what's wrong.
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk/iangblog/
-Original Message-
From: Sinha, Amit (GE Energy, Non GE)
I am facing
on the Graphics
object appropriately. But for child controls there's no straightforward
way of doing this - you'd need to reposition and resize all of them
yourself to be able to zoom.
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk/iangblog/
-Original Message-
From: Larry O'Brien
not used in this scenario... The code happens to work in
ASP.NET, which is why that bug never got highlighted. (And *that*'s
what happens when I don't write unit tests... That'll teach me!)
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk/iangblog
using the technique I showed.)
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk/iangblog/
===
This list is hosted by DevelopMentor® http://www.develop.com
Some .NET courses you may be interested in:
Essential .NET: building applications
concurrent calls to the web service it exposes.
The calls complete correctly, they run concurrently as required, and the
thread count on the server does not increase as you increase the number
of concurrent requests.
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk/iangblog
elsewhere in the
file, but I think that given a better name you really wouldn't need to
go and find the definition.
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk/iangblog/
===
This list is hosted by DevelopMentor® http://www.develop.com
Some .NET
that the vast majority of Swing-based Java apps that I've
used have pretty poor UIs. I understand that it is possible to do a
better job if you put the effort in. But it does usually end up being at
least as manual a job as it is in Windows Forms.)
--
Ian Griffiths - DevelopMentor
http://www.interact
implementation rather than a shipping-strength
one. I've used the 'lock' keyword, and famously, I'm not a fan of that
in production code.)
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk/iangblog/
-Original Message-
From: Ragnvald Barth
My third idea is to let the server sent
could be wrong.)
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk/iangblog/
===
This list is hosted by DevelopMentor® http://www.develop.com
Some .NET courses you may be interested in:
Essential .NET: building applications and components with CSharp
sides.
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk/iangblog/
-Original Message-
From: Mohammad Adel
Hello all
I just want to be sure of a point that I read about in a forum.When
using
a COM component in a .NET application, the COM marshaller component
This is a test - nothing to see here.
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk/iangblog/
===
This list is hosted by DevelopMentor® http://www.develop.com
Some .NET courses you may be interested in:
Error in line 15 of ADVANCED
difference it would make. (And this of course is
a decision you can make independently of language.)
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk/iangblog/
===
This list is hosted by DevelopMentor® http://www.develop.com
Some .NET courses you may
, and have it raise those when these operations complete. That
way, there's no requirement for the other classes to interact directly
with the socket - they can just write handlers for We just got some
data or We just got connected events without needing to deal with the
low level details.
--
Ian
, but that's the reason you're getting the exception here.
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk/iangblog/
-Original Message-
From: Peter Suter
I'd say stick with the obvious, but please back up a bit to where it's
not
obvious to a newbie.
ar
What is the exception that you're getting?
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk/iangblog/
-Original Message-
From: Peter Suter
Hi All,
In a sub much like this one, from Using an Asynchronous Client Socket
[Visual Basic], I keep getting an exception
called BeginConnect.
--
Ian Griffiths - DevelopMentor
http://www.interact-sw.co.uk/iangblog/
-Original Message-
From: Peter Suter
After Dim client As Socket = CType(ar.AsyncState, Socket),
client = nothing, and any attempt to use client throws
An unhandled exception of type
can make this call using Managed C++. Is that an
option for you? It's very good at dealing with awkward Win32 data
structures, and is often a good choice if what you're writing is a .NET
wrapper for some non-.NET api.
--
Ian Griffiths
DevelopMentor
- Original Message -
From: Alex Ivanoff
File help item in the
.NET Framework Developer's Guide. If you miss anything out, it's not going
to work.
--
Ian Griffiths
DevelopMentor
- Original Message -
From: Pant, Nishant [EMAIL PROTECTED]
Even I am stuck with this for days now.
I am doing everything according to the book. I
in CodeCompileUnit that would let me control this.
That seems to me like the place this would be set if you could set it at
all. Am I looking in the wrong place, or is this something that cannot be
done?
--
Ian Griffiths
DevelopMentor
===
This list is hosted by DevelopMentor
Ian Griffiths wrote:
I think John's point was that this might cause
MSCORSRV.DLL to be used when
MSCORWKS.DLL would have been better
- the server version is designed to
exploit multiprocessor boxes isn't it?
Mike Woodring wrote:
I doubt that setting affinity would do anything
...
So I agree with Mike. (I just don't think it's totally obvious why he's
right, hence the somewhat circumlocutary mode of agreement.)
--
Ian Griffiths
DevelopMentor
===
This list is hosted by DevelopMentor® http://www.develop.com
You may be interested in Guerrilla
this
attribute could reasonably be regarded as a bug.)
Try adding this:
static void Main()
{
Thread.CurrentThread.ApartmentState = ApartmentState.STA;
... carry on with rest of code as normal...
--
Ian Griffiths
DevelopMentor
- Original Message -
From: Todd Hickerson [EMAIL
using, if any? ATL? MFC?)
--
Ian Griffiths
DevelopMentor
- Original Message -
From: Thokala, Sree [EMAIL PROTECTED]
Can some one help us in sending the array of long integers to OCX
from C# .NET application.
WE are able to send array to a COM inproc and local server easily
between protected members.
--
Ian Griffiths
DevelopMentor
- Original Message -
From: Chris Daly [EMAIL PROTECTED]
Section 3.5.3 of the C# spec lays out some restrictions on accessing
protected members. I don't think that Java has the analogous
restrictions and I'm trying to figure out why
to dynamically invoke a method that does not exist
//
#define COR_E_MISSINGMETHOD EMAKEHR(0x1513L)
Hope that sheds some light...
--
Ian Griffiths
DevelopMentor
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced
DOTNET, or
subscribe to other DevelopMentor lists at http
, the only way to achieve this is not to give them your
software in the first place.
This attack works fine even if there are no bugs in the CLR and you don't
have administrative rights on the machine in question.
--
Ian Griffiths
DevelopMentor
- Original Message -
From: John St. Clair
*. And MSFT don't
generate a key pair every time you load an assembly. Isn't generating key
pairs significantly more expensive than generating 160 bit numbers?
--
Ian Griffiths
DevelopMentor
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced
DOTNET, or
subscribe to other
it gets to the dest1 =
temp1. If it gets that far it's not going to go wrong after that point.
The assignment operator here just copies references, and I don't think that
ever throws.
--
Ian Griffiths
DevelopMentor
- Original Message -
From: Trey Nash [EMAIL PROTECTED]
I'm back with another
For me the principal reason not to use a DataSet when I don't actually need
one is the unnecessary complexity of the class. This is mostly an issue
with Intellisense... I don't like being confronted with 40 items in my
intellisense list that I mostly don't care about. A strongly-typed
* it simpler... You don't
have to write it first!)
--
Ian Griffiths
DevelopMentor
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
the problem?
What happens if you create a ProcessStartInfo and explicitly set the
WorkingDirectory?
--
Ian Griffiths
DevelopMentor
- Original Message -
From: Richard Birkby [EMAIL PROTECTED]
Actually, ShellExecuteEx is called from the Start-Run dialog (and most
other places except
prefer)
--
Ian Griffiths
DevelopMentor
- Original Message -
From: Pierre Greborio [EMAIL PROTECTED]
I don't find any conceptual difference between Mutex and Monitor. Can
someone tell if there are any ?
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced
as linking and assembly, you can use ILASM and enter your native
code in hex!)
So at best it's an academic distinction, and if the Unmanaged Code privilege
lets you run unmanaged code that you bring along yourself, it's not even
that.
--
Ian Griffiths
DevelopMentor
- Original Message
changes. Parameters are dynamic - the
actual parameters being passed are specific to a particular invocation of
the delegate. The delegate's Method property returns you type information
(i.e. static information). How could it return anything else?
--
Ian Griffiths
DevelopMentor
- Original
for each node.
--
Ian Griffiths
DevelopMentor
- Original Message -
From: Christian Schmitz [EMAIL PROTECTED]
I have a problem with the location of events in the .NET framework. Why
Microsoft locates the events in top level classes and not in the classes
where the events really happens
we can stop this madness. ;-)
--
Ian Griffiths
DevelopMentor
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
be virtual by default.)
--
Ian Griffiths
DevelopMentor
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
for any
particular application when you try to use your existing class as a base
class and find out what is wrong with it.
I'm increasingly coming to the conclusion that classes should be sealed by
default.
--
Ian Griffiths
DevelopMentor
- Original Message -
From: Jesse Liberty [EMAIL
Eric Franz wrote:
First lets consider how DotNet would even know, given
a series of paint commands, when your are ready for the
buffered bitmap to be painted.
The traditional way to indicate that you have finished painting is to return
from the OnPaint method.
--
Ian Griffiths
DevelopMentor
buffers a
single command at a time? That is directly contrary to my experience. (And
I use double buffering a lot.) Could you also show what you did to enable
double buffering - that might be where the problem lies.
--
Ian Griffiths
DevelopMentor
- Original Message -
From: Eric Franz
need to have this information available to you from within the
CLR, things are a little tricky - conceptually profilers run outside of the
CLR.
--
Ian Griffiths
DevelopMentor
- Original Message -
From: Stefan Finch [EMAIL PROTECTED]
Is it possible to take a set of assemblies and see
to build the client program in
Visual Studio.NET, then unfortunately you will need the types to be defined
in a DLL. But unless both of those apply, it really doesn't matter at all.
--
Ian Griffiths
DevelopMentor
- Original Message -
From: Sievert, James A [EMAIL PROTECTED]
What I mean
Ian Griffiths wrote:
I can see how that might work for inserting rows into a single
table, but I don't understand how it addresses the poster's
original quetion, which involved adding a *new* parent row,
and a *related* child row. .
Ben Kloosterman replied:
I asume the problem
?)
--
Ian Griffiths
DevelopMentor
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
you'd
expect it to be too small to measure easily.
--
Ian Griffiths
DevelopMentor
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
more general about the performance of the collection classes? If
the former, this is clearly a reasonable test. If the latter, you will need
to be very careful about the conclusions that you draw.
--
Ian Griffiths
DevelopMentor
- Original Message -
From: Thomas Tomiczek [EMAIL PROTECTED
}, {1}, during.Second,
during.Millisecond);
Console.WriteLine(After : {0}, {1}, after.Second,
after.Millisecond);
}
}
}
--
Ian Griffiths
DevelopMentor
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced
DOTNET, or
subscribe to other DevelopMentor lists
to some back end, with a strong hint that
the client software was probably downloaded from the server at some point in
the procedings.
--
Ian Griffiths
DevelopMentor
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced
DOTNET, or
subscribe to other DevelopMentor lists
expensive.) Actually quite a lot of that is the context switch... So it's
going to be slow in any case, no matter what mechanism you use.
Avoiding singletons may well be a preferable approach.
--
Ian Griffiths
DevelopMentor
You can read messages from the Advanced DOTNET archive, unsubscribe from
1 - 100 of 102 matches
Mail list logo