Jesus, at first when you said about the 1mln requests, I thought that you ment 0.2$ per EACH additional request, not per each milion. I almost died from heart attack when i heard this 🤯 But yeah, 1 mln requests for 0.2$ does seam affordable.
How do you get an AWS account. I’ve tried 3 times with 3 different emails. Still no luck! Keeps asking for a code to login in with - no code just an Email with a link. I’ve given up. Carlo
Good tutorial, i have a question regarding ideal mode application How do I avoid going for the ideal mode application? is there any solution to avoid this
Hello Mukesh, how can I do a "PUT"? for example, I need to update the Name of the student with Id 2, how can I do that in C# code? Do I need a put? or do I need something else?
Why everyone does it in reverse, having the services inside the Domain layer is against the CA in the first place, Lets assume that there are two applications that reference the same thing but perform different actions, for simplicity let say it's client and a server, they both have the same interfaces available to them but for obvious reasons they act differently based on the interface implementation. With this model, this is simply impossible because having the services inside the domain layer instead of the infrastructure layer would mean that the client will have to reference dlls that have code which is not really related to their own functionality and the idea of independent layers is broken by design. If you do pull the domain that you have a unified domain of both the server entities and the client entities which makes no sense at all. This is a big problem with codebases that use the same tech stack for faster and cleaner development which is the core principle of the clean architecture design by intent, each layer should be able to act independently of another and each layer has to be able to be referenced without dependency on another layer, this is not true here. Those projects work and act together in their own context, yes but that's not the point of doing such architecture. If service interfaces are abstracted inside the Infrastructure layer you have both client and server reference the infrastructure layer and both of them can implement their own implementation rather than duplicating code for both implementations by duplicating the interfaces. Everyone goes around and copy pastes code without thinking about it, this is true architecture nightmare, the infrastructure should not contain any logic inside of it, it's sort of a contract layer that just allows presentation layers to communicate with the implementations of the services, i am not sure who started this trend, but stick to front end, this is not right. I know it sounds bad, nothing personal against you, it's a nice video with a decent structure, for something else than clean architecture, i am sure it works nice in Blazor, i can see how it might make things simple for an internal architecture of a MAUI app for example, but a lot of people will take this video without considering the implications of adding this in a project causing a lot of headaches in the future, as developers we should be careful when we explain complicated topics, not just raw dog the files and say this is what it is, but actually explain in details why it's done in this way and most importantly ask ourself what can go wrong here and does it make sense. I personally never abstract out of uncle Bobs design, which clearly states Presentation (UI, Validators) => Infrastrcture (Interfaces, Adaptors) => Application (Implementations) => Domain (Entities, Exceptions, DTOS) this way, it always stays scalable, and most of all, if i want to take my Infrastructure in another project client for example or an API around the balzor app, that does something i don't need to reinvent my entire code base, i can just reference it and in case of an API i can just reference the Application and Domain as well, and now it's just a matter of writing the endpoints as the entire code base matches, if it's a client i can just reference the Infrastructure, Make an Application layer just for the client so it can do calls against the the API that implements the interfaces and it's a done deal. Most of all, there must be a reason for implementing architectures, in the first place, but yeah enough from me, good video, looking forward for the next out.
I like this and I see some nice feature has well. This is definitely something I see myself using in the future. I hope when I am ready to use this it will be up to date will all the new features of .Net. Keep up the good work @Mukesh Murugan
hello, i get an http 404 error, and i tried to test the function the following error shows : { "errorType": "NullReferenceException", "errorMessage": "Object reference not set to an instance of an object.", "stackTrace": [ "at Amazon.Lambda.AspNetCoreServer.APIGatewayHttpApiV2ProxyFunction.MarshallRequest(InvokeFeatures features, APIGatewayHttpApiV2ProxyRequest apiGatewayRequest, ILambdaContext lambdaContext)", "at Amazon.Lambda.AspNetCoreServer.AbstractAspNetCoreFunction`2.FunctionHandlerAsync(TREQUEST request, ILambdaContext lambdaContext)", "at Amazon.Lambda.RuntimeSupport.HandlerWrapper.<>c__DisplayClass26_0`2.<<GetHandlerWrapper>b__0>d.MoveNext()", "--- End of stack trace from previous location ---", "at Amazon.Lambda.RuntimeSupport.LambdaBootstrap.InvokeOnceAsync(CancellationToken cancellationToken)" ] }
Nice video. One of the first I have seen on .NET 8. Being new to AWS Lambda what are you using to test your functions locally? From what I understand the SAM CLI tool only supports .NET 6 still. Any guidance or suggestions would be much appreciated.
SAM CLI supports .NET 8 too. Please refer - aws.amazon.com/blogs/compute/introducing-the-net-8-runtime-for-aws-lambda/ To test the lambda locally, you can use the Amazon.Lambda Mock Tool. github.com/aws/aws-lambda-dotnet/tree/master/Tools/LambdaTestTool This is more than enough to test your Lambdas.
I enjoyed your tutorial, condensed and to the point. Just a request, the background music is very distracting and I couldn't concentrate, didn't work well when speeding up the video, you can check with other's opinion but I haven't come across any learning sites (udemy, pluralsight, linkedin etc,.) that adds background music to coding tutorials.
@codewithmukesh thanks for replying. A lot of people with hearing difficulties and some kind of autism will also have problems with background music. Perhaps you can do a few seconds of music at start and then remove it.