Blogging With Windows Live Writer

I setup windows live writer today. I really like posting using this over the web interface. Not sure how to tag my posts yet… Oh, found it. At the bottom of the writer interface there is a categories list you can select your tags. You can also set the publish date there.

Live Writer: http://gallery.live.com/default.aspx?pl=8
Code Plug-in: http://gallery.live.com/liveItemDetail.aspx?li=1f57bd9b-a692-4593-9e9e-e2962d9c0eee&bt=9&pl=8


Setting up and starting with GIT (ignoring files)

I’m setting up GIT. So far I’m liking it.

To exclude files and directories I added the following to the .git/info/exclude file.

build
_ReSharper*
*.user
*.resharper
*.suo
bin
obj

These sites have been helpful in getting started.

http://lwn.net/Articles/245678/
http://www.kernel.org/pub/software/scm/git/docs/tutorial.html

Git for windows: http://code.google.com/p/msysgit/downloads/list


Tortoise SVN global ignores

I know tons of people have already posted their global ignores list, but here’s mine:

*/bin */obj *.user *.suo *.webinfo bin obj *.dll *.pdb *.exe  _ReSharper* */_ReSharper* *.resharper *.DLL

http://tortoisesvn.tigris.org/ – Tortoise Explorer Client for SVN


NS3Library now has support for SQLiteS3Service

More refactoring and support added for SQLite. There are now two IS3Service implementations, one using Amazons S3 and one using SQLite locally. This allows for easier testing (and free) testings and just a config change to your IoC config for deployment.

The IS3Service Interface has been simplied and cleaned up as well. It’s not perfect, but it is open source, so feel free to make changes.

http://sqlite.phxsoftware.com/ – You can get the SQLite for .net from there.

 


Aws S3 Library changed to NS3Library

I did some major refactoring to the AwsS3Library including renaming it to NS3Library and setting up a new project at http://code.google.com/p/ns3library/

The major changes were around adding interfaces to the public objects to allow different implementations. I hope to add a Sql Lite Implementation soon.


Moving from Castle RC3 to Trunk

Today I moved from Castle Project RC3 to Trunk there were a couple changes that I needed to make. The IFilter interface has changed, The ExecuteEnum has changed to ExecuteWhen. The IRailsEngineContext name has changed to IEngineContext. I think there’s been a fair amount of refactoring around the Controller, I think the IController interface is new and there is now an IControllerContext interface. The EngineContextModule has been removed, so I needed to remove that from the web.config. and the Windsor integration facility name has changed from RailsFacility to MonoRailFacility, which also required a web.config change. The upgrade seems to be working well.


Send Email using RenderViewAndSend on Monorail

Templates

When sending an email using RenderMessageAndSend the following will be parsed for the message and removed what’s left is sent as the body.

from: name <address> or address
to: address,address
cc: address,address
bcc: address,address
subject: value
X-header: value
body text

</span>If the body text contains ‘’ it will be sent as html.

By default layouts will not be applied. It looks for views stored in
Common if the view name starts with a /. Otherwise it looks for
views in the Mail folder.
</p>


  • /MailTemplate.brail should be stored in views/common/MailTemplate.brail</li>

  • MailTemplate.brail should be stored in views/mail/MailTemplate.brail
  • </ul>

    Testing

    The test support doesn’t currently render the message, but you can check for the number of message sent and the template name and properties.
    </p>

    Assert.That(MessagesSent.Length, Is.EqualTo(2));
    Assert.That(RenderedEmailTemplates[0].Name, Is.EqualTo(“MailTemplate”));
    Assert.That(RenderedEmailTemplates[0].Parameters[“to”], Is.EqualTo(emails[0]));

    </span>In the MessageSent Collection all the messages are hard coded as
    </p>

    new Message(“from”, “to”, “subject”, “body”);

    </span>Also added to using.castleproject.org Sending Email With RenderViewAndSend



    </p>


Brutalist Framework