Pages

Wednesday, January 23, 2013

Send mail with SMTP through the cloud

I was browsing the services available in connection with Windows Azure and stumbled across a service for delivering e-mails.

In demos, sandboxes, test systems, and sometimes in production systems at clients, it can be difficult to get access to a SMTP relay server. With this service, I can just setup AX to point to their STMP relay server.

The service is called SendGrid. They have a variety of plans and one of these is free, but limiting you to send "only" up to 200 mails a day.

You can sign up either through your Azure account if you have one, or directly from SendGrids site. You can get a free MSDN Azure account, with limitations, depending on what kind of MSDN subscription you have. 

Here's a sample setup in AX:
 

Here's a post showing how to quickly test that you can send mail: http://palleagermark.blogspot.dk/2008/10/setting-up-e-mail-parameters-on-ax-2009.html

Tuesday, January 22, 2013

Win a free copy of the 'Microsoft Dynamics AX 2012 Services' just by commenting!

For this contest Packt Publishing have two copies of Microsoft Dynamics AX 2012 Services to be given away to two lucky winners.

How you can win:

To win your copy of this book, all you need to do is to come up with a comment below highligting the reason "why you should win this book". Remarks on this blog are moderated, so it may take a few moments before you can see your comment.

Please note: Winners residing in only in the USA and Europe would get a chance to win print copies. Others would be provided with eBook copies.

Duration of the contest and selection of winners:

The contest is valid until end of day februar 5th. 2013, and is open to everyone. Winners will be selected on the basis of their comment posted.


Microsoft Dynamics AX 2012 Services allows readers to consume existing web services and self-created services using system services in applications and the SysOperation framework in creating batch processes.

This book is a complete tutorial that provides the knowledge needed to implement services with Microsoft Dynamics AX 2012. Using this book Dynamics AX developers will be able to process business logic synchronously and asynchronously using the AIF Document Service Wizard.

Thursday, January 17, 2013

AxUtilLib.dll issue with .NET 4

On his blog, Joris de Gruyter has described an issue with the .NET version of model files, preventing you from importing a model.

Here is a possible way of changing the RunTime version of the model file to 2.0, so you can import the model.

You'll need a tool from Microsoft Research, called ILMerge. You can download it from here: http://research.microsoft.com/en-us/people/mbarnett/ilmerge.aspx.

Once downloaded and installed (it installs to C:\Program files (x86)\Microsoft\ILMerge) you can change the target version from the command prompt, like this:

ILMerge mymodel.axmodel /targetplatform:2.0 /out:mynewmodel.axmodel
You can use the ILSpy tool to verify the target platform. Get it here: http://ilspy.net/

Thursday, January 10, 2013

Microsoft Dynamics AX 2012 Services released

This book is about AX 2012 service architecture is a good read if you need to work to work with services in AX 2012: http://www.packtpub.com/microsoft-dynamics-ax-2012-services/book



I have had the pleasure of beeing one the reviewers of the book and I think it came out great.