Odd_Dev_404
Odd_Dev_404
CC#
Created by Asoko on 3/25/2024 in #help
✅ Visual Studio Code C#
If you're on a Windows environment, installing Visual Studio Community Edition would be easier rather than using VS Code.
33 replies
CC#
Created by Odd_Dev_404 on 3/22/2024 in #help
The best way to convert a .NET desktop application to a web application such as MVC
Got it
6 replies
CC#
Created by Odd_Dev_404 on 3/22/2024 in #help
The best way to convert a .NET desktop application to a web application such as MVC
Thanks for the suggestion
6 replies
CC#
Created by salty_pepper on 3/17/2024 in #help
Who handles dependency Injection in a class library?
Maybe you can use .NET IoC container
61 replies
CC#
Created by Odd_Dev_404 on 3/11/2024 in #help
C#.NET Core Console Application with Xunit not detecting the console project as a project reference.
Thanks everyone who replied 👍
13 replies
CC#
Created by Odd_Dev_404 on 3/11/2024 in #help
C#.NET Core Console Application with Xunit not detecting the console project as a project reference.
I think I can close this thread now.
13 replies
CC#
Created by Odd_Dev_404 on 3/11/2024 in #help
C#.NET Core Console Application with Xunit not detecting the console project as a project reference.
Error was intellisense not working inside the unit test when I was trying to use the console app's namespace, and when I was trying to create a new class object it wasn't detecting/intellisense inside the unit test class. But I found the solution now. By default when I was creating a console application, it creates the Program class with main method as an internal class Program. So, since unit test project is outside the console app's project assembly, it blocks accessing it. I created a new class with a public class, instead of internal class, and now it works!!
13 replies
CC#
Created by Odd_Dev_404 on 3/11/2024 in #help
C#.NET Core Console Application with Xunit not detecting the console project as a project reference.
No description
13 replies
CC#
Created by Odd_Dev_404 on 3/11/2024 in #help
C#.NET Core Console Application with Xunit not detecting the console project as a project reference.
I noticed that somehwere on Stackoverflow had mentioned that creating a public class in a console app does the trick. I tried that, but even intellisense not working for the namespace of the console app, and cannot instantiate a new class object.
13 replies
CC#
Created by Odd_Dev_404 on 3/11/2024 in #help
C#.NET Core Console Application with Xunit not detecting the console project as a project reference.
No description
13 replies
CC#
Created by Odd_Dev_404 on 3/11/2024 in #help
C#.NET Core Console Application with Xunit not detecting the console project as a project reference.
@Denis - Thanks for the reply. This is my code.
13 replies
CC#
Created by Odd_Dev_404 on 11/25/2023 in #help
ASP.Net Core MVC Razor view rendering data from controller with dynamic casting
@ZZZZZZZZZZZZZZZZZZZZZZZZZ - I see. Thanks for sharing this.
8 replies
CC#
Created by Finnland on 11/13/2023 in #help
I cant figure out constructor inheritance
@SyncRооt - Now got it. Thanks again. Although it's almost similar the wordings "inheritance and constructors" and "constructor inheritance", thos two are different concepts right?
6 replies
CC#
Created by Finnland on 11/13/2023 in #help
I cant figure out constructor inheritance
@SyncRооt - Got it thanks! I was aware about that "No constructor, so the compiler places an implicit public empty constructor" But wasn't aware constructor inheritance is not supported within C# at this moment until you mentioned that. In this link's first example - https://www.geeksforgeeks.org/c-sharp-inheritance-in-constructors/ isn't an example related to constructor inheritance?
6 replies
CC#
Created by Finnland on 11/13/2023 in #help
I cant figure out constructor inheritance
@SyncRооt - I have a question. In the first code it has just inherited from the base class. public class SubClass : Superclass { } I'm bit confused why it's giving an error as 'SuperClass' does not contain a constructor that takes 0 arguments Any idea?
6 replies
CC#
Created by Fayik_Enginner on 11/12/2023 in #help
Hello!
It seems a some server SSL related issue
5 replies