hosting asp.net mvc on firebase code example
Example 1: CRUD configuration MVC with Firebase
public string TimestampUtc { get; set; }
Example 2: CRUD configuration MVC with Firebase
@{
ViewBag.Title = "About";
}
<h2>@ViewBag.Title</h2>
<h3>Login History</h3>
<p>Current user: @ViewBag.CurrentUser</p>
<ul>
@foreach(var timestamp in ViewBag.Logins)
{
<li>Login at @timestamp</li>
}
</ul>