Questions tagged as '.net'

0
answers

Consume WebService asmx with Android

I'm trying to get SOAP provided from a local asmx webservice in my android emulator. On my PC the result is the following: Intheemulatorhowever,Itriedtoopenitinyourbrowserintwoways:UsingthefollowingURL:  10.0.3.2:49498/WebServiceApp.asmx/Obte...
asked by 01.05.2015 / 21:22
1
answer

Uncaught Error: [$ injector: modulerr] - Asp.Net MVC

I'm having trouble loading the controller data into Angular. I do not understand, I followed the explanation step by step and I gave this error. var app = angular.module('app', []); app.controller('clienteController', ['$scope', '$http', cl...
asked by 08.10.2015 / 16:12
1
answer

WinSock (VB6) vs Socket in C #

I have a code in VB6 that uses MSWINSCK.OCX to send commands to an equipment, the code is below. But I have to switch to C # and am attempting to use the Sockets class, the problem I'm facing is that the C # program, using Sockets, is not gettin...
asked by 07.10.2015 / 21:23
1
answer

Process does not close in the task manager

I have the following code snippet to close my winform application: private void frmAgent_FormClosing(object sender, FormClosingEventArgs e){ if (MessageBox.Show("Deseja realmente fechar o sistema?", "Atenção!", MessageBoxB...
asked by 28.01.2015 / 13:17
0
answers

Decrypt xml file passing the certificate password

I need to decrypt an XML file, but I've already passed the certificate password. I can do similar actions, like signing the file without the certificate driver asking for the password. Following: SecureString senha = new SecureString(); foreac...
asked by 23.01.2015 / 12:03
0
answers

Calling a javascript function to execute a logic with data I extracted from html

I'm getting some data from an html and I need to call a Javascript to generate a parameter with the data I got in html. How do I call Javascript to execute its logic with extracted data within a class? Javascript is below. Note that the progr...
asked by 05.02.2015 / 19:32
0
answers

"Asp.Net Development Server Runs" does not close at the end of execution

Asp.Net Development Server Runs remains open in systray . I'm using Visual Studio 2010. 1 - Is this normal behavior? 2 - Can this be a problem? 3 - Could you work around the situation?     
asked by 26.11.2014 / 18:47
1
answer

How do I test methods of HtmlHelper, AjaxHelper, and UrlHelper?

I wrote some extensions to the MVC helpers. The problem is that I do not know how to do to test these methods since I do not have these objects in a test drive. How do I test the methods I've created?     
asked by 27.12.2013 / 23:17
1
answer

Problems converting Session to Class in C #

I have the following variable List<MyFile> xmlDisponivel = new List<MyFile>(); This variable is a list of the following class public class MyFile { public string FileName { get; set; } public string FilePath { get; set...
asked by 21.02.2017 / 15:32
2
answers

Is it possible to run ASP.NET MVC without IIS?

Is it possible to run an ASP.NET MVC application without IIS? I wanted the user to run this ASP.NET MVC application without having to configure IIS, I found #
asked by 29.08.2016 / 21:12