tihomir ivanov

Hi All,

I learned PHP in only 17 hours and it was absolutely enough to begin work as a PHP developer. Learn More how it can be done.

 

Honestly, I don't like asp.net, php, java, c++, javascript, ruby at all.

So, I Created My Own Powerful Programming Language for a few days.

Learn How it Can Be Done. It's really easy :)

Java 4-Ever

Written on June 25, 2010 – 7:16 am | by admin |

for the fans of Java and .not

Tags: , ,

Should you create separate file for new enum in .NET?

Written on February 20, 2010 – 5:15 am | by admin |

You may become in the following situation: You have some class and you want to add some enum for it, then you begin wandering should you add a new file for the enum. I think if the enum will be used by a single class then you should add the enum declaration inside the class. [...]

How to declare and init a static Dictionary

Written on February 15, 2010 – 2:14 am | by admin |

You may want to declare a static Dictionary variable in you code, here’s a simple example how it can be done in C#: using System.Collections.Generic; … public static Dictionary<string, string> dict = new Dictionary<string, string>() { {“key 1″, “value 1″}, {“key 2″, “value 2″}, {“key 3″, “value 3″} }; That’s all. It’s similar to the [...]

My URL Pattern

Written on February 12, 2010 – 1:51 am | by admin |

I needed a url pattern that recognizes the following urls: http://site.com www.site.com https://site.com https://www.site.com Even more, I wanted after url detection, it to be replaced with: http://site.com -> http://site.com www.site.com -> http://www.site.com https://site.com -> https://site.com https://www.site.com -> https://www.site.com I use Regex’s Replace method. It detects all urls and replaces them with the correct format. Here [...]

Tags: ,

Export data to docx file using Open XML SDK

Written on February 8, 2010 – 3:46 am | by admin |

Here’s simple example how can we export some table data to docx file using Open XML SDK. If you are not familiar with Open XML SDK, you can check out first Introduction to Open XML SDK. In this example: 1) Create some string array that represent table data 2) Create a new Docx file and [...]

Tags: ,

Introduction to Open XML SDK 2.0

Written on January 11, 2010 – 1:22 am | by admin |

Currently, I work with Open XML SDK 2.0 and in this post, I’ll try to explain simple introduction to it: What is Open XML and Open XML SDK? Open XML is an open standard that defines a set of XML schemas for representing spreadsheets, presentations, charts and word processing documents. Microsoft Office 2007 applications (Word, [...]

Tags: ,

WCF Web Services vs. Standard Web Services

Written on January 7, 2010 – 2:27 am | by admin |

If you have experience with the standard .net web services you may find useful the following table of comparison between WCF Web Services and Standard Web Services. Standard Web Services WCF Web Services client for the service are generated by command-line tool WSDL.EXE ServiceMetadata tool(svcutil.exe) class attribute [WebService] [ServiceContract] method exposed to client attribute [WebMethod] [...]

Tags: ,