| Thread | Last Post | Replies |
|
| Dynamic assembly not persisting correctly. | 29 Jul 2004 22:23 GMT | 3 |
I am emitting a dynamic assembly (marked with the RunAndSave flag). I can successfully instantiate the "dynamic" class in my dynamic assembly. I can successfully call a method on that dynamic class. When I call the assembly builder's Save() method, an assembly dll
|
| disappearing process when launched from web service | 29 Jul 2004 11:36 GMT | 2 |
Hi, I have a question about the scope of a process, when launched from a web service (using Process.Start). it may sound silly but there is an unusual side effect, the process disappears as soon as it starts. i'm building a very simple web service to control a server dial-up ...
|
| When to use Synchronized method and When to use lock? | 29 Jul 2004 02:26 GMT | 6 |
To prevent concurrent access to a data structure, one way is to use its Synchronized method, another way is to use unlock keyword in C#. I'd like to know how to choose from them. For example : class MyClass
|
| UNANSWERED: strange framework exceptions with regex | 28 Jul 2004 23:58 GMT | 9 |
posting this a third time in the hope that someone may explain why it happens, or that MS will acknowledge a bug and fix it in 2.0... i have a regular expression and very occassionally i'm getting an index out of bounds exception from one of the inner framework methods, when i use
|
| binary compatibility support for .NET assembly | 28 Jul 2004 22:19 GMT | 5 |
Suppose that I have a class in an assembly that is delivered to the user, what can I do to change the class so that it doesn't break the binary compatibility? That is, user application can run with recompiling and relinking.
|
| Why the Microsoft.VisualBasic in Manifest | 28 Jul 2004 00:41 GMT | 3 |
Hello, I wrote two assemblies by VB.NET and C# to implement the same function to sayHelloWorld. After compilation, I used ILDASM to inspect the assembly DLLs.
|
| GC SuppressFinalize and ReRegisterForFinalize | 28 Jul 2004 00:11 GMT | 6 |
I am having trouble understanding the code below. (From http://msdn.microsoft.com/msdnmag/issues/1100/GCI/ Figure 9) I am looking for an explanation about how the SuppressFinalize calls work. From reading the documentation, i get the idea that SuppressFinalize would
|
| Do I trust the implementation ? | 27 Jul 2004 23:15 GMT | 1 |
I have a factory pattern that gives me an instance of an implementation that is not a well known. All I know is the interface, and I read the final implementation somewhere from my configuration. This is great for plug-ins, where you can have your code completely independent of the ...
|
| EnC in VB Whidbey | 27 Jul 2004 12:41 GMT | 2 |
Can someone tell me how Edit and Continue works internally in VB Whidbey? I mean - what happens behind-the-scenes in the CLR when you change the code in the debugger and run the application again Thanks!
|
| How to specify the initial memory size for a application? | 27 Jul 2004 06:07 GMT | 7 |
I have a program that cost a lot of memory. During the load of the program, more and more memory is being allocated. I'd like to know if I specify a large initial memory size for the application, would its load speed be increased? If so, how can I specify that?
|
| Memory not being released in .net service | 26 Jul 2004 22:10 GMT | 2 |
I have a .Net windows service that has 4 threads. Each thread handles large amount of string data. The threads are out to sleep and awaken after 1 minute intervals. From the start of the service, the memory consumption keeps increasing to a point, where 'out of memory' exception ...
|
| Logical threads vs. physical threads | 26 Jul 2004 21:59 GMT | 1 |
I'm using ThreadPool.QueueUserWorkItem to handle work requests from a Windows Service. I've been using the performance monitor to trace the number of physical threads and the number of logical threads in the LocksAndThreads counters. I'm seeing 28 physical threads, but only 1
|
| How do I locate custom attributes on private fields? | 26 Jul 2004 19:54 GMT | 2 |
I have a custom attribute that I would like to locate on fields within a class object. I can only find the attribute if it is placed on a public field. Private fields cannot be found. I have tried the following code, but not sure why it is not finding the attribute when the field ...
|
| Determine calling method from within called method? | 26 Jul 2004 17:02 GMT | 3 |
From within a method of a class, how do you determine the name of the class.method that called it, programmatically? I have a log file class, and it would be very beneficial to be able store the name of the class and method that
|
| Br vs Br_s while Emiting a Switch Statment | 25 Jul 2004 18:01 GMT | 1 |
I am dynamically Emitting a switch statement using System.Reflection.Emit. I have used the ILDASM and copied a switch statement’s syntax as a reference. I run my code to build the function and I got an Illegal One-Byte branch exception. I figured out that the first couple of ...
|