Changeset 4541

Show
Ignore:
Timestamp:
01/18/08 14:06:15 (8 months ago)
Author:
xmlhacker
Message:

various across the board changes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/nuxleus/Source/CodeSamples/AwsSdb_LoadGeoLatLong-Csv/AwsSdb_LoadGeoLatLong-Csv.csproj

    r4465 r4541  
    1 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
     1<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"
    22  <PropertyGroup> 
    33    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 
     
    1010    <RootNamespace>AwsSdb_LoadGeoLatLong_Csv</RootNamespace> 
    1111    <AssemblyName>AwsSdb_LoadGeoLatLong-Csv</AssemblyName> 
     12    <FileUpgradeFlags> 
     13    </FileUpgradeFlags> 
     14    <OldToolsVersion>2.0</OldToolsVersion> 
     15    <UpgradeBackupLocation> 
     16    </UpgradeBackupLocation> 
    1217  </PropertyGroup> 
    1318  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> 
  • trunk/nuxleus/Source/CodeSamples/AwsSdb_LoadGeonamesDataFile/AwsSdb_LoadGeonamesDataFile.csproj

    r4479 r4541  
    1 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
     1<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"
    22  <PropertyGroup> 
    33    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 
     
    1010    <RootNamespace>AwsSdb_LoadGeonamesDataFile</RootNamespace> 
    1111    <AssemblyName>AwsSdb_LoadGeonamesDataFile</AssemblyName> 
     12    <FileUpgradeFlags> 
     13    </FileUpgradeFlags> 
     14    <OldToolsVersion>2.0</OldToolsVersion> 
     15    <UpgradeBackupLocation> 
     16    </UpgradeBackupLocation> 
    1217  </PropertyGroup> 
    1318  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> 
  • trunk/nuxleus/Source/CodeSamples/AwsSdb_Test/AwsSdb_Test.csproj

    r4464 r4541  
    1 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
     1<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"
    22  <PropertyGroup> 
    33    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 
     
    1010    <RootNamespace>AwsSdb_Test</RootNamespace> 
    1111    <AssemblyName>AwsSdb_Test</AssemblyName> 
     12    <FileUpgradeFlags> 
     13    </FileUpgradeFlags> 
     14    <OldToolsVersion>2.0</OldToolsVersion> 
     15    <UpgradeBackupLocation> 
     16    </UpgradeBackupLocation> 
    1217  </PropertyGroup> 
    1318  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> 
  • trunk/nuxleus/Source/Nuxleus.Agent/Nuxleus.Agent.csproj

    r4538 r4541  
    1 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
     1<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"
    22  <PropertyGroup> 
    33    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 
     
    1212    <SignAssembly>true</SignAssembly> 
    1313    <AssemblyOriginatorKeyFile>Extf.Net.snk</AssemblyOriginatorKeyFile> 
     14    <FileUpgradeFlags> 
     15    </FileUpgradeFlags> 
     16    <OldToolsVersion>2.0</OldToolsVersion> 
     17    <UpgradeBackupLocation> 
     18    </UpgradeBackupLocation> 
    1419  </PropertyGroup> 
    1520  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> 
  • trunk/nuxleus/Source/Nuxleus.Entity.Profile/Nuxleus.Entity.Profile.csproj

    r4487 r4541  
    1 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
     1<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"
    22  <PropertyGroup> 
    33    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 
     
    1212    <SignAssembly>true</SignAssembly> 
    1313    <AssemblyOriginatorKeyFile>Extf.Net.snk</AssemblyOriginatorKeyFile> 
     14    <FileUpgradeFlags> 
     15    </FileUpgradeFlags> 
     16    <OldToolsVersion>2.0</OldToolsVersion> 
     17    <UpgradeBackupLocation> 
     18    </UpgradeBackupLocation> 
    1419  </PropertyGroup> 
    1520  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> 
  • trunk/nuxleus/Source/Nuxleus.Extension/Nuxleus.Extension.csproj

    r4522 r4541  
    44    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 
    55    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> 
    6     <ProductVersion>8.0.50727</ProductVersion> 
     6    <ProductVersion>9.0.21022</ProductVersion> 
    77    <SchemaVersion>2.0</SchemaVersion> 
    88    <ProjectGuid>{3EC9EEB0-71CA-4F71-BF8E-AAF0365D4234}</ProjectGuid> 
     
    1111    <RootNamespace>Nuxleus.Extension</RootNamespace> 
    1212    <AssemblyName>Nuxleus.Extension</AssemblyName> 
    13     <TargetFrameworkVersion>v2.0</TargetFrameworkVersion> 
     13    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> 
    1414    <FileAlignment>512</FileAlignment> 
    1515    <SignAssembly>true</SignAssembly> 
    1616    <AssemblyOriginatorKeyFile>Extf.Net.snk</AssemblyOriginatorKeyFile> 
     17    <PublishUrl>http://localhost/Nuxleus.Extension/</PublishUrl> 
     18    <Install>true</Install> 
     19    <InstallFrom>Web</InstallFrom> 
     20    <UpdateEnabled>true</UpdateEnabled> 
     21    <UpdateMode>Foreground</UpdateMode> 
     22    <UpdateInterval>7</UpdateInterval> 
     23    <UpdateIntervalUnits>Days</UpdateIntervalUnits> 
     24    <UpdatePeriodically>false</UpdatePeriodically> 
     25    <UpdateRequired>false</UpdateRequired> 
     26    <MapFileExtensions>true</MapFileExtensions> 
     27    <ApplicationRevision>0</ApplicationRevision> 
     28    <ApplicationVersion>1.0.0.%2a</ApplicationVersion> 
     29    <IsWebBootstrapper>true</IsWebBootstrapper> 
     30    <UseApplicationTrust>false</UseApplicationTrust> 
     31    <BootstrapperEnabled>true</BootstrapperEnabled> 
    1732  </PropertyGroup> 
    1833  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> 
     
    3752    <Reference Include="System" /> 
    3853    <Reference Include="System.configuration" /> 
     54    <Reference Include="System.Core"> 
     55      <RequiredTargetFramework>3.5</RequiredTargetFramework> 
     56    </Reference> 
    3957    <Reference Include="System.Data" /> 
    4058    <Reference Include="System.Web" /> 
     
    5674    <None Include="Extf.Net.snk" /> 
    5775  </ItemGroup> 
     76  <ItemGroup> 
     77    <BootstrapperPackage Include="Microsoft.Net.Framework.2.0"> 
     78      <Visible>False</Visible> 
     79      <ProductName>.NET Framework 2.0 %28x86%29</ProductName> 
     80      <Install>true</Install> 
     81    </BootstrapperPackage> 
     82    <BootstrapperPackage Include="Microsoft.Net.Framework.3.0"> 
     83      <Visible>False</Visible> 
     84      <ProductName>.NET Framework 3.0 %28x86%29</ProductName> 
     85      <Install>false</Install> 
     86    </BootstrapperPackage> 
     87    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5"> 
     88      <Visible>False</Visible> 
     89      <ProductName>.NET Framework 3.5</ProductName> 
     90      <Install>false</Install> 
     91    </BootstrapperPackage> 
     92  </ItemGroup> 
    5893  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> 
    5994  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.  
  • trunk/nuxleus/Source/Nuxleus.Geo/Nuxleus.Geo.csproj

    r4464 r4541  
    1 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
     1<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"
    22  <PropertyGroup> 
    33    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 
     
    1212    <SignAssembly>true</SignAssembly> 
    1313    <AssemblyOriginatorKeyFile>Extf.Net.snk</AssemblyOriginatorKeyFile> 
     14    <FileUpgradeFlags> 
     15    </FileUpgradeFlags> 
     16    <OldToolsVersion>2.0</OldToolsVersion> 
     17    <UpgradeBackupLocation> 
     18    </UpgradeBackupLocation> 
    1419  </PropertyGroup> 
    1520  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> 
  • trunk/nuxleus/Source/Nuxleus.Service/Queue/Qs.cs

    r4383 r4541  
    1515using Nuxleus.Logging; 
    1616 
    17 namespace Nuxleus.Service 
    18 
    19     public class BuckerQueueServerService : ServiceBase 
    20     { 
     17namespace Nuxleus.Service { 
     18    public class BuckerQueueServerService : ServiceBase { 
    2119        Container components = null; 
    2220        MessageServer server; 
    23        BuckerServerHandler buckerHandler = null; 
     21        BuckerServerHandler buckerHandler = null; 
    2422 
    25         public BuckerQueueServerService(int port, string[] memcachedServers, string topLevelQueueId) 
    26           { 
     23        public BuckerQueueServerService (int port, string[] memcachedServers, string topLevelQueueId) { 
    2724            // This call is required by the Windows.Forms Component Designer. 
    2825            InitializeComponent(); 
    2926            server = new MessageServer(port, "\r\n\r\n"); 
    30            buckerHandler = new BuckerServerHandler(memcachedServers, topLevelQueueId); 
    31            buckerHandler.Service = server.Service; 
     27            buckerHandler = new BuckerServerHandler(memcachedServers, topLevelQueueId); 
     28            buckerHandler.Service = server.Service; 
    3229        } 
    3330 
    3431        // The main entry point for the process 
    35         public static void Main(object[] args) 
    36         { 
     32        public static void Main (object[] args) { 
    3733            ServiceBase[] ServicesToRun; 
    38            string[] memcachedServers = ((string)args[1]).Split(':'); 
    39            string topLevelQueueId = (string)args[2]; 
     34            string[] memcachedServers = ((string)args[1]).Split(':'); 
     35            string topLevelQueueId = (string)args[2]; 
    4036            ServicesToRun = new ServiceBase[] { new BuckerQueueServerService((int)args[0],  
    4137                                                                             memcachedServers,  
     
    4945        /// the contents of this method with the code editor. 
    5046        /// </summary> 
    51         private void InitializeComponent() 
    52         { 
     47        private void InitializeComponent () { 
    5348            components = new Container(); 
    5449            this.ServiceName = "nuXleus queue server"; 
     
    5853        /// Clean up any resources being used. 
    5954        /// </summary> 
    60         protected override void Dispose(bool disposing) 
    61         { 
    62             if (disposing) 
    63             { 
    64                 if (components != null) 
    65                 { 
     55        protected override void Dispose (bool disposing) { 
     56            if (disposing) { 
     57                if (components != null) { 
    6658                    components.Dispose(); 
    6759                } 
     
    7365        /// Set things in motion so your service can do its work. 
    7466        /// </summary> 
    75         protected override void OnStart(string[] args) 
    76         { 
    77             try 
    78             { 
     67        protected override void OnStart (string[] args) { 
     68            try { 
    7969                Log.Write("Starting nuXleus queue server..."); 
    80                 server.Start(); 
    81             } 
    82             catch (Exception ex) 
    83             { 
     70                server.Start(); 
     71            } catch (Exception ex) { 
    8472                Log.Write(ex); 
    8573            } 
     
    8977        /// Stop this service. 
    9078        /// </summary> 
    91         protected override void OnStop() 
    92         { 
    93             try 
    94             { 
     79        protected override void OnStop () { 
     80            try { 
    9581                Log.Write("Stopping nuXleus queue server..."); 
    96                buckerHandler.Close(); 
     82                buckerHandler.Close(); 
    9783                server.Stop(); 
    9884                this.Dispose(); 
    99             } 
    100             catch (Exception ex) 
    101             { 
     85            } catch (Exception ex) { 
    10286                Log.Write(ex); 
    10387            } 
  • trunk/nuxleus/Source/Nuxleus.Synchronization/Nuxleus.Synchronization.csproj

    r4414 r4541  
    1 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
     1<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"
    22  <PropertyGroup> 
    33    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 
     
    1212    <SignAssembly>true</SignAssembly> 
    1313    <AssemblyOriginatorKeyFile>Extf.Net.snk</AssemblyOriginatorKeyFile> 
     14    <FileUpgradeFlags> 
     15    </FileUpgradeFlags> 
     16    <OldToolsVersion>2.0</OldToolsVersion> 
     17    <UpgradeBackupLocation> 
     18    </UpgradeBackupLocation> 
    1419  </PropertyGroup> 
    1520  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> 
  • trunk/nuxleus/Source/Nuxleus.Web/HttpApplication/Global.cs

    r4522 r4541  
    5858            m_appSettings = new AppSettings(); 
    5959            m_xameleonConfiguration = AspNetXameleonConfiguration.GetConfig(); 
     60            string hashkey = (string)m_xameleonConfiguration.ObjectHashKey; 
     61            Application["hashkey"] = hashkey; 
    6062            m_awsConfiguration = AspNetAwsConfiguration.GetConfig(); 
    6163            m_bungeeAppConfguration = AspNetBungeeAppConfiguration.GetConfig(); 
     
    121123            m_resolver.Credentials = CredentialCache.DefaultCredentials; 
    122124            m_namedXsltHashtable = m_xsltTransformationManager.NamedXsltHashtable; 
    123  
    124             string hashkey = (string)m_xameleonConfiguration.ObjectHashKey; 
    125             Application["hashkey"] = hashkey; 
    126125 
    127126            foreach (PreCompiledXslt xslt in m_xameleonConfiguration.PreCompiledXslt) 
  • trunk/nuxleus/Source/Nuxleus.Web/Nuxleus.Web.csproj

    r4526 r4541  
    44    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 
    55    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> 
    6     <ProductVersion>8.0.50727</ProductVersion> 
     6    <ProductVersion>9.0.21022</ProductVersion> 
    77    <SchemaVersion>2.0</SchemaVersion> 
    88    <ProjectGuid>{9ADF199C-BEED-4673-8BB0-EE9C1C7FB826}</ProjectGuid> 
     
    1111    <RootNamespace>Nuxleus.Web</RootNamespace> 
    1212    <AssemblyName>Nuxleus.Web</AssemblyName> 
    13     <TargetFrameworkVersion>v2.0</TargetFrameworkVersion> 
     13    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> 
    1414    <FileAlignment>512</FileAlignment> 
    1515    <SignAssembly>true</SignAssembly> 
    1616    <AssemblyOriginatorKeyFile>Extf.Net.snk</AssemblyOriginatorKeyFile> 
     17    <PublishUrl>http://localhost/Nuxleus.Web/</PublishUrl> 
     18    <Install>true</Install> 
     19    <InstallFrom>Web</InstallFrom> 
     20    <UpdateEnabled>true</UpdateEnabled> 
     21    <UpdateMode>Foreground</UpdateMode> 
     22    <UpdateInterval>7</UpdateInterval> 
     23    <UpdateIntervalUnits>Days</UpdateIntervalUnits> 
     24    <UpdatePeriodically>false</UpdatePeriodically> 
     25    <UpdateRequired>false</UpdateRequired> 
     26    <MapFileExtensions>true</MapFileExtensions> 
     27    <ApplicationRevision>0</ApplicationRevision> 
     28    <ApplicationVersion>1.0.0.%2a</ApplicationVersion> 
     29    <IsWebBootstrapper>true</IsWebBootstrapper> 
     30    <UseApplicationTrust>false</UseApplicationTrust> 
     31    <BootstrapperEnabled>true</BootstrapperEnabled> 
    1732  </PropertyGroup> 
    1833  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> 
     
    5873    <Reference Include="System" /> 
    5974    <Reference Include="System.configuration" /> 
     75    <Reference Include="System.Core"> 
     76      <RequiredTargetFramework>3.5</RequiredTargetFramework> 
     77    </Reference> 
    6078    <Reference Include="System.Data" /> 
    6179    <Reference Include="System.Web" /> 
     
    154172      <Name>Nuxleus.Extension.Aws</Name> 
    155173    </ProjectReference> 
     174    <ProjectReference Include="..\Nuxleus.Extension\Nuxleus.Extension.csproj"> 
     175      <Project>{3EC9EEB0-71CA-4F71-BF8E-AAF0365D4234}</Project> 
     176      <Name>Nuxleus.Extension</Name> 
     177    </ProjectReference> 
    156178    <ProjectReference Include="..\Nuxleus.Geo\Nuxleus.Geo.csproj"> 
    157179      <Project>{9054928F-69AF-4448-BEC0-591BC9393AE8}</Project> 
     
    189211    <Folder Include="AsyncResult\" /> 
    190212    <Folder Include="Properties\" /> 
     213  </ItemGroup> 
     214  <ItemGroup> 
     215    <BootstrapperPackage Include="Microsoft.Net.Framework.2.0"> 
     216      <Visible>False</Visible> 
     217      <ProductName>.NET Framework 2.0 %28x86%29</ProductName> 
     218      <Install>true</Install> 
     219    </BootstrapperPackage> 
     220    <BootstrapperPackage Include="Microsoft.Net.Framework.3.0"> 
     221      <Visible>False</Visible> 
     222      <ProductName>.NET Framework 3.0 %28x86%29</ProductName> 
     223      <Install>false</Install> 
     224    </BootstrapperPackage> 
     225    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5"> 
     226      <Visible>False</Visible> 
     227      <ProductName>.NET Framework 3.5</ProductName> 
     228      <Install>false</Install> 
     229    </BootstrapperPackage> 
    191230  </ItemGroup> 
    192231  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> 
  • trunk/nuxleus/Source/Nuxleus.Web/XmlServiceOperation/XmlServiceOperationManager.cs

    r4538 r4541  
    66using System.Collections; 
    77using System.Collections.Generic; 
    8 using Saxon.Api; 
    98using System.Xml; 
    109using System.IO; 
  • trunk/nuxleus/Source/Nuxleus.Web/XmlServiceOperation/XmlServiceOperationReader.cs

    r4537 r4541  
    55using System.Web; 
    66using Nuxleus.Transform; 
     7using Nuxleus.Extension; 
    78using System.IO; 
    89using System.Globalization; 
     
    4748                                if (piValue.Contains("type=\"text/xsl\"") && piValue.Contains("href=")) { 
    4849                                    processWithEmbeddedPIStylsheet = true; 
    49                                     xmlStylesheetHref = SubstringBefore(SubstringAfter(piValue, "href=\""), "\""); 
     50                                    xmlStylesheetHref = piValue.SubstringAfter("href=\"").SubstringBefore("\""); 
    5051                                } 
    5152                                Console.WriteLine("Stylesheet Href = {0}", xmlStylesheetHref); 
     
    6162                                case "my:page": 
    6263                                    Uri baseXsltUri = new Uri(m_httpContext.Request.MapPath(xmlStylesheetHref)); 
     64                                    m_xslTransformationManager.BaseXsltUri = baseXsltUri; 
    6365                                    string baseXslt = baseXsltUri.GetHashCode().ToString(); 
    6466 
     
    118120            return m_response; 
    119121        } 
    120  
    121  
    122         /// <summary> 
    123         /// Modified from Oleg Tkachenko's SubstringBefore and SubstringAfter extension functions 
    124         /// @ http://www.tkachenko.com/blog/archives/000684.html 
    125         /// This will be moved into an appropriate class once I have the time. 
    126         /// </summary> 
    127         /// <param name="source"></param> 
    128         /// <param name="value"></param> 
    129         /// <returns></returns> 
    130         public static string SubstringAfter (string source, string value) { 
    131             if (string.IsNullOrEmpty(value)) { 
    132                 return source; 
    133             } 
    134             CompareInfo compareInfo = CultureInfo.InvariantCulture.CompareInfo; 
    135             int index = compareInfo.IndexOf(source, value, CompareOptions.Ordinal); 
    136             if (index < 0) { 
    137                 //No such substring 
    138                 return string.Empty; 
    139             } 
    140             return source.Substring(index + value.Length); 
    141         } 
    142  
    143         public static string SubstringBefore (string source, string value) { 
    144             if (string.IsNullOrEmpty(value)) { 
    145                 return value; 
    146             } 
    147             CompareInfo compareInfo = CultureInfo.InvariantCulture.CompareInfo; 
    148             int index = compareInfo.IndexOf(source, value, CompareOptions.Ordinal); 
    149             if (index < 0) { 
    150                 //No such substring 
    151                 return string.Empty; 
    152             } 
    153             return source.Substring(0, index); 
    154         } 
    155122    } 
    156123} 
  • trunk/nuxleus/Source/ServiceApps/LLUP/LLUPPublisher/LLUPPublisher.csproj

    r4384 r4541  
    1 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
     1<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"
    22  <PropertyGroup> 
    33    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 
     
    1010    <RootNamespace>LLUPPublisher</RootNamespace> 
    1111    <AssemblyName>LLUPPublisher</AssemblyName> 
     12    <FileUpgradeFlags> 
     13    </FileUpgradeFlags> 
     14    <OldToolsVersion>2.0</OldToolsVersion> 
     15    <UpgradeBackupLocation> 
     16    </UpgradeBackupLocation> 
    1217  </PropertyGroup> 
    1318  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> 
  • trunk/nuxleus/Source/ServiceApps/LLUP/LLUPRouter/LLUPRouter.csproj

    r4384 r4541  
    1 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
     1<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"
    22  <PropertyGroup> 
    33    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 
     
    1010    <RootNamespace>LLUPRouter</RootNamespace> 
    1111    <AssemblyName>LLUPRouter</AssemblyName> 
     12    <FileUpgradeFlags> 
     13    </FileUpgradeFlags> 
     14    <OldToolsVersion>2.0</OldToolsVersion> 
     15    <UpgradeBackupLocation> 
     16    </UpgradeBackupLocation> 
    1217  </PropertyGroup> 
    1318  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> 
  • trunk/nuxleus/Source/ServiceApps/LLUP/LLUPService/LLUPSubscriber.csproj

    r4384 r4541  
    1 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
     1<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"
    22  <PropertyGroup> 
    33    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 
     
    1010    <RootNamespace>LLUPService</RootNamespace> 
    1111    <AssemblyName>LLUPService</AssemblyName> 
     12    <FileUpgradeFlags> 
     13    </FileUpgradeFlags> 
     14    <OldToolsVersion>2.0</OldToolsVersion> 
     15    <UpgradeBackupLocation> 
     16    </UpgradeBackupLocation> 
    1217  </PropertyGroup> 
    1318  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> 
  • trunk/nuxleus/Source/Xameleon/Function/QueueManager.cs

    r4359 r4541  
    77using Nuxleus.PubSub; 
    88 
    9 namespace Xameleon.Function 
    10 
    11     public static class QueueManager 
    12     { 
     9namespace Xameleon.Function { 
    1310 
    14         public static string Push(HttpContext context, string queueName, string message) 
    15         { 
     11    public static class QueueManager { 
     12 
     13        public static string Push (HttpContext context, string queueName, string message) { 
    1614            return Push(queueName, message); 
    1715        } 
    1816 
    19         private static string Push(string queueName, string message) 
    20         { 
    21           // Notification 
    22           Notification n = new Notification(); 
    23           n.Action = "publish"; 
    24           n.Expires = DateTime.Now.AddHours(1); 
    25           n.Categories = new Category[2]; 
    26           n.Categories[0] = new Category(); 
    27           n.Categories[0].Term = message; 
    28           n.Categories[1] = new Category(); 
    29           n.Categories[1].Term = "indie"; 
     17        private static string Push (string queueName, string message) { 
     18            // Notification 
     19            Notification n = new Notification(); 
     20            n.Action = "publish"; 
     21            n.Expires = DateTime.Now.AddHours(1); 
     22            n.Categories = new Category[2]; 
     23            n.Categories[0] = new Category(); 
     24            n.Categories[0].Term = message; 
     25            n.Categories[1] = new Category(); 
     26            n.Categories[1].Term = "indie"; 
    3027 
    31          // The actual Queue Message to send 
    32          Message pm = new Message(); 
    33          pm.Op.Type = OperationType.PushMessage; 
    34          pm.QueueId = queueName; 
     28            // The actual Queue Message to send 
     29            Message pm = new Message(); 
     30            pm.Op.Type = OperationType.PushMessage; 
     31            pm.QueueId = queueName; 
    3532 
    36          Console.WriteLine(queueName); 
    37          Console.WriteLine(n.ToString()); 
    38          pm.Payload = Convert.ToBase64String(Notification.Serialize(n)); 
     33            Console.WriteLine(queueName); 
     34            Console.WriteLine(n.ToString()); 
     35            pm.Payload = Convert.ToBase64String(Notification.Serialize(n)); 
    3936 
    40          // An event handler 
    41          MessageEvent me = new MessageEvent(); 
    42          me.Message = pm; 
    43          // Let's see what the response of the server was 
    44          me.MessageReceived += new MessageEventHandler(queue_MessageReceived); 
     37            // An event handler 
     38            MessageEvent me = new MessageEvent(); 
     39            me.Message = pm; 
     40            // Let's see what the response of the server was 
     41            me.MessageReceived += new MessageEventHandler(queue_MessageReceived); 
    4542 
    46          QueueClientPool.Enqueue(me); 
     43            QueueClientPool.Enqueue(me); 
    4744 
    48          return "message sent"; 
     45            return "message sent"; 
    4946        } 
    5047 
    51       private static void queue_MessageReceived(object sender, MessageStateEventArgs e)
    52        MessageEvent me = (MessageEvent)sender; 
    53        Message received = e.Message; 
    54        //Console.WriteLine("RESPONSE: {0}", received.ToString()); 
    55      
     48        private static void queue_MessageReceived (object sender, MessageStateEventArgs e)
     49            MessageEvent me = (MessageEvent)sender; 
     50            Message received = e.Message; 
     51            //Console.WriteLine("RESPONSE: {0}", received.ToString()); 
     52       
    5653 
    5754        //public static void Push(HttpContext context, object message) { 
  • trunk/nuxleus/Source/Xameleon/Transform/BaseXsltContext.cs

    <
    r3980 r4541  
    55namespace Nuxleus.Transform { 
    66 
    7   public class BaseXsltContext { 
    8     Uri _BaseXsltUri; 
    9     String _UriHash; 
    10     String _Name; 
     7  public struct BaseXsltContext { 
     8    Uri m_BaseXsltUri; 
     9    String m_UriHash; 
     10    String m_name; 
    1111 
    1212    public BaseXsltContext(Uri baseXsltUri, String uriHash, String name) { 
    13       _BaseXsltUri = baseXsltUri; 
    14       _UriHash = uriHash; 
    15       _Name = name; 
     13      m_BaseXsltUri = baseXsltUri; 
     14      m_UriHash = uriHash; 
     15      m_name = name; 
    1616    } 
    1717 
    1818    public Uri BaseXsltUri { 
    19       get { return _BaseXsltUri; } 
    20       set { this._BaseXsltUri = value; } 
     19      get { return m_BaseXsltUri; } 
     20      set { this.m_BaseXsltUri = value; } 
    2121    } 
    2222    public String UriHash { 
    23       get { return _UriHash; } 
    24       set { this._UriHash = value; } 
     23      get { return m_UriHash; } 
     24      set { this.m_UriHash = value; } 
    2525    } 
    2626    public String Name { 
    27       get { return _Name; } 
    28       set { this._Name = value; } 
     27      get { return m_name; } 
     28      set { this.m_name = value; } 
    2929    } 
    30  
    3130  }