Peter Bahaa's Blog

Business and Technical Articles

Business Logic Document “Writing Better Test Cases”

January 26
by Peter Bahaa 26. January 2009 04:49
Unit test is one of power testing methodology for developers code, and its easy , and i as a .net developer , i like that is embedded in VS, by single click you can create a unit test function. If you are working with agile and you have non-stop changing requests, new features and of course bugs, there are no  way of not using strong unit-tests, it will always raise a flag, that says MY CODE IS OK, it simply ensure that you have more stable deliveries. In any company, we always care about... [More]

Tags:

Technical | Tips & Tricks

Moving from 3.5 Extensions CTP Preview to .Net 3.5 SP1

November 11
by Peter Bahaa 11. November 2008 19:06
If you are using 3.5 Extension in your website , you must pray that your hosting administrator , will not unistally 3.5 CTP preview and install 3.5 SP1 , everything will blow up, so here are the steps to solve that and let your old website works with 3.5 SP1 , which will be more faster than when we were using 3.5 CTP Preview : 1- Uninstall 3.5 CTP from your machine, 2- Download Full Package of SP1 (It will be faster from downloading 2.8 file ), size (237 MB): http://download.micros... [More]

Tags: , , , ,

Tips & Tricks

Writing Professional Code Part (2)

November 11
by Peter Bahaa 11. November 2008 19:04
Design Pattern Following any design pattern is the key of good project development; the website structure must show the business entities and its contents, ex: we are using a mixed design pattern of MVC and N-Tiers , so we need to have each item in place , we didn’t to stuck one specific design pattern , we need to apply what will help developing our project, btw , I was talking to Stephen Forte , “I invented a new design pattern ” , he smile and said back “ Design ... [More]

Write Professional Code with Code Analysis

November 11
by Peter Bahaa 11. November 2008 19:00
You want to stick with naming convention and code maintain rules and other rules that professional developers stick with, the simple answer you can do with brilliant feature of Visual studio team System Edition, go to Analyze menu and choose Code Analysis Configuration, You can enable code analysis in each build, Also, you can Treat code Analysis Warning as Errors, by time u will learn how to produce a very professional code, But: if you in a middle of developin... [More]

Tags: , ,

Tips & Tricks

JavaScript with IIS 7 and Windows Server 2008

November 11
by Peter Bahaa 11. November 2008 18:58
Have you ever seen “AjaxToolKit is undefined” , propapply your website is hosted on Windows Server 2008 and IIS 7, and if you are using other script Manager likes teleriks you would see different message called “Telerik is undfined” or your javascript mauy not work at all,I found the simplest solutions is , whenever you are using ToolKitScriptManager write CombineScripts="false" If you are using RadScript Manager write EnableScriptCombine="fals... [More]

Tags:

Tips & Tricks

Calendar

<<  September 2010  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

View posts in large calendar