Skip to: Site menu | Main content

Welcome there !

Emmanuel Desigaud's blog. Personnal, professional. Fun pictures, kewl web links, usefull software ....
2009-11-19

Sharepoint 2010 and Windows 2008 Web Edition

Categories: Software Language : English (EU)

As soon as Sharepoint was available, I tried to install it on a virtual box running a fresh Windows 2008 Web Edition.

Got the following error : Application Server Role, Web Server (IIS) Role: configuration error

Based on log, it appears that the role "Application Server" is mandatory, and of course, this role is not available on Web Edition of windows 2008 Server so you must run at least Standard Edition, that's it !

Also, if you wonder changing your virtualization platform, before running to VMWare (which has poor performance for me), I advise you to look around VirtualBox (free, fast, x64 support, snapshot...)

Update :
Anyway, it seems that we can get around this limit by editing the installation files : http://msdn.microsoft.com/en-us/library/ee554869%28office.14%29.aspx

PermalinkPermalink
2008-08-30

Work in progress : new webpart

Categories: Software Language : English (EU)

A year after the 1st release of the document library treeview webpart, I decided to improve the webpart to provide a better interface/ergonomic experience.

Expected result is something that looks like Windows Explorer and that remove all those annoying postback/refresh of pages.

The video talks by itself !

PermalinkPermalink
2008-05-09

String conditional operator & MSIL

Categories: Software Language : English (EU)

As good geek discussion, with some colleagues we were wondering how was implemented the string conditional operator in C#.

Here's a quick comparaison between a "classical" if-then-else and a string ? condition. The analyze focus on the MSIL code generated.

Basic C# condition :

String foo = "myString";
String aa;
  
if (foo.Length > 0)
    aa = foo;
else
    aa = String.Empty;

and the MSIL code :

   1:  .method private hidebysig static void  Main(string[] args) cil managed
   2:  {
   3:    .entrypoint
   4:    // Code size       34 (0x22)
   5:    .maxstack  2
   6:    .locals init ([0] string foo,
   7:             [1] string aa,
   8:             [2] bool CS$4$0000)
   9:    IL_0000:  nop
  10:    IL_0001:  ldstr      "myString"
  11:    IL_0006:  stloc.0
  12:    IL_0007:  ldloc.0
  13:    IL_0008:  callvirt   instance int32 [mscorlib]System.String::get_Length()
  14:    IL_000d:  ldc.i4.0
  15:    IL_000e:  cgt
  16:    IL_0010:  ldc.i4.0
  17:    IL_0011:  ceq
  18:    IL_0013:  stloc.2
  19:    IL_0014:  ldloc.2
  20:    IL_0015:  brtrue.s   IL_001b
  21:    IL_0017:  ldloc.0
  22:    IL_0018:  stloc.1
  23:    IL_0019:  br.s       IL_0021
  24:    IL_001b:  ldsfld     string [mscorlib]System.String::Empty
  25:    IL_0020:  stloc.1
  26:    IL_0021:  ret
  27:  } // end of method Program::Main

String conditional operator :

String foo = "myString";
String aa = foo.Length > 0 ? foo : String.Empty;

MSIL code :

   1:  .method private hidebysig static void  Main(string[] args) cil managed
   2:  {
   3:    .entrypoint
   4:    // Code size       26 (0x1a)
   5:    .maxstack  2
   6:    .locals init ([0] string foo,
   7:             [1] string aa)
   8:    IL_0000:  nop
   9:    IL_0001:  ldstr      "myString"
  10:    IL_0006:  stloc.0
  11:    IL_0007:  ldloc.0
  12:    IL_0008:  callvirt   instance int32 [mscorlib]System.String::get_Length()
  13:    IL_000d:  ldc.i4.0
  14:    IL_000e:  bgt.s      IL_0017
  15:    IL_0010:  ldsfld     string [mscorlib]System.String::Empty
  16:    IL_0015:  br.s       IL_0018
  17:    IL_0017:  ldloc.0
  18:    IL_0018:  stloc.1
  19:    IL_0019:  ret
  20:  } // end of method Program::Main

What can we conclude ? The conditional operator is not that bad and may help you to optimize a little bit more your code. One argument in favor of the classical if-then-else is that it may be more readable (I don't necesssary agree) but on the other side, does slightly more operations and instantiate one more variable in the stack.

To finish, I think that no-one will notice a difference of performance between the two methods so use the one you feel the more confortable.

PermalinkPermalink
2007-01-05

XPath Query Helper

Categories: Software Language : English (EU)

thumbnailHave a look at XPath Query Helper, a very simple tool that will help you to build your XPath queries. Project was sleeping on my hard drive and I thought that someone may be interested in.

Feel free to download it here or to leave me a comment here

PermalinkPermalink
2006-12-29

Word 2007 : Text generator

Categories: Software Language : English (EU)

Sick of hiring monkeys to type paragraphs, use the =rand(x,y) feature of Word (x = number of paragraph, y= number of lines of each paragraph).

You can also use the =lorem() function that will type the following :

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas porttitor congue massa. Fusce posuere, magna sed pulvinar ultricies, purus lectus malesuada libero, sit amet commodo magna eros quis urna.
Nunc viverra imperdiet enim. Fusce est. Vivamus a tellus.
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin pharetra nonummy pede. Mauris et orci.

PermalinkPermalink
2006-07-24

Window Clippings

Categories: Software Language : English (EU)

A small but usefull screen-capture tool. Just a small exe, manage the Vista's transparent mode ...

The home page : http://weblogs.asp.net/KennyKerr/archive/2006/05/06/445382.aspx

PermalinkPermalink
2006-04-14

Spywares & co

Categories: Software, Links Language : English (EU)

I used to think that Ad-Adware was surely the best removal tool for trojans & spywares and I felt very disappointed where it failed on a well known spyware (Hotbar). I tried Spybot : Search & destroy and then spyware went to the paradise of malwares !

A 5 star award for Spybot-S&D !

PermalinkPermalink
2006-01-08

Himachi : secure VPN software

Categories: Software Language : English (EU)

With Hamachi you can organize two or more computers with an Internet connection into their own virtual network for direct secure communication. Hamachi is fast, secure and simple. It is also free.

Discover at http://www.hamachi.cc/

PermalinkPermalink
2005-12-29

Sick of acrobat reader ???

Categories: Software Language : English (EU)

Here's foxit reader, light & fast (but not furious)

Try & adopt it here : http://www.foxitsoftware.com/pdf/rd_intro.php

PermalinkPermalink
2005-04-19

Asterisk Key

Categories: Software Language : English (EU)

Asterisk Key shows passwords hidden under asterisks.

Features

  • Uncovers hidden passwords on password dialog boxes and web pages
  • State of the art password recovery engine - all passwords are recovered instantly
  • Multilingual passwords are supported
  • Full install/uninstall support
  • More here : http://www.lostpassword.com/asterisk.htm

    PermalinkPermalink

    :: Next >>