I am completely new in C # and I do not really get into MVC (I came with Java)
I have the following doubts:
I have a controller package \ folder (I don’t know the name propper in Visual Studio) with the name Controllers , which contains the control elements that process the incoming HTTP request.
So, inside this folder there is a class TestController.cs , which looks something like this:
namespace MyWebApplication.Controllers
{
public class AndreaController : MyBaseController
{
private MaliciousCodeManager manager = new MaliciousCodeManager("DefaultConnection");
public ActionResult Index(DataModel.MaliciousCode.SearchMalicious model)
{
Debug.WriteLine("*** FILTRI DI RICERCA ***");
...................................................
...................................................
...................................................
DO SOME STUFF
...................................................
...................................................
...................................................
}
}
So, it seems to me that this controller processes the request along the path / Test /
and therefore, the Index () method processes the request at / Test / index . I think this is pretty clear to me.
, Index:
public ActionResult Index(DataModel.MaliciousCode.SearchMalicious model)
, DataModel.MaliciousCode.SearchMalicious model.
, , Index() HTTP- SearchMalicious
, : ? ? ?
Tnx
Andrea