Posts by vini91 • 13 points
5 posts
-
0
votes1
answer23
viewsA: Areas - How to make a directory appear before Controller/Action/ on the route?
I resolved. I used the following route: routes.MapAreaRoute( name: "areas", areaName: "Gerencial", template: "Gerencial/{controller=Produtos}/{action=index}/{id?}"); The URL went the way I wanted it…
-
0
votes1
answer23
viewsQ: Areas - How to make a directory appear before Controller/Action/ on the route?
Hello. I created a web project ASP.NET MVC Core in the Visual Studio 2019 and I created an area called Managerial. Inside it, in the Views folder I created a subfolder called Products and put some…
-
0
votes1
answer351
viewsQ: Error trying to open SQL connection - Server Version - System.Invalidoperationexception - Connection is closed
Hello. When trying to open a connection using the class SqlConnection of lib SqlClient my class conexao - formerly null - is as follows: That class conexao is the type SqlConnection and receives the…
-
0
votes2
answers85
views -
1
votes2
answers85
views