FrozensoftSoftware.Alerts
1.0.6
dotnet add package FrozensoftSoftware.Alerts --version 1.0.6
NuGet\Install-Package FrozensoftSoftware.Alerts -Version 1.0.6
<PackageReference Include="FrozensoftSoftware.Alerts" Version="1.0.6" />
paket add FrozensoftSoftware.Alerts --version 1.0.6
#r "nuget: FrozensoftSoftware.Alerts, 1.0.6"
// Install FrozensoftSoftware.Alerts as a Cake Addin
#addin nuget:?package=FrozensoftSoftware.Alerts&version=1.0.6
// Install FrozensoftSoftware.Alerts as a Cake Tool
#tool nuget:?package=FrozensoftSoftware.Alerts&version=1.0.6
Frozensoft Software Alerts is a package that allows you to easily send alerts to users in your ASP.NET Core project. You can either use bootstrap or make your own classes for the Alerts.
These Instructions are only for .NET Core 5.0 and (.NET Core 3.1)
Installation:
- install the package from nuget: https://www.nuget.org/packages/FrozensoftSoftware.Alerts/
- Setup your Startup.cs file:
Inside of your ConfigureServices add this:
services.AddMvc().AddRazorRuntimeCompilation(); services.Configure<MvcRazorRuntimeCompilationOptions>(options => { options.FileProviders.Add(new EmbeddedFileProvider( typeof(FrozensoftSoftware.Alerts.ViewComponents.Alerts.AlertsViewComponent).Assembly)); }); // Registers the Alert Service services.AddScoped<IAlertService, AlertService>();
- If you have a _ViewImports.cshtml file add this to it:
@addTagHelper *, FrozensoftSoftware.Alerts
- Add the ViewComponent, this can be done where ever you want it, in my instance I have put it inside of the _Layout.cshtml file:
<vc:alerts></vc:alerts>
- Have fun and Enjoy 😃
If you have any questions, suggestions or find any bugs feel free to let me know as I would really appreciate it.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net5.0
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Microsoft.AspNetCore.Mvc.Razor (>= 2.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|
Frozensoft Software Alerts is a package that allows you to easily send alerts to users in your ASP.NET Core project. You can either use bootstrap or make your own classes for the Alerts, just make sure they have the same names.