Skip to content

Commit

Permalink
add ef and odata packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen Dong committed Jul 17, 2018
1 parent c66e780 commit 836fef7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 5 additions & 4 deletions QuestionnaireWebApi/.vs/config/applicationhost.config
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@
<add name="Clr2IntegratedAppPool" managedRuntimeVersion="v2.0" managedPipelineMode="Integrated" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" />
<add name="Clr2ClassicAppPool" managedRuntimeVersion="v2.0" managedPipelineMode="Classic" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" />
<add name="UnmanagedClassicAppPool" managedRuntimeVersion="" managedPipelineMode="Classic" autoStart="true" />
<add name="QuestionnaireWebApi AppPool" managedRuntimeVersion="" />
<applicationPoolDefaults managedRuntimeLoader="v4.0">
<processModel />
</applicationPoolDefaults>
Expand All @@ -155,7 +156,7 @@
</bindings>
</site>
<site name="QuestionnaireWebApi" id="2">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<application path="/" applicationPool="QuestionnaireWebApi AppPool">
<virtualDirectory path="/" physicalPath="C:\NewIT\IQuestionnaire\QuestionnaireWebApi" />
</application>
<bindings>
Expand Down Expand Up @@ -986,11 +987,11 @@
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" forwardWindowsAuthToken="false" stdoutLogEnabled="false" />
<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" forwardWindowsAuthToken="false" stdoutLogEnabled="false" startupTimeLimit="3600" requestTimeout="23:00:00" />
<httpCompression>
<dynamicCompression>
<dynamicTypes>
<add mimeType="text/event-stream" enabled="false" />
</dynamicCompression>
</dynamicTypes>
</httpCompression>
</system.webServer>
</location>
Expand Down
4 changes: 4 additions & 0 deletions QuestionnaireWebApi21/QuestionnaireWebApi21.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Microsoft.AspNetCore.OData" Version="7.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.1.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="2.1.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="2.1.1" />
</ItemGroup>

</Project>

0 comments on commit 836fef7

Please sign in to comment.