Skip to content

Commit 48c1b23

Browse files
committed
Removed application project which is not needed for this demo. Updated OData package. Created an index.html to simplify testing.
1 parent 5cb3590 commit 48c1b23

File tree

13 files changed

+32
-246
lines changed

13 files changed

+32
-246
lines changed

src/AbpODataDemo.Application/AbpODataDemo.Application.csproj

Lines changed: 0 additions & 119 deletions
This file was deleted.

src/AbpODataDemo.Application/AbpODataDemoAppServiceBase.cs

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/AbpODataDemo.Application/AbpODataDemoApplicationModule.cs

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/AbpODataDemo.Application/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 37 deletions
This file was deleted.

src/AbpODataDemo.Application/app.config

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/AbpODataDemo.Application/packages.config

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/AbpODataDemo.WebApi/AbpODataDemo.WebApi.csproj

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
<HintPath>..\packages\Abp.Web.Api.0.7.7.2\lib\net452\Abp.Web.Api.dll</HintPath>
5050
<Private>True</Private>
5151
</Reference>
52-
<Reference Include="Abp.Web.Api.OData, Version=0.7.7.3, Culture=neutral, processorArchitecture=MSIL">
53-
<HintPath>..\packages\Abp.Web.Api.OData.0.7.7.3\lib\net452\Abp.Web.Api.OData.dll</HintPath>
52+
<Reference Include="Abp.Web.Api.OData, Version=0.7.7.4, Culture=neutral, processorArchitecture=MSIL">
53+
<HintPath>..\packages\Abp.Web.Api.OData.0.7.7.4\lib\net452\Abp.Web.Api.OData.dll</HintPath>
5454
<Private>True</Private>
5555
</Reference>
5656
<Reference Include="AutoMapper, Version=4.0.4.0, Culture=neutral, PublicKeyToken=be96cd2c38ef1005, processorArchitecture=MSIL">
@@ -136,10 +136,6 @@
136136
<None Include="packages.config" />
137137
</ItemGroup>
138138
<ItemGroup>
139-
<ProjectReference Include="..\AbpODataDemo.Application\AbpODataDemo.Application.csproj">
140-
<Project>{edf5d964-4c0f-4f19-b674-58a38a5e5401}</Project>
141-
<Name>AbpODataDemo.Application</Name>
142-
</ProjectReference>
143139
<ProjectReference Include="..\AbpODataDemo.Core\AbpODataDemo.Core.csproj">
144140
<Project>{17298ea0-af73-4f30-b6f1-2066100d7d74}</Project>
145141
<Name>AbpODataDemo.Core</Name>
Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
using System.Reflection;
2-
using Abp.Application.Services;
32
using Abp.Modules;
4-
using Abp.WebApi;
5-
using Abp.WebApi.Controllers.Dynamic.Builders;
3+
using Abp.WebApi.OData;
64
using Abp.WebApi.OData.Configuration;
75
using AbpODataDemo.People;
86

97
namespace AbpODataDemo
108
{
11-
[DependsOn(typeof(AbpWebApiModule), typeof(AbpODataDemoApplicationModule))]
9+
[DependsOn(typeof(AbpWebApiODataModule))]
1210
public class AbpODataDemoWebApiModule : AbpModule
1311
{
1412
public override void PreInitialize()
@@ -19,10 +17,6 @@ public override void PreInitialize()
1917
public override void Initialize()
2018
{
2119
IocManager.RegisterAssemblyByConvention(Assembly.GetExecutingAssembly());
22-
23-
DynamicApiControllerBuilder
24-
.ForAll<IApplicationService>(typeof(AbpODataDemoApplicationModule).Assembly, "app")
25-
.Build();
2620
}
2721
}
2822
}

src/AbpODataDemo.WebApi/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<package id="Abp.AutoMapper" version="0.7.7.2" targetFramework="net452" />
55
<package id="Abp.Web" version="0.7.7.2" targetFramework="net452" />
66
<package id="Abp.Web.Api" version="0.7.7.2" targetFramework="net452" />
7-
<package id="Abp.Web.Api.OData" version="0.7.7.3" targetFramework="net452" />
7+
<package id="Abp.Web.Api.OData" version="0.7.7.4" targetFramework="net452" />
88
<package id="AutoMapper" version="4.0.4" targetFramework="net451" />
99
<package id="Castle.Core" version="3.3.3" targetFramework="net451" />
1010
<package id="Castle.LoggingFacility" version="3.3.0" targetFramework="net451" />

src/AbpODataDemo.WebHost/AbpODataDemo.WebHost.csproj

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@
140140
<Reference Include="System.Xml.Linq" />
141141
</ItemGroup>
142142
<ItemGroup>
143+
<Content Include="index.html" />
143144
<Content Include="packages.config" />
144145
<Content Include="log4net.config" />
145146
<None Include="Web.Debug.config">
@@ -164,10 +165,6 @@
164165
<Compile Include="Properties\AssemblyInfo.cs" />
165166
</ItemGroup>
166167
<ItemGroup>
167-
<ProjectReference Include="..\AbpODataDemo.Application\AbpODataDemo.Application.csproj">
168-
<Project>{EDF5D964-4C0F-4F19-B674-58A38A5E5401}</Project>
169-
<Name>AbpODataDemo.Application</Name>
170-
</ProjectReference>
171168
<ProjectReference Include="..\AbpODataDemo.Core\AbpODataDemo.Core.csproj">
172169
<Project>{17298EA0-AF73-4F30-B6F1-2066100D7D74}</Project>
173170
<Name>AbpODataDemo.Core</Name>

0 commit comments

Comments
 (0)