Tuesday, January 26, 2010

Unit Testing, C#

http://www.nunit.org/index.php

is a good site for a good C# unit tester.

Wednesday, January 13, 2010

JavaScript Charting

This is a great 3d javascript chart library

http://dragan.yourtree.org/code/canvas-3d-graph/

.Net Logger

This is a great .Net logger

http://nlog-project.org/


Tuesday, January 12, 2010

ASP.NET MVC RC 2 Publish problems

So there was a major problem publishing my ASP.NET MVC site.

This Virtual Directory does not allow contents to be listed.

This was the error. To fix this, you must
1. Open IIS 6
2. Open the properties for your site
3. Goto Home or Virtual Directory
4. Click Configuration (at the bottom)
5. Insert wildcard for aspnet_isapi.dll

You can find better instructions http://haacked.com/archive/2008/11/26/asp.net-mvc-on-iis-6-walkthrough.aspx

Then, in order to have things like MySQL work, you must put any .dll files in the bin. It won't magically transfer during a publish.

Tuesday, January 5, 2010

IE Img tag

I.E. doesn't like [input type="image"] inside a link.

It will just loop back to the parent page.

Use ]img] tag.

Error: 'b' is null or not an object, MicrosoftAjax.js error

There is an error when using MicrosoftAjax.js library for MVC 2.0.

When using the Ajax helper, Ajax.BeginForm, you can specify a OnSuccess javascript function.

This needs to be used as a callback, meaning that you cannot put ().

So...
OnSuccess="MyFunc()" // error needs to be...
OnSuccess="MyFunc"

Monday, January 4, 2010

HTML Symbols

Here's a cool website for HTML symbols.

http://www.webdesignerwall.com/tutorials/using-html-symbol-entities/