Changeset 4541
- Timestamp:
- 01/18/08 14:06:15 (8 months ago)
- Files:
-
- trunk/nuxleus/Source/CodeSamples/AwsSdb_LoadGeoLatLong-Csv/AwsSdb_LoadGeoLatLong-Csv.csproj (modified) (2 diffs)
- trunk/nuxleus/Source/CodeSamples/AwsSdb_LoadGeonamesDataFile/AwsSdb_LoadGeonamesDataFile.csproj (modified) (2 diffs)
- trunk/nuxleus/Source/CodeSamples/AwsSdb_Test/AwsSdb_Test.csproj (modified) (2 diffs)
- trunk/nuxleus/Source/Nuxleus.Agent/Nuxleus.Agent.csproj (modified) (2 diffs)
- trunk/nuxleus/Source/Nuxleus.Entity.Profile/Nuxleus.Entity.Profile.csproj (modified) (2 diffs)
- trunk/nuxleus/Source/Nuxleus.Extension/Nuxleus.Extension.csproj (modified) (4 diffs)
- trunk/nuxleus/Source/Nuxleus.Geo/Nuxleus.Geo.csproj (modified) (2 diffs)
- trunk/nuxleus/Source/Nuxleus.Service/Queue/Qs.cs (modified) (5 diffs)
- trunk/nuxleus/Source/Nuxleus.Synchronization/Nuxleus.Synchronization.csproj (modified) (2 diffs)
- trunk/nuxleus/Source/Nuxleus.Web/HttpApplication/Global.cs (modified) (2 diffs)
- trunk/nuxleus/Source/Nuxleus.Web/Nuxleus.Web.csproj (modified) (5 diffs)
- trunk/nuxleus/Source/Nuxleus.Web/XmlServiceOperation/XmlServiceOperationManager.cs (modified) (1 diff)
- trunk/nuxleus/Source/Nuxleus.Web/XmlServiceOperation/XmlServiceOperationReader.cs (modified) (4 diffs)
- trunk/nuxleus/Source/ServiceApps/LLUP/LLUPPublisher/LLUPPublisher.csproj (modified) (2 diffs)
- trunk/nuxleus/Source/ServiceApps/LLUP/LLUPRouter/LLUPRouter.csproj (modified) (2 diffs)
- trunk/nuxleus/Source/ServiceApps/LLUP/LLUPService/LLUPSubscriber.csproj (modified) (2 diffs)
- trunk/nuxleus/Source/Xameleon/Function/QueueManager.cs (modified) (1 diff)
- trunk/nuxleus/Source/Xameleon/Transform/BaseXsltContext.cs (modified) (1 diff)
- trunk/nuxleus/Source/Xameleon/Transform/XsltTransformationManager.cs (modified) (7 diffs)
- trunk/nuxleus/Source/nuXleus.sln (modified) (9 diffs)
- trunk/nuxleus/Source/nux.build (modified) (43 diffs)
- trunk/nuxleus/Web/Development/Web.config (modified) (2 diffs)
- trunk/nuxleus/Web/Development/bin/ALAZ.SystemEx.NetEx.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/ALAZ.SystemEx.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Enyim.Caching.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/ICSharpCode.SharpZipLib.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/IKVM.OpenJDK.ClassLibrary.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/IKVM.Runtime.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/IronMath.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/IronPython.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Lucene.Net.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Memcached.ClientLibrary.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Mono.Posix.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Mono.Security.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Mvp.Xml.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.Agent.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.Authentication.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.Build.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.Command.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.Configuration.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.Cryptography.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.Entity.Profile.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.Entity.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.Extension.Amp.Fm.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.Extension.Aws.Sdb.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.Extension.Aws.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.Extension.Community.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.Extension.Facebook.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.Extension.Silverlight.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.Extension.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.Geo.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.IO.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.Language.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.Logging.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.Messaging.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.Process.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.PubSub.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.Semantics.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.Service.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.Synchronization.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.Utility.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.Vendor.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.Web.Services.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Nuxleus.Web.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Saxon.Api.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/SgmlReaderDll.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Upnp.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/Xameleon.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/agsXMPP.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/log4net.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/saxon8.dll (modified) (previous)
- trunk/nuxleus/Web/Development/bin/saxon9.dll (modified) (previous)
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"> 2 2 <PropertyGroup> 3 3 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> … … 10 10 <RootNamespace>AwsSdb_LoadGeoLatLong_Csv</RootNamespace> 11 11 <AssemblyName>AwsSdb_LoadGeoLatLong-Csv</AssemblyName> 12 <FileUpgradeFlags> 13 </FileUpgradeFlags> 14 <OldToolsVersion>2.0</OldToolsVersion> 15 <UpgradeBackupLocation> 16 </UpgradeBackupLocation> 12 17 </PropertyGroup> 13 18 <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"> 2 2 <PropertyGroup> 3 3 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> … … 10 10 <RootNamespace>AwsSdb_LoadGeonamesDataFile</RootNamespace> 11 11 <AssemblyName>AwsSdb_LoadGeonamesDataFile</AssemblyName> 12 <FileUpgradeFlags> 13 </FileUpgradeFlags> 14 <OldToolsVersion>2.0</OldToolsVersion> 15 <UpgradeBackupLocation> 16 </UpgradeBackupLocation> 12 17 </PropertyGroup> 13 18 <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"> 2 2 <PropertyGroup> 3 3 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> … … 10 10 <RootNamespace>AwsSdb_Test</RootNamespace> 11 11 <AssemblyName>AwsSdb_Test</AssemblyName> 12 <FileUpgradeFlags> 13 </FileUpgradeFlags> 14 <OldToolsVersion>2.0</OldToolsVersion> 15 <UpgradeBackupLocation> 16 </UpgradeBackupLocation> 12 17 </PropertyGroup> 13 18 <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"> 2 2 <PropertyGroup> 3 3 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> … … 12 12 <SignAssembly>true</SignAssembly> 13 13 <AssemblyOriginatorKeyFile>Extf.Net.snk</AssemblyOriginatorKeyFile> 14 <FileUpgradeFlags> 15 </FileUpgradeFlags> 16 <OldToolsVersion>2.0</OldToolsVersion> 17 <UpgradeBackupLocation> 18 </UpgradeBackupLocation> 14 19 </PropertyGroup> 15 20 <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"> 2 2 <PropertyGroup> 3 3 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> … … 12 12 <SignAssembly>true</SignAssembly> 13 13 <AssemblyOriginatorKeyFile>Extf.Net.snk</AssemblyOriginatorKeyFile> 14 <FileUpgradeFlags> 15 </FileUpgradeFlags> 16 <OldToolsVersion>2.0</OldToolsVersion> 17 <UpgradeBackupLocation> 18 </UpgradeBackupLocation> 14 19 </PropertyGroup> 15 20 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> trunk/nuxleus/Source/Nuxleus.Extension/Nuxleus.Extension.csproj
r4522 r4541 4 4 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 5 5 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> 6 <ProductVersion> 8.0.50727</ProductVersion>6 <ProductVersion>9.0.21022</ProductVersion> 7 7 <SchemaVersion>2.0</SchemaVersion> 8 8 <ProjectGuid>{3EC9EEB0-71CA-4F71-BF8E-AAF0365D4234}</ProjectGuid> … … 11 11 <RootNamespace>Nuxleus.Extension</RootNamespace> 12 12 <AssemblyName>Nuxleus.Extension</AssemblyName> 13 <TargetFrameworkVersion>v 2.0</TargetFrameworkVersion>13 <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> 14 14 <FileAlignment>512</FileAlignment> 15 15 <SignAssembly>true</SignAssembly> 16 16 <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> 17 32 </PropertyGroup> 18 33 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> … … 37 52 <Reference Include="System" /> 38 53 <Reference Include="System.configuration" /> 54 <Reference Include="System.Core"> 55 <RequiredTargetFramework>3.5</RequiredTargetFramework> 56 </Reference> 39 57 <Reference Include="System.Data" /> 40 58 <Reference Include="System.Web" /> … … 56 74 <None Include="Extf.Net.snk" /> 57 75 </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> 58 93 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> 59 94 <!-- 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"> 2 2 <PropertyGroup> 3 3 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> … … 12 12 <SignAssembly>true</SignAssembly> 13 13 <AssemblyOriginatorKeyFile>Extf.Net.snk</AssemblyOriginatorKeyFile> 14 <FileUpgradeFlags> 15 </FileUpgradeFlags> 16 <OldToolsVersion>2.0</OldToolsVersion> 17 <UpgradeBackupLocation> 18 </UpgradeBackupLocation> 14 19 </PropertyGroup> 15 20 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> trunk/nuxleus/Source/Nuxleus.Service/Queue/Qs.cs
r4383 r4541 15 15 using Nuxleus.Logging; 16 16 17 namespace Nuxleus.Service 18 { 19 public class BuckerQueueServerService : ServiceBase 20 { 17 namespace Nuxleus.Service { 18 public class BuckerQueueServerService : ServiceBase { 21 19 Container components = null; 22 20 MessageServer server; 23 BuckerServerHandler buckerHandler = null;21 BuckerServerHandler buckerHandler = null; 24 22 25 public BuckerQueueServerService(int port, string[] memcachedServers, string topLevelQueueId) 26 { 23 public BuckerQueueServerService (int port, string[] memcachedServers, string topLevelQueueId) { 27 24 // This call is required by the Windows.Forms Component Designer. 28 25 InitializeComponent(); 29 26 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; 32 29 } 33 30 34 31 // The main entry point for the process 35 public static void Main(object[] args) 36 { 32 public static void Main (object[] args) { 37 33 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]; 40 36 ServicesToRun = new ServiceBase[] { new BuckerQueueServerService((int)args[0], 41 37 memcachedServers, … … 49 45 /// the contents of this method with the code editor. 50 46 /// </summary> 51 private void InitializeComponent() 52 { 47 private void InitializeComponent () { 53 48 components = new Container(); 54 49 this.ServiceName = "nuXleus queue server"; … … 58 53 /// Clean up any resources being used. 59 54 /// </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) { 66 58 components.Dispose(); 67 59 } … … 73 65 /// Set things in motion so your service can do its work. 74 66 /// </summary> 75 protected override void OnStart(string[] args) 76 { 77 try 78 { 67 protected override void OnStart (string[] args) { 68 try { 79 69 Log.Write("Starting nuXleus queue server..."); 80 server.Start(); 81 } 82 catch (Exception ex) 83 { 70 server.Start(); 71 } catch (Exception ex) { 84 72 Log.Write(ex); 85 73 } … … 89 77 /// Stop this service. 90 78 /// </summary> 91 protected override void OnStop() 92 { 93 try 94 { 79 protected override void OnStop () { 80 try { 95 81 Log.Write("Stopping nuXleus queue server..."); 96 buckerHandler.Close();82 buckerHandler.Close(); 97 83 server.Stop(); 98 84 this.Dispose(); 99 } 100 catch (Exception ex) 101 { 85 } catch (Exception ex) { 102 86 Log.Write(ex); 103 87 } 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"> 2 2 <PropertyGroup> 3 3 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> … … 12 12 <SignAssembly>true</SignAssembly> 13 13 <AssemblyOriginatorKeyFile>Extf.Net.snk</AssemblyOriginatorKeyFile> 14 <FileUpgradeFlags> 15 </FileUpgradeFlags> 16 <OldToolsVersion>2.0</OldToolsVersion> 17 <UpgradeBackupLocation> 18 </UpgradeBackupLocation> 14 19 </PropertyGroup> 15 20 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> trunk/nuxleus/Source/Nuxleus.Web/HttpApplication/Global.cs
r4522 r4541 58 58 m_appSettings = new AppSettings(); 59 59 m_xameleonConfiguration = AspNetXameleonConfiguration.GetConfig(); 60 string hashkey = (string)m_xameleonConfiguration.ObjectHashKey; 61 Application["hashkey"] = hashkey; 60 62 m_awsConfiguration = AspNetAwsConfiguration.GetConfig(); 61 63 m_bungeeAppConfguration = AspNetBungeeAppConfiguration.GetConfig(); … … 121 123 m_resolver.Credentials = CredentialCache.DefaultCredentials; 122 124 m_namedXsltHashtable = m_xsltTransformationManager.NamedXsltHashtable; 123 124 string hashkey = (string)m_xameleonConfiguration.ObjectHashKey;125 Application["hashkey"] = hashkey;126 125 127 126 foreach (PreCompiledXslt xslt in m_xameleonConfiguration.PreCompiledXslt) trunk/nuxleus/Source/Nuxleus.Web/Nuxleus.Web.csproj
r4526 r4541 4 4 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 5 5 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> 6 <ProductVersion> 8.0.50727</ProductVersion>6 <ProductVersion>9.0.21022</ProductVersion> 7 7 <SchemaVersion>2.0</SchemaVersion> 8 8 <ProjectGuid>{9ADF199C-BEED-4673-8BB0-EE9C1C7FB826}</ProjectGuid> … … 11 11 <RootNamespace>Nuxleus.Web</RootNamespace> 12 12 <AssemblyName>Nuxleus.Web</AssemblyName> 13 <TargetFrameworkVersion>v 2.0</TargetFrameworkVersion>13 <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> 14 14 <FileAlignment>512</FileAlignment> 15 15 <SignAssembly>true</SignAssembly> 16 16 <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> 17 32 </PropertyGroup> 18 33 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> … … 58 73 <Reference Include="System" /> 59 74 <Reference Include="System.configuration" /> 75 <Reference Include="System.Core"> 76 <RequiredTargetFramework>3.5</RequiredTargetFramework> 77 </Reference> 60 78 <Reference Include="System.Data" /> 61 79 <Reference Include="System.Web" /> … … 154 172 <Name>Nuxleus.Extension.Aws</Name> 155 173 </ProjectReference> 174 <ProjectReference Include="..\Nuxleus.Extension\Nuxleus.Extension.csproj"> 175 <Project>{3EC9EEB0-71CA-4F71-BF8E-AAF0365D4234}</Project> 176 <Name>Nuxleus.Extension</Name> 177 </ProjectReference> 156 178 <ProjectReference Include="..\Nuxleus.Geo\Nuxleus.Geo.csproj"> 157 179 <Project>{9054928F-69AF-4448-BEC0-591BC9393AE8}</Project> … … 189 211 <Folder Include="AsyncResult\" /> 190 212 <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> 191 230 </ItemGroup> 192 231 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> trunk/nuxleus/Source/Nuxleus.Web/XmlServiceOperation/XmlServiceOperationManager.cs
r4538 r4541 6 6 using System.Collections; 7 7 using System.Collections.Generic; 8 using Saxon.Api;9 8 using System.Xml; 10 9 using System.IO; trunk/nuxleus/Source/Nuxleus.Web/XmlServiceOperation/XmlServiceOperationReader.cs
r4537 r4541 5 5 using System.Web; 6 6 using Nuxleus.Transform; 7 using Nuxleus.Extension; 7 8 using System.IO; 8 9 using System.Globalization; … … 47 48 if (piValue.Contains("type=\"text/xsl\"") && piValue.Contains("href=")) { 48 49 processWithEmbeddedPIStylsheet = true; 49 xmlStylesheetHref = SubstringBefore(SubstringAfter(piValue, "href=\""),"\"");50 xmlStylesheetHref = piValue.SubstringAfter("href=\"").SubstringBefore("\""); 50 51 } 51 52 Console.WriteLine("Stylesheet Href = {0}", xmlStylesheetHref); … … 61 62 case "my:page": 62 63 Uri baseXsltUri = new Uri(m_httpContext.Request.MapPath(xmlStylesheetHref)); 64 m_xslTransformationManager.BaseXsltUri = baseXsltUri; 63 65 string baseXslt = baseXsltUri.GetHashCode().ToString(); 64 66 … … 118 120 return m_response; 119 121 } 120 121 122 /// <summary>123 /// Modified from Oleg Tkachenko's SubstringBefore and SubstringAfter extension functions124 /// @ http://www.tkachenko.com/blog/archives/000684.html125 /// 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 substring138 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 substring151 return string.Empty;152 }153 return source.Substring(0, index);154 }155 122 } 156 123 } 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"> 2 2 <PropertyGroup> 3 3 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> … … 10 10 <RootNamespace>LLUPPublisher</RootNamespace> 11 11 <AssemblyName>LLUPPublisher</AssemblyName> 12 <FileUpgradeFlags> 13 </FileUpgradeFlags> 14 <OldToolsVersion>2.0</OldToolsVersion> 15 <UpgradeBackupLocation> 16 </UpgradeBackupLocation> 12 17 </PropertyGroup> 13 18 <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"> 2 2 <PropertyGroup> 3 3 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> … … 10 10 <RootNamespace>LLUPRouter</RootNamespace> 11 11 <AssemblyName>LLUPRouter</AssemblyName> 12 <FileUpgradeFlags> 13 </FileUpgradeFlags> 14 <OldToolsVersion>2.0</OldToolsVersion> 15 <UpgradeBackupLocation> 16 </UpgradeBackupLocation> 12 17 </PropertyGroup> 13 18 <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"> 2 2 <PropertyGroup> 3 3 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> … … 10 10 <RootNamespace>LLUPService</RootNamespace> 11 11 <AssemblyName>LLUPService</AssemblyName> 12 <FileUpgradeFlags> 13 </FileUpgradeFlags> 14 <OldToolsVersion>2.0</OldToolsVersion> 15 <UpgradeBackupLocation> 16 </UpgradeBackupLocation> 12 17 </PropertyGroup> 13 18 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> trunk/nuxleus/Source/Xameleon/Function/QueueManager.cs
r4359 r4541 7 7 using Nuxleus.PubSub; 8 8 9 namespace Xameleon.Function 10 { 11 public static class QueueManager 12 { 9 namespace Xameleon.Function { 13 10 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) { 16 14 return Push(queueName, message); 17 15 } 18 16 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"; 30 27 31 // The actual Queue Message to send32 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; 35 32 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)); 39 36 40 // An event handler41 MessageEvent me = new MessageEvent();42 me.Message = pm;43 // Let's see what the response of the server was44 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); 45 42 46 QueueClientPool.Enqueue(me);43 QueueClientPool.Enqueue(me); 47 44 48 return "message sent";45 return "message sent"; 49 46 } 50 47 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 } 56 53 57 54 //public static void Push(HttpContext context, object message) { trunk/nuxleus/Source/Xameleon/Transform/BaseXsltContext.cs
r3980 r4541 5 5 namespace Nuxleus.Transform { 6 6 7 public classBaseXsltContext {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; 11 11 12 12 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; 16 16 } 17 17 18 18 public Uri BaseXsltUri { 19 get { return _BaseXsltUri; }20 set { this. _BaseXsltUri = value; }19 get { return m_BaseXsltUri; } 20 set { this.m_BaseXsltUri = value; } 21 21 } 22 22 public String UriHash { 23 get { return _UriHash; }24 set { this. _UriHash = value; }23 get { return m_UriHash; } 24 set { this.m_UriHash = value; } 25 25 } 26 26 public String Name { 27 get { return _Name; }28 set { this. _Name = value; }27 get { return m_name; } 28 set { this.m_name = value; } 29 29 } 30 31 30 } <
