Dev Blog - Johan Danforth
I'm Johan Danforth and this is my dev blog - a mix of .NET, ASP.NET, Rest, Azure and some other random coding stuff.
-
Scott Guthrie - Talking ASP.NET and IIS 7.0
Channel 9 has a cool interview with ScottGu, where he talks about how ASP.NET was created and a few things around IIS 7. He also talks about new features in ASP.NET 2.0 Check it out.
The second part is here.
-
[.NET 2.0] Visual Studio Tools for Office
I've been attending a few VS.NET 2005 seminars now, and I'm quite curious about the stuff you can do with Visual Studio Tools for Office. It is interesting to use Word and Excel as clients because users know how to use these tools and the Actions Pane is the perfect place for simple controls to help the user fill in and submit a form or similar.
If you're interested in stuff like this, check out the things available at the home page.
-
[Books] New Features and Tools in ASP.NET 2.0
This has been out there on the Net for a while, but someone may have missed it. Some sample chapters from the 2nd edition of the book about new features in ASP.NET 2.0 - The Beta Version.
I read the first edition of that book, and I can recommend it. It's not very detailed, but you get a good feeling for what's coming.
-
[Interop] Simon says: Interop
Some more good stuff around WS interop from Simon - a list of his WS Interop Webcasts
-
[Interop] The interop page to visit
In case you haven't seen it, this page at MSDN contains lots of good articles and resources around Web Services Interoperability.
One article that looks quite useful for me is one written by Simon Guest -> WS-Security Interoperability Using WSE 2.0 and Sun JWSDP 1.4. Actually, Simon has done lots of good stuff around Web Services, see the MSDN webcast about Web Services Interoperability tips.
-
The bluetooth worm is spreading
We used to joke about this a couple of years ago, we all knew it would happen, and now it seems to be spreading - the bluetooth worms. Why anyone would walk around and have his or her mobile set on discoverable mode, I don't know. Even less choose to install something without being sure what it is :)
You can find out more from any of the bigger anti-virus webbys out there, like F-Secure.
-
TDD: Who is testing the tester?
I posted earlier about the book "Test Driven Development in Microsoft.NET, and I liked that book very much, it's not that. I've been using JUnit and NUnit in smaller and larger projects, but I've never used it in the way you often see it described in books written by the TDD-gurus and the way it is described in this book. I can't help it, but it feels kind of stupid to create a test the first thing you do, just to see the compile fail, write enough code to make the test compile then see the test fail, then add "dummy code" so that the first test pass but the rest fails... you know the drill :)
Then there is this thing about testing every class in every layer in a system or application. Writing that many tests manually would probably make me go nuts, and the quality of the test methods would most certainly drop after a while. The value of unit testing only gets as good as your test code, right? I've seen some tools that try to create test code for you automatically, but I've not been that impressed.
The way I've been using JUnit is that I've created tests against the facade layer or (web) service layer and then added the tests as a target in my ANT build scripts. That has worked out pretty well. If someone in the team changed something in the database or some other layer, the test fail and you (most of the time) get a pretty good tracktrace which shows where the problem lies. Even so, writing really good tests for that layer only (with scripts for setting up database tables and populate with test data), can take quite some time. Of course, it depends on what kind of system you're building and if the service/facade interface takes complex parameters which makes it hard to test properly, but imagine writing tests for the service layer, business layer, utilties and data access layer too. You would probably spend more time writing test code than anything else :)
Some would probably say TDD, XP and Refactoring is something invented by a few smart guys so they would get longer contracts and get to spend more time coding and less time documenting ;) I just wish some of my customers believed in those methods when I was a consultant :p
Personally I'm going to continue to use parts of TDD, XP and refactoring that I like because I think these methods (not that refactoring is a dev method but anyway) have got some really good bits in them. Besides, I love to read the books about them.
-
[Interop] WSRP Web Service sample in ASP.NET
-
[Books] Good book: Test-Driven Development in Microsoft.NET
I've just started to read the book "Test-Driven Development in Microsoft.NET" and I must say it's darn good and a must read if you're a developer or architect. I'm a fan of Martin Fowler and was happily surprised to find lots of good stuff around refactoring in the same book!
If you haven't got it, go get it already :)
-
Some old articles from CodeProject