Principles

November 7th, 2007

there are people who consume principles and people who produce principles

the first type (consumer) can’t live without the second type

the first type is not bad if he confess that these principles is not his own thought

borrowing principles is not creation

principles resulted from pain is not principles

either principles resulted from joy

your life consist of hard and easy times

like opening parentthese ‘(‘ you have to close it ‘)’  then tell me what you have got

don’t predict results from unfinished experiments

but you can dictate from another finished experiements

don’t go in deep conversation with people who consume principles and think they are center of universe

they will eat your thoughts and play it on another stage

they will create an audience from consumers who know nothing about thinking

know these people and warn your self

nice to meet you my blog

كالعادة أكتب

November 3rd, 2007

يتنامى إلى ذهنى بعض الأفكار الغريبة

اليوم مثلا و انا سائر بجانب أختى الصغيرة قلت لها ربما لو كان اسمى نادر التسمية فلربما كنت أحسن حالا مما انا عليه الآن

و ما دعانى إلى قول ذلك أننا لمحنا فتاة (وأنا كما تعلمون بصباص) تنادى على أحدهم فأشرت إلى أختى قائلا ربما لو كنت هذا الشخص فلربما كانت الفتاة ترتمى بين ذراعى او اى شئ من تلك القصص الرخيصة الجميلة التى تبتذل الحب ابتذالا

فقلت لها

افترضى أن هناك من يدعى “تامر”

ثم تصورت أنه أنجب ابنا و أسماه  “برعى”

إذن فالإسم “برعى تامر”

و لا أدرى لم ضحكنا

ربما لو كان تامر برعى  فلربما استسغناه أكثر

و حتى لا أكون متجنيا

فلقد بحثت عن الإسم فى دليل التليفون فلم أجد له أثرا

إذن فليكن “برعى تامر”  مرحى يا رجل   إلى أن يوجد تامر الذى سيقوى على تسمية ابنه برعى

فسيظل الإسم عالقا قليلا فى مخيلتى

و الشكر لمن قرأ و لم يعلق 🙂

Exchange 2007 Push Notifications using WCF

November 3rd, 2007

Introduction

Exchange 2007 introduced a new programming model by using Web Services. The API is called Exchange Web Services (EWS). The new programming model is easy to use, have a nice documentation in the SDK, and also nice learning curve.

Notifications

Notification is an event raised when a specific activity occur to specific resource in the Exchange. The most obvious situation when you want to monitor a specific Mail Box.
Exchange have two methods of notifications, you can consider it like passive and active notifications:

1) Pull Notifications (Passive Approach): You build your application so that it asks the exchange every period of time about any events occurred to the desired resource.

2) Push Notifications (Active Approach): Exchange will notify you about changes that has been occurred and send the notification to your application via custom Web Service (your web service that you built.).

Either (Pull or Push) Notifications require you to Subscribe the required Events so that Exchange can generate the desired notifications which will be sent to your application.

EWS Programming and Types

EWS is differentiate between two types of Resources Folder, and Item

Item could be Message, Contact, Task, etc…

So Notification in this sample is monitoring INBOX folder

Programming against EWS is done by Request and Response.

You create the (Request) then using ExchangeBindingService you send the request and return the (Response) which you test its success or not.

Motivation

Push notification sample included in the SDK have subscriber project and client web service project to consume the exchange notifications.

Thinking that you may not have IIS installed or thinking that you have to build a web service to be a bridge between your application and exchange notification made me not comfortable about the situation.

EWS is using SOAP messages all the day. So I figured out that using WCF service will be a nice feature to interact with the notifications.

WCF service could be hosted in any application and it gives you the integrity to the rest of pieces of your software.

the remain of the article and the sample is in http://www.codeproject.com/useritems/Exchange_2007_with_WCF.asp in codeproject

however exchange was a nice experience 😉

تداعيات ذهنية

October 31st, 2007

after having a war with the Exchange and WCF I have something to write

poetry 🙂

أثب بين أطلال الحنين                 أبحث عن بقايا الزهر و الأنين

أثب بين أطلال الشوق                 أبحث عن فتنة الأمس و همس السنين

أثب على عبرات الغيوم                أبحث عن قطرة الحب و رعد الرنين

so I hope that my next post will be about how to make WCF service that consume the push notification of the exchange server 🙂please don’t wait for me by the way today is the first lecture in my diploma

i’ll go at 6’oclock and I’ll have a nice time

so you ask about my diploma

it is refrigeration and heating diploma 

سلام 🙂

Exchange Web Services

October 27th, 2007

to be honest it was my first time using Exchange

my task required that I intercept any new email that received by certain account

so I installed the active directory (my second time first time was in windows 2000 server and I install it by mistake)

then I go with Exchange 2007

good news : don’t use webDav as it will be depreciated

bad news: no bad news the 2007 SDK isn’t complete yet but not bad also and the community is still digging for the information about EWS or Exchange Web Services and my page file usage under win2003 R2 + SharePoint + Exchange = 2400 MB 🙁

however 🙂

I had a long day digging

I over come the SSL

and to remind my self and any reader to this

specify the URL correctly

esb.Url = @”http://ExchangeServer/EWS/exchange.asmx“;
my simple problem that took me day and half was that instead of refer to Exchange.asmx I refered to Services.wsdl

pretty stupidity from me

lol after testing on virtual machine and remotely to my home machine and spending more than 12 hours to get past HTTP 405 error

I discovered this

any way

bye bye for now 🙂

Useless Post

October 22nd, 2007

I am in the office now and it is 10:00 pm

I am trying to get used to the office and reading some documents

for ones who didn’t know yet I am working in BlueBridge a software company that is offer software solution to software consumers 🙂  silly isn’t it

window is opened at my left ear and the sound of some weddings reached my ears which made me think {$#@$%@#$%$@#$%#$%@#$%}  a lot of thoughts 🙂

however its nice to post on my blog

may be I can post something usefull about any thing 🙂 who knows all ideas are sleeping now and it doesn’t want to be awaken

but any way I am still thinking 🙂 who knows I may be converted into a real dumb thinker 😀

My First memory leackage

October 21st, 2007

Peace upon you

my first blog and my first post

after the feast I recognized that I need a blog

damn it

after I reached 28 in age, I recognized that I need a blog

because human years is the most expensive price he could ever pay

why I am making blog??   every answer will lead to a funny reaction

I want to it because I want to talk to express to be sad to be happy and to all things all bloggers said before.

and the need to change

during my tiny years I’ve changed over 100 times

rolling back all my beleifs and restarting again and again and again

when I was kid I was shouting on the stage {don’t do drugs}

when I was young I spent my time in front of my cute fishes trying to convince it to have a children

then I spent most of the time on MSX trying to understand what is the SPRITES all about

then Back to Stage singing all the time

then going to college and singing in the university group

what a time I spent

I have a lot to talk about

but I think this is enough for first Post

Now I am going to work my new work and my new attempt in realizing the truth.