Sunday, September 27, 2009


I have really been dissatisfied with our KB software. It is slow all over and a pain to work with. All I was after was a simple way to produce content quickly.

This new approach we are introducing here hopefully will meet our requirements that are:
Copy-paste images
Easy way to publish code snippets
Ability for users to comment
Easily indexed by search engines
Zero administration

The setup is this

Use the Google-blogger account, with a publish to our site option. And the Windows Live Writer along with the plugin for code snippets.

So here is the main test. Images: image

And Code:

   1: private void button1_Click(object sender, EventArgs e)
   2: {
   3:     WFormsClient.ServiceReferenceGaffrServerAdmin.GaffrServerAdminClient c2 = new WFormsClient.ServiceReferenceGaffrServerAdmin.GaffrServerAdminClient();
   4:     WFormsClient.ServiceReferenceGaffrServerAdmin.CompositeType ct2 = new WFormsClient.ServiceReferenceGaffrServerAdmin.CompositeType();
   5:     WFormsClient.ServiceReferenceGaffrServerAdmin.GaffrModel m = new WFormsClient.ServiceReferenceGaffrServerAdmin.GaffrModel();
   6:     if (File.Exists(textBoxfile.Text))
   7:     {
   8:         byte[] bytes = File.ReadAllBytes(textBoxfile.Text);
   9:         m.Model = Convert.ToBase64String(bytes);
  11:         c2.UploadModel(textBox2.Text, Path.GetFileNameWithoutExtension(textBoxfile.Text) , m);
  12:     }
  14: }

What do you think? For me its a keeper any way.

The encoding works ok : ÅÄÖ åäö , utf8 all the way.


Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Powered by Blogger

Subscribe to
Posts [Atom]

Contact Us | Terms of Use | Privacy Statement © 2009 CapableObjects