How C# project loads added references in 32 / 64 bit platforms?
Hi,I have a C# library (Say A.dll) which had a reference of some dlls like System.Data, System etc. I build my project A.dll keeping target as AnyCPU in 32 bit dev machine.Then I deploy A.dll to my 64...
View Articleunable to connect to any of the specified mysql
Hi, I am trying to connect from C# WinForm application to MySQL but getting the above error. MySQL is on CentOS and I am connected through NaviCat without any problem with enabling SSH Tuning option in...
View ArticleUsing yield in a try and catch block is not possible?
Hi, Using yield in a try and catch block is not possible?What is the reasonRegardskrrishbiju
View ArticleKey exchange mechanism using private key cryptography (RSA & ECDH)
i wanted to know the key exchange mechanism executed by the public key cryptosystems. theoretically i hav com to knw now. but now want to see how it works in c# code. i knw there are libraries existing...
View ArticleHow hot does it get in the summer
how hot does it get in the summer?http://www.travelblog.org/North-America/United-States/Illinois/Calumet-City/blog-846312.html
View ArticlePrinter Error Code -41
I have a wireless printer installed. When I try to print from Hard Drive to Printer I get this error code stating the printer is not activated. It is my default printer. What do I need to do to...
View Articlews Addressing problem
Any help would be appreciated..... My application as a client which should call a web service, uses WSE 3.0. I have problem with soap header(SoapVersion: 12) which my code generates. My soap should be...
View ArticleAttachment name for email is not working consistently for Chinese language
Dear Team,Using SMTPClient, application sends email with attachment to the customer. Attachment name is language specific. Email attachment is working fine except Chinese language. Sometimes, user...
View ArticleCodeDom support for async and await keywords
Good day!I'm developing an application using .Net Framework 4.5 and use async and await async pattern. I need to generate methods with async and await keywords using CodeDom. Right now I can't do it...
View ArticleChange Button BackColor Back to Default in Designer?
To make sure that I did not forget that two buttons on a form were not fully implemented I set their BackColor to pink. Now that I have fully implemented them I want those two buttons to look like all...
View ArticleQuestion about WIF, AD FS and SecurityTokenResolver
Hello,I've configured an AD FS with an external identity provider. When trying to add the metadata it says:ID4037: The key needed to verify the signature could not be resolved from the following...
View ArticleFramework 4.5 Auto-Upgrade Breaks Impersonation in 4.0 ASP.Net App
All:We have a .net 4.0 (VS2010) web service that, among other things, calls into a Component Services (aka "COM+") stand-alone component running on the same server as the web service. For legacy...
View ArticlePerformance of FileStream.ReadByte() versus FileStream.Read
Hi,I'm going to be processing files 1 byte at a time. I used Reflector to look at implementation of FileStream.ReadByte and FileStream.Read. Both "ReadByte" and "Read" use an internal byte array...
View ArticleNamedPipe binary messages
Hello,Simple question (details follow) : how to use named pipes, without soap serialization, i just want to have on method and read the byte array myself.Few weeks ago, i wrote a service using wcf and...
View ArticleDLL issue - Application picks up the older DLL
Dear Team,I have Window 2008 R2 server with .net 3.5 F/W. My WCF application is hosted in IIS 7.0. I always release release related DLL (not all) to production - and restart the IIS web site. All...
View ArticleDataAnnotations.Validator not validating property
As part of a larger project I wrote this sample code: using Microsoft.VisualStudio.TestPlatform.UnitTestFramework; using System; using System.Collections.Generic; using...
View ArticlePrinting unicode directly to a printer
Im using a tweaked version of the RawPrinterHelper.cs class to print directly to a zebra printer. All is fine until I try and print something containing unicode text, the print still happens but the...
View ArticleConnect to MySQL using MySQL Connector.NET and SharpSsh
Hi, I am trying to connect to MySQL using the MySQL Connector.NET and SharpSsh but getting Unable to connect to MySQL although my SSH was successfully connected. Can anyone help please... Here is my...
View ArticleRedium SDK / Redium JS for Replacement of Adobe Reader Mobile SDK
Hi,Currently Adobe RM SDK is used in our app. to reduce the license cost Redium adoption is planned in the project.Pls share successful implementation available to validate the Readium SDK / JS with...
View ArticleHow to post a message without using tweetinvi in twitter?
I created a windows application and add the reference for tweetinvi dll and post a message in twitter. Its working fine, but i need to post a message in twitter using OAUTH instead of using tweetinvi....
View Article