DotNetShoutout - Stories tagged with MSIL
3
Shouts

Internals of Events

posted by abhi2434abhi2434 797 days, 18 hours, 55 minutes ago
Monday, March 14, 2011 10:09:22 PM GMT
If you are looking already at my internal series, you must by now know what does an entry from Internal series means. Yes, In each of those articles, I have tried to at least give some basic idea about the usage and later tried to show you some of the internal process that is happening to achieve the technique. In this post, as the name suggest, I will show how the event system works in .NET (or rather C#) and how this system is actually achieved into the system. The Basics Event is a special obje... (more)
category: Architecture | clicked: 0 | comment | | source: www.abhisheksur.com
tags: C#, internals, MSIL, Event
2
Shouts

Internals of Exception Handling

posted by abhi2434abhi2434 840 days, 18 hours, 58 minutes ago
Sunday, January 30, 2011 10:06:42 PM GMT
Exceptions are runtime bugs that occur due to illegal action taken by the user. The Exception occurs whenever the object state is corrupted and which causes the program to terminate. Based on the severity of the exception we choose either to continue with the program by proper handling the code or rethrow the exception again to the parent block and eventually terminate the whole program. In this post, I am not going to talk about how to throw/re-throw exceptions or even write the best practices on E... (more)
category: Architecture | clicked: 0 | comment | | source: www.abhisheksur.com
tags: Exception Handling, C#, MSIL
2
Shouts

DLR using Reflection.Emit (In Depth) Part 2

posted by abhi2434abhi2434 939 days, 46 minutes ago
Sunday, October 24, 2010 4:18:05 PM GMT
In my previous post, I was discussing how you could create your own assembly at runtime or rather how you could compile an assembly type dynamically using Reflection.Emit.  In this post I will take it further by giving away a number of examples for your better understanding how to build your own custom types dynamically during runtime. I will also try to cover up a portion of MSIL concepts so that you could unleash the power of MSIL easily in your application. The Basics To build a dynamic type, ... (more)
category: Architecture | clicked: 0 | comment | | source: www.abhisheksur.com
tags: dynamic, C#, MSIL
2
Shouts

Crypto Obfuscator 2010 Review By John Spano

posted by LogicNPLogicNP 1014 days, 10 hours, 45 minutes ago
Tuesday, August 10, 2010 6:19:30 AM GMT
I was recently asked to review Crypto Obfuscator 2010 from LogicNP Software. Since most of my development these days is with Microsoft’s Visual Studio product, I jumped at the chance. Software protection has always been a concern when coding in a language that compiles to any intermediate code. The definition of obfuscate is to make something confusing or difficult to understand. That’s exactly what code obfuscators try to accomplish; take your existing code and make it as hard to reverse engineer and u... (more)
category: Metro | clicked: 17 | comment | | source: www.gspdevelopers.org
tags: .NET, Metadata, obfuscator, Crypto, pruning, IP, anti-debug, dotnet, reverse, decompiler, C#, VB.NET, ildasm, Encryption, app, WPF, tamper, code-protection, Assemblies, MSIL, Reflector, Obfuscation
5
Shouts

Creating a basic proxy for intercepting [quick update]. - Mehfuz's WebLog

published 1176 days, 4 hours, 25 minutes ago posted by http://mehfuzh.myopenid.com/http://mehfuzh.myopenid.com/ 1176 days, 23 hours, 51 minutes ago
Monday, March 01, 2010 12:39:12 PM GMT Sunday, February 28, 2010 5:13:15 PM GMT
Sunday, February 28, 2010 8:28 PM mehfuzh Creating a basic proxy for intercepting [quick update]. In my previous post, i enhanced the proxy to support generic calls. In order to minimize IL emit and move more parts to managed code, there is a better way to process the return value rather doing the checks against runtime method and see whether the method’s return type is a value or not for generic calls to un-box the object form that is returned from the in... (more)
category: Agile | clicked: 0 | comment | | source: weblogs.asp.net
tags: C#, MSIL
6
Shouts

A basic proxy for intercepting method calls (Part – 3) - Mehfuz's WebLog

published 1182 days, 11 hours, 4 minutes ago posted by http://mehfuzh.myopenid.com/http://mehfuzh.myopenid.com/ 1183 days, 19 hours, 4 minutes ago
Tuesday, February 23, 2010 6:00:03 AM GMT Sunday, February 21, 2010 10:00:31 PM GMT
Monday, February 22, 2010 3:37 AM mehfuzh A basic proxy for intercepting method calls (Part – 3) In my previous posts, I showed how to create a proxy that can delegate calls. I further modified it to support argument list from original method and handled scenarios for void and non-void calls. In this post, i will further enhance it to introduce generic calls. Basically proxy overrides the virtual or interface calls dynamically and to consider generic meth... (more)
category: Agile | clicked: 0 | comment | | source: weblogs.asp.net
tags: C#, MSIL
11
Shouts

A basic proxy for intercepting method calls (Part –2) - Mehfuz's WebLog

published 1211 days, 4 hours, 53 minutes ago posted by http://mehfuzh.myopenid.com/http://mehfuzh.myopenid.com/ 1213 days, 8 hours, 56 minutes ago
Monday, January 25, 2010 12:11:40 PM GMT Saturday, January 23, 2010 8:08:53 AM GMT
Saturday, January 23, 2010 2:04 PM mehfuzh A basic proxy for intercepting method calls (Part –2) In my previous post , i introduced a basic proxy that intercepts methods. But what is missing in the proxy is that it does not consider method arguments and can not handle return types. In this post, i will enhance the proxy to support exactly those. First of all, i modified the IIntercept.Intercept() to accept IInvocaiton interface. The interface is pretty si... (more)
category: Agile | clicked: 1 | comment | | source: weblogs.asp.net
tags: C#, MSIL
6
Shouts

A basic proxy for intercepting method calls (Part –1) - Mehfuz's WebLog

published 1232 days, 3 hours, 47 minutes ago posted by http://mehfuzh.myopenid.com/http://mehfuzh.myopenid.com/ 1232 days, 23 hours, 25 minutes ago
Monday, January 04, 2010 1:17:35 PM GMT Sunday, January 03, 2010 5:39:10 PM GMT
Sunday, January 03, 2010 11:29 PM mehfuzh A basic proxy for intercepting method calls (Part –1) In this post i am going to show how you can write your own proxy for delegating calls. This just shows a way how you can handle it on your own but for complex interceptions its always wise to use alpha/beta/tested solutions. The post is more of an under the hood / aims to solve simple interception tasks where you might not need a full featured dynamic proxy or b... (more)
category: Agile | clicked: 0 | 1 comment | | source: weblogs.asp.net
tags: MSIL, C