Posts by Alexander Leão dos Reis • 175 points
13 posts
-
0
votes0
answers103
viewsQ: Error while accessing external.js file
I have a page in ASP.NET MVC and inside the Body tag I need to put the following javascript: <script type="text/javascript" async…
-
4
votes1
answer1107
viewsQ: A3 Certificate in ASP.NET MVC and IIS
I have an ASP.NET MVC4 application and use the following code to read the A3 certificate (reader or USB stick) of the user: var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);…
-
0
votes2
answers475
viewsQ: Is it possible to run ASP.NET MVC without IIS?
It is possible to run an ASP.NET MVC application without IIS? I wanted the user to be able to run this ASP.NET MVC application without having to configure IIS, I found this link, but I didn’t…
-
4
votes1
answer48
viewsQ: Html.Editorfor losing value when rebooting the page
am starting my html.editorfor with "0.00" like this: @Html.EditorFor(model => model.Preco, new { htmlAttributes = new { @Value = "0,00"} }) However, when the user receives a validation message…
-
1
votes1
answer126
viewsQ: ASP.NET MVC Default Page
Guys I have an ASP.NET MVC app with FormsAutentication and I’m having a hard time leaving a controller as home page. I have already released on web.config, but it still doesn’t work. The controller…
-
1
votes1
answer187
viewsQ: Show div on onclick independent of clicked button
I know little of javascript and on my page I have a button that, when clicked, calls a div. So far so good, but the function takes the id button, ie if I put more than one button on the page and…
-
0
votes2
answers381
viewsQ: ASP.NET MVC with Formsauthentication
I have an Asp.net MVC application with Formsauthentication, but the need arose to release a page for the visitor of the site or a page is released for everyone and the rest of the controllers falls…
-
0
votes1
answer139
viewsQ: Controller get checkbox list from a view
I have a Partialview where I upload a list of my object and put a checkbox so the user can mark which list item he wants to save, so I don’t know how the controller can "know" which check in is…
-
0
votes1
answer197
viewsA: Dynamic ASP.NET MVC menu
I found a solution as follows: I read my objects with foreach and I was assembling the menu html in a Stringbuilder, I switched to Stringbuilder for a viewbag. In the view I read the viewbag like…
mvcanswered Alexander Leão dos Reis 175 -
0
votes1
answer197
viewsQ: Dynamic ASP.NET MVC menu
I am new in MVC and need to make a dynamic menu, but I do not find solution (web Forms was easier rs). I have 3 models (Menu, Submenu1 and Submenu2) I need to go through these objects and mount the…
mvcasked Alexander Leão dos Reis 175 -
1
votes1
answer355
viewsQ: Automapper and Viewmodel with equal fields
I have a Viewmodel (UsuarioGrupoViewModel) where I will show user and group data in the same View. The problem is that both the User entity and the Group entity have the Name field, how do I handle…
asp.net-mvcasked Alexander Leão dos Reis 175 -
-1
votes1
answer934
viewsQ: ASP.NET MVC vs Angularjs with WEBAPI
In a web project (type a "small" ERP, rs) where some companies would manage their branches and there could be several connected users, which would be better in terms of performance and performance…
-
3
votes1
answer514
viewsQ: Entity Methods in DDD architecture
Could you help me with a question. In DDD architecture what types of methods should I put in my Entity and which ones should I put in my Domain Service? I know that in my entity I must put at least…