Questions tagged as 'asp.net-web-api'

2
answers

Prefix (stackify) + Web Api + MVC + EF 5 is not monitoring querys

Good afternoon. Personally, I am not able to use Prefix (stackify) + Web Api + MVC 4 + EF 5, because it is not able to monitor the querys performed and perform the feedback of the information. At the Api Web layer are the access to the applicatio...
asked by 18.04.2016 / 19:29
0
answers

How to use Web api for controllers and MVC for view (Front-end)?

Hello, my problem is the following, I'm doing a test for stage and the guy asked to do an ASP.NET project with mvc only for views, and web api just for controllers and another layer for the bank only that I I could not do the mvc recognize the c...
asked by 22.12.2015 / 00:17
1
answer

Reference error

Hello, I copied a solution from one folder to another and started giving some reference errors, it's an Asp.Net application that has a Web API project. In the original folder the application is running normal, in the folder of the copy when I...
asked by 20.10.2015 / 14:00
0
answers

WebService VB passing parameters to C #

Good morning, We have two systems, one is in VB and the other in C # an identity manager (which serves to unify the login, we will put more systems inside it so that there is only one login user), we have to pass the User and the application...
asked by 10.09.2015 / 16:03
1
answer

Design pattern for WebApi project

I need to create a project with WebAPI to consume some procedures from a remote SQL database, for example: sp_retornaProdutos(1) transforming this to /produtos/1 and returning the result in JSON . I thought about creating mo...
asked by 30.06.2015 / 02:52
0
answers

imacros how to extract just numbers

I have this code ONDOWNLOAD FOLDER=D:\ FILE=media.jpg WAIT=YES TAG POS=1 TYPE=IMG ATTR=ID:adcopy-puzzle-image-image CONTENT=EVENT:SAVE_ELEMENT_SCREENSHOT TAB OPEN TAB T=2 URL GOTO=http://2captcha.com/imacros.html TAG POS=1 TYPE=INPUT:TE...
asked by 09.04.2015 / 01:46
1
answer

MVC WebApi Ajax error only on homologation server

I have a page in mvc that calls a method in webapi (another project inside the solution), it happens that in localhost everything works normally, when it goes homologation, when calling the method in api, it excute everything correctly, does wha...
asked by 08.06.2014 / 03:58
1
answer

Send C # API file

I have an MVC application in C # which is a WEb system. And I have a C # API that receives calls from the Site. I need to send a file from the Site to the API, I made the code as follows: Site Code submitting to the API controller public...
asked by 01.10.2014 / 16:26
3
answers

Remove space and string breaks in string

I'm doing a WebAPI that generates an XML, this XML is read several times a day, so on the first run it serializes all my XML and saves it to disk, and for 24h it reads from the disk instead of serializing the entire object again. I do this be...
asked by 05.05.2016 / 21:09
2
answers

doubt to consume api

I have the following service: [HttpGet] [Route("save")] public async Task<dynamic> save(VendaModel[] venda, string CnpjEstab) { dynamic retorno = null; VendaModel ultima = new VendaModel(); //TODO...
asked by 01.12.2018 / 18:03