687b4f7a49
* Add initial code for Razor pages support * Remove finalizer * Try fully loading blazor This is most likely entirely broken because of a rebase now * UseSptBlazor after app.Use * Fix up StaticWebAsset loading, add MudBlazor * Implement page * Update comment * Replaced existing status page with razor * Track background video in LFS * Update attributes * Improved status page theming * Fix up wwwroot publish folder to SPT_Data/wwwroot * Added name to page * Remove unnecessary code * Begin fixing up MVC & Blazor for modding * Update TestMod * Cleanup todo * Further work out mod support * Re-order initialization and use logger * Rename library to SPTarkov.Server.Web --------- Co-authored-by: Chomp <dev@dev.sp-tarkov.com> Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
23 lines
896 B
C#
23 lines
896 B
C#
namespace SPTarkov.Server.Web;
|
|
|
|
/// <summary>
|
|
/// This empty interface is used as a metadata marker to identify mod assemblies that integrate with Blazor or MVC.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Implementing this interface signals to the host application to:
|
|
/// <list type="bullet">
|
|
/// <item>
|
|
/// <description>Link the mod's <c>wwwroot</c> directory, enabling serving of static web assets (CSS, JS, etc.).</description>
|
|
/// </item>
|
|
/// <item>
|
|
/// <description>Register the mod's Blazor components and pages for routing within the application.</description>
|
|
/// </item>
|
|
/// <item>
|
|
/// <description>Register the mod's MVC controllers for use as APIs where necessary.</description>
|
|
/// </item>
|
|
/// </list>
|
|
///
|
|
/// This interface is intentionally empty but may be extended in the future to include additional metadata.
|
|
/// </remarks>
|
|
public interface IModWebMetadata { }
|