-
Here's an interesting exercise for the day. In Visual Studio 2005/2008, 1. Create a new Console Application. 2. Put in the following code in Main: double x = 5.15; double y = x / 100; Console.WriteLine("y = " + y); 3. Put a breakpoint at the Console.Writeline(..). 4. Press F5 to debug the...
-
I have posted the presentation slides (in both PowerPoint 2007 and OpenDocument Presentation formats) and demo code here: [EDIT: added link to SlideShare copy] Presentation slides, PowerPoint 2007 format , OpenDocument Presentation format or view online on SlideShare Demo code (zipped) IronRuby is probably...
Posted to
cruizer
by
cruizer
on
05-24-2009
Filed under:
Filed under: DotNET, Open Source, C#, .NET, code, presentation, Microsoft, dynamic languages, development tools, Ruby, IronRuby, event
-
Welcome to part two of our series on building a Windows application using test-driven development (TDD). In the previous article we drove the design of our entity classes and data access layer by means of unit tests. The unit tests acted more as specifications for the system rather than tests, since...
-
In a hot discussion thread in msforums.ph about the value of unit testing and adopting test-driven development (TDD), a suggestion was made to illustrate how TDD is used in creating a simple application, specifically Keith's October code challenge . In response to that, I've decided to write...
-
I couldn't believe it: read ScottGu's blog post . Finally, Microsoft is getting *it*. No need to fight it, no need to exhibit their traditional NIH mindset and create their own (as they have demonstrated many times, not only in the .NET platform). They're finally including a useful open source...
-
Just in case you haven't seen this yet: http://www.codethinked.com/category/IronRuby-via-C-Series.aspx I'm sure it's a handy tutorial for learning Ruby (using IronRuby for .NET) the language if you've already got C#/.NET background. I personally think the DLR will become a huge thing...
-
I really like continuous integration . Having come from a company that didn't practice it at all (this was a time I used to regularly work 12 to 16 hours a day), I was so happy when I got into a company that actually practiced it. I found it to be a really effective mechanism to ensure that developers...
-
JP Hamilton has posted a brief blog post on how he unit tests WinForms . Looks nifty, especially if you use a pattern like Model-View-Presenter for your forms. His rationale is that if you keep on testing only the presenter and mocking out the view in your unit tests, your forms code still gets zero...
-
It was my first time to join a community event in Singapore during yesterday's Heroes Community Launch and it was a blast! It was also cool to see that of nine presentors during the event, three of us are Pinoys. I definitely am looking forward to meeting more of the community people soon. First...
-
I will be speaking tomorrow at the Heroes Community Launch 2008 here in Singapore with my favourite (boring?!) topic...Unit Testing! Only this time it's about the testing framework that comes with Silverlight 2's beta release. Kinda excited and nervous at the same time, since it'll be my...
-
Wow, I've been in a black hole for months! The usual excuse -- busy at work on projects. Now that we've gotten our app into production, we're now into firefighting, er... I mean maintenance work for that app. Here are some of the lessons I've learned in optimising and debugging our Windows...
-
I've stumbled upon a free .Net obfuscator --Eazfuscator.NET. So far, it works well for my purposes. Most obfuscators are costly--ranging from $200 to $2000! But this one is freeware and it works better than the free one bundled with Visual Studio 2005. It is free and easy to use!
-
Okay, after almost a year and an offshore assignment, I finally had a chance to update this blog. I was developing a .Net 2.0 C# windows application wherein I basically have to print PDF files from a Windows application. I tried to use the Adobe Acrobat Reader ActiveX object embedded in my form to preview...
-
The previous incarnation of that Microsoft article was heavily panned by critics and in a rare move, Microsoft actually pulled it out of its developer web site. I didn't realise it but Microsoft actually replaced it with one written by Jeffrey Palermo -- http://msdn2.microsoft.com/en-us/library/aa730844...
-
We encountered a strange thing in our current project: there are times our client will bomb out with a web exception when a web service call is cancelled. We found it strange because we enclosed our web service call within a try-catch block, specifically looking for a WebException and testing if the...