diff --git a/README.md b/README.md index f57c5ea..d80dd16 100644 --- a/README.md +++ b/README.md @@ -13,20 +13,27 @@ Alternativelly you can copy and reference the assembly resulting of the project ### VAR.UrlCompressor Add the resulting assembly as reference in your projects, and this line on code: - using VAR.UrlCompressor; +```csharp +using VAR.UrlCompressor; +``` Compress an URL with: +```csharp string compressedUrl = UrlCompressor.Compress("https:\\google.com"); // compressedUrl = "Hk30TGDxt8jOOW6" +``` Decompress an URL with: +```csharp string decompressedUrl = UrlCompressor.Decompress("Hk30TGDxt8jOOW6"); // decompressedUrl = "https:\\google.com"; - +``` + For extra compression use host conversions. For example: - + +```csharp Dictionary hostConversions = new Dictionary { { "google", "G" } { "com", "C" } @@ -35,16 +42,16 @@ For extra compression use host conversions. For example: // compressedUrl = "oMyuFVR41" string decompressedUrl = UrlCompressor.Decompress("oMyuFVR41"); // decompressedUrl = "https:\\google.com"; +``` ### UrlCompressor.Tests It is a simple console application, to test basic funcitionallity of the library. ## Building -A Visual Studio 2017 solution is provided. Simply, click build on the IDE. +A Visual Studio solution is provided. Simply, click build on the IDE. -A .nuget package can be build using: - VAR.UrlCompressor\Build.NuGet.cmd +The build generates a DLL and a Nuget package. ## Contributing 1. Fork it! @@ -55,27 +62,3 @@ A .nuget package can be build using: ## Credits * Valeriano Alfonso Rodriguez. - -## License - - The MIT License (MIT) - - Copyright (c) 2016-2017 Valeriano Alfonso Rodriguez - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE. diff --git a/UrlCompressor.Tests/Program.cs b/UrlCompressor.Tests/Program.cs deleted file mode 100644 index 63a398e..0000000 --- a/UrlCompressor.Tests/Program.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using System.Collections.Generic; - -namespace UrlCompressor.Tests -{ - class Program - { - static void Main(string[] args) - { - Dictionary _hostConversions = new Dictionary { - { "com", "C" }, - { "net", "N" }, - { "org", "O" }, - }; - - TestUrl("http://google.com", _hostConversions); - TestUrl("https://google.com", _hostConversions); - TestUrl("http://facebook.com", _hostConversions); - TestUrl("https://facebook.com", _hostConversions); - TestUrl("https://twitter.com", _hostConversions); - TestUrl("https://twitter.com/Kableado", _hostConversions); - TestUrl("https://github.com/Kableado", _hostConversions); - TestUrl("https://varstudio.net", _hostConversions); - - Console.Read(); - } - - private static bool TestUrl(string url, Dictionary _hostConversions) - { - Console.WriteLine("---------------------------------------------"); - Console.WriteLine(" Url: {0}", url); - string compressedUrl = VAR.UrlCompressor.UrlCompressor.Compress(url, _hostConversions); - Console.WriteLine(" CompressedUrl: {0}", compressedUrl); - string decompressedUrl = VAR.UrlCompressor.UrlCompressor.Decompress(compressedUrl, _hostConversions); - Console.WriteLine("DecompressedUrl: {0}", decompressedUrl); - if(url!= decompressedUrl) - { - Console.WriteLine("!!!!! Failed !!!!!"); - return false; - } - return true; - } - } -} diff --git a/UrlCompressor.Tests/Properties/AssemblyInfo.cs b/UrlCompressor.Tests/Properties/AssemblyInfo.cs deleted file mode 100644 index 4943c80..0000000 --- a/UrlCompressor.Tests/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// La información general de un ensamblado se controla mediante el siguiente -// conjunto de atributos. Cambie estos valores de atributo para modificar la información -// asociada con un ensamblado. -[assembly: AssemblyTitle("UrlCompressor.Tests")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("UrlCompressor.Tests")] -[assembly: AssemblyCopyright("Copyright © 2017")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Si establece ComVisible en false, los tipos de este ensamblado no estarán visibles -// para los componentes COM. Si es necesario obtener acceso a un tipo en este ensamblado desde -// COM, establezca el atributo ComVisible en true en este tipo. -[assembly: ComVisible(false)] - -// El siguiente GUID sirve como id. de typelib si este proyecto se expone a COM. -[assembly: Guid("29d6812a-566d-4a92-a7a4-fc6ae0b3db39")] - -// La información de versión de un ensamblado consta de los cuatro valores siguientes: -// -// Versión principal -// Versión secundaria -// Número de compilación -// Revisión -// -// Puede especificar todos los valores o utilizar los números de compilación y de revisión predeterminados -// mediante el carácter '*', como se muestra a continuación: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/UrlCompressor.Tests/UrlCompressor.Tests.csproj b/UrlCompressor.Tests/UrlCompressor.Tests.csproj deleted file mode 100644 index fa88501..0000000 --- a/UrlCompressor.Tests/UrlCompressor.Tests.csproj +++ /dev/null @@ -1,56 +0,0 @@ - - - - - Debug - AnyCPU - {29D6812A-566D-4A92-A7A4-FC6AE0B3DB39} - Exe - UrlCompressor.Tests - UrlCompressor.Tests - v4.6.1 - 512 - true - - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - {016ae05d-12af-40c6-8d0c-064970004f0b} - VAR.UrlCompressor - - - - \ No newline at end of file diff --git a/VAR.UrlCompressor.Tests/UrlCompressorTests.cs b/VAR.UrlCompressor.Tests/UrlCompressorTests.cs new file mode 100644 index 0000000..8e553ab --- /dev/null +++ b/VAR.UrlCompressor.Tests/UrlCompressorTests.cs @@ -0,0 +1,328 @@ +using System.Collections.Generic; +using Xunit; + +namespace VAR.UrlCompressor.Tests +{ + public class UrlCompressorTests + { + #region Helpers + + private Dictionary GenerateHostsConversions() + { + Dictionary hostConversions = new Dictionary { + { "com", "C" }, + { "net", "N" }, + { "org", "O" }, + { "localhost", "L" }, + { "azurewebsites", "A" }, + { "unifikas", "U" }, + { "cyc", "Y" }, + { "es", "E" }, + { "google", "G" }, + { "facebook", "F" }, + { "twitter", "T" }, + { "github", "GH" }, + { "varstudio", "V" }, + }; + return hostConversions; + } + + #endregion Helpers + + #region Compress + + [Fact] + public void Compress__Http_Google_Com() + { + Dictionary hostConversions = GenerateHostsConversions(); + string url = "http://google.com"; + string compressedUrl = "zBUW9UxS1"; + + string result = UrlCompressor.Compress(url, hostConversions); + + Assert.Equal(compressedUrl, result); + } + + [Fact] + public void Compress__Https_Google_Com() + { + Dictionary hostConversions = GenerateHostsConversions(); + string url = "https://google.com"; + string compressedUrl = "oMyuFVR41"; + + string result = UrlCompressor.Compress(url, hostConversions); + + Assert.Equal(compressedUrl, result); + } + + [Fact] + public void Compress__Http_Facebook_Com() + { + Dictionary hostConversions = GenerateHostsConversions(); + string url = "http://facebook.com"; + string compressedUrl = "EAyWnGuy0"; + + string result = UrlCompressor.Compress(url, hostConversions); + + Assert.Equal(compressedUrl, result); + } + + [Fact] + public void Compress__Https_Facebook_Com() + { + Dictionary hostConversions = GenerateHostsConversions(); + string url = "https://facebook.com"; + string compressedUrl = "2AyutHOa0"; + + string result = UrlCompressor.Compress(url, hostConversions); + + Assert.Equal(compressedUrl, result); + } + + [Fact] + public void Compress__Https_Twitter_Com() + { + Dictionary hostConversions = GenerateHostsConversions(); + string url = "https://twitter.com"; + string compressedUrl = "bpzuhuDB1"; + + string result = UrlCompressor.Compress(url, hostConversions); + + Assert.Equal(compressedUrl, result); + } + + [Fact] + public void Compress__Https_Twitter_Com_Kableado() + { + Dictionary hostConversions = GenerateHostsConversions(); + string url = "https://twitter.com/Kableado"; + string compressedUrl = "zYfD7gXd8ApW9HZtR4"; + + string result = UrlCompressor.Compress(url, hostConversions); + + Assert.Equal(compressedUrl, result); + } + + [Fact] + public void Compress__Https_Github_Com_Kableado() + { + Dictionary hostConversions = GenerateHostsConversions(); + string url = "https://github.com/Kableado"; + string compressedUrl = "JzJv5CTnllbrEVp1BhF"; + + string result = UrlCompressor.Compress(url, hostConversions); + + Assert.Equal(compressedUrl, result); + } + + [Fact] + public void Compress__Http_Localhost_30000_0() + { + Dictionary hostConversions = GenerateHostsConversions(); + string url = "http://localhost:30000|0"; + string compressedUrl = "0fT4k50uE3WwvqMB42"; + + string result = UrlCompressor.Compress(url, hostConversions); + + Assert.Equal(compressedUrl, result); + } + + [Fact] + public void Compress__Http_Localhost_30000_1() + { + Dictionary hostConversions = GenerateHostsConversions(); + string url = "http://localhost:30000|0"; + string compressedUrl = "0fT4k50uE3WwvqMB42"; + + string result = UrlCompressor.Compress(url, hostConversions); + + Assert.Equal(compressedUrl, result); + } + + [Fact] + public void Compress__Https_Unifikas_Azurewebsites_Net_1() + { + Dictionary hostConversions = GenerateHostsConversions(); + string url = "https://unifikas.azurewebsites.net|1"; + string compressedUrl = "7R15qGtuLPGD"; + + string result = UrlCompressor.Compress(url, hostConversions); + + Assert.Equal(compressedUrl, result); + } + + [Fact] + public void Compress__Https_Unifikas_Azurewebsites_Net_2() + { + Dictionary hostConversions = GenerateHostsConversions(); + string url = "https://unifikas.azurewebsites.net|2"; + string compressedUrl = "7B54q0pvLPKC"; + + string result = UrlCompressor.Compress(url, hostConversions); + + Assert.Equal(compressedUrl, result); + } + + [Fact] + public void Compress__Https_Varstudio_Net() + { + Dictionary hostConversions = GenerateHostsConversions(); + string url = "https://varstudio.net"; + string compressedUrl = "5B1u05oK"; + + string result = UrlCompressor.Compress(url, hostConversions); + + Assert.Equal(compressedUrl, result); + } + + #endregion Compress + + #region Decompress + + [Fact] + public void Decompress__Http_Google_Com() + { + Dictionary hostConversions = GenerateHostsConversions(); + string url = "http://google.com"; + string compressedUrl = "zBUW9UxS1"; + + string result = UrlCompressor.Decompress(compressedUrl, hostConversions); + + Assert.Equal(url, result); + } + + [Fact] + public void Decompress__Https_Google_Com() + { + Dictionary hostConversions = GenerateHostsConversions(); + string url = "https://google.com"; + string compressedUrl = "oMyuFVR41"; + + string result = UrlCompressor.Decompress(compressedUrl, hostConversions); + + Assert.Equal(url, result); + } + + [Fact] + public void Decompress__Http_Facebook_Com() + { + Dictionary hostConversions = GenerateHostsConversions(); + string url = "http://facebook.com"; + string compressedUrl = "EAyWnGuy0"; + + string result = UrlCompressor.Decompress(compressedUrl, hostConversions); + + Assert.Equal(url, result); + } + + [Fact] + public void Decompress__Https_Facebook_Com() + { + Dictionary hostConversions = GenerateHostsConversions(); + string url = "https://facebook.com"; + string compressedUrl = "2AyutHOa0"; + + string result = UrlCompressor.Decompress(compressedUrl, hostConversions); + + Assert.Equal(url, result); + } + + [Fact] + public void Decompress__Https_Twitter_Com() + { + Dictionary hostConversions = GenerateHostsConversions(); + string url = "https://twitter.com"; + string compressedUrl = "bpzuhuDB1"; + + string result = UrlCompressor.Decompress(compressedUrl, hostConversions); + + Assert.Equal(url, result); + } + + [Fact] + public void Decompress__Https_Twitter_Com_Kableado() + { + Dictionary hostConversions = GenerateHostsConversions(); + string url = "https://twitter.com/Kableado"; + string compressedUrl = "zYfD7gXd8ApW9HZtR4"; + + string result = UrlCompressor.Decompress(compressedUrl, hostConversions); + + Assert.Equal(url, result); + } + + [Fact] + public void Decompress__Https_Github_Com_Kableado() + { + Dictionary hostConversions = GenerateHostsConversions(); + string url = "https://github.com/Kableado"; + string compressedUrl = "JzJv5CTnllbrEVp1BhF"; + + string result = UrlCompressor.Decompress(compressedUrl, hostConversions); + + Assert.Equal(url, result); + } + + [Fact] + public void Decompress__Http_Localhost_30000_0() + { + Dictionary hostConversions = GenerateHostsConversions(); + string url = "http://localhost:30000|0"; + string compressedUrl = "0fT4k50uE3WwvqMB42"; + + string result = UrlCompressor.Decompress(compressedUrl, hostConversions); + + Assert.Equal(url, result); + } + + [Fact] + public void Decompress__Http_Localhost_30000_1() + { + Dictionary hostConversions = GenerateHostsConversions(); + string url = "http://localhost:30000|0"; + string compressedUrl = "0fT4k50uE3WwvqMB42"; + + string result = UrlCompressor.Decompress(compressedUrl, hostConversions); + + Assert.Equal(url, result); + } + + [Fact] + public void Decompress__Https_Unifikas_Azurewebsites_Net_1() + { + Dictionary hostConversions = GenerateHostsConversions(); + string url = "https://unifikas.azurewebsites.net|1"; + string compressedUrl = "7R15qGtuLPGD"; + + string result = UrlCompressor.Decompress(compressedUrl, hostConversions); + + Assert.Equal(url, result); + } + + [Fact] + public void Decompress__Https_Unifikas_Azurewebsites_Net_2() + { + Dictionary hostConversions = GenerateHostsConversions(); + string url = "https://unifikas.azurewebsites.net|2"; + string compressedUrl = "7B54q0pvLPKC"; + + string result = UrlCompressor.Decompress(compressedUrl, hostConversions); + + Assert.Equal(url, result); + } + + [Fact] + public void Decompress__Https_Varstudio_Net() + { + Dictionary hostConversions = GenerateHostsConversions(); + string url = "https://varstudio.net"; + string compressedUrl = "5B1u05oK"; + + string result = UrlCompressor.Decompress(compressedUrl, hostConversions); + + Assert.Equal(url, result); + } + + #endregion Decompress + } +} \ No newline at end of file diff --git a/VAR.UrlCompressor.Tests/VAR.UrlCompressor.Tests.csproj b/VAR.UrlCompressor.Tests/VAR.UrlCompressor.Tests.csproj new file mode 100644 index 0000000..b835e75 --- /dev/null +++ b/VAR.UrlCompressor.Tests/VAR.UrlCompressor.Tests.csproj @@ -0,0 +1,26 @@ + + + + net5.0 + + false + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + + + + + + diff --git a/VAR.UrlCompressor.sln b/VAR.UrlCompressor.sln index dd5d6bf..264f941 100644 --- a/VAR.UrlCompressor.sln +++ b/VAR.UrlCompressor.sln @@ -1,34 +1,37 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.26430.15 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.31402.337 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VAR.UrlCompressor", "VAR.UrlCompressor\VAR.UrlCompressor.csproj", "{016AE05D-12AF-40C6-8D0C-064970004F0B}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UrlCompressor.Tests", "UrlCompressor.Tests\UrlCompressor.Tests.csproj", "{29D6812A-566D-4A92-A7A4-FC6AE0B3DB39}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Notes", "Notes", "{C6BD1525-8B61-4E6A-8146-A18B4468842E}" ProjectSection(SolutionItems) = preProject LICENSE.txt = LICENSE.txt README.md = README.md EndProjectSection EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "VAR.UrlCompressor.Tests", "VAR.UrlCompressor.Tests\VAR.UrlCompressor.Tests.csproj", "{845C1853-EB77-45DA-8388-A7A4F866B3EE}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {016AE05D-12AF-40C6-8D0C-064970004F0B}.Debug|Any CPU.ActiveCfg = Debug .Net 4.6.1|Any CPU - {016AE05D-12AF-40C6-8D0C-064970004F0B}.Debug|Any CPU.Build.0 = Debug .Net 4.6.1|Any CPU - {016AE05D-12AF-40C6-8D0C-064970004F0B}.Release|Any CPU.ActiveCfg = Release .Net 4.6.1|Any CPU - {016AE05D-12AF-40C6-8D0C-064970004F0B}.Release|Any CPU.Build.0 = Release .Net 4.6.1|Any CPU - {29D6812A-566D-4A92-A7A4-FC6AE0B3DB39}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {29D6812A-566D-4A92-A7A4-FC6AE0B3DB39}.Debug|Any CPU.Build.0 = Debug|Any CPU - {29D6812A-566D-4A92-A7A4-FC6AE0B3DB39}.Release|Any CPU.ActiveCfg = Release|Any CPU - {29D6812A-566D-4A92-A7A4-FC6AE0B3DB39}.Release|Any CPU.Build.0 = Release|Any CPU + {016AE05D-12AF-40C6-8D0C-064970004F0B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {016AE05D-12AF-40C6-8D0C-064970004F0B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {016AE05D-12AF-40C6-8D0C-064970004F0B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {016AE05D-12AF-40C6-8D0C-064970004F0B}.Release|Any CPU.Build.0 = Release|Any CPU + {845C1853-EB77-45DA-8388-A7A4F866B3EE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {845C1853-EB77-45DA-8388-A7A4F866B3EE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {845C1853-EB77-45DA-8388-A7A4F866B3EE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {845C1853-EB77-45DA-8388-A7A4F866B3EE}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {1843DBAF-8D99-42B8-A5AE-D44A48FAFD71} + EndGlobalSection EndGlobal diff --git a/VAR.UrlCompressor/Build.NuGet.cmd b/VAR.UrlCompressor/Build.NuGet.cmd deleted file mode 100644 index c92cc77..0000000 --- a/VAR.UrlCompressor/Build.NuGet.cmd +++ /dev/null @@ -1,30 +0,0 @@ -@echo off - -:: MSBuild and tools path -if exist "%windir%\Microsoft.Net\Framework\v4.0.30319" set MsBuildPath=%windir%\Microsoft.NET\Framework\v4.0.30319 -if exist "%windir%\Microsoft.Net\Framework64\v4.0.30319" set MsBuildPath=%windir%\Microsoft.NET\Framework64\v4.0.30319 -if exist "C:\Program Files (x86)\MSBuild\14.0\Bin" set MsBuildPath=C:\Program Files (x86)\MSBuild\14.0\Bin -if exist "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin" set MsBuildPath=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin -set PATH=%MsBuildPath%;%PATH% - -echo %MsBuildPath% - -:: NuGet -set nuget="nuget" -if exist "%~dp0..\packages\NuGet.CommandLine.3.4.3\tools\NuGet.exe" set nuget="%~dp0\..\packages\NuGet.CommandLine.3.4.3\tools\NuGet.exe" -if exist "%~dp0..\packages\NuGet.CommandLine.4.1.0\tools\NuGet.exe" set nuget="%~dp0\..\packages\NuGet.CommandLine.4.1.0\tools\NuGet.exe" - -:: Release .Net 3.5 -Title Building Release .Net 3.5 -msbuild VAR.UrlCompressor.csproj /t:Build /p:Configuration="Release .Net 3.5" /p:Platform="AnyCPU" - -:: Release .Net 4.6.1 -Title Building Release .Net 4.6.1 -msbuild VAR.UrlCompressor.csproj /t:Build /p:Configuration="Release .Net 4.6.1" /p:Platform="AnyCPU" - -:: Packing Nuget -Title Packing Nuget -%nuget% pack VAR.UrlCompressor.csproj -Verbosity detailed -OutputDir "NuGet" -Properties Configuration="Release .Net 4.6.1" -Prop Platform=AnyCPU - -title Finished -pause diff --git a/VAR.UrlCompressor/Properties/AssemblyInfo.cs b/VAR.UrlCompressor/Properties/AssemblyInfo.cs deleted file mode 100644 index c527946..0000000 --- a/VAR.UrlCompressor/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.Reflection; -using System.Runtime.InteropServices; - -[assembly: AssemblyTitle("VAR.UrlCompressor")] -[assembly: AssemblyDescription(".Net library for compressing URLs")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("VAR")] -[assembly: AssemblyProduct("VAR.UrlCompressor")] -[assembly: AssemblyCopyright("Copyright © VAR 2017")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] -[assembly: ComVisible(false)] -[assembly: Guid("016ae05d-12af-40c6-8d0c-064970004f0b")] -[assembly: AssemblyVersion("1.1.*")] diff --git a/VAR.UrlCompressor/VAR.UrlCompressor.csproj b/VAR.UrlCompressor/VAR.UrlCompressor.csproj index 9d67557..c8e27aa 100644 --- a/VAR.UrlCompressor/VAR.UrlCompressor.csproj +++ b/VAR.UrlCompressor/VAR.UrlCompressor.csproj @@ -1,74 +1,30 @@ - - - + - Debug - AnyCPU - {016AE05D-12AF-40C6-8D0C-064970004F0B} + netstandard2.0 Library - Properties - VAR.UrlCompressor - VAR.UrlCompressor - v4.5.2 - 512 + true + true - - true - full - false - bin\Debug\net461\ - DEBUG;TRACE - prompt - 4 - v4.6.1 - - - pdbonly - true - bin\Release\net461\ - TRACE - prompt - 4 - v4.6.1 - - - true - bin\Debug\net35\ - DEBUG;TRACE - full - AnyCPU - prompt - v3.5 - - - bin\Release\net35\ - TRACE - true - pdbonly - AnyCPU - prompt - v3.5 + + VAR.UrlCompressor + VAR.UrlCompressor + 1.2.0 + .Net library for compressing URLs + VAR + VAR + Copyright © VAR 2016-2017 + false + LICENSE.txt + https://github.com/Kableado/VAR.UrlCompressor + URL Compression Library - - - - - - + - - - - - - - - - - - - - - + + + \ No newline at end of file diff --git a/VAR.UrlCompressor/VAR.UrlCompressor.nuspec b/VAR.UrlCompressor/VAR.UrlCompressor.nuspec deleted file mode 100644 index b21de39..0000000 --- a/VAR.UrlCompressor/VAR.UrlCompressor.nuspec +++ /dev/null @@ -1,22 +0,0 @@ - - - - $id$ - $version$ - $title$ - $author$ - $author$ - https://github.com/Kableado/VAR.UrlCompressor/blob/master/LICENSE.txt - https://github.com/Kableado/VAR.UrlCompressor - false - $description$ - Copyright VAR 2017 - URL Compression Library - - - - - - - - \ No newline at end of file diff --git a/VAR.UrlCompressor/packages.config b/VAR.UrlCompressor/packages.config deleted file mode 100644 index fc48570..0000000 --- a/VAR.UrlCompressor/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file