DCSIMG
February 2007 - Posts - Ohad's Blog

Ohad's Blog

Lets talk about .net !

Mirror at:
weblogs.asp.net/israelio

News

         Ohad Israeli's Facebook profile

Grab this badge here!

February 2007 - Posts

The Developer's ToolBox

Yesterday i've delivered a Developer's ToolBox presentation in front of the Oracle .Net Forum, during the presentation i've prmised to publish an updated version of the presentation online so here it is...

Click on the following image to download the updated presentation.

How to remove MSI dependency on .NET Framework 1.1

I wanted to install some tools for my presentation about Developer's Toolbox at the Oracle .Net Forum and one of the tools that I wanted to show was Roy's regulator.

The regulator was developed and packed via the Visual Studio 2003 Setup Project and the the msi included dependency on Framework 1.1.

Currently I'm using Vista which includes .Net Framework 2.0 (in most cases it is compatible with .Net Framework 1.1 assemblies) and I didn't want to install .net Framework 1.1 on my vista machine.

If I had the binaries at had it would have been simple job as to redirect .net 1.1 binaries to .net 2.0 framework you can just add the <supportedRuntime> and <requiredRuntime> to the application configuration (more info on that here) but my problem was that I didn't have the binaries and only composed msi which doesn't read any configuration file and does let me install it as it include restriction inside.

 

I had to do some low level moves... using Orca msi editor I was able to open the msi file... scroll down to the last msi table and remove the restriction and walla... I was able to install the msi on my vista machine... and yep its working perfectly.

Smart Client Software Factory Pop-Up Menu Disappear

When you are working with Smart Client Software Factory SCSF or any other Microsoft Software Factories which are based on the Global Automation Toolkit it might happened that sometime during the development you'll have a Visual Studio crash which afterwards you will find that you no longer able to see the Right Click pop-up menu of the software factory.

In order to enable back the Software Factory in your specific solution use the Guidance Package Manger which is located under the Visual Studio Tools menu, when you open the guidance manager click the Enable/Disable Packages and choose the desired guidance package (i.e. Smart Client Developments in our case)

As soon as you exit the manager you'll have the pop-up menu and other extensions working back on you IDE environment.

Oracle .Net Forum

On Monday 26.2.2007 i'll be lecturing at the Oracle .Net Forum about .Net Developer's Toolbox - lots of toolד that every .net developer should have on his desktop.

Other lecturers during the forum meeting are Getting Started with Oracle & .NET, Builder Applications with a light framework (using Spring.net) and O/R Mapping methologies (Using NHiberante)

Free Registration is open over here

Microsoft's Virtual PC 2007 Released

The Microsoft VPC 2007 - which is working perfectly on my Vista machine with support for hardware virtualization has been released to manufacture  !

Download it out over here

Composite UI Application Block Training

With the success of the MVPs week and the Microsoft Developer's Academy I'm going to deliver next week ( 27-28/3 ) a Two-day seminar providing an in-depth, hands-on coverage of Microsoft’s Composite UI Application Block (CAB) at John Bryce College - TelAviv.

The seminar will begin with an overview of the driving concepts behind the CAB: aspect oriented programming and design patterns. The core architecture of the CAB will be discussed as well as the advantages provided by it.

Each major area of functionality will be discussed in-depth and extending/customizing the CAB will be covered.

Hands-on labs using the CAB are integrated throughout the seminar.

For more information regarding agenda, cost etc... contact:  Info at Experts4d.com

Finally the screen saver is working under Vista !!!

Microsoft released today HID - Non-User Input Data Filter as part of the windows update service ... I've just updated my Vista machine and boom.... the Screen saver started to work !!!

Well it is about time... It took Microsoft 3 Months to fix this bug ! way way way too long !

You have no idea how joy it is to someone to finally been able to see his screen saver when his mouse stays connected to his laptop ! (Until today I had to disconnect the mouse whenever I left the comp running or start the screen saver manually)

If you own a Microsoft Mice specially the 6000 series Mice's update your Vista machine and install the 'Microsoft - Other Hardware - HID Non-User Input Data Filter'

Note this is an optional update !

Read about the prob. history in my pervious blog post here

Thinkpad Notebook Fan Controller

If you own a Thinkpad Notebook you probably aware of the cooling fan noise annoyances, if you suffer from the noise and want to have a quiet life and gain control of the fan speed take a look at the Thinkpad Fan Controller.

The Thinkpad Fan Controller allows the user to control fan activity based on the system temperature (or manual of course...)

This Visual C++ project controls the fan via port IO to the embedded controller.

p.s. though it was build for the T4x series... its working great on my T60p.

Building End-To-End Infrastructure Security - The Videos

On the 24.1.2007 Microsoft Israel hosted John Carddock & Sally Storey who gave some cool sessions about Building End to End Infrastructure Security.

If you've been to the event and want to see the demos again or if you haven't been there and would like to see really good sessions about End2End Security checkout the following video sessions

P.s. The Videos are in English through in the first session there is a small intro in Hebrew :-)

Is Your It Infrastructure Secure ? [ 1hr 26min 1024x768 627kbps ]

Securing Your Network [ 1hr 20 min 1024x768 548kbps ]

Locking Down Servers and Workstations [ 1hr 22 min 1024x768 548kbps ]

Vista Technologies [ 55min 1027x768 596kbps ]

Missing Google...For the last 3 hours...

I've been working all night to complete some work and as usual I was goggling allot but since 5:30am my ISP has some problems connecting to Google and it brings me back to the ages where Google wasn't on the planet.

As I don't have much choice it is time to give a shot to some other search engines... say Live.com ... but what can I say... I keep on searching for stuff and I just don't get the relevant answerers that I used to get with Google... seems like live.com is much much back after Google in finding me the relevant sites for my needs.

Well I do hope that Google will be back soon as I still got some things to finish before I call it a night... (and its almost 8am here...)

Sysinternals Suite

Every developer should have tools like FileMon, RegMon etc... installed on his machine

And now its easier then ever as Microsoft grouped together the Sysinternals Troubleshooting Utilities to a one single suite.

Download the SysInternal Suite from here (7.6 Meg of the best tools in town)

Microsoft's Developers Academy Presentations &amp; Demos

Several people asked me where they can get the presentations and demo code from the Microsoft's Developers Academy event that was held about 2 weeks ago.

Here are the direct links to the sessions material:

DEV 400

DEV401: Ohad Israeli - 2CAB ||! 2CAB ? 

DEV 402: Noam King - A Peep Show: CLR Under The Covers

DEV405: Dan Amiga - ASP.NET Internals - Not a drag & drop session

DEV406: Leon Langleyben - ASP.NET 2.0 Killer Features & New Directions 

DEV420: Alon Fliess - Vista - What's In It For Developers 

DEV423: Justin-Josef Angel: Will The Real AJAX Please Stand Up? 

DEV 300

DEV310: Shahar Gvirtz - Developing Windows Vista Gadgets

DEV311: Dan Amiga - Real World Solutions (VS-SQL-NET3)

DEV312: Yochay Kiriaty - Introduction To .NET Framework 3.0 Part 1

DEV313: Yochay Kiriaty - Introduction To .NET Framework 3.0 Part 2

DEV316: Avner Kashtan - Targeting Applications For Office System 2007

DEV318: Guy Burstein - Technology in Action! Windows Workflow Foundation Advanced Techniques

DEV319: Alon Fliess - Think Big - Vista Media Center 

DEV322: Manu Cohen-Yashar - WCF in action

DEV325: Tamir Khason - WPF Under The Hood Engines

DEV326: Ami Levin - Introduction to "Data Dude" 

DEV328: Eyal Reissman - Visual Studio 2005 Team System Enterprise Class Source Control

DEV 200

DEV208: Roy Osherove - Continuous Integration with And Without Team System 

DEV213: Roy Osherove - Introduction to Agile Methdologies and Concepts 

DEV221: Hila Lahav - Visual Studio Team System Introduction

DEV224: Yaakov Greenshpan - WPF - The Designer & Developer Love Story

Architecture

ARC203: Udi Dahan - Adding Value To Message Based SOAs With Workflow 

ARC215: Ron Jacobs - Principles and Patterns of Security for Architects

Com

COM307: Vladimir Vexler - Caching Data - The Most Underestimated Quality of .Net

COM414: Oren Eini - Inversion Of Control

IE7Pro - a must have add-in if you use IE7 !

One thing that I really hate about IE 7 is that whenever it crashes it doesn't bring back the URLs I was watching... and unfortunately IE7 does tend to crash much more often the Firefox !

IE7Pro add-in among other cool features has a crash recovery feature just like in Firefox :)

Finally you can return to the sites that were lost during the crash.

Download it over here

Max Num. of Open Windows under XP/2003/VISTA - Resolved !

When I'm working (it happens from now and then...) I always tend to open lots and lots of explorer windows as I Google for answers to questions that come along while coding...

When I used XP and Win 2003 it always bothered me that as soon as I opened 15-17 Internet explorer windows my system got stuck so hard that even right click context menu wouldn't seem to show up.

When I migrated to Vista I though that finally someone in MS will fix this limitation but I was disappointed to find out that it still there...

Well after looking and looking... searching and hacking ... I found the answer !

Its all about the desktop heap !

Following is Desktop Heap Tweak:

Because it is an undocumented registry tweak I take no responsibility regarding implementing this tweak ! It worked for me and if you choose to tweak your system you are doing it on your own risk.

Longtime Windows users are familiar with the desktop heap, a memory space that Windows allocates for desktop objects such as, well, windows.

Each open window or other desktop object uses up a certain amount of the desktop heap. In older versions of Windows the desktop heap was very small, and objects weren't always disposed from the heap correctly.

This was a good part of the reason for the Incredible Shrinking Resource Heap problem that plagued the 16 and hybrid 16/32-bit versions of Windows.

NT fixed this problem by devoting a far larger chunk of memory to the desktop heap -- but the fact that it had a far better memory manager than Win 3.x or Win9x, and a pure 32-bit architecture, didn't hurt either.

The desktop heap limit affects the NT/VISTA family of systems, Hitting the limit is manifested as either a DLL initialization error for USER32.dll or an out of memory error.

Fortunately, the limit it tweakable, the default settings are low enough that the limit is easily hit.

To tweak the limit, take a look in the registry at HLKM/System/CurrentControlSet/Control/Session Manager/SubSystems

(cranked up a bit if you find yourself manipulating a lot of desktop objects.)

Within that key is a subkey called Windows, which contains in it, among other things, the value "SharedSection=1024,3072"

Changing the SharedSection entry to "1024,3072,512" (note the comma and the value)increases the size of the "hidden" desktop heap.

If that doesn't work, try increasing the second of the comma delimited values (e.g. 3072 -> 4096) which is the size limit of any particular desktop heap.

Microsoft Developers Academy is over

 Microsoft's Developer Academy was held last wendsday in Israel at the Cinema City, during the event we had lots and lots of sessions from .net 3.0 to team system to composite ui and more.

Large part of the lecturers at the event were Microsoft MVPs.

Myself, Jackie Goldstein, Udi Dahan, Leon Langlayben, Justin Angel, Roy Osherove, Alon Phlis & Ami Levin.

My part in the event was 2 sessions about the Microsoft Composite UI application block, Developers panel & a Video Arcast with Ron Jacobs about the Composite UI (CAB) in real world applications.

As the event was held in the Cinema City Microsoft Israel prepared for us movies and posters that made us all feel like movie stars for a day :)