Skip to content

Commit

Permalink
rename to AspNetCore
Browse files Browse the repository at this point in the history
  • Loading branch information
pofider committed Aug 2, 2017
1 parent be00c76 commit 50415ec
Show file tree
Hide file tree
Showing 14 changed files with 26 additions and 27 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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).
6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -17,5 +17,5 @@ deploy:
on:
appveyor_repo_tag: true
test_script:
- cd jsreport.MVC.Test
- cd jsreport.AspNetCore.Test
- dotnet test
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using System.Text;
using System.Threading.Tasks;

namespace jsreport.MVC.Test
namespace jsreport.AspNetCore.Test
{
[TestFixture]
public class JsReportMiddlewareTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\jsreport.MVC\jsreport.MVC.csproj" />
<ProjectReference Include="..\jsreport.AspNetCore\jsreport.AspNetCore.csproj" />
</ItemGroup>

<Choose>
Expand All @@ -24,8 +24,7 @@
<ProjectReference Include="..\..\jsreport-dotnet-shared\jsreport.Shared\jsreport.Shared.csproj" />
<ProjectReference Include="..\..\jsreport-dotnet-client\jsreport.Client\jsreport.Client.csproj" />
<ProjectReference Include="..\..\jsreport-dotnet-local\jsreport.Local\jsreport.Local.csproj" />
<ProjectReference Include="..\..\jsreport-dotnet-binary\jsreport.Binary\jsreport.Binary.csproj" />
<ProjectReference Include="..\..\jsreport-dotnet-mvc\jsreport.MVC\jsreport.MVC.csproj" />
<ProjectReference Include="..\..\jsreport-dotnet-binary\jsreport.Binary\jsreport.Binary.csproj" />
</ItemGroup>
</When>
<Otherwise>
Expand Down
4 changes: 2 additions & 2 deletions jsreport.MVC.sln → jsreport.AspNetCore.sln
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using jsreport.Types;
using Microsoft.AspNetCore.Http;

namespace jsreport.MVC
namespace jsreport.AspNetCore
{
public static class HttpContextExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Microsoft.AspNetCore.Routing;
using System.Threading.Tasks;

namespace jsreport.MVC
namespace jsreport.AspNetCore
{
/// <summary>
/// jsreport rendering service which additionally provides methods to render particular view.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.AspNetCore.Builder;

namespace jsreport.MVC
namespace jsreport.AspNetCore
{
public static class JsReportBuilderExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Microsoft.AspNetCore.Http;
using System;

namespace jsreport.MVC
namespace jsreport.AspNetCore
{
public interface IJsReportFeature
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
using System.Threading;
using System.Threading.Tasks;

namespace jsreport.MVC
namespace jsreport.AspNetCore
{
public class JsReportMVCService : IJsReportMVCService
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.IO;
using System.Threading.Tasks;

namespace jsreport.MVC
namespace jsreport.AspNetCore
{
public class JsReportMiddleware
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.AspNetCore.Builder;

namespace jsreport.MVC
namespace jsreport.AspNetCore
{
public class JsReportPipeline
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using jsreport.Shared;
using Microsoft.Extensions.DependencyInjection;

namespace jsreport.MVC
namespace jsreport.AspNetCore
{
public static class JsReportServicesExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<PackageId>jsreport.MVC</PackageId>
<PackageId>jsreport.AspNetCore</PackageId>
<Title>jsreport asp.net core and MVC integration</Title>
<Authors>Jan Blaha</Authors>
<Description>Pdf rendering from asp.net core views using jsreport.</Description>
<Description>Pdf rendering from asp.net core views using jsreport</Description>
<PackageProjectUrl>https://jsreport.net</PackageProjectUrl>
<PackageLicenseUrl>https://www.opensource.org/licenses/mit-license.php</PackageLicenseUrl>
<PackageIconUrl>https://jsreport.net/img/favicon.ico</PackageIconUrl>
<Copyright>Copyright 2013-2017 Jan Blaha</Copyright>
<PackageTags>jsreport;report;pdf;asp.net;mvc</PackageTags>
<RepositoryUrl>https://github.com/jsreport/net</RepositoryUrl>
<PackageTags>jsreport;report;pdf;asp.net;core;mvc</PackageTags>
<RepositoryUrl>https://github.com/jsreport/jsreport-dotnet</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageReleaseNotes>Release notes are at https://github.com/jsreport/jsreport-dotnet-mvc/releases</PackageReleaseNotes>
<PackageReleaseNotes>Release notes are at https://github.com/jsreport/jsreport-dotnet-aspnetcore/releases</PackageReleaseNotes>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<Version>2.0.0-beta1</Version>
<Version>1.0.0-beta1</Version>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 50415ec

Please sign in to comment.