Questions tagged as 'rotas'

1
answer

Subdomain does not load styles and scripts

Good morning, 1- I created a new solution in Visual Studio 2012; 2- I created ASP.NET MVC 4 Web Application. I opted for a "BASIC" project, Framework 4.5 and the Razor engine; 3- I created the Home controller; 4 - I created the view...
asked by 13.02.2015 / 11:54
0
answers

ngtest - Routes Angular InjectorError

I'm using the angular route system and everything is ok: export const routes: Routes = [ { path: '', redirectTo: '/login', pathMatch: 'full' }, ... AutenticacaoRoutes, ... UsuarioRoutes, { path: '**', component: Erro404Component...
asked by 13.07.2018 / 21:38
1
answer

Working with app routing in angle

My application starts in AppComponent, in AppComponent I set <router-outlet> </router-outlet> I have defined the following routes: const appRoutes: Routes = [ { path: '', component: LoginComponent } ]; const loginRout...
asked by 13.07.2018 / 18:08
0
answers

Using multiple html pages with the same controller AngularJS + ASP.NET MVC

Using the routes with AngularJS, When you enter the Autor.html page with the /Autor route, all registered authors are listed in a table where a link is created for each author's edition, according to this line of code <a ng-click="s...
asked by 23.11.2017 / 14:16
2
answers

What are routes in ASP.NET MVC?

In ASP.NET MVC I always get the term route when #, however, I started to study APS.NET MVC a short time ago and this term route / strong> this is causing me confusion. Question I would like to know what are routes and what is their p...
asked by 29.10.2016 / 02:41
2
answers

I can not capture ROTA without using index in URL

In short, it only works if I put index.php in the URL. It looks like it's in .htaccess, but I do not know where. I would like to know which setting is incorrect or what I could do to find out my error. Data: Debian (9) Apache / 2.4.25 (Debian...
asked by 28.10.2017 / 18:17
1
answer

Rota Dynamica ActionResult

I have two Controllers: Faculty and Course public class InstituicaoController : Controller { // GET: Instituicao public ActionResult Index() { return View(); } public ActionResult Institu...
asked by 15.12.2015 / 21:09
1
answer

Load controller with hyphen or underline in URL - Codeigniter

I hosted my project made in CodeIgniter 3 on a server using Linux and PHP 7 and I can not load certain links, it gives 404 error. Controller Name Example: Relatorio_Detalhado.php Link in url: http://127.0.0.1/projeto/index.php/rel...
asked by 10.08.2017 / 22:18
1
answer

Call View on Another ASP.NET MVC Controller

I have 2 Controller's HomeController and UserController within UserController I have a method that validates the user.     If it is valid, I want it to redirect to the Index page of the HomeController But when I try to redirect it, it d...
asked by 16.08.2016 / 04:19
1
answer

Improve routes

People have some better way to do these routes? Or for every action in my Controller, will I have to create your routing? app.UseMvc(routes => { routes.MapRoute( "Login", "Login",...
asked by 19.09.2018 / 19:44