Unable to start debugging on the web server. Connection Refused

No se porque ocurre.
Se puede solucionar creando un website en otro puerto, e indicarle en la ficha Web, dicha url

ej:

localhost:8083/SitioWeb

Fileupload con bootstrap - soporta multiples archivos

1. Instalar
        bootstrap
        fileinput (de http://plugins.krajee.com/file-input)
        jQuery

2. Agregar las referencias

<link href="/FileUp2/Content/themes/base/jquery-ui.css" rel="stylesheet"/>
<link href="/FileUp2/Content/bootstrap.css" rel="stylesheet"/>
<link href="/FileUp2/Content/bootstrap-theme.css" rel="stylesheet"/>

<script src="/FileUp2/Scripts/jquery-1.12.4.js"></script>
<script src="/FileUp2/Scripts/bootstrap.js"></script>
<script src="/FileUp2/Scripts/bootstrap-fileinput/js/fileinput.js"></script>


3. Agregar el codigo a la vista:

<div class="file-loading">
    <input id="input-44" name="input44[]" type="file" multiple>
</div>
<script>
$(document).on('ready', function() {
    $("#input-44").fileinput({
        uploadUrl: '/FileUp2/Archivos/Subir',
        maxFilePreviewSize: 10240
    });
});
</script>


4. En el controller llamado Archivos, agregar el método Subir:

[HttpPost]
public ContentResult Subir()
{
HttpPostedFileBase hpf = null;

foreach (string file in Request.Files)
{
hpf = Request.Files[file] as HttpPostedFileBase;
if (hpf.ContentLength == 0)
continue;

string savedFileName = Path.Combine(Server.MapPath("~/App_Data"), Path.GetFileName(hpf.FileName));
hpf.SaveAs(savedFileName); // Save the file                
}
// Returns json
return Content("{\"name\":\"" + hpf.FileName + "\",\"type\":\"" + hpf.ContentType + "\",\"size\":\"" + string.Format("{0} bytes", hpf.ContentLength) + "\"}", "application/json");
}

Grabar multitrack con Ableton Live

1. Agregar los instrumentos que se van a utilizar.

2. Armar el instrumento que se quiere grabar (si se quiere grabar de mas de una fuente en simultaneo, hacer click con la tecla ctrl presionada)

3. Cambiar a vista de Arrangement

4. Presionar el boton grabar, y luego el boton play para comenzar.



Modelo llega en null

Si se está recibiendo el modelo en una variable cuyo nombre es igual que el de alguno de los atributos, el ModelBinder falla, porque trata de asignar un tipo de datos simple a uno complejo

Ejemplo:

    public class ImpresorasViewModel
    {
        public List<ImpresoraViewModel> ListaImpresoras {get; set; }
        public ImpresoraViewModel Impresora { get; set; }

        public ImpresorasViewModel()
        {
            this.ListaImpresoras = new List<ImpresoraViewModel>();
            this.Impresora = new ImpresoraViewModel();
        }
    }

Si el ActionResult esta definido así:

[HttpPost]
public ActionResult AgregarImpresora(ImpresorasViewModel impresora)

Esto falla, porque esta intentando recibir un parametro llamado impresora, mientras que en el modelo ya hay un parametro que se llama impresora.

Cambiandolo asi, queda funcionando:

[HttpPost]
public ActionResult AgregarImpresora(ImpresorasViewModel modelo)


Your model has a property named Asmenys_info and the parameter in your POST method is also named asmenys_info. Internally the DefaultModelBinder reads the values of the form data which includes a value for Asmenys_info and attempts to set property Asmenys_info to that value but it fails because there is no conversion from a string to a complex object.
Change the name of the parameter to anything other than a name of a property in your model and it will bind fine, for example
[HttpPost]
public ActionResult Index(AsmenysInfoViewModel2 model)

Ver password de router adsl

Abrir centro de redes y recursos compartidos / Propiedades inalambricas / Seguridad / Mostrar caracteres

En windows 10:
Inicio/Ejecutar

ncpa.cpl
click derecho sobre la conexion / Estado
propiedades inalambricas
seguridad
mostrar caracteres

Configurar Framework 4.5 en Windows 10

En windows 10 por defecto no viene habilitado el framework 4.5

Para habilitarlo:

dism /online /enable-feature /all /featurename:IIS-ASPNET45

Sony Vegas se cuelga luego de hacer el render

Desactivar el setting GPU Acceleration:

Options / Preferences / Video / GPU Acceleration (ponerlo en Off)

PARA HACER RENDER UTILIZAR Sony AVC/MVC

Focusrite Scarlett no funciona en windows 10

1. Desinstalar todos los drivers de focusrite que esten en el sistema

2. Instalar el driver desde esta dirección:

https://d2zjg0qo565n2.cloudfront.net/sites/default/files/focusrite/downloads/20940/scarlett-solo-3.1.10-221.exe


Caracteres especiales en lugar de tildes al leer un archivo

Si aparecen caracteres especiales en lugar de los tildes, se soluciona utilizando este encoding:

var f = new System.IO.StreamReader(path, Encoding.GetEncoding("iso-8859-1"));

Datepicker - configuración correcta

ViewModel

[Required(ErrorMessage = "Debe ingresar la fecha de comienzo del proceso amortizante")]
[Display(Name = "Fecha de comienzo")]
[DataType(DataType.Date)]        
public DateTime ComienzoAmortizacion { get; set; }


View

@Html.TextBoxFor(x => x.ComienzoAmortizacion, "{0:dd/MM/yyyy}", new { @class = "fecha", @id = "fechaAmort" })


Layout

<script>         
   $(function () {
      $(".fecha").datepicker($.datepicker.regional["es"]);

      $.validator.addMethod('date', function (value, element) {
            if (this.optional(element)) {
               return true;
            }
            var valid = true;
            try {
               $.datepicker.parseDate('dd/mm/yy', value);
            } catch (err) {
               valid = false;
            }
            return valid;
      });

      $('.fecha').datepicker({ dateFormat: 'dd/mm/yy' });
   });
</script>