Questions tagged as 'asp.net-mvc'

1
answer

Autocomplete does not show results in input in View

I've seen other cases in some answers here, tried to follow in the footsteps of other answers and it did not help at all! I'm having a question, this is my first time using autocomplete of jquery , I'm new to asp.net mvc ! I w...
asked by 20.01.2015 / 14:48
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
3
answers

Fill string with zeros [duplicate]

How to check and fill a string if its size is less than a condition? For example, I always need to have a string size of 8 or 9. If the string is larger I give a substring by taking only the first 9 characters. If it is smaller, I need to fill...
asked by 12.04.2018 / 16:41
2
answers

ASP Classic runs on ASP.NET server?

I have a whole site made in Classic ASP and hosted by a provider. My client - who is a multinational - wants to put their website inside the company's global server and the directive that came from outside says the server runs ASP.NET. My...
asked by 12.01.2016 / 19:43
1
answer

The ADO.NET provider with invariant name 'MySql.Data.MySqlClient' is either not registered in the machine or application config file

I have a project in MVC, and wanted to connect to the MySql database. I put this connectionStrings . <add name="Contexto" connectionString="server=127.0.0.1;User Id=xxxxxx;password=xxxxx;database=iesb_site" providerName="MySql.Data.My...
asked by 21.02.2017 / 15:31
1
answer

Is it possible to use composite key for Entity Framework with Model First?

I have the modeling down and I need to map composite keys as the embedded id of hibernate, but in the entity framework using the model first, is it possible?     
asked by 30.10.2015 / 22:48
3
answers

Inheritance in EntityFramework

I have a parent class DadosClientes and two child classes DadosClientesPF , and DadosClientesPJ . The DadosCliente instance has the field: Nome , Telefone The instance DadosClientePF has the fi...
asked by 07.04.2015 / 15:49
2
answers

IIS directory list instead of opening the page

I created a site in Visual Studio 2017, I clicked to publish it and copied the files to the InetPub / wwwroot folder However, instead of the page being displayed, the url is returning the list of files from within the folder: Howtofix?Fol...
asked by 20.06.2017 / 22:11
3
answers

Site in C # and MVC too slow

I developed a site in MVC and C #, but after deploying to the Gogaddy server I have noticed that the first access is very, but very slow. I almost check if there is a logged-in user, if I do not, I redirect to the login screen for access....
asked by 28.07.2015 / 01:22