Does Mono have the equivalent of ILDASM?

Yes, monodis is Mono’s equivalent for ildasm. $ cat a.cs public class Foo { public static void Main() { System.Console.WriteLine(“Hello world”); } } $ monodis a.exe .assembly extern mscorlib { .ver 1:0:5000:0 .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. } .assembly ‘a’ { .hash algorithm 0x00008004 .ver 0:0:0:0 } … Read more

Install Mono on Centos 5.5 using YUM

I figured it out. Create a new repository configuration file cd /etc/yum.repos.d vi mono.repo Add the following lines to the file [Mono] name=Mono Stack (RHEL_5) type=rpm-md baseurl=http://ftp.novell.com/pub/mono/download-stable/RHEL_5/ gpgcheck=1 gpgkey=http://ftp.novell.com/pub/mono/download-stable/RHEL_5/repodata/repomd.xml.key enabled=1 Update the YUM cache to be on the safe side yum clean all Install the Mono server stack yum install monotools-addon-server The installed binaries will … Read more

“NotSupportedException” when WebRequest is unable to find a creator for that prefix

Try this hacky workaround on this issue: private static HttpWebRequest CreateWebRequest(Uri uri) { var type = Type.GetType(“System.Net.HttpRequestCreator, System, Version=4.0.0.0,Culture=neutral, PublicKeyToken=b77a5c561934e089”); var creator = Activator.CreateInstance(type,nonPublic:true) as IWebRequestCreate; return creator.Create(uri) as HttpWebRequest; }

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)