Entity Framework Example with Unity Dependencies Injection
- Bajar el código.
- Restaurar paquetes de nuget
- Abrir Propiedades del proyecto Service/Servicio. En la pestaña Web, crear un Directorio Virtual que corra con IIS Express, con URL http://localhost:4598/Example
- Guardar cambios
- Compilar
- En SQL Server Management Studio, conectarse al server local y correr el script de la solución que se encuentra en Documents/DBScript/EntityFrameworkExampleDB
- En el caso de que el server donde se corra el script precise de algun usuario con seteo de seguridad, configurarlo en el Connection String "ExampleConnection" que está en el archivo Web.Config del Proyecto Service/Servicio. Actualmente, el connection string está configurado para hacer referencia a la base "EntityFrameworkExample", que corre en el server local "usuario-pc", y se loguea con credenciales de Windows.
- Importar el ambiente local, que se encuentra en Documents/Postman/LocalhostEnvironment
- Importar la colección de Postman, que se encuentra en Documents/Postman/ExampleServiceCollection.json
- Corriendo la solución, probar los 2 endpoints (Get y Update), apuntando al ambiente "Localhost" importado en el punto 1