由于URL MVC导致的脚本问题 [英] Script issue due to url ASP.NET MVC

查看:73
本文介绍了由于URL MVC导致的脚本问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好



我认为脚本加载存在一些问题,让我解释一下



我在visual studio 2012上打开我的网站,并使用默认的Web服务器进行调试,所以它的显示网址如下:http:// localhost:1119 / 220716_Filter_Home / faq.html

所以脚本工作正常

但是现在我使用MVC创建了这个相同的站点并在Visual Studio 2015上运行

这是使用IIS Express进行调试所以它的url就像:http:/ / localhost:53380 / FAQ



框架是4.6.1和MVC版本5.2.3.0



和脚本在这里不工作

请告诉我有什么问题

谢谢



什么我试过了:



i试图覆盖网址,但没有得到与覆盖相关的内容

Hello

I think there is some issue with script loading, let me explain

when i am opening my site on visual studio 2012 and its using default web server for debugging so its showing url like : "http://localhost:1119/220716_Filter_Home/faq.html"
so script working fine
but now i have created this same site using MVC and running it on Visual Studio 2015
which is using IIS Express for debugging so its url is like : "http://localhost:53380/FAQ"

framework is 4.6.1 and MVC version 5.2.3.0

and script is not working here
Please tell me what is the problem
Thanks

What I have tried:

i was trying to overwrite the url but not getting something related to overwrite also

推荐答案

你好朋友,

您可能会错过脚本或者您可能无法在v中添加脚本s 2015。
Hi friend,
You may be missed script or you may not be add script in in vs 2015.


这篇关于由于URL MVC导致的脚本问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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