All Questions

1
answer

Many Update to Many Entity Framework C #

Good morning, I'm having trouble updating a record with entityframework, I'll tell you the whole structure below. In short, I have a register of artists, where these artists are related to address and categories. An artist can have an addr...
asked on 02.02.2016 / 15:02
1
answer

Query user data logged in Windows Authentication

In my application I use authentication mode="Windows" as a form of authentication. In this way, I can know the user name, referring to the field in the AD and the domain of the user using HttpContext.Current.User.Identity.Name ,...
asked on 27.05.2015 / 15:47
3
answers

How to use GestureDetector?

I would like a practical example for this method, as I want it to detect motion to the left executes a command and if it is to the right executes another command. Searching the net found this code seems to be working, however it does not sens...
asked on 14.05.2015 / 19:51
2
answers

What to do when a model has N responsibilities

My system exists a class that is currently a common class for various situations, below some of the other models to exemplify public class Servico { public int Id {get;set;} public string Nome {get;set;} public decimal? Valor {get;set...
asked on 25.11.2015 / 04:55
1
answer

Deploy with GIT x Deploy with Gulp

I still can not figure out what the best deploy of a site is. I explain the way I'm doing: GIT I started a local repository I hosted my repository on some service like GitHub / Bitbucket I joined the server via SSH and clone the dir...
asked on 09.07.2015 / 13:34
2
answers

Table does not appear in EDMX models

I have a problem in an application that I'm developing, I created the templates using the ADO.NET Entity Data Model. But a specific table is not showing up below the script I'm using to create the table, it's created and it works but no templ...
asked on 15.11.2015 / 17:53
2
answers

How to check if the document marking is HTML5?

I'm creating a plugin and I need to know if the document is written in HTML5 or not. I thought of using document.doctype , but I'm not sure what to compare it with since it compares with '<!DOCTYPE html>' false, because it'...
asked on 19.08.2015 / 22:26
1
answer

Correct method to write to WEB API?

I did a test using a method this way, test using PostMan is worked, I wanted to know if this way I can have some problem. No Controller //http://localhost:1608/api/ApiGuiaCidade/cadastrar/cliente/jose/02-02-2015/[email protected]/124546 [Ht...
asked on 07.12.2015 / 01:10
1
answer

Ajax function does not pass through success

My role calling my web service var email = document.getElementById("email").value var senha = document.getElementById("senha").value $.ajax({ url: "http://localhost:8080/Servidor/rest/service/loginCustmerUser/"+ email...
asked on 08.09.2015 / 23:53
1
answer

Dropdown with right image

I'm using Bootstrap to make a bar at the top of the page, and I'm having a problem: What I need is to open the dropdown, have a list of options, and an image next to it that always has the same size as the list below. I achieved this by se...
asked on 18.09.2015 / 19:58