Category · 193 posts
.NET
2011
-
How Microsoft Israel Scares .NET Consultants Into Submission
If you are a consultant related to any Microsoft related technology in Israel, you might know the feeling - There's something you really want to tell your customers about a product that might be better than a current…
-
TDD Master class - Videos Available For Purchase at TekPub
UPDATE: I have moved my tdd master class videos over to udemy.com . I’ve added many more and the class is now almost fully complete. In the past several months I’ve been taking background recordings of my classes with…
-
Upcoming 3 and 5 day TDD classes
September in Stockholm (3 days) I'll be giving a 3 day version of my TDD masterclass in .NET, in Stockholm. You can register and find more details here. October in Copenhagen (5 days) This is the only 5 day TDD class I…
-
The first Ruby on Rails course in Israel is open for registration
if you've ever wanted to learn ruby on rails in Israel, but didn't know how to start on your own, I think you'd find this very interesting! (no, I am not teaching it. someone with much more experience than me is) Web…
-
New User Group: Ruby Underground - Ruby and Ruby On Rails
Ever wondered what all the fuss is about when people talk about Ruby and Rails? Now’s your chance to get in on the inside loop and join a rapidly growing community of practice here in Israel on this very subject. We’ve…
-
New User Group: Ruby Underground - Ruby and Ruby On Rails
Ever wondered what all the fuss is about when people talk about Ruby and Rails? Now’s your chance to get in on the inside loop and join a rapidly growing community of practice here in Israel on this very subject. We’ve…
2010
-
This Week In Test - Episode 1 – Rietveld!
We’re happy to bring you the first episode of the new and revamped “This week in testing” with Roy osherove and Ariel Raunstien. The episode is 32 minutes long. You can watch it in full at our new site .
-
Video: Hardcore production debugging in .NET – Ingo Rammer
I got Ingo Rammer’s permission to post this video of one of his Teched EMEA 2008 talks – it’s about hardcore production debugging, and it’s a wonderful talk. I highly recommend you watch it. Also you should consider…
-
Want to work at Typemock? We’re Hiring
We are looking for a .NET\C++ developer to join the growing Typemock ranks. You need to: Live in Israel know .NET very well (at least 3 years .NET experience – VB.NET or C#, and willing to learn the other one) Have some…
-
Video: Continuous Integration with and without team system (Teched 2008)
this one was a loong time ago – but still has value. it’s about continous Integration, with and without team system. BTW – you can find all of my videos over here . Embedded Flash media from the original post is no…
-
Running TeamCity from Amazon EC2 - Cloud based scalable build and continuous Integration
I’ve been having fun playing with the amazon EC2 cloud service. I set up a server running TeamCity , and an image of a server that just runs a TeamCity agent. I also setup TeamCity to automatically instantiate agents on…
-
JustMock and Moles – A short overview for TDD alpha geeks
People have been lurking near my house, asking me to write something about Moles and JustMock, so I’ll try to be as objective as possible, taking in the fact that I work at Typemock. If I were NOT working at Typemock…
-
TechEd Israel 2010 may only accept speakers from sponsors
UPDATE: Microsoft reps and other sources have notified me that whatever plans they had for only sponsored speakers, are canceled. they will be accepting non sponsored speakers as well. A month or so ago, Microsoft…
-
Finding the location of vsixInstaller.exe programmatically
It should always be here: %vs100comntools%\..\..\IDE\ or through the registry: HKLM\SOFTWARE\Microsoft\VisualStudio\10.0\ under key “ InstallDir ” Thanks Pablo !
-
Things to install on a new machine – revisited
as I prepare to get a new dev machine at work, I write the things I am going to install on it, before writing the first line of code on that machine: Control Freak Tools: Everything Search Engine – a free and amazingly…
-
Solution: Visual Studio 2010 beta 2 extension does not load in vs 2010 RC
like (I think) many others, the extension I am writing for visual studio 2010 beta did not even load on the new visual studio 2010 RC. After searching and asking around, it looks like the main breaking change for me was…
-
Working on a new product
I’ve been heads down in the past few weeks working on a new product. a public alpha\beta will be out end of this month. It is in the field of unit testing. Can you guess what it is? hints : There is parsing involved…
-
TDD master class – Vienna Feb 15-19
I will be in Vienna again in two weeks , from Feb 15-19 ,doing my TDD master class . There are two seats left – and I’d love to see you there! here’s what other people who attended had to say about this class . You can…
-
18 Questions to ask yourself when choosing continuous integration and build automation tools
In a previous post I explained the different between Continuous Integration tools and Build automation tools , but there’s also lots of be said for HOW to pick a specific CI or BA tool. What do I look for in a CI tool?…
-
January at Israel .net user group: Unit Testing!
The January meeting of the Israel Dot Net Developers User Group will be held on Wednesday January 20, 2010. This meeting will focus on real-real issues and practices in developing unit tests, with a variety of tools.…
-
The difference between continuous Integration tools and automated build tools
Lots of people have a common misunderstanding of the (subtle) differences between the various tooling regarding continuous integration and build automateion. Here’s the gist of it: Build automation: Build automation…
-
Unit Testing Biztalk : Two possible frameworks
BizTalk is notoriously hard to test. But I just came a cross a couple of interesting solutions to do unit testing for biztalk related logic and orchestration. BizMock : “BizMock is a framework for testing BizTalk…
-
Poll: Do you use NUnit’s fluent API?
if you use NUnit, did you know it has a fluent API option? Do you use it? you can write the following: Assert.That( someString, Is.Not.Null .And.Not.Empty .And.EqualTo("foo") .And.Not.EqualTo("bar")…
-
TDD: 4 questions that will help you create the simplest thing that could possibly work
Today in class I got to understand, for the first time, what I define as “the simplest thing that could possibly work” when doing TDD. Many people struggle with the idea of simplicity. the idea of doing things to the…
-
Oslo TDD Course – First day canceled
I’m so sorry to announce this. Due to various flight delays coming in to Oslo from Tel aviv, I am stuck in munich, only coming into Oslo tomorrow afternoon. That means that if you are part of my TDD course starting…
2009
-
RTM ready tests
a friend came up with a good way to describe good tests the way I see them (in my book I describe good unit tests as ones that are readable, maintainable and trust-worthy at the same time). He just called them RTM:…
-
Brown, Green, Refactor
Having seen enough crappy unit tests to last me a lifetime, I think there should be a parallel to the old “ red-green-refactor ” (from TDD) – it’s evil twin brother should be “ Brown-Green-Refactor ” wherin you’d do a…
-
Software Apprenticeship
Wow, maybe indeed it is time for a book about apprenticeship in software. I think the software craftsmanship initiative is long overdue, but it won’t be complete without the idea of proper leadership , not just…
-
Test Driven Development Master class in Sydney, Australia
I’ll be doing my TDD master class in Sydney, Australia this February, and I’d love to see as many of you ozzies there as possible :) while I'm there, during or after the course, I’m open to doing some short consulting…
-
Advanced .NET Debugging
I’ve started reading the book “ Advanced .NET Debugging ” and am loving the first chapter already – which is really just a list of debugging tools – at least a third of which I’ve not heard of. How awesome it is to feel…
-
The legend of free tools
It amazes me that people still feel the need to solve things in the hardest way possible simply because it is “free”. In this thread , a guy wants to setup an automated build for his company a a demo of how good it can…
-
How to start agile development in your team
Got this in the mail: Hi Roy, From time to time I'm reading your blog, and I must say that I'm quite behind. I would like to start an Agile Process in our company, but to be honest I do not have any knowledge from where…
-
Course: Leading Software Teams – Essential Practices for team leads
This november the 22nd I’ll be doing a one day workshop for software team leads on the essentials of leading a software team, and required leadership skills that need to be developed. The full course agenda can be found…
-
Test driven design – Willed vs. Forced Designs
I’m writing this as a typemock employee, but also as someone who has sat on the other side of the line for several good years, and can argue in both ways. The following, I feel, is true no matter where I work. There are…
-
Recommended books part III
Play video Recommended dev books part 3 as usual, the book link list can be found here .
-
Recommended books - part II
Play video Recommended dev books part 2 as usual, the book link list can be found here .
-
Recommended books - part 1
Play video Books for software developers part 1 You can find the list of books with links over here: /books-i-like
-
Why Google Chrome and FireFox are a big security risk for anyone using them
I’ve stopped using Internet Explorer – Too damn slow, memory hogging beast. I’ve stopped using FireFox, for the same reasons, funnily enough (until I found out about the security flaw). I’m now using Safari – it’s…
-
NDC Video Torrents Update – More videos! (please re-seed)
There are now two torrent files. Vegan Vikan has shared a torrent that has most of my TDD talks, a few from Ayende, and Robert Martin/ This torrent has talks that I downloaded. Action item: Even if you’re not interested…
-
NDC Video – Robert Martin – S.O.L.I.D Principles of OO class design
another one from the big uncle overseas Embedded Flash media from the original post is no longer playable.
-
NDC Video – Robert Martin – Craftsmanship and Ethics
while you’re waiting to get all the videos I have via torrent (could take about 6 days for the initial seed to be complete, sorry!), here’s another killer from Robert Martin: Embedded Flash media from the original post…
-
NDC 2009 Videos - .Torrent File
After uploading files slowly to Viddler, I realise that the video quality is pretty low. so, I create a .torrent file you can use to get the hi-res versions of the NDC videos I managed to download. I use UTorrent as a…
-
NDC Video – Robert Martin – Component Principles
Embedded Flash media from the original post is no longer playable.
-
NDC Video – Robert Martin – Clean Code III – Functions
Uncle Bob! Embedded Flash media from the original post is no longer playable.
-
NDC Video – Michael Feathers – Working Effectively with Legacy Code
another one by Michael Feathers Embedded Flash media from the original post is no longer playable.
-
NDC Video – Jeremy D. Miller – Convention Over Configuration
Here’s one by Jeremy Miller Embedded Flash media from the original post is no longer playable.
-
NDC Video – Michael Feathers – Seven Blind Alleys in Software Design
and another, by Michael. Embedded Flash media from the original post is no longer playable.
-
NDC Video – Ted Neward – WCF Patterns
This one, by Ted Neward Note: it starts about 10-15 minutes into the video (it is unedited) Embedded Flash media from the original post is no longer playable.
-
Six things that will happen when you uninstall your MSDN documentation
someone asked in a mailing list if there are any repercussions to uninstalling MSDN documentation from their system, since it was taking such a long time to load on F1. my answer: After uninstalling MSDN you will get…
-
Uncle bob and the Art of Unit Testing
Before my book came out, I sent a copy over to Robert Martin. the guy in the agile circles these days (and for many years!) I wanted him to read it and give me a quote about the book I can use. Well, it took some time…
-
No Excuses
I read on twitter the other day this guy who wanted to go to my TDD master class course but was bummed out for not having the money. so he started bitching about it on twitter how it costs so much and can someone please…
-
Script# (Script Sharp) – writing javascript in C#
I’ve started dabbling with web development. I’m building a secret project that I’ll unleash one day. soon. I’m learning a lot of JS and JQUery foo as I’m putting together a coupld of ajax and interaction intensive pages…
-
Lifetime of a software methodology
I think I heard Jerry Seinfeld say that the life of an actor are: Who’s Jerry Seinfeld? Get me Jerry Seinfeld Get me a young Jerry Seinfeld Who’s Jerry Seinfeld? Which really feels these days like: What’s “CMM” Let’s do…
-
JQuery in Action – Great book
I’m half way through JQuery in Action and have to say I was pleasantly surprised to read a lot of things about the “why'” things are the way they are, and not just simple facts about JQuery. Lots of useful information,…
-
TDD Master Class almost full
My upcoming TDD Master class in Oslo, Norway, during august, has only a few seats left. I heard from several people at NDC that they are planning to sign up, so I’d suggest they hurry up . This class is a 5 day pair…
-
Art Of Unit Testing available at Amazon
My book, The Art Of Unit Testing , is now in stock at Amazon. If you’ve read the book, I’d love it if you put in a review on that page.
-
Using Explicit Arrange,Act,Assert scopes in tests – thoughts?
What are your thoughts on this style of writing? Specifically the “Explicit” way of defining arrange, act and assert scopes. also, given the name of the test, where should the call to “OnApplyTemplate” be (if you’ve…
-
Review: CryptoLicensing for .NET
I was recently asked to review a licensing solution – CryptoLicensing for .NET (disclosure – I was paid for my time , the time it took to review it, but had only committed to doing a fair and balanced review). After…
-
Daily news blogs about .NET and related creatures
A friend asked me how I know about so many things that happen in the .NET sphere. the answer is very very simple. All you have to do is follow a few blogs on a daily basis, and you’ll have access to a whole world of new…
-
A simpler, conventions based DependencyProperty structure for silverlight using CustomControlBase
Having stated to look into silverlight not long ago, I was totally put off by the horridness that is DependencyProperties, and how you implement them: You need to declare a static property that is registered at the type…
-
Fix: Requested registry access is not allowed error when creating silverlight project in visual studio 2008
This is an issue that had me stumped for a while. I was getting a “Requested registry access is not allowed.” message from visual studio when trying to create a new silverlight application. turns out the culprit is a…
-
Upcoming travel: SEConf, NDC
Trying to balance work life and … life… is challenging. I’ve taken quite a bit of a vacation from speaking engagements, but starting June I’m back to some of my old antics. Here’s my travel schedule if you care enough:…
-
Preview: Placeholder arguments and custom argument checkers
here is a glimpse of the feature the guys are working on at the moment. I call it “Placeholder Arguments”. It’s a variation of the “how do you allow the user to check parameters passed to a method?” question when…
-
Geeky T-Shirt ideas
Here are a couple of Conference T-Shirt ideas I had that I wanted to make: “Legalize unit testing” “I broke the build” “I Mock You” “I’m Mocking this” “I do B(eer)D(riven)D(evelopment)” “I fail first” “I fail early and…
-
Test Review #3 – Unity
Watch previous videos: Test Review #1 – NerdDinner Test Review #2 – ASP.NET MVC //TestReviewUnity.mp4 In this video I go over the tests for Microsoft Unity Application Block. Overall the quality of the tests in Unity is…
-
Test Review #2 – ASP.NET MVC Unit Tests
See other reviews: Review #1: NerdDinner Here’s the second video review of Unit Tests. This is another one written by Microsoft – ASP.NET MVC ( source ). First, it’s important to state how surprised I was by the high…
-
Test Review #1 - NerdDinner
I’ve decided to start doing some test reviews of tests that I see in the wild. I figured it’s the best way to show people what I mean when I say they do not have readable, maintainable or trustworthy tests. The first…
-
ALT.NET Israel – Meeting II 2d and 3rd of April
YOU CAN NOW REGISTER HERE I’ll just repost this in Hebrew: בשעה טובה ומוצלחת אני שמח לבשר על כנס alt.net israel השני מיקום הכנס : כמו בפעם שעברה, יתקיים הכנס בבית קבוצת סלע בבני ברק, ליד קניון אילון. תודה לאנשי קבוצת…
-
API design values and decision matrix
We’ve come to a nice way of deciding upon features in the Isolator API. This is what happens when your end product is an API for programmers. First, we realized that we must argue about it . For each type of new feature…
-
Art of unit Testing goes to print in April
The book of never ending production is now actually near the end. the projected print date of “Art Of Unit Testing” is now April 30 and I’m happy to see the Amazon page for the book already has one review of the early…
-
Creativity Cards in software
I fully agree that software is a very creative profession. Sometimes the creativity lies in creating things, sometimes it’s about taking things apart to understand them, or restructure them, and sometimes it’s just…
-
Code Formatter plugin for live writer - updated
Looks like the Code Formatter plugin for Live Writer has been updated. Gonna give it a try.
-
Method_Missing: Cool Uses
I wrote the other day that I’ve added that ability to use a Method_Missing method in VB. I was also able to get something similar in C# 4 using dynamic types but people keep asking me “why is it useful?” I thought long…
-
Adding Method-Missing support to VB.NET using CTru and Typemock Open-AOP
I am finding cooler and cooler stuff to achieve using the CThru Engine. A few hours ago I suddenly thought : “CThru intercepts all calls in the system. what happens if they are calls to methods that don’t exist?”…
2008
-
The morning brew
FYI, the morning brew is one of the link blogs that I read on a daily basis too. Thanks for the work! I find that it is a good place to find out what’s going on in the .NET and ALT.NET scene these days.
-
Isolation frameworks – lessons from the wild
I’m in the process of teaching another TDD master class in Oslo this week, and in the past two days we went over the major Isolation frameworks in .NET (I refuse to say Mocking frameworks anymore. the “Mock” work is too…
-
Isolation Syntax for VB.NET - Your comments please
I'm working on adding a VB.NET Friendly syntax for Typemock Isolator. If you're into VB, I'd love your input on the usability of this API and how to make it better. We'll start going through several basic scenarios that…
-
Announcing Isolator for Sharepoint with a free full license for bloggers
Time for a freebie! We’re announcing today about a new product: Isolator for sharepoint – which allows unit testing sharepoint code without needing sharepoint installed. A good article on this can be found here “Huh?”…
-
Isolator Feature Focus: Faking Collections
Another cool feature in Isolator is the ability to fake values that will be returned from custom collections (anything that inherits from IEnumerable as long as it is not in mscorlib - for example - sharepoint lists).…
-
Isolator Feature Focus: Duck Typing and Isolate.Swap
Typemock Isolator 5.1.1 has been released, and this release brings with it some awesome (seriously) features that are unique fro any other framework I've seen. a good overview of features can be found here . The…
-
PDC 2008 Videos
I’m not at PDC, and you may not be either. but the session videos are starting to become available. Go to the channel 9 PDC videos sections and look for sessions with the graphic: Sessions I’ve set myself to watch:…
-
Use Reflection to find Methods that implement explicit interfaces
update: added a check for IsPrivate based on the comments. so I won't forget: here's how you can iterate over a type definition's methods and see if one of them is an explicit intreface definition: foreach (var info in…
-
SharpMock 0.1 ?
James, I would love to see you take the idea of “SharpMock” to the next level . If not anything else, it would be an interesting challenge to write about. James took PostSharp and started looking at the possibility of…
-
Isolator feature focus – Advanced Debugger Support for fakes
Two features that Typemock Isolator has make the debugging experience with it very different than any other isolation framework: 1) Highlight fake method during debugging When stepping into a method that is being faked…
-
Art Of Unit Testing – Book done, Wiki ready
I’m happy to report that my book has finally hit the “last review” stone, which means all chapters are done and the book should be in book stores around jan-feb 2009 . If you’d like to read the E-Book version right…
-
Graphic Designer Wanted (and found)
Update: We have already found a designer. Thanks for sending all those emails! We are looking for a part\full time graphics designer. the initial need is to create great icons, design logos and such. If that person also…
-
Isolator feature focus: Recursive Fakes
Here’s another feature Typemock Isolator has that no one else currently has: the ability to return fake objects from properties recursively (without the use of an auto mocking container for such a feat). this saved a…
-
BDD: Behavior vs. Spec Frameworks
In my search to understand a little more about BDD and BDD frameworks, one gem that I gleaned is that there is an important distinction between “Spec” and “Behavior” frameworks. “Spec” is intended for the unit level…
-
Agile Testing tools List
Update: A full list, with links to the tools, an editable wiki page and more, is now located on the book wiki site . Feel free to add your own tools in there. Working on an appendix for my book , with a list of tools…
-
Isolator feature focus: Live objects in unit tests
Here is one feature that sets Typemock Isolator apart from all the other frameworks, that has nothing to do with legacy code: Live Objects. This feature allows you to just “new” up an instance of an object, if you can,…
-
Unit Testing decoupled from TDD as well== Adoption
The discussion on the future of unit testing for the masses has shifted from the standard “if they are too stupid to learn it, we don’t want them” to “TDD without good design will make really bad tests”. and this is a…
-
Unit Testing decoupled from Design == Adoption
In my previous post I started talking in more coherent words about feelings I’ve had lurking in the past year. This post is an expansion of that, after having some great twitter conversations in the past few days with…
-
Goodbye mocks, Farewell stubs
About 4 years ago I was consulting for one of the largest companies in Israel (about 15,000+ employees) and helping them grok TDD and automated unit testing. I had spent there over a year and a half, on and off, and was…
-
Thread Visualization with Typemock Racer
Here’s what you can find on the latest typemock racer build. I think it’s pretty cool. Embedded Flash media from the original post is no longer playable.
-
Finding Deadlocks with ReaderWriterLock and Typemock Racer
This feature was just added to the Racer Alpha . Given the following method: Can you see a potential for deadlock in this method? Here’s the answer . I wonder if it will find this one as well ..
-
Typemock Racer Alpha Available - Deadlock Finder
We’ve released the alpha version of Typemock Racer . Go register. Here’s the basic breakdown of what it is. We will be releasing and updating the alpha version on a monthly basis.
-
Visual vs. “Executable” Build Configurations
Dave wrote a really nice overview of how much he liked playing with Rake, the Ruby based build script. From his post I can say that it does indeed look nice in its awesomeness of clear usage and programmability. So why…
-
Build and Continuous Integration - Toolgasm achieved
I love me some TeamCity here is what our Racer build looks like these days (some of them run Finalbuilder scripts) and here is what our main FinalBuilder build tree looks like(notice all the tabs on the top? each one is…
-
ALT.NET Israel Wrap up
The first Israeli ALT.NET Conference was great and finished without a hitch! Current videos from the (un) conference: Alt.net Israel - Hallway chat - performance Alt.net Israel - Refactoring Alt.net Israel - Distributed…
-
VS Addins Revisited: Declarative button order and location with a DSL
First, here is the code with the updates . In the previous post I showed how you can declaratively create buttons with captions and icons in a visual studio addin. the next problem to solve in that space is how to you…
-
Before testing an addin - Reset Visual Studio’s previous addin knowledge
note to self: if you are testing an installation of an addin on a “dirty” machine where this addin has already been removed and installed many times, be sure to clean visual studio from the previous addin with this…
-
Declarative Visual Studio addin buttons with icons
in the previous pos t I said how I hated doing custom icons for addins and showed how you can make it work. In this post I’ll show what I feel is a better way of managing the actions on the buttons, and how to…
-
Deadlock detectors
This is a pretty interesting approach to a deadlock detector: It uses sos (son of strike debugger) and automates it under the covers and parses its output to discover runtime deadlocks on processes. At the comments…
-
Howto: Set custom Visual Studio Addin menu icons without a satellite dll
Update : Here is a more full featured declarative example of doing buttons with icons . OK. Setting icons on your visual studio addins is officially a sucky process and I wish MS would make this a much less painful…
-
Configuration via Typemock Interception
A while ago Udi Dahan wrote that he'd like a way to configure objects by just setting property values on an object. those "setters" will be intercepted and saved to some config object (or container) for the future use…
-
ALT.NET Israel registration is open
The registration for ALT.NET Israel is now open . You will need an OpenID (I use myopenid.com) to register. We are limited to 50 seats for the first event. First come first served. Worst case scenario you go into the…
-
ALT.NET Israel - August 7th-8th 2008
I'm really happy to announce that we are going to have a small (30-70 people) ALT.NET Open Space event in Israel. The full details can be seen on Ken Egozi's blog . Ken is the one who drove Oren and myself into finally…
-
Poll Results: Threading, Mock Frameworks and unit test frameworks
Here are the current results from the three questions I asked last week . Thanks to all those who answered. If you have not answered yet, it would be great if you took a minute to do so so we can all learn a little…
-
Poll: What threading features do you use?
As we are working on the next set of features for Typemock Racer, the threading related test framework , I think it will be nice to know what features and thread constructs people use the most in their applications. The…
-
Non Paged CLR Host
Sasha and Alon have released an open source project called " Non Paged CLR Host " which has the following benefits(quoted): Applications will benefit from no paging during normal operation. Even if other applications…
-
Unit Testing Interview at TechEd
My interview at teched us on advanced unit testing and legacy code can be seen here: http://msdn.microsoft.com/en-us/events/teched/cc676818.aspx or downloaded here We occasionally stop and laugh a bit because "speaker…
-
Fit/Fitnesse Fixture Gallery -Real world help for FIT and Fitnesse users
This great news was just published at the alt.net mailing list. putting it here for future reference. "Fixture Gallery 2.0 (release 2008-06-09) is now available for download from SourceForge. Fixture Gallery is a…
-
DimeCast.net : 10 minute video tutorials on .NET related matters
Awesome idea . this will only live if the community contributes, and it should. First videos up are all about unit NUnit, for total beginners. Highly recommended.
-
Two Faced Commits - how the ALT.NET Community is becoming more and more dogmatic
disclaimer: I work at Typemock. There is a big trend I am starting to notice in the "Advanced" unit testing community. That trend feels more and more like hypocrisy. Take Daniel's post about mocking statics without…
-
"Swapping" instead of "Injecting" calls between classes
Eli Lopian, Typemock CEO and awesome Coder, just created a nice little API wrapper around Typemock Isolator that would allow a very simple and readable "Swapping" effect between classes. It would allow you to write code…
-
Typemock Isolator 4.2.4 is out
Typemock Isolator 4.2.4 is out with some important fixes . More information here .
-
NullObject.For<T> - As simple as it gets, but no simpler
This NullObject Factory from Paul is very nice, simple and clean in its design. I really like it and I can see many uses for it, in parallel with working with your standard mocking framework or IoC Container…
-
Introducing LINQ To Regex
When I first saw Josh Flanagan's Readable Fluent Regex Api , I loved it at first sight. Now I'm working on a demo for the upcoming DevTeach in Toronto , where I'll present how to build custom LINQ providers to various…
-
Please don't go (work for MS or Google)
Um, kids, Joel needs employees. So don't go to MS or Google , please? Seriously, Joel? When was the last *important* thing you've built that didn't rely on some knowledge that came out of one of those two huge…
-
Don't miss out on Spec#
Hey , you decision makers up there at Microsoft. Maybe you didn't realize this, or maybe you're waiting for the community to let you know. Spec# is one awesome project that needs to become a real product. It allows one…
-
Testing XML serialization attributes
Not sure how I feel about this particular brand of testing syntax . still, it's good that someone thought this problem through - testing xml serialization attributes. [via the morning brew ]
-
Parallel Builds with MSBuild
I just learned something new: You can do parallel builds with MsBuild if you have a multi core CPU. awesome.
-
Fluent XML Library - Ultra cool, short and weet
Oh, next time I'm going to generate XML, remind me to use Mark Resmussen's ultra cool XML Fluent Interface library . her'es a killer snippet: XmlOutput xo = new XmlOutput() .XmlDeclaration() .Node("root").Within()…
-
Debug into the .NET Framework Library Source Code - It's here.
Debug into the .NET Framework. It's here . Here's how you configure VS 2008 to use it for debugging. "Specifically, you can now browse and debug the source code for the following .NET Framework libraries: .NET Base…
-
BitDiffer, anyone?
Note to self: check out BitDiffer . Looks pretty awesome. "Ever wonder what really changed in that DLL you are about to release to production? Would you like to check a 3rd party library for breaking changes before…
2007
-
IL Debug Visualizer for Compiled Lambda Expressions, MethodBase and DynamicMethod
Mark Watts just emailed me with cool news. He took the Dynamic Method visualizers I worked on and created a version of them that will also work and show the IL on Lambda Expressions. here's the full list of changes he…
-
Debug Into the .NET Framework Source Code
Best thing I've read in a while about VS 2008 (from Scott GU about the release of VS 2008 ): " Browsing the .NET Framework Library Source using Visual Studio As I blogged a few weeks ago, we will be releasing a…
-
Mocking LINQ Queries, Extension methods and Anonymous Types
One of the things I wanted to show at my Interactive session on unit testing tips and tricks at TechEd this year was how you can "Stub" out results from LINQ Queries, or mock\stub Extension methods in .NET 3.5 ( what's…
-
[Security] Microsoft unveils Code Protection suite of tools
about a year ago Microsoft bought a small Israeli Company called Secured Dimensions. They had an interesting solution to the problem of protecting your .NET code. Basically they would help you choose which parts of the…
-
Free MS Press books for a 5 minute screencast
Justin Angel is giving away free MS Press books as part of a 5 minute developer screencast competition he's judging in, along with Guy Burstein and Oren Eini (Ayende) . I'd say that's pretty cool! Submission phase seems…
-
Cool demo of Visual Web GUI
The guys over at VisualWebGui sent over a demo of an application built with their winform-to-web technology. Pretty damn awesome, that's all I can say.
-
What's IoC good for, Really?
Oren has one of the best one liners about the benefits of Inversion Of Control Containers in a project in this post : "Other people on my team keep adding components, and they aren't even aware that they have IoC there.…
-
Dave Platt In Israel - CAB Fans Prepare yourself
Dave Platt just pinged me to tell me that he'll be doing a 4 day Composite Application Block Workshop over at Idag in Israel . Dave is seriously one of the funniest and most knowledgeable speakers I've met (got to meet…
-
The ALT.NET Mailing list is a great place to have a conversation
This is how much conversation there is on the ALT.NET Mailing list in the past couple of days: Very good content, great people. It's been a while since I've had a list keep me so busy so long.
-
ALT.NET - Rule of Tool Composition
There is much discussion about What ALT.NET really stands for. Most of the things discussed were very "fluffy" in their description and mostly meant some state of mind and openness. Here's another possible explanation:…
-
Microsoft gets Design For Testability with new MVC framework for ASP.NET- Finally.
The big news out of the ALT.NET Conference so far are from Scott Guthrie , who did a full hour on introducing the new MVP Framework for ASP.NET. My take away - finally they get it. I wish there were more guthries out…
-
Pimp My Visual Studio
I'll have to check out this list of things to make a Visual Studio Usable system (that is, what you should really install after you have Visual Studio installed to make you more productive). Basic stuff like unit…
-
Synchronize Team System and ClearCase with the TFS Migration & Synchronization Tool
It's about time! Just got this in the mail: TFS Migration & Synchronization Tool For ClearCase Released Yesterday we released a new tool that will help customers who use both Microsoft Visual Studio Team Foundation…
-
Ask An ASP.NET Expert Live
If you're interested in having a live chat with some experts on .NET. here's your chance (right now as I'm posting it's starting in about an hour) Ask An ASP.NET Expert Live The Strong Coders Community will be hosting…
-
Source control hosting heats up: Dynamsoft introduces SourceAnywhere
It's usually aimed at the open source crowed with sites like Assembla , SourceForge and others, but now it seems that a new player is in town. Can they make it where others don't charge anything? Kevin Gao from…
-
ALT.NET Conference Announced
Scott Bellware recently announced the ALT.NET Conference , which he's organizing.( What's ALT.NET? ) When? October 5-7, 2007 Where? Austin, Texas (that's all I know for now) The conference will run in the open spaces…
-
Visual Web GUI Helps me Write in Winform and run as ASP.NET
If you know me well enough you'll know that I'm not a big fan of website development. I just hate the idea that you need to learn about 17 different languages and paradigms to be able to show a simple progress bar when…
-
Hotfix request Web Submission form could be a life saver
If Stefano is right , than this form by Microsoft should save plenty of time for people who just need the damn hotfix, yesterday . Microsoft Hotfix request Web Submission form (Request, get hotfix link direct by email…
-
Watching your computer breath using FileSystemWatcher
Breath is the only word that came to mind to describe the regular second to second operations your computer does just to keep itself in the current state while preparing for the next states (in terms of temporary files,…
-
Israeli .NET Bloggers Update
There are several .NET related Israeli bloggers out there who provide good content but sometimes get missed from people's RSS readers for lack of.. well, knowledge that these blogs exist. Some of them I come accross…
-
Blow to open source on VS.NET: VSIP License forbids Open Source
Microsoft - why can't you feel his pain ? "For those of you not in the know (AKA, everybody) they recently switched back to the old distribution EULA, which essentially says, 'sorry, no open source' among other inane…
-
HTTPSimulator - Simulating HTTP Requests for unit testing made easier
Phill Haack just released HTTPSimulator - a class to help with running tests against a simulated Http Context, to help simulate requests and more without resorting to needing a web server running for the tests. [via DNK…
-
Running Matlab, Python and Tcl scripts from .NET
Someone asked me about ways they can execute Scripts from MatLab , Python and Tcl from .NET. Here are three interesting links I found on these: Matlab and .NET:…
-
Easier Winform UI Thread Safe Methods with DynamicProxy2 and Osherove.SimpleInterception
Wouldn't it be cool if you could write something like this in your winform apps? : [RunInUIThread] protected virtual void DoSomeUIStuff() { this.Text = "hey" } Download the binary files from here. (here are the source…
-
Code Generation using LINQ Expression Trees and .NET 3.0
via this thread on theServerSide I found this very interesting blog which talks a lot about C# 3.0 news features, including deep hacks and tricks using LINQ and Expression trees in .NET 3.0. For example, he shows how to…
-
FxCop is heading in the wrong direction - No testability whatsoever
If you don't know what FxCop is, go look . You'll like it. In response to my release of FxCopUnit which allows an easier experience testing out FxCop custom rules, David Kean of the FxCop blog posted his thoughts on the…
-
Introducing FxCopUnit - A framework for integrated FxCop rule testing
This post is a continuation of my Quest to test FxCop rules. The previous one was about writing pure unit tests for FxCop rules . This one is about writing Integration tests with a new framework I’ve developed called…
-
NDepend 2.0 - Beast, not Beauty
NDepend 2.0 just came out , and it *looks* to be a really awesome tool for understanding your's architecture and status, especially dependencies between components, in a visual way. But from the demos on the site, it…
-
Keyboard shortcuts posters and introducing Enso Launcher
Rob posted about a whole bunch of keyboard shortcuts posters for Visual Studio. As a keyboard junkie I agree that you should *know* this. One amazingly cool tool I've found to help me with my keyboard addiction is Enso…
-
Prepare sourcesafe for the daylight time change in the U.S
Act now or forever be blamed for screwing up Via Richard Berg: The rules for U.S. daylight savings time are changing in 2007 . SourceSafe cares about time zones, so you should too. Complete details are in KB article…
-
Cheat Sheets for ASP.NET, Regex, Mock Objects and more
Ah, I love cheat sheets! You can hang them up on a wall, and then look at them when you need to remember how to do something. Looks like there is some very thorough cheat sheets for regular expressions over here .(via…
-
Shell MegaPack version 8.0 is out
The guys over at Sky Software have updated the latest version of Shell MegaPack to v 8.0 . It's an impressive product that I've reviewed before as part of my "advertising I stand behind" campaign, and now I'm happy to…
2006
-
Team Data and the Database publishing wizard
Update : Sachin from the DB Pro team has alerted me that indeed creating the script is possible with DB Pro edition. Coolness! BTW - he just published a white paper on using DB pro to write database unit tests. This is…
-
Catch me talking Agile at the Israeli .NET Architects user group
I will be giving two talks at the upcoming .NET Architects user group this month (December 24). More info here . The talks I will be giving(Guitar is still in question...): Part I: Introduction to Agile Methodologies…
-
Vote for the top talks to see at the upcoming MS Israeli Conference
Yosi Taguri is holding a little survey about the upcoming big Microsoft Developer Conference in Israel on January 31. You can rank the top five talks you'd be interested in (it's in Hebrew) going to. I'm giving two…
-
Html Agility Pack
Now, this is cool if you do a lot of html parsing! You can tell I was drawn to it by the word "Agile" hidden in there. I guess "Agile" is the new black. It goes with everything. HtmlAgilityPack is an open source project…
-
Unit Testing your ASP.NET Validators - Validation Everywhere
heynemann just posted about a very nice and testable validation framework for ASP.NET called " Validation Everywhere ". "The Validation Everywhere project was born because I have a very complex UI that I need to unit…
-
New research shows SQL Server 2005 more secure than Oracle
Could it be true? A research shows that there were no security flaw fixes in SQL 2005 since its release (it does not show non-fixed flaws) compared to Oracle. Is Microsoft's Secure Development Lifecycle initiative…
-
SQL Refactor looks cool
If you do any work with stored procedures and SQL databases, SQL Refactor should look very interesting to you...
-
How to run web services and sites on the same box as sharepoint (avoiding "404 Page Not Found" errors)
I just finished a 6 hour "chase-around" session after what seems to be the most annoying problem I've encountered. The problem I had was this: I was using the Virtual PC image that can be downloaded from MSDN Subscriber…
-
.NET Rocks: Regular Expressions with Roy Osherove
My .NET Rocks Interview about Regular Expressions in now officially online and I am excited! I'll have a good listen at my walk tonight, so if you get to listen to it first, your comments are welcome on this post. I'd…
-
Problem: Underlying HTML from a selection inside WebBrowser Control produces different HTML than the original page
here's a problem I've been trying to deal with: the WebBrowser control in .NET 2.0 Winforms. I'm trying to get the selected text's underlying HTML representation, and it works, kind of. IHTMLDocument2 doc2 =…
-
Faster builds of web projects with VS 2005
This goes out to all the folks who tell me that ever since they switched to VS 2005 - the time it takes to build their solution is very very long when talking about web projects. Stop blaming Resharper, folks. Here's…
-
Regulazy 1.02 is out and about
There's a new monthly version (1.02) out of Regulazy. You can grab it over here . (if the link is broken try http://tools.osherove.com/ ) Regulazy is a visual Regex Creation tool for beginners. It contains an easy…
-
How to create your own Auto Login Remote Desktop Application
Speaking of Multiple Remote Desktops - it's not really that hard to build such an application. Microsoft had a "Microsoft RDP Client Control" ActiveX control that you can use in your apps. I've even went ahead and…
-
16 Features in Resharper Every Developer Needs To Learn
Jeffery has a nice list of the features in Resharper he uses most often in his daily coding. The list has screenshots and shortcut descriptions, so it's a good cheat sheet for anyone wanting to get into Resharper fast…
-
Free E-Book: Developing Time-Oriented Database Applications in SQL
One of the books I mention in my Amazon Wish List is Developing Time-Oriented Database Applications in SQL (Morgan Kaufmann Series in Data Management Systems) . A few days ago I got an email from Steven Gravitz telling…
-
Nice Threading in .NET 2.0 E-Book and online reference
Update : Here's a little article that shows locking with Blocking Queues (an idea I refer to at the bottom of the article) I recently found this great online E-Book about Threading in .NET (also applies to .NET 2.0!),…
-
SharpRobo - Winform UI Unit Testing made easier?
Hmm. SharpRobo seems like something that might *start* to satisfy those who just can't do without UI Testing and have been looking for a way to do it from within their unit test frameworks (such as NUnit or FIT):…
-
2 Day Architecture & SOA Course - Sound Interesting?
If you're in Israel, Udi Dahan , Israel's own Software Simplist, is holding a 2 day Architecture and SOA course. Some of the stuff he's covering sounds interesting. Even if it's something I've heard before, It's always…
-
Understanding the different generic collections in .NET (List<T>, BindingList<T>, Collection<T>)
An innocent question came up in one fo the mailing lists I subscribe to. It was about when would you want to derive from the various generic collections in the framework. That also prompted another discussion about the…
-
ORMappers.Com is open for business (sort of)
As promised, here's a portal I made dedicated to Object Relational Mapping Tools , Technologies and reviews. http://about.ormappers.com/ The site is currently very thin with information, but that's why it's a community…
-
A Simple Version Control Strategy Using Team System
To Skip this Intro, read the full article here: A Simple Version Control Strategy Using Team System I was recently asked by a client who I'm helping to integrate Team System, to create a strategy for the organization…
-
This week at the C# User group - Hardcore ASP.NET 2.0 [Dan Amiga]
I'll be hosting the meeting of the Israel Visual C#/C++ User's group this week due to scheduling problems on part of the original hosts of the group, Shai Bar Lev and Moshe Raab. So what's the meeting about? Read the…
-
Mapping CLR, Winfx and .NET Framework 3.0 upcoming versions
The announcement of .NET Framework 3.0 previously dubbed WinFX is definitely confusing. Microsoft is trying to plug some of the holes but isn't doing so well, which is why you'll start seeing all these random blog posts…
-
Interface Naming - Anything But Java's Standard, Please
Jeremy dislikes Interface names that being with 'I' ("ISerializable"..). Len Holgate disagrees with him , but likes to name his classes in a "verb-noun" fasion ("IManageUsers"). Personally, I'd much rather have "I" for…
-
Resharper Vs. Refactor! and CodeRush - Let the games begin.
It feels like the VS.NET Add-in wars are coming this way again, and I'm glad. Here's what DevExpress had to say on this unofficial blog post : "Just as a taster, how about these: Refactor! Pro 2.0 has more than twice as…
-
Got an MSBuild-SikdeKick wish? Post it on Matan's blog!
Matan Holtzer is one of the guys behind the new MSBuild SideKick , which is essentialy a visual editor for editing MSBuild and Team Build files instead of editing raw XML (and a tool like this comes out only now??). His…
-
News: TestDriven, SideKick, Expression Evaluators and Security to boot
I've gathered some interesting links posted only yesterday, so I don't forget (and neither should you). Jamie has a couple of posts related to TestDriven.NET you should be aware of TestDriven problem with Building…
-
Review: Shell MegaPack - Windows Explorer GUI Replacement Controls
This week I’m happy to put up an ad and review for Shell MegaPack by SSWare . I’ve used parts of Shell MegaPack by SSWare in a couple of small projects I did(Windows Forms), and was wonderfully surprised to find their…
-
Steve Kelly on Software Factories: "It's worth the effort"
The saga continues as Steve Kelly , from MetaCase, sent me an email, from which I'll quote the chunks relevant to the earlier Software Factories Discussion ( here and here ) on this blog. He also has his own blog post…
-
Review - Automise: Automise almost anything
This week, I'm happy to review and advertise Automise , from the makers of FinalBuilder. As a .NET developer, I’ve always thought that FinalBuilder was a fine product. In fact, it’s one of my favorites and I recommend…
-
CLR Generics Vs. C++ Templates - some good links
An interesting question in last night's talk triggered lost links I had about an interesting subject: What are the main differences between CLR Generics and C++ Templates? Here are some good links:…
-
Small Tip: Getting the name of the current or calling method at runtime for debugging
Here's a simple little trick that you can use when using Debug Mode(though it does have its overhead, so turn it off when you don't need it). You know how you write those nasty trace messages that say "I'm…
-
Persistore - Interesting attempt at a .NET Persistence Engine? You decide.
Just got this email from Hugh Moran of MoranTex about a new beat of a product they are testing out to help with persisting things and getting them out (think NHibernate ) only this technology is based on Memory Mapped…
-
Partial Classes - Add to your Unit Testing Bag of Tricks
Ralf has a nice tidbit about how .NET 2.0 Partial Classes can help you with writing unit tests for methods on classes that are otherwise harder to get to. It's a nice trick to add to the trick bag, though I'd argue that…