From 50415ec886d4a35dcb5a7658f21f6ac1d5110708 Mon Sep 17 00:00:00 2001 From: pofider Date: Wed, 2 Aug 2017 19:04:06 +0200 Subject: [PATCH] rename to AspNetCore --- README.md | 8 ++++---- appveyor.yml | 6 +++--- .../JsReportMiddlewareTest.cs | 2 +- .../jsreport.AspNetCore.Test.csproj | 5 ++--- jsreport.MVC.sln => jsreport.AspNetCore.sln | 4 ++-- .../HttpContextExtensions.cs | 2 +- .../IJsReportMVCService.cs | 2 +- .../JsReportBuilderExtensions.cs | 2 +- .../JsReportFeature.cs | 2 +- .../JsReportMVCService.cs | 2 +- .../JsReportMiddleware.cs | 2 +- .../JsReportPipeline.cs | 2 +- .../JsReportServicesExtensions.cs | 2 +- .../jsreport.AspNetCore.csproj | 12 ++++++------ 14 files changed, 26 insertions(+), 27 deletions(-) rename {jsreport.MVC.Test => jsreport.AspNetCore.Test}/JsReportMiddlewareTest.cs (96%) rename jsreport.MVC.Test/jsreport.MVC.Test.csproj => jsreport.AspNetCore.Test/jsreport.AspNetCore.Test.csproj (89%) rename jsreport.MVC.sln => jsreport.AspNetCore.sln (78%) rename {jsreport.MVC => jsreport.AspNetCore}/HttpContextExtensions.cs (95%) rename {jsreport.MVC => jsreport.AspNetCore}/IJsReportMVCService.cs (97%) rename {jsreport.MVC => jsreport.AspNetCore}/JsReportBuilderExtensions.cs (90%) rename {jsreport.MVC => jsreport.AspNetCore}/JsReportFeature.cs (98%) rename {jsreport.MVC => jsreport.AspNetCore}/JsReportMVCService.cs (99%) rename {jsreport.MVC => jsreport.AspNetCore}/JsReportMiddleware.cs (98%) rename {jsreport.MVC => jsreport.AspNetCore}/JsReportPipeline.cs (88%) rename {jsreport.MVC => jsreport.AspNetCore}/JsReportServicesExtensions.cs (96%) rename jsreport.MVC/jsreport.MVC.csproj => jsreport.AspNetCore/jsreport.AspNetCore.csproj (83%) diff --git a/README.md b/README.md index 265c89c..225c54f 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# jsreport-dotnet-mvc -[![Build status](https://ci.appveyor.com/api/projects/status/oalnaumpeth6o6ly?svg=true)](https://ci.appveyor.com/project/pofider/jsreport-dotnet-mvc) -[![NuGet](https://img.shields.io/nuget/v/jsreport.MVC.svg)](https://nuget.org/packages/jsreport.MVC) +# jsreport.AspNetCore +[![Build status](https://ci.appveyor.com/api/projects/status/4vyvsocrvn3en7os?svg=true)](https://ci.appveyor.com/project/pofider/jsreport-dotnet-aspnetcore) +[![NuGet](https://img.shields.io/nuget/v/jsreport.AspNetCore.svg)](https://nuget.org/packages/jsreport.AspNetCore) -This package includes the asp.net core filters, pipelines and mvc helper functions enabling usage of Razor views for rendering reports. +This package includes the asp.net core middleware and mvc filters enabling usage of Razor views for rendering reports. You can find examples and documentation in the [jsreport sdk for .net home page](https://jsreport.net/learn/dotnet-v2). The general development and contribution instructions can be find in the [jsreport for .net root repository](https://github.com/jsreport/jsreport-dotnet). diff --git a/appveyor.yml b/appveyor.yml index 69051c3..ef2537c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,13 +1,13 @@ image: Visual Studio 2017 Preview artifacts: - - path: '**\jsreport.MVC*.nupkg' + - path: '**\jsreport.AspNetCore*.nupkg' name: nuget type: NuGetPackage environment: DOTNET_CLI_TELEMETRY_OPTOUT: true DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true build: - project: jsreport.MVC.sln + project: jsreport.AspNetCore.sln before_build: - cmd: dotnet restore deploy: @@ -17,5 +17,5 @@ deploy: on: appveyor_repo_tag: true test_script: -- cd jsreport.MVC.Test +- cd jsreport.AspNetCore.Test - dotnet test \ No newline at end of file diff --git a/jsreport.MVC.Test/JsReportMiddlewareTest.cs b/jsreport.AspNetCore.Test/JsReportMiddlewareTest.cs similarity index 96% rename from jsreport.MVC.Test/JsReportMiddlewareTest.cs rename to jsreport.AspNetCore.Test/JsReportMiddlewareTest.cs index d9d6877..8b5273b 100644 --- a/jsreport.MVC.Test/JsReportMiddlewareTest.cs +++ b/jsreport.AspNetCore.Test/JsReportMiddlewareTest.cs @@ -8,7 +8,7 @@ using System.Text; using System.Threading.Tasks; -namespace jsreport.MVC.Test +namespace jsreport.AspNetCore.Test { [TestFixture] public class JsReportMiddlewareTest diff --git a/jsreport.MVC.Test/jsreport.MVC.Test.csproj b/jsreport.AspNetCore.Test/jsreport.AspNetCore.Test.csproj similarity index 89% rename from jsreport.MVC.Test/jsreport.MVC.Test.csproj rename to jsreport.AspNetCore.Test/jsreport.AspNetCore.Test.csproj index fae08dc..d691d49 100644 --- a/jsreport.MVC.Test/jsreport.MVC.Test.csproj +++ b/jsreport.AspNetCore.Test/jsreport.AspNetCore.Test.csproj @@ -14,7 +14,7 @@ - + @@ -24,8 +24,7 @@ - - + diff --git a/jsreport.MVC.sln b/jsreport.AspNetCore.sln similarity index 78% rename from jsreport.MVC.sln rename to jsreport.AspNetCore.sln index ac17a1a..d4b06d9 100644 --- a/jsreport.MVC.sln +++ b/jsreport.AspNetCore.sln @@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 VisualStudioVersion = 15.0.26621.2 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "jsreport.MVC", "jsreport.MVC\jsreport.MVC.csproj", "{1AC0C37A-BA07-4A9A-9B60-AC32D18740C5}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "jsreport.AspNetCore", "jsreport.AspNetCore\jsreport.AspNetCore.csproj", "{1AC0C37A-BA07-4A9A-9B60-AC32D18740C5}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "jsreport.MVC.Test", "jsreport.MVC.Test\jsreport.MVC.Test.csproj", "{54A036A9-DD54-4A61-B1D6-22B6197D4AE2}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "jsreport.AspNetCore.Test", "jsreport.AspNetCore.Test\jsreport.AspNetCore.Test.csproj", "{54A036A9-DD54-4A61-B1D6-22B6197D4AE2}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/jsreport.MVC/HttpContextExtensions.cs b/jsreport.AspNetCore/HttpContextExtensions.cs similarity index 95% rename from jsreport.MVC/HttpContextExtensions.cs rename to jsreport.AspNetCore/HttpContextExtensions.cs index a98c927..b7306b5 100644 --- a/jsreport.MVC/HttpContextExtensions.cs +++ b/jsreport.AspNetCore/HttpContextExtensions.cs @@ -1,7 +1,7 @@ using jsreport.Types; using Microsoft.AspNetCore.Http; -namespace jsreport.MVC +namespace jsreport.AspNetCore { public static class HttpContextExtensions { diff --git a/jsreport.MVC/IJsReportMVCService.cs b/jsreport.AspNetCore/IJsReportMVCService.cs similarity index 97% rename from jsreport.MVC/IJsReportMVCService.cs rename to jsreport.AspNetCore/IJsReportMVCService.cs index 574d21d..590911f 100644 --- a/jsreport.MVC/IJsReportMVCService.cs +++ b/jsreport.AspNetCore/IJsReportMVCService.cs @@ -4,7 +4,7 @@ using Microsoft.AspNetCore.Routing; using System.Threading.Tasks; -namespace jsreport.MVC +namespace jsreport.AspNetCore { /// /// jsreport rendering service which additionally provides methods to render particular view. diff --git a/jsreport.MVC/JsReportBuilderExtensions.cs b/jsreport.AspNetCore/JsReportBuilderExtensions.cs similarity index 90% rename from jsreport.MVC/JsReportBuilderExtensions.cs rename to jsreport.AspNetCore/JsReportBuilderExtensions.cs index ac5d26f..e16529a 100644 --- a/jsreport.MVC/JsReportBuilderExtensions.cs +++ b/jsreport.AspNetCore/JsReportBuilderExtensions.cs @@ -1,6 +1,6 @@ using Microsoft.AspNetCore.Builder; -namespace jsreport.MVC +namespace jsreport.AspNetCore { public static class JsReportBuilderExtensions { diff --git a/jsreport.MVC/JsReportFeature.cs b/jsreport.AspNetCore/JsReportFeature.cs similarity index 98% rename from jsreport.MVC/JsReportFeature.cs rename to jsreport.AspNetCore/JsReportFeature.cs index ade60eb..647c516 100644 --- a/jsreport.MVC/JsReportFeature.cs +++ b/jsreport.AspNetCore/JsReportFeature.cs @@ -2,7 +2,7 @@ using Microsoft.AspNetCore.Http; using System; -namespace jsreport.MVC +namespace jsreport.AspNetCore { public interface IJsReportFeature { diff --git a/jsreport.MVC/JsReportMVCService.cs b/jsreport.AspNetCore/JsReportMVCService.cs similarity index 99% rename from jsreport.MVC/JsReportMVCService.cs rename to jsreport.AspNetCore/JsReportMVCService.cs index bfd42a3..bbb7ff2 100644 --- a/jsreport.MVC/JsReportMVCService.cs +++ b/jsreport.AspNetCore/JsReportMVCService.cs @@ -13,7 +13,7 @@ using System.Threading; using System.Threading.Tasks; -namespace jsreport.MVC +namespace jsreport.AspNetCore { public class JsReportMVCService : IJsReportMVCService { diff --git a/jsreport.MVC/JsReportMiddleware.cs b/jsreport.AspNetCore/JsReportMiddleware.cs similarity index 98% rename from jsreport.MVC/JsReportMiddleware.cs rename to jsreport.AspNetCore/JsReportMiddleware.cs index 5eb0473..c6401fd 100644 --- a/jsreport.MVC/JsReportMiddleware.cs +++ b/jsreport.AspNetCore/JsReportMiddleware.cs @@ -4,7 +4,7 @@ using System.IO; using System.Threading.Tasks; -namespace jsreport.MVC +namespace jsreport.AspNetCore { public class JsReportMiddleware { diff --git a/jsreport.MVC/JsReportPipeline.cs b/jsreport.AspNetCore/JsReportPipeline.cs similarity index 88% rename from jsreport.MVC/JsReportPipeline.cs rename to jsreport.AspNetCore/JsReportPipeline.cs index 871c86e..78e5992 100644 --- a/jsreport.MVC/JsReportPipeline.cs +++ b/jsreport.AspNetCore/JsReportPipeline.cs @@ -1,6 +1,6 @@ using Microsoft.AspNetCore.Builder; -namespace jsreport.MVC +namespace jsreport.AspNetCore { public class JsReportPipeline { diff --git a/jsreport.MVC/JsReportServicesExtensions.cs b/jsreport.AspNetCore/JsReportServicesExtensions.cs similarity index 96% rename from jsreport.MVC/JsReportServicesExtensions.cs rename to jsreport.AspNetCore/JsReportServicesExtensions.cs index 240c767..a36c8fc 100644 --- a/jsreport.MVC/JsReportServicesExtensions.cs +++ b/jsreport.AspNetCore/JsReportServicesExtensions.cs @@ -1,7 +1,7 @@ using jsreport.Shared; using Microsoft.Extensions.DependencyInjection; -namespace jsreport.MVC +namespace jsreport.AspNetCore { public static class JsReportServicesExtensions { diff --git a/jsreport.MVC/jsreport.MVC.csproj b/jsreport.AspNetCore/jsreport.AspNetCore.csproj similarity index 83% rename from jsreport.MVC/jsreport.MVC.csproj rename to jsreport.AspNetCore/jsreport.AspNetCore.csproj index 19dc474..9843b04 100644 --- a/jsreport.MVC/jsreport.MVC.csproj +++ b/jsreport.AspNetCore/jsreport.AspNetCore.csproj @@ -2,21 +2,21 @@ netstandard2.0 - jsreport.MVC + jsreport.AspNetCore jsreport asp.net core and MVC integration Jan Blaha - Pdf rendering from asp.net core views using jsreport. + Pdf rendering from asp.net core views using jsreport https://jsreport.net https://www.opensource.org/licenses/mit-license.php https://jsreport.net/img/favicon.ico Copyright 2013-2017 Jan Blaha - jsreport;report;pdf;asp.net;mvc - https://github.com/jsreport/net + jsreport;report;pdf;asp.net;core;mvc + https://github.com/jsreport/jsreport-dotnet git true - Release notes are at https://github.com/jsreport/jsreport-dotnet-mvc/releases + Release notes are at https://github.com/jsreport/jsreport-dotnet-aspnetcore/releases true - 2.0.0-beta1 + 1.0.0-beta1