I created a project in AspNet WebApi, I added an ADO (DataBase-first) to connect with the Mysql database and created the controller using the 'Controller with read / write actions and views, using Entity Framework' / strong>, when I test in a t...
I have Windows Service that at certain time it does a scan on the machine and performs a backup, to a folder on a server in the network.
The Service is running on the machines perfectly and running the backups without errors.
Howeve...
I'm developing a rest API with Framework Asp.Net Web Api 2 , using Owin .
I have a android application as the client. In case, my system has users and passwords and authenticates normally.
I want to know what to do whe...
My file is coming in this format, but I wish it did not appear this #id before sale:
{
"$id": "1", //como não mostra isso?
"venda": [
{
"$id": "2",
"poule": 73,
"idusuario": 4,
"vendedor": "ITAMAR SOUZA",...
Well, I have the following modules in my project:
Concerts.Console
Concerts.Mobile
Concerts.Core
Concerts.Models
Concerts.WebClient
Concerts.Tests
Basically it is as follows: The Concerts.Core module uses the Concerts.WebClie...
I have the following information in Json:
[
{
"$id": "1",
"Cditemcontacli": 1.0,
"Cdcontacli": 1.0,
"Descricao": "Produto 1"
},
{
"$id": "2",
"Cditemcontacli": 2.0,
"Cdcontacli": 2.0,
"Descricao": "Produto...
Good Night!
I'm studying ASP.NET (I come from java) and I'm a bit confused by all that.
I'm trying to create an endpoint to return the list of clients from my database, however, I can not initialize it at all!
When I run the project, it...
I have this code in Web Api :
[ResponseType(typeof(Menu))]
public async Task<IHttpActionResult> PostMenu(Menu menu)
{
if (!ModelState.IsValid)
{
return BadRequest(ModelState);
}...
Is there any way to vary the value of a JSON? Let's take an example:
I have the following JSON
{
"ISteamClient": 0,
"ISteamFriends": 0,
"ISteamUser": 0,
"IEconItems_440": 0,
"IEconItems_730": 0,
"ISteamGameCoordinato...
I made a service and when I call on the URL , passing the proper parameters, does not work:
Call URL :
http://localhost:9078/api/atualiza/1000012120/teste
My service:
public class AtualizaController : ApiController
{
Auto...