HOS.AutoUpdater
by: Hostack Software India Private Limited
- 124 total downloads
- Latest version: 1.0.0
Package Description
HOS.Data
by: Hostack Software India Private Limited
- 1k total downloads
- Latest version: 1.0.8
For all type of database operations,
Usage:-
Please add in the startup.cs
public void ConfigureServices(IServiceCollection services)
{
services.AddDBFactory(dbSettings);
or
services.AddDBContext(dbSetting);
HOS.Data.Sql.SqlDbProviderFactories.RegisterFactory();
//HOS.Data.PostgreSQL.PostgreSqlDbProviderFactories.RegisterFactory();
}
HOS.Data.PostgreSQL
by: Hostack Software India Private Limited
- 352 total downloads
- Latest version: 1.0.2
Please add PostgreSqlDbProviderFactories.RegisterFactory() in the startup.cs
public void ConfigureServices(IServiceCollection services)
{
PostgreSqlDbProviderFactories.RegisterFactory();
}
HOS.Data.Redis
by: Hostack Software India Private Limited
- 121 total downloads
- Latest version: 1.0.0
For using redis caching.
Usage:-
Please add in the startup.cs
public void ConfigureServices(IServiceCollection services)
{
services.AddRedisCaching(configuration, sectionName);
}
HOS.Data.Sql
by: Hostack Software India Private Limited
- 141 total downloads
- Latest version: 1.0.0
Please add SqlDbProviderFactories.RegisterFactory() in the startup.cs
public void ConfigureServices(IServiceCollection services)
{
services.AddDBFactory(dbSettings);
or
services.AddDBContext(dbSetting);
SqlDbProviderFactories.RegisterFactory();
}
HOS.Data.Sqlite
by: Hostack Software India Private Limited
- 250 total downloads
- Latest version: 1.0.1
For all type of sqlite operations,
Usage:-
Please add in the startup.cs
public void ConfigureServices(IServiceCollection services)
{
services.AddAddSqlitey(connectionString);
}
HOS.EmailCore
by: Hostack Software India Private Limited
- 122 total downloads
- Latest version: 1.0.0
It contains base classes for supporting multiple Email Clients
HOS.EventBus
by: Hostack Software India Private Limited
- 108 total downloads
- Latest version: 1.0.0
Package Description
HOS.EventBusKafka
by: Hostack Software India Private Limited
- 102 total downloads
- Latest version: 1.0.0
Package Description
HOS.EventBusRabbitMQ
by: Hostack Software India Private Limited
- 109 total downloads
- Latest version: 1.0.0
Package Description
HOS.FreedomPay
by: Hostack Software India Private Limited
- 1.295k total downloads
- Latest version: 1.0.13
FreedomPay Library. It supports HPC, HPP, Freeway, POS
HOS.HealthCheck
by: Hostack Software India Private Limited
- 103 total downloads
- Latest version: 1.0.0
Package Description
HOS.HtmlToPDF
by: Hostack Software India Private Limited
- 113 total downloads
- Latest version: 1.0.0
This project implements the library wkhtmltopdf for asp net core, working in Windows, Linux, macOS and docker.
public void ConfigureServices(IServiceCollection services)
{
services.AddWkhtmltopdf();
}
Usage:
this._pdfConvert.Convert(document);
HOS.HttpExtensions
by: Hostack Software India Private Limited
- 334 total downloads
- Latest version: 1.0.2
Package Description
HOS.MicrosoftGraph.Email
by: Hostack Software India Private Limited
- 317 total downloads
- Latest version: 1.0.2
Office 365 email sending library using microsoft graph.
HOS.Print
by: Hostack Software India Private Limited
- 123 total downloads
- Latest version: 1.0.0
Package Description
HOS.Print.Domain
by: Hostack Software India Private Limited
- 209 total downloads
- Latest version: 1.0.1
HOS Print Domain
HOS.RazorExtensions
by: Hostack Software India Private Limited
- 102 total downloads
- Latest version: 1.0.0
Please add in the startup.cs
public void ConfigureServices(IServiceCollection services)
{
services.AddRazorEngine();
}
Filling razor html page with given data and returning generated html string
HOS.Sagepay
by: Hostack Software India Private Limited
- 126 total downloads
- Latest version: 1.0.0
Sage payments. It includes PI, Report Api, Sharesd Api Implementations
https://developer-eu.elavon.com/opayo-integrations
https://developer-eu.elavon.com/docs/opayo-reporting-api
https://www.opayolabs.co.uk/apis/shared#
https://developer-eu.elavon.com/docs/opayo/spec/api-reference
HOS.Scheduler
by: Hostack Software India Private Limited
- 135 total downloads
- Latest version: 1.0.0
Scheduler Library
https://docwiki.embarcadero.com/Connect/en/Writing_a_CRON_Expression
https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm
https://www.baeldung.com/cron-expressions
services.AddCronJob<CronJob1>(c =>
{
c.TimeZoneInfo = TimeZoneInfo.Local;
c.CronExpression = @"*/2 * * * *";//every two seconds
});
public class CronJob1 : CronJobService
{
private readonly ILogger<CronJob1> _logger;
public CronJob1(IScheduleConfig<CronJob1> config, ILogger<CronJob1> logger)
: base(config.CronExpression, config.TimeZoneInfo, config.IncludeSeconds)
{
_logger = logger;
}
public override Task StartAsync(CancellationToken cancellationToken)
{
_logger.LogInformation("CronJob 3 starts.");
return base.StartAsync(cancellationToken);
}
public override Task DoWork(CancellationToken cancellationToken)
{
_logger.LogInformation($"{DateTime.Now:hh:mm:ss} CronJob 3 is working.");
return Task.CompletedTask;
}
public override Task StopAsync(CancellationToken cancellationToken)
{
_logger.LogInformation("CronJob 3 is stopping.");
return base.StopAsync(cancellationToken);
}
}