Problem I wrote simple online users tracking for my ASP.NET MVC project. In Global.asax I added: protected void Session_Start(Object sender, […]

Problem I have the following async ActionResult. public async Task<ActionResult> most_loved_pix() { var access_token = HttpContext.Items[“access_token”].ToString(); if (!string.IsNullOrEmpty(access_token)) { Account […]

Problem Here is my working attempt to allow multiple/infinite child record entries with the original parent post in .NET MVC. […]

Problem Can this extension method be improved? public static string GetAvatar(this System.Security.Principal.IIdentity user) { var service = SmObjectFactory.Container.GetInstance<IApplicationUserManager>(); return service.FindByIdAsync(int.Parse(user.GetUserId())).Result.Avatar; […]