★ wanayoo — archive 1999 https://github.com/SimplifyNet/Simplify.Web.MessageBoxNouvelle recherche | Portail wanayoo
Skip to content
master
Go to file
Code
This branch is 13 commits ahead, 1 commit behind i4004:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

Simplify.Web.MessageBox

Nuget Version Nuget Download AppVeyor branch Libraries.io dependency status for latest release CodeFactor Grade Platform Dependabot Status PRs Welcome

Simplify.Web.MessageBox is a package which provides non-interactive server side message box for Simplify.Web web-framework.

Quick Start

Setup message box templates

There are different template file for different message box statuses. Inline templates intended to use as API responses but stylized with HTML.

Template files

Displaying message box

Default message box which will be added to 'MainContent' variable

public class MyController : Controller
{
    public override ControllerResponse Invoke()
    {
        return new MessageBox("your string");
    }
}

Inline message box

Framework execution will be stopped, message box will be returned to client without rest of the website content

public class MyController : Controller
{
    public override ControllerResponse Invoke()
    {
        return new MessageBoxInline("your string");
    }
}

About

Simplify.Web non-interactive server side message box

Resources

License

Packages

No packages published
You can’t perform that action at this time.