I have a simple ASP.NET MVC 5 project, i created a folder called static then created this html page inside it > static.html:
<!DOCTYPE html>
<html>
<head>
<title>Hello </title>
<meta charset="utf-8" />
</head>
<body>
<form action="/Customer/HelloTest" method="post">
<input type="text" value="ID"> <input type="text" name="Id" />
<input type="text" name="username" />
<input type="text" name="customers[0].id" />
<input type="text" name="customers[0].username" />
<input type="text" name="names" />
<input type="text" name="names" />
<input type="submit" />
</form>
</body>
</html>
I hosted this application on IIS.
When i run the solution and try to open the page like this:
I faced only a blank page, so i don't know why this didn't open my html page, is this related to routing, should i put any route configurations or what?
I think the peoblem related to IIS as when i used IIS Express to run my web application instead of local IIS host, every things worked correctly.