When running the demo app and going to for example the 'Customers' page. I get the following error: 'A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)'
I watched your course, and I studied your project. I liked it very much. I would like used in real life, but there is something rare on the service layer : Where can I create a HttpGet or POST service in this layer?
I'd tried this on the Get method:
[HttpGet]
public IEnumerable Get()
{
}
on EmployeesController.cs(CleanArchitecture.Service.Employees), this route must be : http://localhost:49581/api/employees/Get/1, I think so, but It doesn't work, in this kind of project how is the route template in the URI for API services ?
I am trying to run this solution, but getting database errors. Should I have SQL Express or LocalDb installed? Do I need to create the database prior to running, or should it be created on build/run?
Hi, could you updated the project to .NET 4.8 or newer framework? I face some issue when I try to run this project when training from Pluralsight lesson.
Or are there some suggestions to run this project?
Found issues:
I cannot install .net framework 4.5 sdk in my win10 anymore (microsoft has removed the offical download link).
Seems the package ObjectFactory is out of date. I cannot run the specification project for testing.
Hi Mathew. I have a Issue, what is best way to do a Security Implementation(user, login, Authorization, etc) in this Architecture? I had tried to implement OWIN inside, but is Hard, because on all, requires access to Database context from presentation layer, and others issues. How do you recomended implements a security middleware or other?
Thanks for your wonderful PS course and code repo.
I am playing around urs code base and found a handle exception which were showing at swagger page, That Exception Msg was not properly handled in sale middleware-application layer code . Testcase (Negative )
Calling API End-points -https://localhost:7001/api/sales/5
Above SaleId=5 was not present at Sales DB table and thrown a calls-stack exception msg at swagger page as response. It should be handle in code and return a friendly Msg as response. Attached Screenshot as below