chore: deploy initial code base
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
namespace Strata.RxNorm.Biz.Configurations
|
||||
{
|
||||
public static class Constants
|
||||
{
|
||||
public static readonly string ApplicationName = "rxnorm";
|
||||
public static readonly string HangfireQueueDefault = "rxnorm";
|
||||
public static readonly string HangfireQueueJazz = "rxnorm-jazz";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.AspNetCore.Routing;
|
||||
using Strata.RxNorm.Biz.Notification;
|
||||
|
||||
namespace Strata.RxNorm.Biz.Configurations
|
||||
{
|
||||
public static class HubEndpointRouteBuilderExtensions
|
||||
{
|
||||
public static HubEndpointConventionBuilder MapNotificationHub(this IEndpointRouteBuilder endpoints)
|
||||
{
|
||||
return endpoints.MapHub<NotificationHub>("/api/NotificationHub", configureOptions: null)
|
||||
.RequireAuthorization();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user