Fluorine .NET Flash Remoting Gateway

Setting up a Flash Remoting-enabled ASP.NET application

ASP.NET application directory layout

A typical ASP.NET application directory structure:

INetPub
     wwwroot
          ASPNetApplication
              \bin -------------------------------------------------- LAC, local assembly cache
                  com.TheSilentGroup.Fluorine.dll --------- Fluorine Flash Remoting assembly
                  ASPNetApplication.dll ------------------------- The application assembly (for the sample "ASPNetApplication" application)
                  Other .NET assemblies ----------------------- Other .NET assemblies exposing services
              ASPNetApplication.csproj
              web.config ----------------------------------------- ASP.NET application configuration file
              Gateway.aspx ------------------------------------- An empty page that serves as the Flash Remoting URL
              MyWebForm.aspx

Setup using Visual Studio

1. Create a new web project, or open an existing one.

2. Right-click the 'References' folder, choose 'Add reference...' in the '.NET' tab, choose 'Browse' then select the com.TheSilentGroup.Fluorine.dll you have previously downloaded, finish the import by pressing OK

-or- alternatively if you plan to debug with Fluorine then add to your solution the com.TheSilentGroup.Fluorine.csproj project you have previously downloaded then use 'Add reference...' and select a project reference.

3. add the following lines to your Web.config file, into the <system.web> node :

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
...
<system.web>
  <httpModules>
      <add name="FluorineGateway" type="com.TheSilentGroup.Fluorine.FluorineGateway,com.TheSilentGroup.Fluorine" />
  </httpModules>
...
</system.web>
...
</configuration>

4. Create a blank Gateway.aspx file with 'Add Web Form...'. The gateway URL will point to this page.