Posts

Showing posts from October, 2020

Spinwheel using .NET Core and Winsheel.js

Image
 Hi All, Recently I had request from one of my friends to create a small application to distribute 1000 gifts among employees of a certain company. 1) There were 5 types of gifts 2) Each type had 200 gifts 3) Gifts must be given in a random way 4) Every employee must get a gift 5) They should not get a gift which is over So created a small application with a .NET Core backend, html, javascript. I used Winwheel.js to create the spinwheel. Hope you like it. 1) Solution  2) SQL Tables 3) HomeController.cs using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using SpinWheelAppCore.Models; namespace SpinWheelAppCore.Controllers {     public class HomeController : Controller     {         private readonly ILogger<HomeController> _logger;       ...