Simplify.Web.MessageBox
is a package which provides non-interactive server side message box for Simplify.Web web-framework.
There are different template file for different message box statuses. Inline templates intended to use as API responses but stylized with HTML.
public class MyController : Controller2
{
public ControllerResponse Invoke() =>
new MessageBox("your string");
}
Framework execution will be stopped, message box will be returned to client without rest of the website content
public class MyController : Controller2
{
public ControllerResponse Invoke() =>
new MessageBoxInline("your string");
}