Skip to content

Commit

Permalink
Add netstandard2.0 support via separate Breeze.Sharp.Standard.sln;
Browse files Browse the repository at this point in the history
Add JsonQueryExpressionVisitor.cs for limited JSON query support
Add Configuration.UriQueryStyle to control whether to use OData or JSON queries
Add build/build.standard.js to build Nuget package for .NETStandard
  • Loading branch information
steveschmitt committed Apr 14, 2020
1 parent 1bf4150 commit 1bef8c7
Show file tree
Hide file tree
Showing 39 changed files with 5,446 additions and 3,321 deletions.
23 changes: 23 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Editor configuration, see http://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false

# CSharp formatting settings:
[*.cs]
csharp_new_line_before_open_brace = none
csharp_new_line_before_else = false
csharp_new_line_before_catch = false
csharp_new_line_before_finally = false
csharp_new_line_before_members_in_object_initializers = false
csharp_new_line_before_members_in_anonymous_types = false
csharp_new_line_between_query_expression_clauses = false
54 changes: 54 additions & 0 deletions Breeze.Sharp.Standard.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29519.181
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Breeze.Sharp.Standard", "Breeze.Sharp\Breeze.Sharp.Standard.csproj", "{C9E4B61A-6A94-4527-AE36-B8330D5DABFC}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{81AA6310-06A8-4DBE-B758-1F5E9DA586A3}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Model.Northwind.Standard", "Tests\Internal\Model.Northwind.Sharp\Model.Northwind.Standard.csproj", "{019A188A-D6BB-4AD5-8639-E54FA0B96BED}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Breeze.Sharp.Standard.Tests", "Tests\Internal\Tests\Breeze.Sharp.Standard.Tests.csproj", "{ACE448DD-68BC-491A-A3A7-166C51F6AFFD}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Model.Inheritance.Billing.Standard", "Tests\Internal\Model.Inheritance.Billing.Sharp\Model.Inheritance.Billing.Standard.csproj", "{3FABB05E-A1CC-417A-8B80-8731943AA8F0}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Model.Inheritance.Produce.Standard", "Tests\Internal\Model.Inheritance.Produce.Sharp\Model.Inheritance.Produce.Standard.csproj", "{B4ADF22D-2432-40A9-816B-E629DBF2C3CA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{C9E4B61A-6A94-4527-AE36-B8330D5DABFC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C9E4B61A-6A94-4527-AE36-B8330D5DABFC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C9E4B61A-6A94-4527-AE36-B8330D5DABFC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C9E4B61A-6A94-4527-AE36-B8330D5DABFC}.Release|Any CPU.Build.0 = Release|Any CPU
{019A188A-D6BB-4AD5-8639-E54FA0B96BED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{019A188A-D6BB-4AD5-8639-E54FA0B96BED}.Debug|Any CPU.Build.0 = Debug|Any CPU
{019A188A-D6BB-4AD5-8639-E54FA0B96BED}.Release|Any CPU.ActiveCfg = Release|Any CPU
{019A188A-D6BB-4AD5-8639-E54FA0B96BED}.Release|Any CPU.Build.0 = Release|Any CPU
{ACE448DD-68BC-491A-A3A7-166C51F6AFFD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{ACE448DD-68BC-491A-A3A7-166C51F6AFFD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{ACE448DD-68BC-491A-A3A7-166C51F6AFFD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{ACE448DD-68BC-491A-A3A7-166C51F6AFFD}.Release|Any CPU.Build.0 = Release|Any CPU
{3FABB05E-A1CC-417A-8B80-8731943AA8F0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3FABB05E-A1CC-417A-8B80-8731943AA8F0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3FABB05E-A1CC-417A-8B80-8731943AA8F0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3FABB05E-A1CC-417A-8B80-8731943AA8F0}.Release|Any CPU.Build.0 = Release|Any CPU
{B4ADF22D-2432-40A9-816B-E629DBF2C3CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B4ADF22D-2432-40A9-816B-E629DBF2C3CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B4ADF22D-2432-40A9-816B-E629DBF2C3CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B4ADF22D-2432-40A9-816B-E629DBF2C3CA}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D1192861-961B-44FC-9437-E4916B820169}
EndGlobalSection
EndGlobal
46 changes: 46 additions & 0 deletions Breeze.Sharp/Breeze.Sharp.Standard.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>Breeze.Sharp</AssemblyName>
<RootNamespace>Breeze.Sharp</RootNamespace>
<Authors>Jay Traband</Authors>
<Company>IdeaBlade</Company>
<Description>Breeze.Sharp is a data management tool for smart client apps. It retrieves data from the server using a rich query language, manages the entity graph of application data, tracks changes, and performs updates of changed data to the server.</Description>
<Copyright>IdeaBlade, 2014 - 2020</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>http://breeze.github.io/</PackageProjectUrl>
<RepositoryUrl>https://github.com/Breeze/breeze.sharp</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<Version>0.8.0</Version>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DocumentationFile></DocumentationFile>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DocumentationFile>C:\git\Breeze\breeze.sharp\Breeze.Sharp\Breeze.Sharp.xml</DocumentationFile>
</PropertyGroup>

<ItemGroup>
<Compile Remove="Properties\AssemblyInfo.cs" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Data.Services.Client" Version="5.8.4" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
</ItemGroup>

<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>

<ItemGroup>
<EmbeddedResource Update="LocalizedMessages.resx">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup>

</Project>
Loading

0 comments on commit 1bef8c7

Please sign in to comment.