简体   繁体   中英

ASP.NET Web API - 404 not found on fresh project

I created a new ASP.NET Web API project using .NET 4.6. I'm having trouble getting the project to run and I haven't touched a single line of code. As soon as I run the new project I instantly get this screen.

404 未找到

I'm really stumped here because I haven't touched the default code at all. I haven't started a new API project in a while but I remember these working right out the box.

控制器代码

在此处输入图像描述

在此处输入图像描述

Is there something I am supposed to change to get this working?

安装 HTTPS 开发证书更多信息

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM