lyquoccuong / eshoponlineapi Goto Github PK
View Code? Open in Web Editor NEWRESTful Web API - using ASP.NET Core, EFCore, SwaggerUI
RESTful Web API - using ASP.NET Core, EFCore, SwaggerUI
=====BEFORE=====
Which part do you want to test ?
=====AFTER=====
Are there any NEW (technical, code,...) ?
Are there any challenges?
Any notes?
1) Describe the requirement
2) What are the ideas for it?
1) Describe the solutions
2) Pros and Cons of this solution
3) Are there any NEW (technical, code,...) ?
4) Is it challenging and difficult to do? Why?
5) Any other notes?
=====BEFORE=====
1) Describe the causes why you need to investigate.
more intensive of NLog
.2) What are the big questions?
mechanism of ILogger<T>
in ASP.Net Core and how to use it.=====AFTER=====
1) Describe the result
2) Any notes?
1) Describe the bug
2) What may be the root causes (prediction)?
1) Describe the solutions (explain the root causes)
2) Pros and Cons of this solution
3) Are there any NEW (technical, code,...) ?
4) Is it challenging and difficult to do? Why?
5) Any other notes?
1) Describe the current situation
(IEnumerable<CompanyDto>)okObjResult.Value
okObjResult.Value
as
IEnumerable<CompanyDto>
2) What are the ideas for it?
3) Is it mandatory/optional? What if I don't enhance?
1) Describe the solutions
2) Pros and Cons of this solution
3) Are there any NEW (technical, code,...) ?
4) Is it challenging and difficult to do? Why?
5) Any other notes?
=====BEFORE=====
1) Describe the causes why you need to investigate.
2) What are the big questions?
3) Links for references
=====AFTER=====
1) Describe the result
2) Any notes?
=====BEFORE=====
Describe details of the Feature
=====AFTER=====
Are there any NEW (technical, code,...) ?
Are there any challenges?
Any notes?
Describe briefly what you did?
CodeFirst
to the project.relationship
between Entities.Migration
to build DB (SQL)Do have any changes in packages (install/uninstall)?
1) Describe the current situation
2) What are the ideas for it?
3) Is it mandatory/optional? What if I don't enhance?
1) Describe the solutions
2) Pros and Cons of this solution
3) Are there any NEW (technical, code,...) ?
4) Is it challenging and difficult to do? Why?
5) Any other notes?
=====BEFORE=====
1) Describe the causes why you need to investigate.
config Nlog
in the project is not correct
.2) What are the big questions?
=====AFTER=====
1) Describe the result
2) Any notes?
=====BEFORE=====
Describe the things you will investigate?
combined properties
are created by combining at least 2 properties.ReverseMap()
- methodQuestions
- Are there any exceptions when using both ReverseMap() and CombinedProperties?=====AFTER=====
Describe the result
Any notes?
=====BEFORE=====
Which part do you want to test ?
=====AFTER=====
Are there any NEW (technical, code,...) ?
Are there any challenges?
Any notes?
1) Describe the current situation
2) What are the ideas for it?
3) Is it mandatory/optional? What if I don't enhance?
1) Describe the solutions
2) Pros and Cons of this solution
3) Are there any NEW (technical, code,...) ?
4) Is it challenging and difficult to do? Why?
5) Any other notes?
1) Why do I have to enhance?
initialize ALL
OF its Properties (CompanyRepository, CustomerRepository,...). Even if we haven't used
them yet. It's so wasteful
.2) Is it mandatory? What if I don't enhance?
affect performance
.1) Describe the solutions
2) Which and Why do I choose this solution?
3) Are there any NEW (technical, code,...) ?
4) Are there any challenges/difficulties?
5) Any other notes?
1) Describe the bug
AutoMapper
doesn't work correctly (error)
2) What may be the root causes (prediction)?
forget to register
the Profiles
config in ServiceCollections
.1) Describe the solutions (explain the root causes)
2) Pros and Cons of this solution
3) Are there any NEW (technical, code,...) ?
4) Is it challenging and difficult to do? Why?
5) Any other notes?
=====BEFORE=====
Describe details of the Feature
=====AFTER=====
Are there any NEW (technical, code,...) ?
Are there any challenges?
Any notes?
1) Describe the current situation
2) What are the ideas for it?
3) Is it mandatory/optional? What if I don't enhance?
1) Describe the solutions
2) Pros and Cons of this solution
3) Are there any NEW (technical, code,...) ?
4) Is it challenging and difficult to do? Why?
5) Any other notes?
1) Describe the situations
consistent
with Entire Projects (AbstractReposiotry,...)2) Why do I have to enhance?
3) Is this enhancement mandatory? What if I don't enhance?
1) Describe the solutions
2) Which and Why do I choose this solution?
3) Are there any NEW (technical, code,...) ?
4) Are there any challenges/difficulties?
5) Any other notes?
=====BEFORE=====
Describe details of the Feature
Dependent Models
=====AFTER=====
Are there any NEW (technical, code,...) ?
Are there any challenges?
Any notes?
1) Describe the requirement
2) What are the ideas for it?
1) Describe the solutions
2) Pros and Cons of this solution
3) Are there any NEW (technical, code,...) ?
4) Is it challenging and difficult to do? Why?
5) Any other notes?
=====BEFORE=====
Which part do you want to test ?
=====AFTER=====
Are there any NEW (technical, code,...) ?
Are there any challenges?
Any notes?
Describe briefly what you did?
RepositoryPattern
to projectContracts.Repositories
module (follow CleanArchitecture
)Do have any changes in packages (install/uninstall)?
=====BEFORE=====
Which part do you want to test ?
=====AFTER=====
Are there any NEW (technical, code,...) ?
Are there any challenges?
Any notes?
1) Describe the current situation
[FromRoute]
to Parameters of GET - Controllers2) What are the ideas for it?
3) Is it MANDATORY or OPTIONAL? What if I don't enhance?
1) Describe the solutions
2) Pros and Cons of this solution
3) Are there any NEW (technical, code,...) ?
4) Is it challenging and difficult to do? Why?
5) Any other notes?
=====BEFORE=====
Describe details of the Feature
=====AFTER=====
Are there any NEW (technical, code,...) ?
Are there any challenges?
Any notes?
=====BEFORE=====
Which part do you want to test ?
=====AFTER=====
Are there any NEW (technical, code,...) ?
Are there any challenges?
Any notes?
1) Describe the current situation
2) What are the ideas for it?
3) Is it mandatory/optional? What if I don't enhance?
1) Describe the solutions
2) Pros and Cons of this solution
3) Are there any NEW (technical, code,...) ?
4) Is it challenging and difficult to do? Why?
5) Any other notes?
1) Describe the current situation
2) What are the ideas for it?
3) Is it mandatory/optional? What if I don't enhance?
1) Describe the solutions
2) Pros and Cons of this solution
3) Are there any NEW (technical, code,...) ?
4) Is it challenging and difficult to do? Why?
5) Any other notes?
1) Describe the bug
ILogger<T> in Business
.2) What may be the problems (prediction)?
NOT
use the DI mechanism
, but LazyInitialization<T>
1) Describe the solutions (explain the root causes)
2) Pros and Cons of this solution
3) Are there any NEW (technical, code,...) ?
4) Is it challenging and difficult to do? Why?
5) Any other notes?
1) Describe the current situation
2) What are the ideas for it?
3) Is it mandatory/optional? What if I don't enhance?
1) Describe the solutions
2) Pros and Cons of this solution
3) Are there any NEW (technical, code,...) ?
4) Is it challenging and difficult to do? Why?
5) Any other notes?
1) Describe the current situation
2) What are the ideas for it?
3) Is it mandatory/optional? What if I don't enhance?
1) Describe the solutions
2) Pros and Cons of this solution
3) Are there any NEW (technical, code,...) ?
4) Is it challenging and difficult to do? Why?
5) Any other notes?
1) Describe the current situation
2) What are the ideas for it?
3) Is it mandatory/optional? What if I don't enhance?
1) Describe the solutions
2) Pros and Cons of this solution
3) Are there any NEW (technical, code,...) ?
4) Is it challenging and difficult to do? Why?
5) Any other notes?
1) Describe the current situation
NOT good for performance
.2) What are the ideas for it?
Asynchronous for better performance
.3) Is it mandatory/optional? What if I don't enhance?
1) Describe the solutions
2) Pros and Cons of this solution
3) Are there any NEW (technical, code,...) ?
4) Is it challenging and difficult to do? Why?
5) Any other notes?
=====BEFORE=====
Describe details of the Feature
=====AFTER=====
Are there any NEW (technical, code,...) ?
Are there any challenges?
Any notes?
1) Describe the current situation
2) What are the ideas for it?
3) Is it mandatory/optional? What if I don't enhance?
1) Describe the solutions
2) Pros and Cons of this solution
3) Are there any NEW (technical, code,...) ?
4) Is it challenging and difficult to do? Why?
5) Any other notes?
1) Describe the current situation
difficult
to summarize
the number of conditions
for writing LogMessages
.2) What are the ideas for it?
collect all conditions into one place
(ConditionsForDeletingEntityCollection). Each Entity will be assigned the needed condition from it.3) Is it mandatory/optional? What if I don't enhance?
1) Describe the solutions
2) Pros and Cons of this solution
3) Are there any NEW (technical, code,...) ?
4) Is it challenging and difficult to do? Why?
5) Any other notes?
1) Describe the situations
2) Why do I have to enhance?
3) Is this enhancement mandatory? What if I don't enhance?
1) Describe the solutions
2) Which and Why do I choose this solution?
3) Are there any NEW (technical, code,...) ?
4) Are there any challenges/difficulties?
5) Any other notes?
1) Describe the current situation
2) What are the ideas for it?
3) Is it mandatory/optional? What if I don't enhance?
1) Describe the solutions
2) Pros and Cons of this solution
3) Are there any NEW (technical, code,...) ?
4) Is it challenging and difficult to do? Why?
5) Any other notes?
1) Describe the requirement
Currently
, Inputs
from users are NOT VALIDATED
(Risky)2) What are the ideas for it?
1) Describe the solutions
2) Pros and Cons of this solution
3) Are there any NEW (technical, code,...) ?
4) Is it challenging and difficult to do? Why?
5) Any other notes?
=====BEFORE=====
Which part do you want to test ?
(currently NOT)
Link is UnitTest for Auto Validation but I use Manual Validation
: UnitTest for Auto Validation=====AFTER=====
Are there any NEW (technical, code,...) ?
Are there any challenges?
Any notes?
1) Describe the situations
2) Why do I have to enhance?
misunderstanding
, EFCore has the Remove()
method which actually deletes the record
in the Database. But our intention
just wants to use this field as a soft delete
.3) Is this enhancement mandatory? What if I don't enhance?
misunderstood
when using them.1) Describe the solutions
2) Which and Why do I choose this solution?
3) Are there any NEW (technical, code,...) ?
4) Are there any challenges/difficulties?
5) Any other notes?
=====BEFORE=====
Describe details of the Feature
=====AFTER=====
Are there any NEW (technical, code,...) ?
Are there any challenges?
Any notes?
1) Describe the bug
totally WRONG
.2) What may be the root causes (prediction)?
1) Describe the solutions (explain the root causes)
2) Pros and Cons of this solution
3) Are there any NEW (technical, code,...) ?
4) Is it challenging and difficult to do? Why?
5) Any other notes?
=====BEFORE=====
Describe details of the Feature
=====AFTER=====
Are there any NEW (technical, code,...) ?
Are there any challenges?
Any notes?
1) Describe the current situation
2) What are the ideas for it?
3) Is it mandatory/optional? What if I don't enhance?
1) Describe the solutions
2) Pros and Cons of this solution
3) Are there any NEW (technical, code,...) ?
4) Is it challenging and difficult to do? Why?
5) Any other notes?
1) Describe the current situation
watch the SQL statements
sent to SQL Server.2) What are the ideas for it?
3) Is it mandatory/optional? What if I don't enhance?
1) Describe the solutions
2) Pros and Cons of this solution
3) Are there any NEW (technical, code,...) ?
4) Is it challenging and difficult to do? Why?
5) Any other notes?
Describe briefly what you did?
Do have any changes in packages (install/uninstall)?
=====BEFORE=====
Which part do you want to test ?
WRONG
.=====AFTER=====
Are there any NEW (technical, code,...) ?
Are there any challenges?
Any notes?
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.