KidKai25
❔ running an mvc in .net framework(not core) whose output type is a library?
How to do it? I get ""Unable to run your project. The "RunCommand" property is not defined.""
https://github.com/MiniProfiler/dotnet/tree/main/samples/Samples.Mvc5
This is the one.
12 replies
❔ Anyone experienced, would you be interested in mentoring me?
I am looking for anyone well experienced to just give me a "direction" and keep me in check.
I am not someone who is like very passionate about coding. I like it but in bits.
And I have always preferred quality over quantity though I know very well one learns the best by getting his/her hands dirty. I lack this quality.
So I was hoping if someone would be interested...please reach out 🙂
What's in it for you?
Well, I could buy you a coffee, perhaps even every week if that's okay? 😅
74 replies
❔ Commandments for C# developers?
Came across this cool article
http://www.lysator.liu.se/c/ten-commandments.html
I was thinking what according to you should be the commandments for C# 🙂
101 replies
❔ Idea for better approach for below problem?
Earlier: Local File System
New Requirement: Integrate Azure storage system (Make configurable b/w File and Azure)
My Idea:
Create an Interface acting as an abstraction for client (Using factory method)
Based on config either Azure or File will be used. Client code won't know.
Client just ask for StorageObject and call Create/Download/Delete methods.
So,
Problem:
I see a 3rd party library being used in some existing methods in the application
3rdPartyConvert&UploadMethod(string/stream filepath)
I guess the above method will successfully upload file given right path(local file path).
But how to do this with my Abstract methods(MyStorageInterface) for the client?
Should I let the 3rdParty upload method do its work and then upload via
my method(for file system, replace/ignore and for cloud upload it)?
Maybe Create an overload of the method (Making such change in each of such methods)? <br>
Any other perhaps, better ideas?
2 replies
❔ Roslyn compiler magic?
I have this WebAPI project in dotnet framework 4.7
I replace a dll manually in
bin
and bin/roslyn
folder
I run the project add references to dlls(say, to the bin folder). All good.
But then I see the old dll has come back to bin/roslyn
and when I see the reference in VS I see the path is also now of bin/roslyn11 replies
How does the flow of information takes place when something new comes up?
Say something new get released (.net 7), and something new 'X' has been introduced.
To understand X do self learners try their hands using the available documentation and share with others.
Or it's like Microsoft's developers share how to use 'X' in their blog and from that you start your own learning further?
8 replies