Questions tagged as 'c#'

0
answers

Questions about continuation in C # studies and suggestions for achieving a [closed]

Hello, I am in the 2nd period of the course of SI, however I have been studying C # on my own through the Caleum handout: C # and Object Orientation. I'm really enjoying the language and I want to delve deeper into the platform to get my first...
asked by 05.07.2017 / 19:50
0
answers

Marker Draggable without LongClick

When setting a Marker as a Draggable(true) , you must hold down on it to become "Draggable". I need to simply drag my finger over it as it drags. An example would be 99taxi , which has Marker loosened.     
asked by 05.07.2017 / 22:33
1
answer

How to use a hotmail / outlook account to send email in C #

I'm trying to use an account to send email, with my project in C #, using namespace System.Net.Mail , however I can not authenticate in the outlook server, it throws me the exception:    System.Net.Mail.SmtpException: 'Mailbox not avail...
asked by 28.06.2017 / 21:19
0
answers

Update rate limits at runtime using WebApiThrottle not working

I have a WebApi in ASP.NET MVC and I need to control the access limit, moreover, I need to change the values of the bounds at run time. I have implemented this example on the WebApiThrottle site (section Update rate limits at runtime ) Thi...
asked by 27.06.2017 / 23:10
1
answer

Problems retrieving DB data with Entity 6.1.3 and Web API

I did a test project, called quotation to use the Web API and Entity. Well, I've been to my web.config and created my connection string like this: <add name="CotacaoContext" connectionString="Data Source=Minha_Maquina\Instancia; Initial Cat...
asked by 13.07.2017 / 14:09
0
answers

how to create a Menu with ListView

How do I create a menu with ListView, that is, the person clicks a button, then I click on a text in the ListView when the person clicks on the text opens another form, How do I do this?     
asked by 13.07.2017 / 16:37
2
answers

ViewModel with INSERT on two Controllers

I have two Controllers: 1 - Register the CPF (CPF, Name) 2 - Register the CPF Telephone (CPF, DDD, Phone) ViewModel: using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Component...
asked by 18.07.2017 / 01:19
1
answer

Building XML file using xml Serializer - More efficient way

I am building an XML file whose structure must be nested tags as shown below: Theaboveimageistheoutputtothefollowingcodebelow:publicclassFeeder{publicstringName{get;set;}publicdoubleVMin{get;set;}publicdoubleVNom{get;set;}publicdoubleVMax{ge...
asked by 17.07.2017 / 14:02
0
answers

Working with Entity Framwork and Sql Express Database

I have an application with a connection to the database and I need to create an installer that contains the database script so that it is installed together with the application or at some point in the first execution. How to create an installer...
asked by 14.06.2017 / 21:28
0
answers

How can I use two models in the same view?

I have a View that has a dropdownlist and a text box. This dropdownlist is returning your items from a model. After filling these two objects, I make a request that will bring some results that I want to show below, however I am loading another...
asked by 22.06.2017 / 20:30