Thoughts on Software Development, .Net, OOP, Design Patterns and all things cool
Browse by Tags
All Tags »
HowTo (
RSS)
-
|
If you have not checked out the new AutoMocking Container that is part of StructureMap 2.5 I would highly suggest you do, it rocks. I thought I would show how simple it is to create a PartialMock on the Class under Test (CUT) when using the RhinoAutoMocker...
|
-
|
Today I needed to save a fully populated dataset as xml to my drive in order to simplfly unit testing. I thought this would be pretty straight forward, but as it turns out it was not. There is one little wrinkle that may bite you if you are not careful...
|
-
|
I have been giving the AutoMocker that is part of StructureMap 2.5 a go lately. Today I was trying to setup my test and I get running into the following error: failed: StructureMap.StructureMapException: StructureMap Exception Code: 230 Cannot call "FillDependencies"...
|
-
|
I was trying to setup our new build server today and received this error: error MSB4019: the imported project <Path to .net framework here>\Microsoft.CompactFramework.CSharp.targets was not found. At first I was a bit confused as to what was going...
|
-
|
***** Disclaimer: I am a total NOOBIE to working on Smart Device Projects ***** Today I needed to upgrade on of our smart device projects from Compact Framework 2.0 to 3.5. I figured that I could do this via the properties dialog, but could not (see image...
|
-
|
One of the really great things about the ASP.Net MVC framework is how extendable it is. One area of extension is in the area of controller creation. The framework allows you to replace the default ControllerFactory with your own factory and because of...
|
-
|
If you would like to get your content (songs, screencasts or podcasts) into ITunes you will need to either modify or setup your RSS feed with the special 'iTunes' tags. These tags are not part of the RSS standard (as far as I can see) but they...
|
-
|
Today I decided to sit down and upgrade the Dimecasts.net code to run on MVC preview 4. To be honest I did not know exactly what to expect, and I have to say, it was kinda painful but not too bad. Let me first start off by saying this. Anyone that decides...
|
-
|
With the most recent drop of StrcutreMap (2.4.9 -- aka 2.5) you now have the ability to put your wiring information inside the app.config file. Prior to this you needed to either use the StructureMap.config file or wire your dependencies up in code. So...
|
-
|
Recently I needed to add a reference to a classic (.Net 2.0) web service inside a new project that was being created via Visual Studio 2008. Now, I have not done a lot of work with WebServices in the past 6-9 months, but thought it would be cake. Please...
|
-
|
Today I ran into a need where I wanted to create the html needed to render an image as a link and I wanted that clicking of that image to route to a controller action. The off the shelf Html helper that comes with the MVC frame does not support...
|
-
|
Today I needed to load in an XML file into memory for later use. At first I was going to use the XmlDocument library (old habits die hard), but later switched over to the XDocument library. Why, not because one is better (ok, so I think that XDocument...
|
-
|
Today I was making some changes to the DimeCasts.Net site and I realized that I did not like the URL's that I was currently using as I did not feel they accuracy reflected the intent of the route. However, because Google has already linked many...
|
-
|
For the first time in a long time I needed to update values inside an XML document. I have done this type of action many times in the past and have always hated it. The syntax is clunky and the process is simply painful. So today when I realized...
|
-
|
Today as I was diving further into my Linq2Sql Odyssey I ran into a need to do grouping on data. Bud not just single column grouping, I needed to group by multiple columns from multiple tables. Because it took me a few minutes to get right...
|
More Posts
Next page »