Questions tagged as 'asp.net-mvc-5'

1
answer

How to make editable template in ASP.Net MVC?

I see in many systems (e-commerce mainly) the possibility to edit the system template by changing CSS and HTML documents. Is there any engine or something like that in Asp.net MVC? These codes (CSS, HTML) because they are editable are stor...
asked by 01.10.2014 / 01:02
2
answers

How to use HTML5 data-attributes with Asp.net MVC?

How to use attributes with html5 "-" and other plugins with the html asp.net mvc helper?     
asked by 02.09.2014 / 01:25
1
answer

Convert LINQ to Dapper query

I have a LINQ query where I get the complete data. For performance reasons, I'm converting the query and using Dapper . I have the following entities: public class Cliente { public int ClienteId { get; set; } public strin...
asked by 28.06.2015 / 19:16
1
answer

Calculation of hotel rates in MVC application

Recently I started programming in MVC and I'm full of doubts. I'm developing a hotel reservation system and after spending 3 days trying to calculate the total cost of an unsuccessful reservation, I've decided to ask for help with the code be...
asked by 17.12.2015 / 05:12
1
answer

Contexts unique to authenticated users

Using the method recommended by @Gigano in this response ( Is it possible to leave connectionString dynamically? ), I was able to get a dynamic connection, and using the idea of mapping a context with the user data as the name of the bank, host,...
asked by 01.11.2016 / 19:18
1
answer

What error is this?

I'm trying to change the css of my application in asp.net mvc 5, but when trying to do this I returned that error there. Does anyone know why?     
asked by 20.05.2015 / 21:49
1
answer

How to make a video file available for viewing in the browser as PDF?

How do you make a file available for download and browser viewing? As an example, files of type pdf and mp4 . When I want to make the file available for download, I simply use the following routine: public ActionResult Download(string...
asked by 12.05.2015 / 19:17
1
answer

MVC 5 Validation en-BR client side

I am having difficulty performing date and number validation on the client side using MVC 5 asp.net. Examples and tutorials that I find on the internet are all outdated. I made the modifications as this
asked by 27.05.2017 / 16:13
0
answers

SignaIR - C # - Real Time Response [closed]

I'm using C #, Asp .Net, SQL Server. I have the following question, I am creating a web and mobile application to communicate with a WebApi however I came across the problem of information and / or data in real-time, through searches I found...
asked by 29.12.2015 / 10:28
3
answers

Security with key in asp.net mvc

I wanted to know if there is any way to generate a security key that is tied to the name of the computer on which the application is hosted. Why this? So if by chance a malicious person trying to "steal" the system and host it on another serv...
asked by 25.11.2014 / 19:52