March 2007 - Posts

Risky hebrew word...

Today I went to the grocery shop with my son Daniel (20 month old). On the register Daniel was not thrilled about his treat being taken away. Here is the dialog:

Daniel: Die Die Die Die...(continues)

Registerer (stricken with panic) : Why does he want me to Die?

Me: I am so sorry, he speaks Hebrew, it means "Enough".

 

So far no one complained for child abuse...

Posted by Ido Samuelson | with no comments

"Orcas" new features

NET Framework 3.5 New Features

Faster .NET Framework execution

Base Class Library – New Class Additions

Language Integrated Query (LINQ)

1. Faster garbage collection

2. Smarter, faster NGen requiring smaller working set RAM

3. 64 bit client improvements

4. ThreadPool performance improvements

5. Security check caching during NGen

6. BigInteger, HashSet and DateTime2 types

7. NSA Suite ”B” and FIPs compliant cryptography

8. Lightweight Reader/Writer Lock Classes

9. Anonymous and Named Pipes IO Classes

10.   Integration with Event Tracing for Windows

11.   New Addin hosting model for extensibility

Deep integration of LINQ data-awareness into the programming languages and framework.

Workflow Enabled Services – Process and Messaging together

Web 2.0 Friendly and AJAX Enabled WCF Services

Visual Studio Developer Tools for WF, WCF and in Visual Studio “Orcas”

Using workflow to provide for durable and long-running services. New Tools, WF activities and new programming model classes have been added to simplify building workflow-enabled services using WF and WCF. This allows a .NET Framework developer to build business logic for a service using WF and expose messaging from that service using WCF. These improvements not only provide tools for this scenario but they reduce the amount of glue code that was previously required.

Ajax is a web development technique for making asynchronous exchanges of small amounts of data between browser and web service calls from the browser client script to the web server. A programming model is provided for building Ajax style web applications using WCF services. An HTTP programming model is also provided allowing for REST style web services.

Visual Studio”Orcas” has built in tools for web service authoring with WCF and for building workflow enabled software with WF. There are new project templates for WCF services, WF business logic, workflow enabled services, and AJAX services. The templates are conveniently set up to compile and run even before any custom code is added enabling .NET developers to get going quickly. There are also numerous other tools for developing with WF, WCF and WPF.

More WS-* Standards Support

RSS and ATOM Syndication API

Partial Trust Support for WCF Hosting

Implementation in WCF of the latest OASIS specifications Web Services Atomic Transaction (WS-AtomicTransaction) 1.1, WS-ReliableMessaging 1.1, WS-SecureCOnversation and Web Services Coordination (WS-Coordination) 1.1.

Applications built using WCF will be able to easily expose syndicated data which can be consumed by an RSS or ATOM reader.

Partial trust on the vlient is provided for ASMX parity focussing mainly on partially trusted WCF applications deployed through click-once. Support is provided for basic HTTP binding provided that the application runs in the Internet zone permissions and have granted the apropriate WebPermission. Secure communication is possible through transport security only. All other features are not available to partially trusted applications including hosting services, duplex communications, non-HTTP transports, WS-* protocols and any WF use.

Rules Data Improvements

Built-in WPF tools for Visual Studio “Orcas”

Additional WPF Features and Improved Performance

The rules engine in WF is improved to add support for C# 3.0 extension metods, and for operator overloading . Also the ”new” operator is added to compete the base set of expression types.

The Visual Studio designer for WPF was previously released as a CTP. It is not integrated into the development environment and is significantly improved.

WPF has smoother animations, faster startup and better overall performance. There are also new data types available for data binding with LINQ. Better integration support is now provided for with codename “WPF/E”.

 

Source

 

Posted by Ido Samuelson | with no comments

"Orcas" Control+Tab

What a GREAT feature!!!

Automatic properties in Visual Studio "Orcas"

While working on "Orcas" and checking the new DWM API in Windows Vista I found out that you can write something like this:

public class Sample

{

    public string Guid

    {

        get;

        set;

    }

}

 

This code will simply generates to :

Posted by Ido Samuelson | with no comments

Pandoras box

If you are familier with Pandora, you will LOVE this very cool application:

Pandoras Box is a wrapper for Pandora running in the task tray

 

DOWNLOAD

Posted by Ido Samuelson | with no comments

Five things you didn't know about me

WOW! I am behind schecule...Ohad Israeli tagged me almost two month ago.  HOWEVER, I have a very good reason for not joining this blog-tag game.

In January my family and I came to the US. We are currently visiting my family in Reston, VA and having a GREAT TIME!

Since I love quotes here is one: "A picture is worth a thousand words."  So here are 2000 words :-)

  

Daniel (now 19 months old) trying to figure out if he likes snow.

Me, intreduced to snow and snow shoveling. I promised myself to get a snowblower.

 

To the Israelis who read my blog, the temprature was 15 degrees Fahrenheit which translate to closely -10 Celsius.

So here are the 5 things you don't know about me.

  1. When I was 7 I was diagnosed with severe asthma and allergies. I grew up with medications, shots and weekly hospital visits.
    When I was 10 I decided I had had enough (it got to a point where I was on steroids) and started practicing sports.
    I worked hard on cardio. By the age of 13 I joined the local cycling team and within 2 years I was part of the 
    Israel Cycling national team. Oh, asthma and allergies were gone during this period.
  2. I practiced Aikido for 9 years and have a sho-dan (black belt). Since my Master left the Union it is not official :)
  3. I started enjoying computers when I was 6 with an Atari 800XL.  My first lines of code were on that computer using basic
    and our house TV. I used to love scripting; I remember having an AUTOEXEC.BAT over 8KB size and having it display a progress
    bar and some other textual effects of what is currently being loaded when I booted my 286. 4Dos was one of my favorite
    tools then. A few years afterwards I began to use what is now known as the internet.  I was addicated to IRC and used to write
    different scripts to the very populer IRC client mIRC.
  4. I am autodidactic which means that when I finally decide to sign up for a course, I find myself already studying the subject before the course even starts.
  5. My wife and I love to eat good food. And when I say good food I mean
    fancy and expensive resturants. We go on a monthly date to one
    of the chef resturants in Israel and it is excellent every time we go.

 

People am going to Tag are: Addy Santo, Tamir Khason, Zvika Peer, Jeff Pulvar

Posted by Ido Samuelson | with no comments

Windows Vista UAC - quiet mode

If you are tired of the Message box asking you to allow Admin privileges, there is a small registery tweak to skip this Message Box without disable UAC (User Access Control).

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"ConsentPromptBehaviorAdmin"=dword:00000000

Warning: Microsoft do not recommend or support applying this tweak or disabling UAC.

SideShow devices

If you are planning to upgrade to Windows Vista or allready using it. You have probably found this in your Control Panel:

 

"SideShowDevices.com is a site dedicated to Microsoft Vista Sideshow Hardware Gadgets news, such as Vista SideShow auxiliary LCD Displays (graphic and alphanumeric, monochrome STN, FSTN and color STN, TFT),laptops and remote controls with sideshow hardware support, various appliances and displays that support Microsoft's Vista Sideshow technology and beyond."

 

To my wish list I have added the following:

Ricavision's Vista SideShow Remote Control

 

 

 

 

 

 

 

Asus WIFI Skype phone sporting SideShow, but SideShow still wired...

Posted by Ido Samuelson | with no comments

Missile Launchers

InventGeek has published two cool guides to build your own “Missile” launcher.

Cost around 70$ http://inventgeek.com/Projects/usbairsoftturret/overview.aspx

 

Cost around 200$ http://inventgeek.com/Projects/Airsoft_Turret_v2/Overview.aspx

 

Posted by Ido Samuelson | with no comments

Extensibility

Over 2 years ago when I got intreduced to C# 2.0 and generics I wrote an Extensibility Application Block. The simple usage looks like this:

IExtensibleHost host = new SingleAppDomainHost();

IExtensibleTypeLoader loader = new AssemblyTypeLoader(System.Reflection.Assembly.GetEntryAssembly());

 

Plugins.IPlugable[] plugins = host.Load<IPlugin>(loader);

Today, while working in Visual Studio “Orcas” March CTP I found out about the supports of AddIn. From the .NET Framework Developer’s Guid Add-In Overview the definition is:

The .NET Framework programming model for add-ins involves three areas of development:

  • Hosting add-ins.

  • Developing the add-in communication pipeline.

  • Developing add-ins themselves.

The CLR Team has recently posted more about the System.AddIn. Their usage looks like:

AddInStore.Update(addinPath);

IList<AddInToken> tokens = AddInStore.FindAddIns(typeof(AddInType), addinPath);

AddInProcess  sharedProcess = new AddInProcess();

foreach (AddInToken token in tokens)

{

token.Activate<AddInType>(sharedProcess , AddInSecurityLevel.FullTrust);

}

As you can see, the usage of the CLR Add-In Team is relatively close to my approach. Although my approach offer better encapsulation of addIn load inside the IExtensibleHost. The System.AddIn ovvering a pipeline which makes this approach more interesting.

 

 

 

 

Posted by Ido Samuelson | with no comments