Skip to content

Commit

Permalink
#18 updated the template project
Browse files Browse the repository at this point in the history
  • Loading branch information
verzada committed Dec 21, 2018
1 parent 4115dd7 commit a85f86a
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 54 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
<Reference Include="FhirStarter.Bonfire.STU3, Version=0.9.35.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\FhirStarter.Bonfire.STU3.0.9.35\lib\net462\FhirStarter.Bonfire.STU3.dll</HintPath>
</Reference>
<Reference Include="FhirStarter.Flare.STU3, Version=0.9.35.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\FhirStarter.Flare.STU3.0.9.35\lib\net462\FhirStarter.Flare.STU3.dll</HintPath>
<Reference Include="FhirStarter.Flare.STU3, Version=0.9.40.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\FhirStarter.Flare.STU3.0.9.40\lib\net462\FhirStarter.Flare.STU3.dll</HintPath>
</Reference>
<Reference Include="Hl7.Fhir.STU3.Core, Version=0.94.0.0, Culture=neutral, PublicKeyToken=d706911480550fc3, processorArchitecture=MSIL">
<HintPath>..\packages\Hl7.Fhir.STU3.0.94.0\lib\net45\Hl7.Fhir.STU3.Core.dll</HintPath>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public Base Read(SearchParams searchParams)
throw new ArgumentException(serialized);
}
}
throw new ArgumentException("Generic error");
throw new ArgumentException($"No parameters received for the {nameof(ExamplePatientService)} ");
}

public Base Read(string id)
Expand Down
99 changes: 49 additions & 50 deletions src/FHIRStarter.Inferno.Template/Web.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@
-->
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<appSettings>
<add key="webpages:Version" value="3.0.0.0"/>
<add key="webpages:Enabled" value="false"/>
<add key="UnobtrusiveJavaScriptEnabled" value="true"/>
<add key="ClientValidationEnabled" value="true"/>
<add key="vs:EnableBrowserLink" value="false"/>
<add key="UnitTesting" value="true"/>
<add key="FhirPublisher" value=""/>
<add key="FhirDescription" value=""/>
<add key="EnableValidation" value="false"/>
<add key="OverrideValidationIsAllowed" value="true"/>
<add key="MockupEnabled" value="false"/>
<add key="FhirServiceAssemblies" value="FHIRStarter.Inferno.Template"/>
<add key="LogRequestWhenError" value="true"/>
<add key="webpages:Version" value="3.0.0.0" />
<add key="webpages:Enabled" value="false" />
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
<add key="ClientValidationEnabled" value="true" />
<add key="vs:EnableBrowserLink" value="false" />
<add key="UnitTesting" value="true" />
<add key="FhirPublisher" value="" />
<add key="FhirDescription" value="" />
<add key="EnableValidation" value="false" />
<add key="OverrideValidationIsAllowed" value="true" />
<add key="MockupEnabled" value="false" />
<add key="FhirServiceAssemblies" value="FHIRStarter.Inferno.Template" />
<add key="LogRequestWhenError" value="true" />
</appSettings>
<log4net configSource="log4net.config"/>
<log4net configSource="log4net.config" />
<!--
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
Expand All @@ -34,78 +34,77 @@
<system.web>
<compilation debug="true" targetFramework="4.6.2">
<assemblies>
<add assembly="System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
<add assembly="System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</assemblies>
</compilation>
<httpRuntime targetFramework="4.5.2"/>
<httpRuntime targetFramework="4.5.2" />
</system.web>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0"/>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930"/>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2"/>
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0"/>
<assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Http.WebHost" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0"/>
<assemblyIdentity name="System.Web.Http.WebHost" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.ValueTuple" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0"/>
<assemblyIdentity name="System.ValueTuple" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0"/>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Unity.Abstractions" publicKeyToken="6d32ff45e0ccc69f" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0"/>
<assemblyIdentity name="Unity.Abstractions" publicKeyToken="6d32ff45e0ccc69f" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Hl7.Fhir.Support" publicKeyToken="d706911480550fc3" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-0.4.4.0" newVersion="0.4.4.0"/>
<assemblyIdentity name="Hl7.Fhir.Support" publicKeyToken="d706911480550fc3" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-0.4.4.0" newVersion="0.4.4.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Hl7.Fhir.STU3.Core" publicKeyToken="d706911480550fc3" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-0.93.5.0" newVersion="0.93.5.0"/>
<assemblyIdentity name="Hl7.Fhir.STU3.Core" publicKeyToken="d706911480550fc3" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-0.93.5.0" newVersion="0.93.5.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Hl7.FhirPath" publicKeyToken="d706911480550fc3" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-0.4.4.0" newVersion="0.4.4.0"/>
<assemblyIdentity name="Hl7.FhirPath" publicKeyToken="d706911480550fc3" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-0.4.4.0" newVersion="0.4.4.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Ninject" publicKeyToken="c7192dc5380945e7" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-3.3.4.0" newVersion="3.3.4.0"/>
<assemblyIdentity name="Ninject" publicKeyToken="c7192dc5380945e7" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.3.4.0" newVersion="3.3.4.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<system.webServer>
<handlers>
<remove name="ExtensionlessUrlHandler-Integrated-4.0"/>
<remove name="OPTIONSVerbHandler"/>
<remove name="TRACEVerbHandler"/>
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler"
preCondition="integratedMode,runtimeVersionv4.0"/>
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
<remove name="OPTIONSVerbHandler" />
<remove name="TRACEVerbHandler" />
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
</handlers>
</system.webServer>
</configuration>
2 changes: 1 addition & 1 deletion src/FHIRStarter.Inferno.Template/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package id="Antlr" version="3.5.0.2" targetFramework="net462" />
<package id="CommonServiceLocator" version="2.0.2" targetFramework="net462" />
<package id="FhirStarter.Bonfire.STU3" version="0.9.35" targetFramework="net462" />
<package id="FhirStarter.Flare.STU3" version="0.9.35" targetFramework="net462" />
<package id="FhirStarter.Flare.STU3" version="0.9.40" targetFramework="net462" />
<package id="FhirStarter.Spark.Engine.STU3" version="0.9.6" targetFramework="net462" />
<package id="Hl7.Fhir.Specification.STU3" version="0.94.0" targetFramework="net462" />
<package id="Hl7.Fhir.STU3" version="0.94.0" targetFramework="net462" />
Expand Down

0 comments on commit a85f86a

Please sign in to comment.