Skip to content

Commit 1c8c6a3

Browse files
authored
Merge pull request #131 from damienbod/csv_release_2_0_4
Csv release 2 0 4
2 parents ff1c011 + 16fb576 commit 1c8c6a3

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

samples/WebApiContrib.Core.Samples/wwwroot/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
<br /> ASP.NET Core export using csv media output formatter
99

1010
<ul>
11-
<li><a href="http://localhost:4987/api/csvtest/data.csv">Download CSV file from List: http://localhost:4987/api/csvtest/data.csv</li>
12-
<li><a href="http://localhost:4987/api/csvtest/dataarray.csv">Download CSV file from Array: http://localhost:4987/api/csvtest/dataarray.csv</li>
11+
<li><a href="https://localhost:44366/api/csvtest/data.csv">Download CSV file from List: https://localhost:44366/api/csvtest/data.csv</li>
12+
<li><a href="https://localhost:44366/api/csvtest/dataarray.csv">Download CSV file from Array: https://localhost:44366/api/csvtest/dataarray.csv</li>
1313

14-
<li><a href="http://localhost:4987/api/csvtest">GET Data using ACCEPT Header: http://localhost:4987/api/csvtest</a></li>
14+
<li><a href="https://localhost:44366/api/csvtest">GET Data using ACCEPT Header: https://localhost:44366/api/csvtest</a></li>
1515
</ul>
1616

1717
<br /> ASP.NET Core import using csv media input formatter

src/WebApiContrib.Core.Formatter.Csv/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ WebApiContrib.Core.Formatter.Csv [![NuGet Status](http://img.shields.io/nuget/v/
44

55
# History
66

7+
2018.04.18: Adding support for customization of the header with the display attribute
78
2018.04.12: Using the encoding from the options in the CsvOutputFormatter, Don't buffer CSV
89
2017.02.14: update to csproj
910
2016.06.22: project init

src/WebApiContrib.Core.Formatter.Csv/WebApiContrib.Core.Formatter.Csv.csproj

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,23 @@
22

33
<PropertyGroup>
44
<Description>ASP.NET Core InputFormatter, OutputFormatter for IList CSV data</Description>
5-
<VersionPrefix>2.0.3</VersionPrefix>
5+
<VersionPrefix>2.0.4</VersionPrefix>
66
<Authors>damienbod;WebApiContrib Contributors</Authors>
77
<TargetFrameworks>netstandard2.0</TargetFrameworks>
88
<AssemblyName>WebApiContrib.Core.Formatter.Csv</AssemblyName>
99
<PackageId>WebApiContrib.Core.Formatter.Csv</PackageId>
1010
<PackageTags>ASP.NET Core;InputFormatter;OutputFormatter;MediaFormatter;CSV;Content-Type;aspnetcore</PackageTags>
11-
<PackageReleaseNotes>Using the encoding from the options in the CsvOutputFormatter
12-
Don't buffer CSV</PackageReleaseNotes>
11+
<PackageReleaseNotes>Adding support for customization of the header with the display attribute</PackageReleaseNotes>
1312
<PackageIconUrl>https://avatars1.githubusercontent.com/u/1561645?s=140</PackageIconUrl>
1413
<PackageProjectUrl>https://github.com/damienbod/WebAPIContrib.Core/tree/master/src/WebApiContrib.Core.Formatter.Csv</PackageProjectUrl>
1514
<RepositoryType>git</RepositoryType>
1615
<RepositoryUrl>https://github.com/WebApiContrib/WebAPIContrib.Core.git</RepositoryUrl>
1716
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
1817
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
1918
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
20-
<Version>2.0.3</Version>
21-
<AssemblyVersion>2.0.3</AssemblyVersion>
22-
<FileVersion>2.0.3</FileVersion>
19+
<Version>2.0.4</Version>
20+
<AssemblyVersion>2.0.4</AssemblyVersion>
21+
<FileVersion>2.0.4</FileVersion>
2322
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
2423
</PropertyGroup>
2524

@@ -28,9 +27,7 @@ Don't buffer CSV</PackageReleaseNotes>
2827
</ItemGroup>
2928

3029
<ItemGroup>
31-
<Reference Include="System.ComponentModel.DataAnnotations">
32-
<HintPath>..\..\..\..\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.ComponentModel.DataAnnotations.dll</HintPath>
33-
</Reference>
30+
<PackageReference Include="System.ComponentModel.Annotations" Version="4.4.1" />
3431
</ItemGroup>
3532

3633
</Project>

0 commit comments

Comments
 (0)