Questions tagged as 'c#'

1
answer

EntityFramework 6 - Load Model and its Dependencies on Home

I have a college project in which I decided to do a blog . Something very simple, author, post and comments. only these three. Well First I wanted the home of the project to load the Blog Posts . I got it. Now I want below each post to giv...
asked by 15.05.2014 / 20:32
1
answer

What is the error HTTP Error 403.14?

Well, I have an Api Web, which is configured as follows: WebApiConfig.Cs public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Web API routes config.MapHttpAttributeRout...
asked by 12.12.2017 / 13:31
0
answers

Catching MainActivity Events in App.xaml.cs

I have this in my App.xaml.cs CrossFirebasePushNotification.Current.OnNotificationReceived += (s, p) => { System.Diagnostics.Debug.WriteLine("Received"); }; When I receive messages, that is, have something on pdata...
asked by 02.11.2017 / 01:20
2
answers

Left Join with three or more tables with lambda

I have the following query in SQL : select e.idEstado, e.txtNomeEstado, e.txtSiglaEstado, c.idCidade, c.txtNomeCidade, de.txtH1, de.txtTitulo, de.txtDescricaoEstado, de.txtDescription from tbDescricaoEstado de left join tbCidade c on de....
asked by 14.12.2017 / 13:56
1
answer

Serialize XML and save in Oracle with C # and ADO

I would like to know if there is something equivalent in Oracle for this select in SQL Server: select NickName, ExternalId1 from Basics where externalId1 = @externalId1 for xml auto, elements; And for this select below: sele...
asked by 02.04.2014 / 05:03
1
answer

Redirect to external URL with basic authentication in MVC

I am developing a portal in C # MVC3 and in a given operation I need to open another window in a separate window. To open the page of this new portal I need to send some credentials, since it is implemented with basic authentication. I'd like...
asked by 31.03.2014 / 13:11
2
answers

Change Oracle session to accept number with comma and point in C #

When opening an oracle connection in C# , I need the . and , to behave according to the 0.000,00 rule in a real number. I would like to know how do I change this format in open session in OracleConnection     
asked by 10.04.2014 / 20:08
2
answers

How to avoid the sum of items in my lambda. Result is not as expected

I have this lambda: [Route("getliberaitens/{id}")] public List<LiberacaoItensDTO> GetLibItems(double id) { var lista = contexto.Liberacoes .Join ( contexto.I...
asked by 20.10.2017 / 12:07
1
answer

Audio plays in editor, but not on mobile

I'm doing a narrated game for Android in Unity 5 with C #, I use the following function to pick up the google voice audio. But it works only in the editor, when I have it installed on the phone the audio does not play, I checked if the device ha...
asked by 23.10.2017 / 17:50
0
answers

The form gets stuck / stuck when I click the datetimepicker

I'm developing an application and I've done 90%, but I'm having a problem with the datetimepicker control. Normally its format is long, but I had to change to 'time' and enabled ShowUpDown as true . When I click on the control t...
asked by 26.10.2017 / 14:13