Questions tagged as 'c#'

1
answer

how could I run the ashx service with asp.Net c #?

Hi, I'm working on asp.net c # web, run this aspx service so use this xml code, without redirecting DateTime DiaActual; DiaActual = DateTime.Now; String VariableEnviar; String Obteneyear; String Mes; Stri...
asked by 07.07.2018 / 16:26
2
answers

Someone can explain this LINQ of C # (more than all the "!" sign and contains) and convert it to a SQL Server Query [closed]

q = (from c in db.CopiasDelLibro where c.LibroId == idLib && !(from a in db.AlquileresDelLibro where a.FechaRealDevolucion.Year == 1900 select a.CopiaDelLibroId).Contains(c.Id)...
asked by 31.07.2018 / 03:15
2
answers

Read text block of a file

I have a problem, I want to read all the SELECT of a file. The SELECT must be all separated. The SELECTs are all separated by a space. All SELECT should be stored in a ARRAY or in a IEnumerable . Something like that I want to d...
asked by 05.07.2018 / 13:06
1
answer

Async page in aspx

I am developing a web page with .NET I have a method to send emails which I want to do asynchronously. So far everything has been done correctly, but in the design of the .aspx views I have the following problem. I have a MasterPage struct...
asked by 05.07.2018 / 08:07
1
answer

Problems with the "Autorize" tag in asp.net core 2.1

I have been using ASP.NET Core 2.1 and when accessing as an unauthenticated user I have decided to use the [Authorize] tag in the controller, the tag works perfectly, however, when performing the redirection, access the following url: h...
asked by 08.07.2018 / 22:10
1
answer

Can not be implicitly converted from double to int. There is already an explicit conversion

error en la linea    edges [(i)] = Math.Sqrt (aux11 + aux12 + aux13);        public static void distance (int x, int n)              { for ( int i = 0; i <= n - 1; i++) { noditos[i] = i; if (i ==...
asked by 27.09.2018 / 12:57
2
answers

Push notifications in xamarin with php

Friends we are working on an app in xamarin.forms cross platform, the issue is that you want to implement push notifications for both the android project and the ios, the issue is that you are not working with the notification service of azure,...
asked by 27.09.2018 / 20:18
1
answer

API with ASP.NET, running a POST sends blanks

Hi, I'm pretty new to this .net and had to create an API to make a simple record, create it using the sig. video link The API works I can do the GET, POST, PUT but note that when I do a POST the data is saved with a lot of blank spaces, exa...
asked by 27.09.2018 / 23:16
1
answer

I can not make a Redirect towards an external url

I am creating an action filter to validate certain data in which, if followed, it follows the normal flow of the application, but otherwise it must be redirected to an external url. So far I have been doing tests and nothing has worked for me...
asked by 26.06.2018 / 13:09
1
answer

Pass the value of a Label to another aspx page with c #

How can I pass a Label variable that stores a name to another aspx page called Registers? I open the Records page by means of a button like a pop-up window: protected void Ver_Click(object sender, EventArgs e) { string vtn = "window.open(...
asked by 26.06.2018 / 15:16