Featured Posts

Adobe Flex - Filter XML Data using E4X and RegExp Have you ever you wanted to filter your data like you would using the SQL LIKE condition? Well with E4X and RegExp you too can reap the benefits of pattern matching! Here...

Readmore

Flex Assets/File Manager – ASP VBScript - Version... I recently built a JavaScript file manager but I wanted more control and better usability instead of expanding on the JavaScript version I decided to build it using Flex....

Readmore

Getting at your SQL Database using Flex and .NET Web ServicesGetting at your SQL Database using Flex and .NET Web... So you gave up on trying to figure out how you can directly connect Flex to your database like with any server side language and decided to Google the answer. Well by now...

Readmore

Adobe Flex - Filter XML Data using E4X and RegExp Have you ever you wanted to filter your data like you would using the SQL LIKE condition? Well with E4X and RegExp you too can reap the benefits of pattern matching! Here...

Readmore

Fitchett Rss

Adobe Flex – ASP.NET Web Service Send E-mail

Posted on : 08-04-2009 | By : Michael Fitchett | In : ASP.NET, ActionScript, Development, Flex, Web Service

5

flex-email-applicationBefore we get started download “One Headlight” by the Wallflowers. Yea its a bit old but still rocks! ;-)

Now that have some music jamming in the background lets get started.

We need an ASP.NET web service if you don’t already have one create it; if you do then great. This example code is in C# it can easily be done in VB as well.

1. Let’s add an import to the top

using System.Web.Mail;

 

Getting at your SQL Database using Flex and .NET Web Services

Posted on : 24-03-2009 | By : Michael Fitchett | In : ActionScript, Flex, Web Service

27

diagram-flex-webservice

So you gave up on trying to figure out how you can directly connect Flex to your database like with any server side language and decided to Google the answer. Well by now you probably figured out that your building a “client” application not a server side application.

So whats the best approach in achieving what you want? I have no clue, I do however have a solution that I put together using ASP.NET C#, Web Service, some duck tape and lot of Tylenol which makes getting at and querying your data just as easy as using SQL Manager which is actually a hell of a lot easier than querying your data with any server side code.

Advertise Here