HMIS.Base.ServiceLocator 1.0.5

HMIS.Base.ServiceLocator

A Package for Service Locator for the HMIS sln that will be used in all the Modules.


Installation

Add Internal NuGet Package Source with the next steps:

  • Open Visual Studio.
  • Go to Tools > Options.
  • Select NuGet Package Manager > Package Sources.
  • Click the + button to add a new package source.
  • Set the Name to e.g. HMIS and the Source to https://baget.ahbsdev.com/v3/index.json.
  • After that, click OK to save the changes.
  • Then, you can install the package via the .NET CLI:
dotnet add package HMIS.Base.ServiceLocator --source https://baget.ahbsdev.com/v3/index.json

Or via the NuGet Package Manager:

  • Open the NuGet Package Manager in Visual Studio.
  • Package Manager Console:
    Install-Package HMIS.Base.ServiceLocator -Source https://baget.ahbsdev.com/v3/index.json
    

Or via the NuGet Package Manager UI:

  • Open the NuGet Package Manager in Visual Studio.
  • Select the HMIS package source from the dropdown.
  • Search for HMIS.Base.ServiceLocator.
  • Click Install to add the package to your project.

Program.cs

builder.Services.RegisterServiceLocator(builder.Configuration);

appsettings.json

"ConnectionStrings": {
    "ServiceLocatorEntity": "Server=10.24.105.156;Database=HCMS.Main;User Id=semilive;Password=semilive;Persist Security Info=True;MultipleActiveResultSets=True;TrustServerCertificate=True;Application Name=EntityFramework"
 }

No packages depend on HMIS.Base.ServiceLocator.

Version Downloads Last updated
1.0.5 21 11/18/2025
1.0.4 14 11/18/2025
1.0.3 17 11/17/2025
1.0.2 39 11/09/2025
1.0.0 23 10/26/2025