خرید بک لینک

Vote count: 0

Am using Angular1.5 with asp.net mvc.

By default when my application loads it points to http://domaiame/components/Webui/Home/Instructions

Home - controller, Instructions - Action

 public class HomeController : Controller
    {       

        public ActionResult Instructions()
        {
            retu View();
        }
    }

above url retus an html

which contains below

<div>
<div ng-include src="app/Layout/shell/Shell.html" class="height100">

</div>
</div>

But it is not able to download the shell.html. it is generating the wrong url as below

http://domaiame/components/Webui/Home/app/layout/shell/Shell.html

In the above url why Home is coming ?

My folder structure is

app
  layout
     shell
        Shell.html
Controllers
Views
  Home
     Index.cshtml
     Instructions.cshtm

Please correct me if anything is wrong.

asked 2 mins ago

برچسب: نویسنده: استخدام کار تاريخ: سه شنبه 14 ارديبهشت 1395 ساعت: 20:31

صفحه بندی