{"id":22237464,"url":"https://github.com/saiwolf/flashmessage","last_synced_at":"2025-10-26T05:05:48.851Z","repository":{"id":65405326,"uuid":"260765349","full_name":"saiwolf/FlashMessage","owner":"saiwolf","description":"A Razor Class Library for showing Flash Messages in an ASP.NET Core application.","archived":false,"fork":false,"pushed_at":"2022-12-18T19:21:27.000Z","size":760,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-25T21:36:33.805Z","etag":null,"topics":["asp-net-core","bootstrap","bootstrap4","bootstrap5","csharp-library"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saiwolf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-02T20:01:55.000Z","updated_at":"2023-07-11T07:59:12.000Z","dependencies_parsed_at":"2023-01-29T19:45:52.857Z","dependency_job_id":null,"html_url":"https://github.com/saiwolf/FlashMessage","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/saiwolf/FlashMessage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saiwolf%2FFlashMessage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saiwolf%2FFlashMessage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saiwolf%2FFlashMessage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saiwolf%2FFlashMessage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saiwolf","download_url":"https://codeload.github.com/saiwolf/FlashMessage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saiwolf%2FFlashMessage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281059632,"owners_count":26437061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-26T02:00:06.575Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asp-net-core","bootstrap","bootstrap4","bootstrap5","csharp-library"],"created_at":"2024-12-03T03:09:53.595Z","updated_at":"2025-10-26T05:05:48.835Z","avatar_url":"https://github.com/saiwolf.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flash Messages for ASP.NET Core\r\n\r\n## Description\r\nThis is a Razor Class Library that provides a means to display Flash Messages in an ASP.NET web application. (Razor Pages and MVC are supported.)\r\n\r\nIt depends on and utilizes Twitter Bootstrap for the alert CSS and HTML.\r\n\r\nCurrently, [Bootstrap 5](https://getbootstrap.com/docs/5.1/getting-started/introduction/) is supported.\r\n\r\nCheck out the [Wiki](https://github.com/saiwolf/FlashMessage/wiki/Getting-Started) to get started!\r\n\r\n## Download\r\n\r\nYou can grab this package from [NuGet](https://www.nuget.org/packages/SWMNU.Net.FlashMessage/)\r\nor by going to the [Releases](https://github.com/saiwolf/FlashMessage/releases) of this repo.\r\n\r\n## What's a Flash Message?\r\nA Flash Message can be thought of as a one time notification.\r\n\r\nPerhaps a Welcome message after you sign up for a web site. Or an error notification indicating\r\nthat an action has failed. They're meant to be seen once and never again.\r\n\r\n## How it works\r\n\r\nIn a nutshell, this library exports functions and a few Razor View Partials that work in tandem\r\nto display a Flash Message or a Form Alert using [`TempData`](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/app-state?view=aspnetcore-3.1#tempdata) and \r\nBootstrap for the Alert styling.\r\n\r\nBy using `TempData`, the flash message is only shown\r\nonce. A refresh or reload will cause the message to disappear.\r\n\r\n## Requirements\r\n\r\n1. An ASP.NET Web App. Razor Pages and/or MVC supported.\r\n2. Bootstrap 5.x.\r\n\r\n## Example Apps\r\n\r\nThe `FlashMessage.TestingApp` folder contains an ASP.NET Web App that show \r\noff the Flash Message and Form Alert features. It contains both Razor Pages and MVC Examples.\r\n\r\nThe example app utilizes [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) (located at [https://localhost:5001/swagger/](https://localhost:5001/swagger/))\r\nto show the MVC endpoints currently mapped.\r\n\r\nIt also utilizes [Serilog.AspNetCore](https://github.com/serilog/serilog-aspnetcore) for better logging all around.\r\n\r\n### Running the Example App\r\n\r\n1. Change directory to the example app.\r\n2. Execute `dotnet run`\r\n\r\n## LICENSE\r\n\r\nThis project is licensed under the [MIT License](LICENSE).\r\n\r\n## Contact\r\nYou can contact me at robertcato015 at gmail dot com, if you have any questions!\r\n\r\nOr feel free to open up an issue or pull request!\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaiwolf%2Fflashmessage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaiwolf%2Fflashmessage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaiwolf%2Fflashmessage/lists"}