Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Can not see index.html MVC 6.

$
0
0

Hello,

I wanna connect the AngularJS to a web service written with ASP net 5 with MVC 6.0. I just follow this tutorial to manage this nice combinations:

http://stephenwalther.com/archive/2015/01/13/asp-net-5-and-angularjs-part-2-using-the-mvc-6-web-api

the web service is working very nice, I can get the model from web service. But the ASP .net can not see index.html. I though that the routing is a problem.

the structure is of my project is as follows:

My startup.cs is as follows:

public class Startup

{

// For more information on how to configure your application, visit http://go.microsoft.com/fwlink/?LinkID=398940

public void ConfigureServices(IServiceCollection services)

{

services.AddMvc();

}

public void Configure(IApplicationBuilder app)

{

app.UseMvc();

}

}

Thank you for your help and supports.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>