This commit is contained in:
mumana 2018-06-12 16:46:45 +00:00
parent ade6df5ed4
commit 803f838247
4 changed files with 7 additions and 6 deletions

View file

@ -8174,6 +8174,10 @@
<TypeScriptCompile Include="Scripts\index.d.ts" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Atesa.Utilitarios\Atesa.Utilitarios.csproj">
<Project>{df92655d-08ea-4e25-a1e1-ee13cb7902d7}</Project>
<Name>Atesa.Utilitarios</Name>
</ProjectReference>
<ProjectReference Include="..\AYA.SlnSynorModel.DAL\AYA.SlnSinortModel.DAL.csproj">
<Project>{6188d201-ec99-47f0-bcd5-5c48ec354cd5}</Project>
<Name>AYA.SlnSinortModel.DAL</Name>

View file

@ -11,8 +11,9 @@ namespace AYA.SlnSinort.Controllers
{
public void InitControllers()
{
var SinortWCF = ConfigurationManager.AppSettings["SinortWCF"];
var SinortCatalogosWCF = ConfigurationManager.AppSettings["SinortCatalogosWCF"];
Atesa.Utilitarios.ObtieneParametros parametros = new Atesa.Utilitarios.ObtieneParametros();
var SinortWCF = parametros.GetValueKeyRegedit("SinortWCF", false);
var SinortCatalogosWCF = parametros.GetValueKeyRegedit("SinortCatalogosWCF",false);
ViewBag.SinortWCF = SinortWCF;
ViewBag.SinortCatalogosWCF = SinortCatalogosWCF;

View file

@ -22,8 +22,6 @@
<add key="webpages:Enabled" value="false" />
<add key="ClientValidationEnabled" value="true" />
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
<add key="SinortWCF" value="http://localhost/AYA.SlnSinort.WCF/Sinort.svc" />
<add key="SinortCatalogosWCF" value="http://localhost/AYA.SlnSinort.WCF/SinortCatalogos.svc" />
</appSettings>
<system.web>
<authentication mode="None" />

View file

@ -15,7 +15,5 @@
</providers>
</entityFramework>
<connectionStrings>
<add name="sinortdb" connectionString="data source=192.168.1.37;initial catalog=PruebaAyA;user id=sinort;password=sinort2018;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
<add name="SinortContex" connectionString="data source=192.168.1.37;initial catalog=SinortAyA;persist security info=True;user id=sinort;password=sinort2018;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
</connectionStrings>
</configuration>