Found 14 packages
DalSoft.Hosting.BackgroundQueue is a very lightweight .NET Core replacement for HostingEnvironment.QueueBackgroundWorkItem using IHostedService
CloudCraic.Hosting.BackgroundQueue is a very lightweight .NET Core replacement for HostingEnvironment.QueueBackgroundWorkItem using IHostedService Based on the stale DalSoft.Hosting.BackgroundQueue project with small improvements and fixes
Классы расширения IWebHost
AspNetCore.Hosting library enables functionality used with AspNetCore such as CorrelationId.
ASP.NET Core library with IWebHostBuilder Single Tenant and Multitenant Autofac Extensions
F# computation expressions for configuring the Microsoft.AspNetCore.Hosting.IWebHostBuilder and defining routes for HTTP resources using Microsoft.AspNetCore.Routing.
Extensions for IWebHostBuilder to simplify the use of Rezolver containers in Asp.Net Core 2 applications. This is the last version of this package.
The Scheduler component simplifies implemention of a scheduled based on cron to any .NET Core based application that uses either IHost or IWebHost. The base implementation supports Cron expressions, but can be easily extended to support other types of scheduler configurations.
The Scheduler component simplifies implemention of a scheduled based on cron to any .NET Core based application that uses either IHost or IWebHost. The base implementation supports Cron expressions, but can be easily extended to support other types of scheduler configurations.
Integrates WebView with IWebHostBuilder
IWebHostBuilder fluent configuration extensions to integrate KeyVault, Azure App Configuration Service with ease to your ASP.NET Core Kestrel Webserver to save secrets and configuration outside appconfig and to integrate SSL certificates and install private CA certificates for secure, trusted microservice communication
Lightweight file upload, download, delete and management kit for ASP.NET Core 8, 9 and 10 applications. Provides easy integration with IFormFile, IWebHostEnvironment and built-in logging.
Enables CORS in ASP.net Core WebAPI If you have a JS client, which consumes your Net Core APIs passing JSON objects, you may need to enable CORS but CORS has a security mechanism. This library, which is a middleware, helps you to accept calls skipping security checks, basically it allows any Origin and stuff like that. Full credits to all contributors from here: https://stackoverflow.com/questions/44379560/how-to-enable-cors-in-asp-net-core-webapi In order this middleware, just add the following line into your Startup.cs: public void Configure(Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Hosting.IWebHostEnvironment env) { // Add this line at bottom of Configure routine app.UseMiddleware(typeof(SFERA.Helpers.WEB.CORS.CorsMiddleware)); //used for managing CORS and allows Javascript remote calls
First, you should get your YaghutOptions from Yaghut.Client admin and add this section to your appsettings.[environment].json "Yaghut": { "username": "[your username]", "password": "[your password]", "BaseAddress": "https://moderntst.namicard.com/yaghuttest/", "CertificatePassword": "[your certificate password]", "CertificateContentFilePath":"[Certs\\YaghutClientCertificate.p12]" } and get certificate; add it to this root folder Certs/YaghutClientCertificate.p12 as an example, so to get full path we join HostingEnvironment.ContentRootPath with CertificateContentFilePath. your stratup ConfigureServices look like this: public Startup(IConfiguration configuration, IWebHostEnvironment environment) { Configuration = configuration; HostingEnvironment = environment; } public void ConfigureServices(IServiceCollection services) { if (HostingEnvironment.IsDevelopment()) { services.AddMockOfYaghutClient(); } else { services.AddYaghutClient(Configuration,HostingEnvironment); } } ....