Git Product home page Git Product logo

desarrollo-aplicaciones-web's Introduction

desarrollo-aplicaciones-web

Curso de desarrollo de aplicaciones

Clase 9 y 10

Para la clase de semana 10 el profe instaló axios en Windows. Esto se realiza ingresando a la carpeta del proyecto: ./wk09/wk09/ y hacer click derecho en la carpeta ClientApp y elegir la opcion de abrir con VS Code, luego ir a la terminal para poder instalar paquetes que se necesiten, esto es más fácil de este modo que el dolor de cabeza desde Visual Studio 2019.

Se instala el paquete axios por medio de npm

  npm i bootstrap reactstrap axios

Una vez hecho esto se puede continuar con el proyecto.

Base de Datos Comercio

Se debe tener instalado en MSMSS la base datos Comercio para que pueda funcionar con su respectivo string de conexion.

  • Abrir el archivo del proyecto appstettings.json
  • Agregar la siguiente línea de JSON al archivo para crear la conexión. Agregar al final del archivo dentro de la estructura JSON.
  • Sustituya DESKTOP-VGVS681\\SQLEXPRESS por el nombre de instancia que provee MSMSS al final de la instalación (puede verse haciendo click derecho en la conexión y luego propiedades (el primer row será el nombre conexión, en mi caso es esta)).
  "ConnectionStrings": {
    // En este caso al ser un diseño local, se debe usar el nombre completo del servidor local y no usar "localhost"
    "Conexion": "Server= DESKTOP-VGVS681\\SQLEXPRESS; Database= Comercio; Integrated Security = SSPI;"
  }

Archivo completo

  {
  "Logging": {
      "LogLevel": {
      "Default": "Information",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information"
      }
    },
  "AllowedHosts": "*",
  "ConnectionStrings": {
    // En este caso al ser un diseño local, se debe usar el nombre completo del servidor local y no usar "localhost"
    "Conexion": "Server= DESKTOP-VGVS681\\SQLEXPRESS; Database= Comercio; Integrated Security = SSPI;"
  }
}

desarrollo-aplicaciones-web's People

Contributors

hikhuj avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.