Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 8834c3d

Browse files
StackExchangeTester
1 parent 5e590fd commit 8834c3d

File tree

3 files changed

+113
-0
lines changed

3 files changed

+113
-0
lines changed

src/StackExchangeTester/App.config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
<startup>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
5+
</startup>
6+
</configuration>

src/StackExchangeTester/Program.cs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
using ServiceStack.Redis;
2+
using System;
3+
using System.Collections.Generic;
4+
using System.Linq;
5+
using System.Text;
6+
using System.Threading.Tasks;
7+
8+
namespace StackExchangeTester
9+
{
10+
class Program
11+
{
12+
static void Main(string[] args)
13+
{
14+
var x = new RedisManagerPool("MQHnkdl402DScXzhZIxHwDaA7s8nziy45okp84ykShA=@tls-11.redis.cache.windows.net:6380?ssl=true&sslprotocols=Tls11");
15+
var y = x.GetClient();
16+
y.Ping();
17+
y.Set<string>("keyServiceStackSllChangesIStillHave512mb", "value");
18+
y.Dispose();
19+
x.Dispose();
20+
}
21+
}
22+
}
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{0214D0F0-EA41-4593-B558-71F974CF7C62}</ProjectGuid>
8+
<OutputType>Exe</OutputType>
9+
<RootNamespace>StackExchangeTester</RootNamespace>
10+
<AssemblyName>StackExchangeTester</AssemblyName>
11+
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
12+
<FileAlignment>512</FileAlignment>
13+
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
14+
<Deterministic>true</Deterministic>
15+
</PropertyGroup>
16+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17+
<PlatformTarget>AnyCPU</PlatformTarget>
18+
<DebugSymbols>true</DebugSymbols>
19+
<DebugType>full</DebugType>
20+
<Optimize>false</Optimize>
21+
<OutputPath>bin\Debug\</OutputPath>
22+
<DefineConstants>DEBUG;TRACE</DefineConstants>
23+
<ErrorReport>prompt</ErrorReport>
24+
<WarningLevel>4</WarningLevel>
25+
</PropertyGroup>
26+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
27+
<PlatformTarget>AnyCPU</PlatformTarget>
28+
<DebugType>pdbonly</DebugType>
29+
<Optimize>true</Optimize>
30+
<OutputPath>bin\Release\</OutputPath>
31+
<DefineConstants>TRACE</DefineConstants>
32+
<ErrorReport>prompt</ErrorReport>
33+
<WarningLevel>4</WarningLevel>
34+
</PropertyGroup>
35+
<ItemGroup>
36+
<Reference Include="System" />
37+
<Reference Include="System.Core" />
38+
<Reference Include="System.Xml.Linq" />
39+
<Reference Include="System.Data.DataSetExtensions" />
40+
<Reference Include="Microsoft.CSharp" />
41+
<Reference Include="System.Data" />
42+
<Reference Include="System.Net.Http" />
43+
<Reference Include="System.Xml" />
44+
</ItemGroup>
45+
<ItemGroup>
46+
<Compile Include="Program.cs" />
47+
<Compile Include="Properties\AssemblyInfo.cs" />
48+
</ItemGroup>
49+
<ItemGroup>
50+
<None Include="App.config" />
51+
</ItemGroup>
52+
<ItemGroup>
53+
<ProjectReference Include="..\..\tests\Console.Tests\Console.Tests.csproj">
54+
<Project>{8368c965-b4f6-4263-9abb-731a175b2e77}</Project>
55+
<Name>Console.Tests</Name>
56+
</ProjectReference>
57+
<ProjectReference Include="..\..\tests\ServiceStack.Redis.Tests.Sentinel\ServiceStack.Redis.Tests.Sentinel.csproj">
58+
<Project>{91c55091-a946-49b5-9517-8794ebcc5784}</Project>
59+
<Name>ServiceStack.Redis.Tests.Sentinel</Name>
60+
</ProjectReference>
61+
<ProjectReference Include="..\..\tests\ServiceStack.Redis.Tests\ServiceStack.Redis.Tests.csproj">
62+
<Project>{951d28ee-5d22-4c62-ac0f-1661a8ceec5a}</Project>
63+
<Name>ServiceStack.Redis.Tests</Name>
64+
</ProjectReference>
65+
<ProjectReference Include="..\ServiceStack.Redis\ServiceStack.Redis.csproj">
66+
<Project>{af99f19b-4c04-4f58-81ef-b092f1fcc540}</Project>
67+
<Name>ServiceStack.Redis</Name>
68+
</ProjectReference>
69+
</ItemGroup>
70+
<ItemGroup>
71+
<COMReference Include="DCMAssemblyProviderLib">
72+
<Guid>{EDE973DE-4C9A-11DE-A33F-06DC55D89593}</Guid>
73+
<VersionMajor>1</VersionMajor>
74+
<VersionMinor>0</VersionMinor>
75+
<Lcid>0</Lcid>
76+
<WrapperTool>tlbimp</WrapperTool>
77+
<Isolated>False</Isolated>
78+
<EmbedInteropTypes>True</EmbedInteropTypes>
79+
</COMReference>
80+
</ItemGroup>
81+
<ItemGroup>
82+
<Content Include="azureconfig.txt" />
83+
</ItemGroup>
84+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
85+
</Project>

0 commit comments

Comments
 (0)