Skip to content

Instantly share code, notes, and snippets.

public abstract class PageModelBase : PageModel
{
public virtual RedirectToPageResult RedirectToPage<TPageModel>()
where TPageModel : PageModel
{
return RedirectToPage<TPageModel>((object) null);
}
public virtual RedirectToPageResult RedirectToPage<TPageModel>(
string pageHandler)
class Program
{
static void Main(string[] args)
{
// John responded to Michael 20 times
// John responded to Dave 10 times
// Michael responded to John 5 times
// Michael responded to Dave 8 times
// Dave responded to John 19 times
// Dave responded to Michael 3 times
#!/bin/sh
### BEGIN INIT INFO
# Provides: <SERVICE_NAME>
# Required-Start: $local_fs $network $named $time $syslog
# Required-Stop: $local_fs $network $named $time $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Description: Script to run asp.net 5 application in background
### END INIT INFO