Developer Guidelines

Read this page before you start developing on SmartWeb.

Before check in

Compile solution without errors (and warnings!)
Run all tests

When checking in

Always add a comment.
Associate your changes to a work item.
The work item "CleanUp" is used for check-ins not associated with a specific task.

When finished with a task

Set status to fixed (Ready for review)
After review set status to closed if accepted, or back to open if rejected.

Adding 3rd party libraries

Use NuGet package manager to add 3rd party libraries.
Remember to check in the library, after reviewing and possibly excluding unnecessary files.
When the library is checked in add it to the list below.

3rd party libraries in use (tentative!)

Ninject-> use for dependency injection
dotless -> use for css
Elmah -> use for logging
EntityFramework -> use for data access
jQuery -> used for event handling etc
jQuery.UI.Combinded -> open source library of interface components
jQuery.Validation -> plugin used for clientside form validation
Modernizr - > use for css+
DotNetOpenAuth -> authentication with OpenID
Facebook -> authentication with Facebook
Facebook.Web -> authentication with Facebook
Facebook.Web.Mvc -> authentication with Facebook