Question: first time learn asp.net mvc model and C#. Here is a simple code of Upload page. How to save user input from textarea and generate

first time learn asp.net mvc model and C#. Here is a simple code of Upload page. How to save user input from textarea and generate a list for all input under the submit button? and how to change controller to make it work? (controller.cs also provide)

@{ ViewData["Title"] = "Upload"; }

Input your questions here:

controller.cs

using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using DataVis.Models;

namespace DataVis.Controllers { public class HomeController : Controller { private readonly ILogger _logger;

public HomeController(ILogger logger) { _logger = logger; }

public IActionResult Index() { return View(); }

public IActionResult Upload() { return View(); }

}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!