.Net profiler - Good approach to store the call stacks.
Hi,I am doing .Net profiler for web applications where i register the environment variable in w3svc and WAS processes.. so only w3wp.exe loads my dll. I have two functions in my native profiler dll for...
View ArticleDataset Dispoal...again.
.NET Dataset DisposalFoo1 or Foo2? Please help! I have been searching for a definitive and authoritative answer on the dataset disposal issue below. My client insists that there is a memory leak in...
View ArticleUnhandled Exception: System.Security.SecurityException:
I made a console application in Visual Studio that reads a flat file from our customer and updates the oracle database depending on the received data.I use streamreader / writer to read and write some...
View ArticleDigital signature seems to remove Strong Name signature
I've an assembly in C++/CLI. This assembly is strong named, using Linker options, with a SN.exe generated Key.However, the same strongly named assembly, if it is digitally signed, using signtool.exe,...
View ArticleLibrary vs Shared Files
I work with someone who believes it is better to share files across projects via a shared files repository. I believe shared files should be in a separate Class Library project, but I find my own...
View ArticlePerform signedXml.ComputeSignature method manually
Hello,I have tried to compute enveloped signature using signedXml.ComputeSignature() method as show in example below. It worked fine, signedXml.ComputeSignature() method have calculated hash value of...
View Article.Net Profiler - Reset the function's changed IL to it's original IL
Hi,I have instrumented all the functions for a web request when it comes inside the JITCompilationStarted function. During instrumentation I inject the helper function calls to the existing function's...
View ArticleQuestions about adding references to dlls
I'm curious about what happens behind the scenes when an assembly reference is added to a project. I've added a reference to a couple Telerik Reporting assemblies. Telerik said VS had to be restarted...
View Article.Net profiler - Stamping Requests with GUID in HttpContext.Current.Items
Hi, In my helper function ( C#) , I need to assign and store the guid for each request when the call is from entry point of request. So I was storing in the context items as -...
View ArticlePerfView and MinSecForTrigger
It appears that PerfView doesn't honor the -MinSecForTrigger option for -StartOnPerfCounter options, it's stuck at 3 seconds. Any workarounds or a hint where should I report this bug?
View ArticleInstance of AggregateException causes TargetInvocationException
I have a problem that an instance of an AggregateException causes a TargetInvocationExceptionafter a couple of accesses to an Icon resource. I broke down the problem to the following steps to...
View ArticleUpdating certificate details at the clients machine
Hi,I signed my C# console application with signtool.exe. Valid period for my certificate is 1.1.2014-1.1.2016. The application was sold to the end user, whichhas no internet connection and UAC, on his...
View ArticleVery high memory used by w3wp process
We have in a production setup a site for which the w3wp is taking up all available memory. To see how far it would go we put in a server with more RAM, and it went up to 13GB before we took the server...
View Articleapp hang
I have 50+ pc's with 24/7 VS2010 app on them. I have XP, Win7, Win8...On some of them, from time to time I get app hang. In windows error log I get cross-thread. Analyzing DMP in vs2013 I got following...
View ArticleUnused memory allocated on the stack for each usage of "new" in a function
This sample code:staticvoid DoWork4() { var a = new object(); a = new object(); a = new object(); a = new object(); a = new object(); a = new object(); a = new object(); }Produces...
View ArticleReflection.Emit and partial classes
Hi everyone,I am trying to achieve something similar to the .NET Entity Framework, meaning to proxy an existing class such as a basic data model, and extend it with some specific code. There are...
View ArticleNeed to obtain sos.dll version 4.0.30319.01 for debugging in windbg
Is this version available anywhere for me to download?sos.dll v 4.0.30319.01
View ArticleObfuscators
I am trialling preemptive's dotfuscator and it does what i require of it, however the $5000US price tag is a too steep for my liking.The feature i particularly like is how the prevent tools like...
View Article.Net profiler - Good approach to store the call stacks.
Hi,I am doing .Net profiler for web applications where i register the environment variable in w3svc and WAS processes.. so only w3wp.exe loads my dll. I have two functions in my native profiler dll for...
View Article