Mon, 10 Jan 2011 07:04:00 GMT
There are cases where you would be interested to load an assembly from a different directory then the root dir of your .net application. When you’ll try to do so you will face with the limitation of the fusion process (assembly loading process) – this limitation limits you to load assemblies from underneath the root dir of your application in order to guard your app from dll hell.
In order to overcome this limitation you can use the old plain Unix trick… create a symbolic link to the file… there is a small utility called mklink which lets you create symbolic link to a directory or a file.The process of making it work is to put the assembly in directory of your choice and then create the symlink at the place where the assembly is being expected to be.Its possible later on to replace the symlink with other symlink thus redirect the app to a different assembly without changing the app itself.
If you are interested in redirecting a bunch of assemblies it is also possible to declare a probing directory via the app.config file and create a symbolic link of this directory thus redirecting all the probing calls to a different directory outside of the root path of the app.
While playing with the fusion process its worth to remind people of the fusion log viewer tool(fuslogvw.exe) which will enable you to have an insight view of what and where the clr is looking for its assemblies.
mklink command is used to create a symbolic link. It is natively available in Windows 2008+. It has the following command line syntax:
mklink [[/D] | [/H] | [/J]] link target
/D– Creates a directory symbolic link. Default is a file symbolic link.
/H– Creates a hard link instead of a symbolic link.
/J– Creates a Directory Junction.
link– Specifies the new symbolic link name.
target– Specifies the path (relative or absolute) that the new link refers to.
Link Shell Extension, which presents a graphical interface for creating hard and symbolic links as well as directory junctions
Tue, 30 Nov 2010 11:19:16 GMT
After the last happiest lecture I had to go for the last session at teched and give a short for another technical session and I choose the DI & IoC using MEF and Unity lecture by Pavel Y. The hall was pretty full for a lecture which is one of the last sessions at teched… does it mean that finally people understand or want to understand the power of DI & IoC ? well its about time…
I’ve been working with developers for more than a decade and it amazes me time after time that people afraid from using DI containers… well Pavel gave a great overview full of code samples of how to use MEF and Unity.
As usual, Pavel is very clear with his explanations and his demos demonstrated various aspects of these frameworks mentioning the benefits and limitations of each …now I know what he was doing al night long instead of coming to see Meshina (image)
Tue, 30 Nov 2010 11:02:04 GMT
The best lecture at TechEd Eilat !!!
It looks like a pattern but I find myself more and more attracted to lectures which are not technical… I don’t know if it due to the role I'm in now or the levels of the rest of the lectures but I did found the lecture by Prof. Yoram Yovel which discussed the essence of what makes us happy… work… money… family…to be a lecture that it totally not technical by one of the pearls that you could find over the three days of this event.
Defiantly a lecture one can take something out of… and say… wow it was worth coming to teched for it… not only for myself but also for my wife and family.
Tue, 30 Nov 2010 06:27:46 GMT
Currently watching Danny Cohen speaking about the Future of IT at the CTO track of TechEd Eilat.
Doing a lecture the day after the party is one of the hardest things to do… how do you wake up the people in the morning and handle their hangover from last night ?
When Danny told me that he will not come to the party due to his presentations I understood him (been that… done that… 2 techeds ago I was in his place…) but nw that I see his presentation I totally understood him… Danny change slides as fast as he speaks… 120 slides in 1hr about the past, current and future of IT.
The lecture is full of humor and lots of freaky ideas about our world and technology – pure fun !
Mon, 29 Nov 2010 08:15:03 GMTYoram Yaacovi from Microsoft R&D spoke about Innovation at Microsoft – Finally a lecture worth the travel to Teched Eilat from a speaker who knows how to speak and to deliver an interesting talk. What innovation groups do you have at Microsoft? Product groups Look ahead for :1-3 years Who: developers Focus: focus on depth features, quality, features, performance, scale, Innovation labs Look ahead for: 3-5 years Who: Researchers and developers Focus: focus on new applications services not-yet proven technologies disruption Microsoft research – 2500 ppl world wide Look ahead for: 5-10 years Who: Researchers Focus: Mostly long term research academies oriented not measured y short term results Innovation can be looked as: Incremental vs disruptive High friction tough sell vs frictionless – easy sell frictionless – easy sell, disruptive = Microsoft research Incremental, easy sell, disruptive = Office Labs High friction tough sell,disruptive = Israel Innovation Labs Guidelines for innovation groups - 3H - Helpful, Humble, Harmless Alchemie Ventures – group of ppl who deliver innovation toward delivery Gate 1 – worth considering ? 81 ideas Gate 2 - do we believe? 7 ideas Gate 3 - The real opportunity 2 ideas Gate 4 - Can we make it real ? 1 ideas BXT - Business, Experience, Technology – measuring project by BXT Israel Innovation Labs ”Exists” – go to market / sell to product group – Deep zoom composer, face recognition, TLV – location based services, PV, Digital Lens – ui for color blinded ppl, Tagit, 23 filed patents What helps exists: spot existing needs, continuous persistent evangelisms, support from the product group What stops exists: Ecosystems challenges, infrastructure challenges, Hard to get attention Out of the box week Goal: explore new technologies and ideas to create a working prototype Rules of the game: - Exactly one week - All team activity is off - Totally unmanaged - Mandatory demo fest at the end of the week –> Code talks ! - Become a major source of new innovative projects Facts: - Innovation is hard - A single approach to innovation wont work - Impossible to predict the next big thing - A product team cannot create its assassin - Task forces can not Innovate ! Manage for creativity ! Creativity and the role of leader – Harvard business review – October 2008 Organizing – by warren bennis – Basic books 1998 Learn from past success stories: - Talent is key - Lack of experience is also asset not liability - Everyone can make a substantial impact - Irrationally optimistic and unrealistic - Diversity drivers innovation - Failure is Ok Success I seven better - Competition is good ! Beware of processes Tap ideas from all Ranks It’s a startup, think big stay small ! Build – great ideas are good – build, show ! Sell – sell your idea in the organization ! Be Persistent Spaghetti on the wall – tryout lots of things Know when to stop Celebrate Exits Manage the handoff[...]
Mon, 29 Nov 2010 07:21:00 GMT
You are thinking about getting into “the cloud”… you maybe already started developing for the cloud (Amazon/Azure…) but how much will it really cost you when you’ll go out for production ? How much will it cost you on the dev/test environments ? can you evaluate the real cost of each of the lines that you write ?
Who will check if the dev team wrote an optimized code ? optimize code that can dramatically lower your hosting costs !
The answers to these questions and more is a new tool that had beed developed by codevalue and had been exposed at TechEd Israel. The tool is called Cloudoscope and it is the first tool in a line of tools that will fall under the category of a Cost Driver Architecture tools. We will soon see more and more companies who design their products tacking the cost under perspective, currently at most of the proof of concepts that I’ve seen which are using cloud technologies no one really take it under consideration. How you write your code might have large implication at the total cost of ownership and If you can optimize your code as you write it you can save large amount of $$$ on development, testing & production environments !
Here are some of the features of Cloudoscope:
• Cut total cost of ownership and save money
• Show the cost of each function and relevant line of code
• Show the cost of business requests
• Show cost improvement or degradation after a code change
• Provide optimization advices
• Provide guidance to Cost Oriented Development™
• Help trading service quality Vs. cost
• Provide a framework for developing Cost Oriented Unit Tests™
• Cost oriented cloud computing standard approval
Really promising tool worth looking at for any company who consider developing for the cloud !
Mon, 29 Nov 2010 06:54:00 GMT
Wow what a keynote were yesterday ! defiantly one of “the best” key notes I ever been in at Teched worldwide !
Shay Agasi gave an unbelievable speech it surely looks like better place is going to change our world, have you managed to spot the better place electrical car over the video that was presented there ???
Ohh opps – I’ve just been told that… he canceled at the last min and I’ve prepared this blog post 2 weeks ago… what a bummer…
So how was the keynotes for you ?
Sun, 28 Nov 2010 12:19:00 GMT
Lecture: Developers Tools and Technologies Keynote
During the lecture the internet connection went down… I from someone that during the preparation the speakers were told that everything is redundant… there will not be any issues with network and hardware…
It always hits whenever you are not ready !
If you plan a lecture and base your connection on wifi… always hold a local copy to work offline using a tweak at your host file or if you insist… have a netstick ready plugged in to your laptop and ready to be turned on in a click.
Update – Noam did have a ready made solution ready to show…but eventually he managed to get it work !
Sun, 28 Nov 2010 12:13:50 GMT
Not like years back… it’s the first time that I’m arriving to teched without any lecture on my mind… I AM NOT LECTURING AT TECHED 2010 … wow… what it means… I just opened the schedule yesterday night and choose my lectures… I’m in shorts and doesn’t have any worries on my mind.
I’ve decided not to go by flight like usual … and drive through to Eilat with Pavel ( for the record we left Shoham at 08:00am and arrived Eilat at 12:00pm with 3 stops on the way… one for a refresh and 2 due to the traffic police… luckily I wasn’t driving (image) anyway we ended up with a warning for Pavel
Tue, 26 Oct 2010 09:43:00 GMT
How do you become an architect ?
What is the roadmap of an architect?
Is it all about technology and trends ?
If you've been asking yourself these questions and was wondering what is takes to become a leading architect, the 3rd meeting of the International Association of software architect is for you.
Over the meeting we will learn from experience of known architect about the path and how they made "the change" in their roadmap from developers, team managers to leading architect.
The meeting will take place on Thursday, October 28th 2010 between 17:00 and 19:45 at Microsoft Israel, Hapnina 2, Ranana.
*Note the change of gathering place to Microsoft Israel
If you have questions our linkedin forum is the place to ask them !
17:00 - 17:15 - Gathering
17:15 - 18:00 - Introduction to the panelists: How I became an Architect ?
18:00 - 18:15 - Break
18:15 - 19:45 - Panel discussion: What does it take to be an architect ?
Sat, 17 Jul 2010 17:12:00 GMTEarlier today it was published that Turkish hackers managed to grab a list of user details (32k) including emails and password. (add to this 72k email accounts that were hacked) When will site owners learn to use hash codes instead of password ??? From my point of view the owner of the site should be blamed for the damage as much as the hackers who did it, you can expect someone to build a site not to mention a leading site and treat security as an after thought ! For anyone wondering who is effected… the list is open on the wild it took me several min to find it in order to look if I've been personally hit (i wasn’t worried much as i do use password generator to supply password on the fly to sites that I'm surfing at…and not having the same password for all of my accounts) Some point of interest by looking at the list: The list contains 3026 distinguished domains … of course i cant list all the domains here due to the space of this post so i left only the ones with more then 3 people coming from. As you can see… we have large representation of Remax, Amdocs, Cellcom, Pelephone, Orange, Comverse, HP, Intel… and even some government accounts…. lots of security officers have already had to react… or probably will do tomorrow… I wonder how many ISPs and public mail users comming from gmail/walla/hotmail/yahoo … use the same password that was published on the excel for their own email/pay pal accounts… my guess is that that out of 27k ISPs account some do… If you ever used homeless… and have one pass for all…change your password asap ! GMAIL.COM Count 10431 walla.com Count 3292 HOTMAIL.COM Count 2534 WALLA.CO.IL Count 2328 yahoo.com Count 1919 BEZEQINT.NET Count 1258 NETVISION.NET.IL Count 1077 012.NET.IL Count 850 ZAHAV.NET.IL Count 814 013.net Count 283 NANA.CO.IL Count 254 017.NET.IL Count 221 013.NET.IL Count 196 SMILE.NET.IL Count 131 HOTMAIL.CO.IL Count 108 NANA10.CO.IL Count 75 INTER.NET.IL Count 73 BARAK.NET.IL Count 72 remax.co.il Count 67 amdocs.com Count 55 014.NET.IL Count 48 015.NET.IL Count 45 CELLCOM.CO.IL Count 45 PELEPHONE.CO.IL Count 45 orange.co.il Count 43 WINDOWSLIVE.COM Count 41 bgu.ac.il Count 38 MAIL.RU Count 36 comverse.com Count 34 post.tau.ac.il Count 31 ecitele.com Count 26 hp.com Count 25 CLALIT.ORG.IL Count 24 yahoo.co.uk Count 24 intel.com Count 23 sap.com Count 23 013net.net Count 22 msn.com Count 22 actcom.co.il Count 21 motorola.com Count 21 ness.com Count 20 openu.ac.il Count 20 rexe.co.il Count 20 live.com Count 19 nice.com Count 19 justice.gov.il Count 17 elal.co.il Count 16 orange.net.il Count 16 TEVA.CO.IL Count 16 [...]
Wed, 07 Jul 2010 04:15:00 GMT
IASA Israeli chapter 2nd meeting will take place tomorrow and this time it will be based on community-led discussions around Architecturally significant topics.
Q: What does "community-led discussions" mean ?
A: Any participant will be able to propose any topic she finds interesting from a software architecture perspective. Other participants who find the topic interesting will join the discussion in a dedicated meeting room.
Q: I want to propose a discussion topic. What do I need to do ?
A: either proposed it using in the Linkedin discussion, or propose it spontaneously during the introductory part of the meeting where we will gather divide to topics to time slots.
Q: I do not want to propose a topic. Just to join a discussion. Can I ?
A: Yes, of course. We will not force you to propose a topic (J) and you are very welcome to join any discussion topic you find interesting.
Q: If I choose a topic and later change my mind and want to move to another discussion, can I ?
A: Yes, If you choose to enter a discussion and after some time you find it less in your interest you are welcome to move on to another discussion - no hard feelings
Q: Are there any examples of such architecturally significant topics you intend to propose ?
A: Yes. Here are some samples:
Architecture Styles and Patterns
Architecture performance plan
Cross platform development
RIA vs. Web vs. Desktop
Object Oriented Design Evaluation and Measurement
Architectural Patterns and Anti Patterns
High scalability challenges and new technologies
Software Reuse in Practice
[ Your own subject here ]
You are welcome to come and attend the event. (Free of charge)
Date: Thursday, July 08, 2010 from 5:00 PM - 7:45 PM (GMT+0200)
For more information click here: IASA Israeli Chapter - 2nd Meeting
IASA Israeli Chapter Management Team.
Danny Cohen, Hayim Makabee, Michael Kalika, Ohad Israeli.
Sun, 27 Jun 2010 05:18:00 GMT
The IASA - International Association of Software Architects - Israeli Chapter 2nd Meeting will take place on Thursday 8th of July between 17:00 and 19:45 at HP Ranana - Daphna 9, Ranana.
The 2nd meeting will start with a small introductory presentation of selected Architecturally significant topics after which we will separate into small working groups in order to have an inner discussion on a specific architectural related topics.
You may ask which topics would the workgroups themes will be ?
This is the part where we will ask for your involvement... If you have a topic on your mind you are welcome to suggest it over our forums and the most requested topics will be selected for discussion.
17:00 - 17:15 - Gathering
17:15 - 18:00 - Introductory presentation - Architecturally significant topics
18:00 - 18:15 - Break
18:15 - 19:30 - Group led discussions
19:30 - 19:45 - Future roadmap & work plan
Tue, 15 Jun 2010 19:59:00 GMT
Like the rest of the world I suffer too from watching football games these days and having to hear the Vuvuzela horrible noise.
So finally yesterday I've decided to try and see if my Bose Quiet Comfort 15 can handle it…
With a touch of a button… I now can hear only the game noise without this loud background noise !
Recommended for any football fan out there ! (although its a bit pricy)
(image) (image) (image)
Tue, 15 Jun 2010 19:42:00 GMT
Microsoft released all the TechED 2010 North America – New Orleans (June 7-11th) Videos & PPTs !
Of course you need to go video by video in order to download them…
So to save you the time… I’ve prepared a list of direct links to the videos, ppts high resolution and low plus the mp4 version.
Note that the PPTs+High Quality Videos download size is 81gb !
Thu, 10 Jun 2010 20:27:25 GMT
For the last couple of hours… and only now recovering several of Microsoft sites with co.il (Israel) ending were hacked.
Among these sites you were able to see:
A group of Turkish hackers took responsibility of changing the dns register… now how this could have happened… it might be that some domain register helped the hackers to accomplish their task… i wonder if someone from Microsoft is going to investigate to the source of this…
Tue, 08 Jun 2010 16:41:00 GMTToday at 10:00 am Microsoft Israel celebrated the opening of the SharePoint & Office 2010 Launch event… why am i blogging about it ? Well the event is a virtual launch event that is due to take place over the next couple of months… and I was waiting to see how Microsoft Israel are going to organize this virtual event. At 16:30 someone knocked at our door and had a package to deliver to me from Microsoft Israel … When i opened the package this is what it looked like: Welcome to the virtual conference… as close to real conference as it can… When i opened the package i saw this: No traffic jams, no parking not even a tie… Box full of cool ideas to help you pass the virtual event :-) First of all a sign to the door… In the next hour I’m virtual… please do not disturb… I will have some usage of this to get disconnected from my wife and kids :-) A small package saying to connect… you need to disconnect Even in the virtual world get spoiled with some thing real… And lastly… GREAT IDEA ! Thanks Shelly, Michal… and probably Lior whom was probably involved somehow with the idea.[...]
Mon, 07 Jun 2010 20:05:00 GMTPro Power Tools just had been released to the Visual Studio Gallery today ! This cool little add-on really add things that Microsoft forgot to add to Visual Studio… Things like: Searchable Add Reference Dialog The new Add Reference dialog makes it faster and easier for you to find the reference that you are looking for and add it to your VB, C# or F# project. Before: After: Highlight Current Line As the resolution of monitors increases, it’s becoming more difficult to find the caret in the code editor. The highlight current line extension makes it easy to find the caret by highlighting the line that the caret is on in the editor. You can even configure the default colour by changing the setting for “Current Line (Extension)” and “Current Line Inactive (Extension)” in Tools Options Fonts & Colors. Before: After: (Note the highlighted line where the cursor is) HTML Copy This extension provides support for the HTML Clipboard format when copying code from the editor. This means that you’ll no longer have to go fix up the formatting of your code when you paste it into a TFS bug form or any other HTML based control. Triple Click It’s never been easier to select a line of code from the mouse by simple triple-clicking anywhere on the line. Fix Mixed Tabs Some developers prefer tabs, others prefer spaces, and nobody likes mixing tabs & spaces. This extension promotes developer harmony by warning as they are open or save a file that has a mixture of tabs & spaces. The information bar also provides an easy way to fix the file to suit your preference. Ctrl + Click Go To Definition This extension gives the editor a web browser by adding clickable hyperlinks to symbols in your code as you hold down the Ctrl key. Align Assignments This extension is useful for making your code a little more readable by aligning the assignments when you type Ctrl+Alt+] such that it takes this: And turns it into this: Colorized Parameter Help This extension improves consistency with the editor by applying syntax highlighting to the contents of the Parameter Help window for C# &VB. Move Line Up/Down Commands This extension maps the Alt+Up Arrow & Alt+Down Arrow keys such that they will move the current line of code or the selected lines up and down through the editor. Column Guides Since Visual Studio 2002, there has been a not so secret registry key which allowed user to draw a vertical line in the code editor. This is very useful to remind developers that their full line of code or comments may not fit one a single screen. Thanks to this extension this feature has returned with UI configure it. Simply place the cursor at the appropriate column and select Add Guideline from the context menu Download and install is over here[...]
Mon, 29 Mar 2010 09:29:00 GMT
On the last Friday I've joined the ALT.NET Israel Spring 2010 meeting where i had a chance to record some of the sessions while joining other session…
So here is the first out of few of my recordings… the Scalability discussion.
Note: the video is in Hebrew(object) (embed)
Mon, 22 Mar 2010 19:28:00 GMT
So you think you heard enough of Visual Studio, Silverlight & C# 4.0 at the Microsoft Developer Academy 4 (Israel) and you are ready for the real world ???
Think Again !
Alt.NET Spring (#3) [Israel] will take place on this Thursday and Friday.
( 25-26/03/2010 )
About the format:
The goal of ALT.NET conferences is to have community discussions and knowledge sharing between the community members. During the first day of the conference, the planning stage, attendees will be able to offer sessions / request sessions on issues close to their hart. By the end of the planning stage we will have an agenda for the following day.
The conference day will include multiple discussions at each one of the discussion slots, discussion can take place with 2 people or with a room full of people. There is no need to stay till the end of the session… if you feel that you do not contribute to a session you can leave and attend another session of your choice.
Read more over here
Sears Israel (SHC ISRAEL)
Akershtein Building A – 3rd floor
[ MAP ]
Thursday – Planning 25.03.2010
18:00-19:00 – Registration & refreshments
19:00-20:30 – Building the schedule and list of sessions for Friday
20:30-……. – Coffee / drinks at one of the pubs around
Friday – Conference Day 26.03.2010
09:00-09:30 – Registration & Refreshments
09:30-09:40 – Opening talk
09:40-10:50 – Discussion round 1
11:00-12:10 – Discussion round 2
12:20-13:30 – Discussion round 3
13:30-14:00 – Lunch
14:10-15:20 – Discussion round 4
15:20-16:30 – Discussion round 5
16:30-17:00 – Summery
17:00- …… – Coffee / drinks at one of the pubs around
Do you need to register ?
Please do register over the following link as it will help us with the planning.