ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

How To Install and Setup FluorineFX in Visual Studio 2008

Updated on October 26, 2011

Setup and Test FluorineFX and Flex with IIS

I have been doing a lot of .Net development of late. I only use C# because I came from a Java world and C# was a natural fit. They both have a common ancestry, of sorts. Anyway, VS2008 is a great environment for building all sorts of applications but I have trouble with ASP.Net. In my opinion, Microsoft is still desktop centric because their ASP.Net UI tooling (in my opinion) leaves a lot to be desired compared to their desktop offerings.

When I was developing Java applications I was using Adobe Flex to build great UI clients and coupling them with a solid Java back end. Not only did I provide a stellar user experience, I also had near desktop performance including for data transactions. Also Adobe Flex provided me with some truly RAD tools with their Eclipse based Flex Builder. So I started using Adobe Flex for the client portion of my .Net applications and .Net Web services written in C# for the back end. This was great but I sometimes longed for the performance I had with my Flex/Blazeds environment I had in Java.

So I started investigating other options and I came across this tool for the .Net environment. It provides me with a complete set of AMF compatible tools for the .Net environment, including of course Remote Objects and Messaging. What I like about FluorineFX is that everything is packaged in your .Net Solution and your application can be deployed as a standalone unit on your IIS server as opposed to say WebOrb where you have to deploy your application in the WebOrb root folder.

I am writing this article basically to show developers how to setup FluorineFX in Visual Studio 2008 and test your FluorineFX backend before building your Flex front end.

FluorineFX Installation

FluorineFX has a straightforward installation process you simply follow the prompts and save the installation to a convenient location. The installation process will configure your Visual Studio 2008 environment and add the following templates:

· FluorineFX Service Library

· FluorineFX ASP.Net Web Site

The FluorineFX Service Library template is used to create the back end (Remoting) portion of your application. The FluorineFX ASP.Net Web Site template as you might have guessed is used to create the front end container of your web site. I say container because this is where your will place your compiled Adobe Flex swif (.swf) application.

Create Bare Bones Application

Create a Solution

The steps to create a basic application are pretty straight forward. Start by creating a new Blank Solution in Visual Studio 2008.

File->Other Project Types->Visual Studio Solutions

I am going to call my solution “TextFluorine” but you can name yours anything you want.

Create FluorineFX Project

Next right click on your Solution in the Solution Explorer and from the context Menu add a new Project

Add->New Project

Under the Visual C# heading, select the “FluorineFX ServiceLibrary” template. For this basic test I named my Project “TestFluorineProject” and select “Add to Solution”. Click OK to create the project structure in your solution.

This template will create a simple class library with a basic class called “Sample.cs”. It adds an “Echo” method that we will use later to test our Basic Setup.

Create FluorineFX Web Site

After this I am going to create a FluorineFX web site in my solution. Again right click on the solution heading in the Solution Explorer and add a web site.

Add->New Web Site

From the “Add New Web Site” menu select the “FluorineFX ASP.Net Web Site”. Make sure the “File System” is selected for the location and the language is Visual C#. The web site can be created anywhere on your hard drive but I like to keep things together, especially when you are using a source control solution. By VS2008 doesn’t select your solution by default it tends to suggest creating the web site outside the solution folder. To remedy this, change the location path and add a name for your project.

I am going to name my “TestFluorineWeb”.

At this point your project structure should look like this in Visual Studio 2008. The solution has two projects, a web site and class library. It also added a reference to the FluorineFX engine.

Configure Run Configuration

Before we can run this application, you will need to set the start page and the start project

First right click on the “TestFluorineWeb” project (or whatever you name your web site) and select “Set as StartUp Project”.

Likewise right-click on the “Console.aspx” page and click “Set as Start Page”

Run Application

Now we are ready to test the basic setup. From the menu select “Debug” and “Start Debugging F5” or simply press the “F5” key. If you get a message requesting to configure your application for debugging accept the default and click OK. Once your application is up and running, you should see the Console page.

Expand the “TestFluorineWeb” node until you see the Echo class and select it. In the Text field on the right side, enter “Hello World!!” or whatever you like and click on the “Call” button. You will see the results under the Results tab as below

Comments

    0 of 8192 characters used
    Post Comment

    • klanguedoc profile imageAUTHOR

      Kevin Languedoc 

      4 years ago from Canada

      I haven't worked with FluorineFX in several years, sorry :(. What version are you using? Is the version you are using compatible with VS2008.

    • profile image

      Sammael 

      4 years ago

      Hello Friend, I am from Ecuador, sorry for my english. I installed FluorineFX on my computer with Windows 7 and VS.Net 2008, everything installed fine but does not show the templates FluorineFX in VS.Net 2008... I have also installed VS.Net 2005 and VS.Net 2010 in my machine. As additional data, I can only see the FluorineFX Templates (FluorineFX Service Library, FluorineFX ASP.Net Web Site) in VS.Net 2005...

    • klanguedoc profile imageAUTHOR

      Kevin Languedoc 

      5 years ago from Canada

      Cool! It always makes my day to hear from a reader saying that a tutorial I wrote helped them.

    • profile image

      hector 

      5 years ago

      thanks man, you saved my life!!

    working

    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://hubpages.com/privacy-policy#gdpr

    Show Details
    Necessary
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Features
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Marketing
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Statistics
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)