antonioortizpola / cero-uno-c-sharp-architecture Goto Github PK
View Code? Open in Web Editor NEWCerouno material for course "C# Core" in "Architecture and best practices" week
Home Page: https://cerouno.io/
License: MIT License
Cerouno material for course "C# Core" in "Architecture and best practices" week
Home Page: https://cerouno.io/
License: MIT License
Return 200
Return 200
[
{
id: int,
description: string,
created: date,
modified: date,
status: string (pending|attentionRequired|resolved)
}
]
Receives
{
id: int
}
Return 200
[
{
comment: string,
created: date
type: string (client|bank)
}
]
Receives
{
description: string
}
Return 204
Receives
{
id: int,
comment: string
}
Return 204
Receives
{
id: int,
comment: string
}
Return 204
Receives
{
email: string,
operationCode: string,
password: string
}
Return 200
{
email: string,
token: string
}
Or a 400 if wrong access data is received
Receives
{
account: string,
operationCode: string
}
Return 204
Or a 400 if is not valid
Receives
{
email: string,
password: string
}
Return 200
{
email: string,
token: string
}
Or a 400 if is not valid
Hi tony!! hope you are fine!
Guest if you can help me into this..
I have been trying to dockerize and app web on .net core 2.1 and vue based, running and working ok on release! ... whathever when i run the docker-composer that is "microsoft/dotnet:2.1-aspnetcore-runtime" based it works until it needs install the the NPM dependencies for the javascript framework and throws.
I have been looking for some questions but it is not clear to me.. meanwhile it is a long process (like 1 hour) for dockerize this until it throws.
this is my dockerfile
FROM microsoft/dotnet:2.1-aspnetcore-runtime AS base
WORKDIR /app
EXPOSE 80
FROM microsoft/dotnet:2.1-sdk AS build
WORKDIR /src
COPY FacturaPrueba/Facturar.csproj FacturaPrueba/
COPY Persistencia/Persistencia.csproj Persistencia/
COPY some five projects more.....
RUN dotnet restore FacturaPrueba/Facturar.csproj
COPY . .
WORKDIR /src/FacturaPrueba
RUN dotnet build Facturar.csproj -c Release -o /app
FROM build AS publish
RUN dotnet publish Facturar.csproj -c Release -o /app
FROM base AS final
WORKDIR /app
COPY --from=publish /app .
ENTRYPOINT ["dotnet", "Factura.dll"]
it is linux based... i have just node and npm install via yarn or apt-get??
that's the correct way? where would i put it in my docker file? figure that the NPM install is in the pipeline of the "Facturar.csproj", it runs when "Facturar.csproj" is building
Thanks Tony!
Return 200
{
supervisorTickets: [
{
id: int,
description: string,
created: date,
modified: date,
status: string (pending|attentionRequired|resolved)
}
],
openTickets: [
{
id: int,
description: string,
created: date,
modified: date,
status: string (pending|attentionRequired|resolved)
}
],
closedTickets: [
{
id: int,
description: string,
created: date,
modified: date
}
]
}
Receives
{
id: int
}
Return 200
[
{
comment: string,
created: date
type: string (client|bank)
}
]
Receives
{
id: int
comment: string
}
Return 204
Receives
{
id: int
comment: string
}
Return 204
Receives
{
id: int
}
Return 204
Return 200
{
id: int,
description: string,
created: date
comments: [
{
comment: string,
created: date
type: string (client|bank)
}
]
}
Receives
{
comment: string
}
Return 204
Receives
{
comment: string
}
Return 204
Return 204
Return 204
It should perform two tasks:
Daniel Aguilar pregunta:
Deseo inyectar una clase de manera Singleton pero ésta clase ocupa un conexto que por defecto es Scope. He investigado un poco pero no me queda claro aún. Cual crees que pueda ser la mejor manera de hacerlo?
Receives
{
username: string,
password: string
}
Return 200
{
name: string,
token: string
}
Or a 400 if wrong access data is received
Return 200
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.