tag:blogger.com,1999:blog-6082652835152798567.post5530428403060328356..comments2024-03-28T21:41:58.974-07:00Comments on Sql server, .net and c# video tutorial: ASP.NET Core Model BindingUnknownnoreply@blogger.comBlogger6125tag:blogger.com,1999:blog-6082652835152798567.post-80357086437527169042021-09-04T02:35:13.571-07:002021-09-04T02:35:13.571-07:00Thank you Venkat. You are exceptional. I thank my...Thank you Venkat. You are exceptional. I thank my God to have you ! Your explanation is unique and detail. The way you share your knowledge is really really generous. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-25536728616021309592020-05-03T02:05:14.680-07:002020-05-03T02:05:14.680-07:00Sir. Thank you very much for in detailed explanati...Sir. Thank you very much for in detailed explanation.<br />I have a doubt here, <br />how is it even able to remember the created data between states in the current tutorial,When I navigate to Index method it still retains the new created data and the same is retained in every state.as we have learnt that its stateless.Anonymoushttps://www.blogger.com/profile/08802174995279980460noreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-4483767274702878892019-10-04T12:14:28.792-07:002019-10-04T12:14:28.792-07:00Hi again..sorry i found my mistake.. i was wrongly...Hi again..sorry i found my mistake.. i was wrongly not commented that line _employeeRepository = new MockRepository(), where MockRepository is injected in HomeController constructor as Singleton instance :) Anonymoushttps://www.blogger.com/profile/08565792077088550364noreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-51326689007877466192019-10-04T11:58:43.805-07:002019-10-04T11:58:43.805-07:00Hi,
First of all u deserve a big appreciations for...Hi,<br />First of all u deserve a big appreciations for ur efforts for such beautiful tutorials. Thx indeed.<br />By the way i m new to Asp.Net Core MVC and although i tried everything not to get an NullReferenceException, HomeController is always injected with a Transient (new) MockRepository instance after RedirectToAction is called for details action. That is why newly added Employee can not be shown in Details View. What is going wrong? IMockRepository Interface is configured as Singleton using AddSingleton but i could not understand why AddSingleton does not work ..<br />Thx in advance :)<br />Atilla.Anonymoushttps://www.blogger.com/profile/08565792077088550364noreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-59286713621596836242019-07-29T23:38:49.711-07:002019-07-29T23:38:49.711-07:00An unhandled exception occurred while processing t...An unhandled exception occurred while processing the request.<br />NullReferenceException: Object reference not set to an instance of an object.<br />AspNetCore.Views_Home_Details.ExecuteAsync() in Details.cshtml, line 10<br /><br />NullReferenceException: Object reference not set to an instance of an object.<br />AspNetCore.Views_Home_Details.ExecuteAsync() in Details.cshtml<br />+<br /> @Model.Employee.NameAnonymoushttps://www.blogger.com/profile/06387767957787505476noreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-35501494946408730202019-07-03T00:44:10.576-07:002019-07-03T00:44:10.576-07:00Great work!. Simple explanation, Excellent present...Great work!. Simple explanation, Excellent presentation, apt slides, it gives us better concept wise understanding, more over, allows text downloads.<br /><br />Salute you sir. abu_ashfak@yahoo.comAnonymousnoreply@blogger.com