C-Sharp : Useful tips to increase performance of program

Friday, 24 December 2010 19:05 by Anupama
In your dotnet program type casting is a costly operation in program execution and you should always try to reduce casting operation especially in loops.
For example suppose you want to find all text boxes on a form and want to manipulate some property of text boxes. For this i have written following code [More]

C-Sharp: How and When to use Dispose Pattern ?

Monday, 13 December 2010 12:25 by Admin
As we know, In dotnet program we don't need to delete(Cleanup) objects by our self because dotnet program is a managed code and there is garbage collector to do cleanups very efficiently for unused objects when required. [More]

Android: Calling Web Service with complex types

Friday, 8 October 2010 08:39 by Anupama
Calling web service on Android is possible with KSOAP2 (ksoap2-android-assembly-2.4-jar-with-dependencies.jar) or you can write you own soap message formatter and can make http call using android apache http classes. [More]

Entry point not found in System.Data.SQLite.dll

Monday, 13 September 2010 08:23 by Admin
Today I encountered error while working with SQLite in C# Application "System.Data.SQLite.dll Entry point not found" on non development systems. I was working with VS 2008 and it was working fine on my development system. Then I checked my build log and I came to know that I am getting one warning that [More]

Debug dot net framework dll and disassemble dot net dll

Friday, 10 September 2010 09:52 by Admin
For more than 4 years i was using roeder reflector tool to dissemble dotnet dlls and now this has been acquired by Red Gate and they has enhanced it to debug dotnet pre compile dll's and dot net framework dll's in Visual Studio. Reflector program is still free but debugger tool is not, you have to pay some money for this. [More]

SGEN error Could not load file or assembly

Monday, 6 September 2010 06:41 by Admin
Error 1 Could not load file or assembly 'Your Assembly name version public key' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417). [More]

c sharp 4.0 features

Sunday, 22 August 2010 01:59 by Admin
C# 1.0 for managed code, C#2.0 included Generics or Template, c# 3.0 included Language Integrated Query(LINQ) and Now C# 4.0 Includes dynamic programming. There are breaking changes in different version of C# language or compiler. [More]

How to pass binary or image file to a web service

Saturday, 21 August 2010 09:21 by sheel
Some time it is required to create a web service in which one method can take image or binary file data as a parameter.
So to achieve this we have to format or image or binary data to transferable format over HTTP. [More]