Posts by Carlos Henrique Biazin Esteves • 299 points
11 posts
-
0
votes2
answers339
viewsQ: ASP.net MVC - Save user permissions
I’m developing my first . net MVC application. Usually when working with Web form, after the user logs in his information (name, email, permissions, etc.) was saved in the session. This way, each…
asp.net-mvcasked Carlos Henrique Biazin Esteves 299 -
2
votes0
answers545
viewsQ: MVC - Display messages from the controller
Within my MVC application we have several situations where, depending on the business rules of the function, several messages should be displayed to the user. We are currently using the Jquery…
asp.net-mvcasked Carlos Henrique Biazin Esteves 299 -
0
votes1
answer521
viewsQ: MVC5 - Refresh partial view in ajaxStop
Hello, Within my main layout page (_Layout), I address a partial view that is responsible for displaying messages that have been added by the controlled, through the Toastr javascript library. Code…
-
0
votes2
answers943
viewsA: Send to filled model controller
Douglas Fernandes, I’m making such a mess... see if you can help me. I have two partial view where the registration information is divided. I created a form (html.beginForm) on each snippet to group…
-
0
votes2
answers943
viewsQ: Send to filled model controller
I have on my main page two partial views, each with a specific view model associated, where all fields of the screen are mounted through Razor, as an example below: <div class="row"> <div…
-
3
votes1
answer648
viewsQ: Httpcontext.Current.Session - Null
By a business rule of the project, whenever an object of the type ViewModelBase is instantiated, I need to perform some user profile validations to define which buttons the user will have access to…
-
8
votes1
answer805
viewsQ: Controller returning partial view in a modal
I have a button on my screen that held call to a method on my controller (Ajax) that returns a partialView by default. $("#btn-Visualizar-Rotina").click(function() { var codUnimetPcp =…
-
2
votes1
answer226
viewsQ: MVC - Store user permissions in session using NLB - Network Load Balancing
We are developing an application (intranet) in MVC 4 where authentication is performed through Windows Authentication. When the user enters the application, a call is made to a service that controls…
-
2
votes1
answer213
viewsQ: Set up MVC route
Inside the Controller folder of my MVC project I created a subfolder called Entries, which contains within 1 controller called Entries (home page of the registration module) and the other…
asp.net-mvcasked Carlos Henrique Biazin Esteves 299 -
2
votes2
answers800
viewsQ: Bundle doesn’t work when I publish the site
I’m using the BundleConfig.cs in my project to reference the JS and CSS libraries. Below are examples: bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(…
asp.net-mvcasked Carlos Henrique Biazin Esteves 299 -
0
votes1
answer334
viewsQ: MVC - Keep Partialview loaded when Modelstate is not valid
I have a simple registration screen that, when selected new record, is opened a modal (which is a partialview in the project) for the user to inform the fields for registration. The view call is…