Welcome to My Channel - PRO Concepts aka Programming Concepts.
Just like nutrition knowledge is good for our health, similarly, programming knowledge is good for our software. Let's try to improve the quality of our software application by improving our technical skills.
That is great! But how can we use Local System Account instead the Administrator account on the specific PC? Because even creating new Administrator account on the same machine can't start the service.
Hi @LyubomirLalovMulti, It should work with the local system account. On my personal PC, I only have one user, and it runs fine. You mentioned that you're unable to start the service. Could you please confirm the exact error message you're seeing? Could you please also confirm if your application running properly via Visual Studio and also via command prompt.
your video and way of speaking is quite excellent and make public in very short , crisp and effective manner, brother please be active with latest things.
Great learning material. Very clear and detailed. I was able to create this easily. Question, how do you display the department name instead of the id # on the main "Manage your Team" page"? Do you add something to the EmployeeController or the Index? It's displays when creating new employee or editing just fine just not at the main employee list page. Thanks for the material.
Hi @jonli3096, Thanks for visiting our channel. Follow below steps: 1. Within Employee.cs class add public string DepartmentName { get; set; } 2. Add DepartmentName = sdr["DEPT_NAME"].ToString() within GetEmployees method of sqldblayer class. 3. Add this value in index.cshtml page. Now it will display both department id and name. Either hide id or use hidden field.
@@ProConcepts Tried it and working as expected. I normally use ViewModel with EntityFrame but wanted to learn how to use aspnet when the database was created first instead of code first and your channel has provided great information on this. Hope to see more content from you. Thank you very much!
I have a question. In this example, there's only a single model. If you had two models, would you then need two repository classes, one for each model? And would you need two SQLDBLayer classes, one for each repository? Because the SQLDBLayer can't inherit from multiple different repository interfaces, right? Or am I misunderstanding something?
Hi LisaLiel, Thanks for visiting our channel. You are correct; we cannot inherit multiple repositories from the SQL database layer. Ideally, if we have two tables in the database, let's say Employee and Department, then we will have: 1. Employee.cs class which contains properties. 2. IEmployeeRepository.cs, an interface which defines the functionality as outlined in the video. 3. EmployeeRepository.cs class which inherits IEmployeeRepository. 4. DBLayer.cs class which contains methods related to ADO only, where EmployeeRepository will send queries and stored procedures as parameters, and DBLayer contains common code to run these queries and stored procedures. Similarly for Department. I don't want to complicate things for the demo, so I put the code related to EmployeeRepository.cs and SQLDBLAYER.cs in a single class. Do let me know if there is still any confusion.
Hey !! I have watched couple of your video from this playlist. You are great at teaching. I like the way you present. Can you please tell the difference between.net5 and .net6 ? Are there any major changes? If I learn.net5 , can I understand .net6? I'm a beginner :(
Hi Akshay, Thanks for visiting our channel. I have covered the differences between .NET 5 and 6 in upcoming videos of this playlist. From a beginner's point of view, there is not much difference. From a development perspective, this difference is even less noticeable if you compare .NET 6 with 7 and 8. So, don't worry about these version changes. Clear your basics, and you will easily pick up on the differences.
Hi LisaLiel, I mistakenly created a controller without appending "Controller" to the name. While it's considered a best practice, it's not mandatory in this case since you inherited your class from a controller base class.
Hello mate . I am trying to do what you've done in this video , step by step. But I have an issue when is time to browse website. Is still loading, until is giving the error message "localhost is currently unable to handle this request". I checked in Event Viewer and there is message: "Exception: System.Data.SqlClient.SqlException (0x80131904): 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: SQL Network Interfaces, error: 50 - Local Database Runtime error occurred. Specified LocalDB instance name is invalid. )" I was looking thru the stackoverflow and is something about shared instance. Thanks.
Hello, This is a very generic error from SQL when the application is not able to connect to the server. Could you please confirm if you are able to connect to SQL via Management Studio and also with any other application? I can't pinpoint anything specific, but in most cases, when we are able to connect to the server via Management Studio but not through the application, it is because TCP/IP is not enabled. Could you please copy and paste the same error into ChatGPT and try the suggestions provided?
Maybe it did count, but I didn't insatall MS SQL Server on my computer. I created SQL Server (localdb) in Visual Studio (New Project -> Other Languages -> SQL Server -> SQL Server Database Project). With IIS Express when I am running in VS it working. I can connect to server with Management Studio (Server Type : Database Engine ; Server Name : (localdb)\MSSQLLocalDB ; Authentication : Windows Authentication).
Hi Biswajit, I'm glad you like my work. Due to personal commitments, I can devote very little time to this RU-vid channel. My primary interest is around .NET Core, so I try to create videos on this topic only. I will definitely try to create videos on Azure in the future.
how do we get an arrow at the end of a multiple list that could act like a single drop down but with multiple choice? arrow does'nt show on multiselect list.
Hello.... I am using @Html.ListBoxFor helper but even if I pass the selected values to the MultiSelectList, when rendering, elements are not rendered. Should I use that helper or other method?
so? I can understand from you that the layout or shared is made or dedicated for repeatable codes. However the home is made for refreshed content right?
Sure, I'd be happy to help you troubleshoot the issue. Could you please share your code with us? You can either provide a GitHub link to your project or share some relevant code snippets in the comments so that I can take a closer look and assist you further.
@@ProConcepts Hello, I have a problem in my project. I hope you can help me with it because the enum element number is not printed, but rather it prints on the interface the name of the definition of the enum.
public enum BloodType { [Display(Name = "A Positine")] Ap =0, [Display(Name = "A Ngative")] An =1, [Display(Name = "B Positine")] Bp =2, [Display(Name = "B Ngative")] Bn = 3, [Display(Name = "BA Positine")] ABp =4, [Display(Name = "BA Ngative")] ABn = 5, [Display(Name = "O Positine")] Op =6, [Display(Name = "O Ngative")] On = 7 } he is writing BloodType to view and thank you very much
I don't have enough time to create videos, so I typically produce 4 to 5 videos and schedule them with intervals of 5 to 7 days. Previously, I used to upload 4 or 5 videos at once, but due to time limitations, I haven't been able to upload for a month or two. The issue with this approach is that RU-vid stops recommending my channel. So, to maintain consistency, I continue with this strategy. I hope you understand.
Hello Abid, Thank you for visiting our channel. The layout is designed to work well with the Areas. Could you please elaborate on the issue you're experiencing?