by Peter Bahaa
18. August 2010 21:57
Week ago i started a series of blog posts about coding standards and best practices and i will be posting those post between my personal and Integrant blogs, as one of the most things i love about Integrant is that all the developers are concerned about using coding standards and best practices and approaches, As best practices and coding standards works like a contract between the developers to ensure maintainability, readability, performance and usability, for example I’m writing a piece of ...
[More]
by Peter Bahaa
17. August 2010 02:46
You are building an application in C#. You need a class that has only one instance, and you need to provide a global point of access to the instance. You want to be sure that your solution is efficient and that it takes advantage of the Microsoft .NET common language runtime features. You may also want to make sure that your solution is thread safe. Multithreaded Singleton Static initialization is suitable for most situations. When your application must delay the instantiation, use a non-defa...
[More]
by Peter Bahaa
5. August 2010 01:08
I decided to start a series of posts about coding standards and best practices, the point is, why do we need to keep our eyes open on coding standards and best practices approaches, because simply coding is about maintainability, so following up this standers and practices will really add a real value to our code. Year ago i was working DashSoft and our CEO Remon Zakaria and he told me one of the most major thing that makes you judge someone’s code is have strings inside the code, I’m talking a...
[More]
by Peter Bahaa
19. July 2010 22:20
Many time i stucked with business requirements which says we need to send multiple parameters to database, so the first thing came to my head is to send a comma separated parameter and send this parameter to a t-sql tabler function and query on the values that come out from this function which was tooooooooooooo slowwwwwwwww while ago i had this conversation with one of my colleges and he proposed X-Path which i tried it, and it was more slow and very pad performance, and another one suggested ...
[More]
by Peter Bahaa
2. October 2009 02:47
My team-mate Rizk Sobhi was discussing with me how to make a singleton pattern, so he created a c# code snippet to do the job: to download the snippet click here.
by Peter Bahaa
14. September 2009 03:27
Telerik released a new CTP that fixes most of the bugs has been issued in the August CTP like 1- there were no way to select property to be Title and Summary for the Atom Feed 2- the application is working only on a specific version of Telerik OpenAccess So what they add new is The Automatic Version Selection for Telerik OpenAccess , through saving different version of Telerik OpenAccess in version store and load them when needed on the fly, and the second feature was adding a property sele...
[More]
by Peter Bahaa
7. September 2009 03:02
In this video I'm simply demonstrating how to generate REST Collection WCF service from pre-generated Telerik OpenAccess Entities using Telerik OpenAccess WCF Wizard, I hope you enjoy it, please send me your comments!
by Peter Bahaa
26. August 2009 09:03
In this video I'm simply demonstrating how to generate Astoria service from pre-generated Telerik OpenAccess Entities using Telerik OpenAccess WCF Wizard, I hope you enjoy it, please send me your comments!
by Peter Bahaa
26. August 2009 00:03
In this video I’m simply demonstrating how to generate WCF services from pre-generated Telerik OpenAccess Entities using Telerik OpenAccess WCF Wizard, I hope you enjoy it, please send me your comments!
by Peter Bahaa
27. March 2009 00:54
Configuration inheritance is a very robust feature of ASP.NET that allows you to set configuration settings in the Web.Config of a parent application and have it automatically be applied to all of its child applications. There are certain situations, however, when there are configuration settings that you don't want to apply to a child application. The usual course of action is to override the setting in question in the child application's web.config file, which is ideal if there are only a hand...
[More]