Skip to main content

Posts

Publishing net core app on Heroku

You know that there are no much .Net hosting, so for testing porpuse is somethimes hard to find a way to preview your project. This how to publish a .Net core app(also .Net applications, like mvc, etc) on Heroku Requirements. * an Account on Heroku(and download heroku-cli) * A few knowledge of Docker(this is the approach to publish) download docker-tools for windows * your .Net Core app(create a empty project .net core api if you don't have one) Steps: Create a Docker file at solution/project level: content: FROM microsoft/aspnetcore:2.0.5 WORKDIR /app COPY . . CMD ASPNETCORE_URLS=http://*:$PORT dotnet coolbox.sale.api.dll Compile your project as Release on cmd go to your publish folder(usually: bin/Release/netcoreapp2.0/publish) execute this steps 1. Login on heroku     heroku login 2. login in container     heroku container:login 3. publish api or     dotnet publish -c Release 4. Copy DOCKERFILE to publish directory     ./bin/release/net
Recent posts

Install docker on Oracle Linux 7 Notes

Add the necessary repo to the instance: cd /etc/yum.repos.d sudo vim docker-ce.repo Add these lines on top [centos-extras] name=Centos extras - $basearch baseurl=http://mirror.centos.org/centos/7/extras/x86_64 enabled=1 gpgcheck=0 Save and run the following command    sudo yum -y update  This will prevent: ---> Package docker-scan-plugin.x86_64 0:0.8.0-3.el7 will be installed ---> Package libcgroup.x86_64 0:0.41-21.el7 will be installed ---> Package libseccomp.x86_64 0:2.3.1-4.el7 will be installed --> Finished Dependency Resolution Error: Package: 3:docker-ce-20.10.8-3.el7.x86_64 (docker-ce-stable)            Requires: container-selinux >= 2:2.74 Error: Package: docker-ce-rootless-extras-20.10.8-3.el7.x86_64 (docker-ce-stable)            Requires: fuse-overlayfs >= 0.7 Error: Package: docker-ce-rootless-extras-20.10.8-3.el7.x86_64 (docker-ce-stable)            Requires: slirp4netns >= 0.4 Error: Package: containerd.io-1.4.9-3.1.el7.x86_64 (docker-ce-stable) Instal

Visualizer upgrade does not build for ios

I'm generating ios binaries, using xcodebuild, previously(using kony 8.2.37) was working fine but since this last upgrade to 8.4 I couldn't build:

Sistema de tramite documentario SITD libre

Despues de muchos mensajese interes en este sistema, he decidido hacerlo publico el codigo fuente tambien sera publico, lamentablemente no le di mas actualizaciones al sistema, queda mucho por mejorar y fixes por hacer sin embargo he actualizado el entorno de desarrollo para quienes agrada usar Docker(como yo). Codigo fuente: son libres hacerle cambios y sugerir con pull request. https://bitbucket.org/man13k/sitd/src/master/ descargas: https://bitbucket.org/man13k/sitd/downloads/ OJO. No tiene soporte, este repositorio ya no esta siendo desarrollado dado que estoy pensando que la version 2 sera usando otras tecnologias. Aca los videos del manual de uso: Otras formas de instalar(solo para windows), contiene un archivo word con las guĆ­as necesarias. Instaladores necesarios:  https://drive.google.com/file/d/0B6IuplvwDrIGMmNFVmFOTkRiNVk/view?usp=sharing Descargar las fuentes del repositorio: https://bitbucket.org/man13k/sitd/downloads/ Actualizacion

Public access to your local IIS or local server

Usualy you need to show to your cliente, friend or anyone your website or show what your are doing locally, but you don't have a host yet or do not have enought time to publish it, or just want to show online one change, so this is one of the super power of NGROCK, this program are awesome for developer and I'm pretty sure for more people. What NGROK does is put online your http ports(tunneling) and make it accesible for anyone by a simple URL generated by this tool.

Deploying MVC .Net on Amazon(AWS)

This is a first article about how to deploy a MVC application on Amazon,  --> Requirements:  AWS Toolkit for Visual Studio( http://aws.amazon.com/es/visualstudio/ ) install it before start deploying And application(I've known you got it) Steps: 1.- Create an Account(easy) - there is a free version(12 months) 2.- Follow this article for understand how to deploy        http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_NET.quickstart.html

Getting Team Foundation Server Free Online

VisualStudio has release TFS their service, so using your Microsoft account you could get that service. Steps: go to https://www.visualstudio.com/ LogIn and click on your accout name