I went to test the Single Page Application, using the visual studio template. Well, I created the project and did nothing, nothing at all, I just created the project and rode it and when running it gave me this error:
Severity Code Descrip...
I created an API using entity framework, the connection is ok, but when I update the data in the database, qlqr one of the fields, the Json in the API does not change.
How to resolve this type of update?
I'm having difficulty deserializing a JSON. I'm getting the following content:
"response":{
"account":{
"name":"Evandro Teste",
"owners":[],
"creationDate":"2017-07-07T07:18PDT",
"city":"Guarulhos",...
I installed Unity for DI and by NuGet is giving an error, which I do not understand, it seems to me that it points to NewtonSoft, see the error below:
Install-Package: An error occurred while retrieving package metadata
for 'Newtonsoft.J...
Scenario:
I have a WebApi that runs a method on my service layer that executes a query either returns 500k result lines, containing 90 columns.
Method that queries and traverses results:
using (var command = Session.Connection.CreateCo...
I need some help with running a POST. Well, when I try to call my API ( link ) to execute a Post, I can not pass the JSON for her.
The following is the API used:
// POST: api/Teste
public void Post([FromBody]string json)
{
ClassRetorn...
I have a web service api where a query is made to the database through nhibernate, but when returning the object, its referenced properties are overwritten, I believe it's because of the nhibernate proxy.
HowcanIbedoingtofixthisproblem?Follo...
I'm developing a Restful application with PHP , I need to make an authentication mechanic on that system so that client applications can consume their data.
What techniques can be used to authenticate to Restful ?
I'm having trouble mapping the category within a product, when I'm ready the products the category ( virtual class ) comes empty, even with CategoryId filled.
Product
public class Product
{
public Product()
{
th...
Today, communication between applications, mobile and / or other devices is growing.
.NET provides Asp.net MVC and Asp.net WebAPI (to date, stable version).
Commonly Asp.net MVC returns Views , although WebApi...