Welcome to my website, in the following pages you will find information about my experience, publications, software products I developed, and synopsis of the services I provide in the areas of software development, design, and architecture. As a software consultant, I worked on different roles, such as BizTalk Developer, SharePoint Developer, BizTalk Architect, Enterprise Architect, Technical Lead, and Instructor. I mainly provide services the Toronto, ON area and the GTA, though I have provided services in Calgary AB, St Johns NFLD, Chicago IL, and Denver CL in the past. I work with many technologies but I am mainly focused on Microsoft .Net platform. Some of the technologies that I specialize in are:
- BizTalk
- SharePoint
- ASP.Net
- .Net 3.5
- Amazon Web Services
- Oracle
- MS Dynamics CRM and GP
Lately I have been focusing on the cloud with Azure and Amazon web services. Feel free to contact me at Moustafa@MoustafaRefaat.com if you have any questions regarding any of my posts, books, services, or products.

|
|
| 31 | 1 | 2 | 3 | 4 | 5 | 6 |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 1 | 2 | 3 | 4 | 5 | 6 |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
|
Vaughan Online my Latest SharePoint Project
|
|

I was working on a project to migrate a SharePoint 2003 implementation to a new 2007 implementation. This new portal involved restructuring, reorganizing and actually a complete a new architecture and UI design. You can see the sample landing page above Very impressive do not you think so? I used Ajax, with SharePoint to develop many of the web parts, I will write later more updates about the lessons learned from this Project, specially the Migration process.
|
|
|
BizTalk SMTP Adapter and Macfee causes error "0x800ccc15"
|
|
I am using an SMTP port to send notifications and kept getting a logs in the event viewer application logAs follows:
The adapter failed on an attempt to transmit a message going to send port with the address xxx@ddd.ca. Details: "The message could not be sent to the SMTP server. The transport error code was 0x800ccc15. The server response was not available
". For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp
It turns out this is the reason is McAfee virus Scan blocks mass mailing worms. To correct this:
- Go to the console (for me, right-click the systray icon and select console from the pop-up menu).
- Select "Access Protection"
- On the "Port Blocking" tab, de-select "Prevent mass mailing worms from sending email" on port 25.
|
|
|
Implementing Singleton pattern with BizTalk Orchestrations
|
|
As you know, with BizTalk Orchestrations, a new instance of the orchestration is created every time a new message arrives at the Receive Port. In a Singleton pattern only one instance should exist to handle all the messages (or events) in the system. You can implement the singleton pattern using a simple correlation on the Receive Port name ,Read more...
|
|
|
Fraud Warning
|
New storing device fits at the end of the keyboard cable connecting to the PC specialized to save all typed keys in it.
Mostly could be used in net cafes, exhibitions, hotels and airports. Therefore be careful especially the people who use the internet in these places to enter their bank accounts online or any other important sites.
After you enter the bank account and leave the PC, it will be easy to open your account again as all what you have typed has been saved in the Black device.
Therefore, you should check the PC for any suspicious piece behind it before using the net in public places for important sites.
|
|
|
BTS: Sending Email in HTML or Text Format form BizTalk 2004
|
|
I needed to send an email directly from BTS 2004; this was part of an error handling mechanism. However going through a Schema was too much all I needed is to be able to assemble a string and send it through a SMTP port. As you know E-mail messages always contain message text, generally in a text or html format, and may contain one or more attachments as well. I needed to send the Email in HTML format. After going through the SDK and the documentation, I could not find an easy well documented solution for this. So I had to assemble the solution attached with this submission.
Sending a message of type System.String will not work, because the string gets formatted as an XML document in the message, which is not my desired solution. To send text in an e-mail message, you must use a special type of string, a string that has special serialization with the XML, in other words implements IFormatter interface. In the attached solution you will find class “RawString” which implements IFormatter. You also need to implement a pipeline containing the MIME/SMIME Encoder pipeline component. Now we have to tell the MIME/SMIME pipeline component that it is dealing with a body with content type of text/html through
The Microsoft.XLANGs.BaseTypes.XLANGPart.SetPartProperty method.
So the solution consists of
- A library class that contains the RawString class and Part class to make it easy to set the type of the message
- A BTS project that contain a pipeline to use for sending the email.
- A simple orchestration that accepts a simple file schema and just sends the email. The input file in this example is empty it is just used to fire the orchestration.
Hope this would make your development project easier. Let me know what you think . You can download the code from the downloads and Samples
|
|

