Questions tagged as 'asp.net'

1
answer

404 Can not find feature

I've copied a solution from one machine to another, I've resolved all dependencies, it does not contain building errors, but, all css, js, and etc files get a 404 error I'm running the application in debug mode! My application previo...
asked by 19.01.2018 / 21:06
0
answers

Connection to ASP.NET CORE 2 database

I'm starting with asp.net, but specifically with asp.net core 2. I am reading the documentation contained in docs.microsoft.com. However, I have a question. How do I connect to a DB? In PHP I use PDO, but in ASP.NET core 2 I use what?...
asked by 26.01.2018 / 21:28
1
answer

Can not serialize member * because it is an interface

Personally I ran into the above error when trying to create a webservice and I'm having difficulty interpreting and treating it. Detailing what I did: Within a InpartSaude.WebApi.Api project in one of my controllers I...
asked by 24.01.2018 / 20:50
0
answers

Is it possible to create pager in a view-component? (Asp.net MVC View-Component)

I have a view with a view-component that lists various news. I want to make a pagination of this news within this view-componet. The page should be within view-component, how do I make this html call / update / request only the view-componen...
asked by 23.01.2018 / 20:18
0
answers

Android application failed to connect to HTTPS server (self-trusted certificate)

I'm passing a portal from my company to https. We also have an application that connects to the database and the like through controllers . For login we use IFormsAuthentication . In http, the sign in is done without any problem, how...
asked by 17.01.2018 / 12:38
0
answers

How to write from the popup to the parent page?

I'm doubtful in the following situation, I'm returning a PDF to popUp (son page). I would like to close this Popup and Write (Write (pdfDoc) on the parent page) //A propriedade ContentType especifica o tipo de conteúdo HTTP para a resposta. /...
asked by 17.01.2018 / 12:56
0
answers

Website slowness when using SignalR for notifications

Good morning, I'm developing a site to run in local intranet format on IIS . With asp.net ADO technologies in the WebForms format, I'm using the SignalR library to monitor a simple table in SQL Server Express vi...
asked by 13.01.2018 / 13:21
0
answers

SignalR Can not read property 'MyHub' of undefined

Good afternoon, I'm trying to apply the SignalR library to a site with Master page in .aspx WebForms, but I'm getting error reading the Hub file. I can not get the site to see such a file. I've run into a website without MasterPage and it works...
asked by 10.01.2018 / 18:31
1
answer

HTTP Error 500.19 when running local host application

I have an application that was running with IIS express, I formatted my machine and now I get this error when running the application! Unable to read configuration file. I know the path is wrong C: \ Users \ bigant \ Documents \ My W...
asked by 16.01.2018 / 20:24
1
answer

How to avoid having to refer to EF?

Hello, everyone. I basically have a data access layer with EF6 and a presentation layer (Asp.Net WebApi). I am not able to make it work without the presentation layer referring to EF. Does anyone know how to solve this? My solution is curr...
asked by 16.01.2018 / 18:51