Owner: AmgadHS URL:http://amgadhs.com Join Date: Thu, 04 Dec 2008 05:41:39 -0600 Rating:0 Site Description: I'm a software developer with more than 10 years of experience. I blog about C# (Winforms and ASP.NET), PHP, Mac OS X, UNIX and Linux. I like to keep my posts short and straight to the point, so it won’t take much of your time. Site statistics:Click here
Encrypting Sections of the Web.Config File in ASP.NET 2008-12-03 05:00:06 In most cases some sections of the web.config file of an ASP.NET project need to be encrypted before moving project to a production server. The most important section to encrypt is the connectionString, because of the login information it contains. Here is a quick way to encrypt the sections you want, without adding or changing [...]
Related posts:Hello, World!My ‘Contact Us’ IdeaAn
Paint.NET: An Image Editor for the Rest of Us 2008-12-01 05:00:33
A while back (6 months or more) I was assigned a project at work that required a lot of image editing. As a developer I do not have much knowledge or use for advanced image editing applications like Adobe Photoshop or GIMP (GNU Image
Manipulation Program). So I looked for something easy to use and [...]
Read more:Editor
, Paint
Multithreading in .NET With the BackgroundWorker 2008-11-29 05:00:21 Sometimes a smart client application needs to do a lengthy operation that can slow down the performance of the whole application and make it unresponsive. This can be solved by executing the operation in a separate thread using the .NET Framework’s BackgroundWorker control. The BackgroundWorker executes such operations asynchronously in a thread separate from the [...]
Related posts:Hello,
Saving User and Application Settings in WinForms 2008-11-27 05:00:19 Before the .NET Framework application settings were saved in INI files and the Windows Registry. But the .NET Framework introduced a much easier way using an XML file. The file has the name of the Assembly and a .exe.config extension, and is placed inside the application’s folder. This way is cleaner because when an application [...]
Related posts:Hello, World!An MD5 Hash of a StringGet a Read more:Application
, Saving
, Settings
DOS Batch File Scripting Tips That Work in Vista 2008-11-25 05:00:52
Batch files have been around since the early Ms DOS days. They are text files that contain a list of command-line executables. They can be compared to UNIX shell scripting, but are much simpler. For a file to be recognized by command.com (Microsoft’s DOS shell) it needs to have a .bat extension.
To print a message [...]
Read more:Vista
2 Ways to Confirm Deletion in an ASP.NET GridView 2008-11-23 05:00:58 When a GridView is used to display and manipulate data, the Delete button can be displayed next to each record to easily delete a single record, or at the bottom of the GridView to delete multiple records at once. I will show in this post 2 ways to implement the former.
The first and easist way [...]
Related posts:Hello, World!My ‘Contact Us’ IdeaAn MD5 Hash of a Stri
A Complete List of Travian Game Servers 2008-11-19 05:00:00
Here is a list of all the Travian servers available to date. It took me a long time to compile this list, and the Travian Team dont have such a list available for third party developers. To get the SQL-Dump of a server just append /map.sql to the name of the server for the sql [...]
How to Create DMG File in Mac OS X 2008-11-15 05:00:38
Ever since I started using a Mac at home, I found DMG files very useful. DMG files are disk images that can be easily mounted in Finder and accessed just like any other disk. I mainly use them for files and folders I do not use frequently. But I also use them for [...]