我的mvc项目中的错误 [英] error in my mvc project

查看:95
本文介绍了我的mvc项目中的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用asp.net mvc制作新项目并开始学习它(asp.net mvc2 web应用程序)(不是空的)

但是我不知道哪个页面是我项目的起始页面当我运行它?

默认哪个页面是我的起始页?

我不知道mvc项目是如何工作的?









i更改开始页面和运行项目但是我得到了文本的错误

''应用程序中的服务器错误。

无法找到资源。

描述:HTTP 404.您要查找的资源(或其依赖项之一)可能已被删除,名称已更改或暂时不可用。请查看以下网址并确保拼写正确。



请求的网址:/ Views /Home/Index.aspx



版本信息:Microsoft .NET Framework版本:4.0.30319; ASP.NET版本:4.0.30319.1

我能做什么?

i make new project with asp.net mvc and start to learn it (asp.net mvc2 web application)(not empty)
but i do not know which page is my start page in project when i run it ?
by default which page is my start page ?
and i do not know how mvc project work?



also
i change start page and run project but i get erorr with text
"Server Error in '/' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested URL: /Views/Home/Index.aspx

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1 "
what i can do?

推荐答案

您需要首先了解MVC的工作方式,以及在本论坛中解释的太大的主题。以下是一些可能对您有帮助的链接。



http://www.asp.net/mvc/tutorials/older-versions/getting-started-with-mvc/getting-started-with-mvc -part1 [ ^ ]

http: //www.asp.net/mvc/overview/getting-started [ ^ ]
You need to first understand how MVC works and its too big a topic to explain in this forum. Here are few links which might help you.

http://www.asp.net/mvc/tutorials/older-versions/getting-started-with-mvc/getting-started-with-mvc-part1[^]
http://www.asp.net/mvc/overview/getting-started[^]


这篇关于我的mvc项目中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆