Another worthless post…

It's been another long while since my last post, I just thought I'd publish something about the recent things I'm working on.  I'm currently reading about WCF and it's applications to the day to day projects/task I'm working on. A colleague of mine once told me that WCF is nothing but enhanced web services and remoting with a unified API. It's too early to tell but it seems like WCF has been part of the .Net 2.0 when it first came out, it just hasn't been branded WCF yet. I remember I have already used channels and bindings even before the whole documentation about WCF came about. I'll add more to this later. It's late and I have to get up early tomorrow. 

Posting from Word 2007

Wow I haven’t blogged in a while, been really busy with my new job. I’m writing this using the Beta 2 technical refresh of Microsoft Word 2007 installed in Vista RC 2. What’s new? Well, I’m now a Senior Web Developer.

I’ve been working mostly with ASP.Net 2.0 on a day to day basis. I’m pretty much spread out these past few months so I’ll try to write more often.

Till then.

mod_mono.conf howto

I have always use this configuration for my vhost and it works great
in my Solaris mod_mono installation

1) I have renamed mod_mono.conf to mod_mono_edison.conf (edison being
my hostname), you can always use a different name. I do this to avoid
my custom conf being overwritten if I upgrade my mod_mono package

2) Include mod_mono_edison.conf in my httpd.conf (or your apache.conf)

Include /path/to/mod_mono_edison.conf

3) Add MonoApplicationsConfigDir “/path/to/your/mod-mono-config-dir”
to mod_mono_edison.conf

MonoApplicationsConfigDir “/path/to/your/mod-mono-config-dir”

4) Create <appname>.webapp inside the mod-mono-config-dir for every
vhost webapp:

example.webapp

<web-application>
<name>example</name>
<vpath>/</vpath>
<path>/path/to/example.com</path>
<vhost>www.example.com</vhost>
</web-application>

example2.webapp

<web-application>
<name>example2</name>
<vpath>/</vpath>
<path>/path/to/example.com</path>
<vhost>example.com</vhost>
</web-application>

5) In virtual-host.conf, add

<Directory “/path/to/example.com”>
     SetHandler mono
</Directory>

I think this approach is more flexible since I can just add another
<appname>.webapp in my mod-mono-config-dir, add vhost entry and
restart apache and it will be picked up.

CSWxsp and CSWmodmono

I’ve recently submitted 2 new packages to Blastwave. They are CSWxsp and CSWmodmono. CSWxsp is an ASP.Net webserver while CSWmodmono is an Apache module that supports ASP.Net pages. They are also available in http://www.blastwave.org/testing.

More information about xsp and mod_mono at http://www.mono-project.com

I have also managed to get my mac to run xsp and mod_mono with the help of fink

Ghost bootable cd for tcp/ip backup

If you’re a person who owns a notebook and wanted to create a backup or image of your harddisk, Ghost is a life saver. However, most recent notebooks doesn’t come with a floppy drive installed, only a cdrom. The answer is to create a bootable cd with the necessary files needed to do the backup.

Ghost only allows you to create bootable diskette so what I did was install Ghost in a computer with a floppy drive. After I’ve created the bootable diskette with the TCP/IP option(2nd from the list) enabled I then modified the config.sys to include:

DEVICE=oakcdrom.sys /d:cd

and include in the autoexec.bat:

mscdex /d:cd /l:e

What this does is load the cd driver using the device loaded in config.sys and use drive letter e: as the mounth point.

The bootable diskette that Ghost created doesn’t include the oakcdrom.sys and mscdex.exe so you have to include it in the diskette before creating the bootable cd.

We’re halfway there, the next thing to do is to create a bootable cd using the diskette we just created. I’ve used Nero to create the bootable cd, it should be straight-forward, just make sure when ask to use which boot files to use, make sure to use the floppy we just created.

Mono maintainer at Blastwave.org

Hi guys,

I’m now officially the maintainer of Mono packages in Blastwave.org. Mono packages can be downloaded here.

What is Mono?

Mono is the .Net runtime and compiler port of Microsoft’s .Net Framework. Mono supports a lot of platforms. More info here

What is Blastwave?

Blastwave is a collective effort to create a set of binary packages of free software, that can be automatically installed to a Solaris computer (sparc or x86 based) over the network. Blastwave has a substantial build server farm for the use of the software developers and maintainers in the Solaris community. All software is built and tested in a standardized build environment using Sun ONE Studio 8 and Sun ONE Studio 10 tools as well as GC.