Fright XO
Fright XO
Explore posts from servers
CC#
Created by _poisson_ on 1/19/2023 in #help
✅ Why string are immutable?
Could there be confusion about the mutability between the type string and the value representation of a string? string s = "asd"; s ="dsa"; and "asd" = "dsa"? I ask because the question is marked as beginner.
21 replies
CC#
Created by Fright XO on 1/18/2023 in #help
✅ How to flush NLog on application exit with MEL
Nevermind, I've asked ChatGPT and it suggested that I dispose of the ILoggerFactory that I had created. By updating my creation logic to store and reuse a single ILoggerFactory, then calling the _loggerFactory.Dispose function from within my managing class's dispose function, I am seeing that it is now flushed. This was one case where some nudging of chatgpt and testing it's response actually helped.
3 replies
CC#
Created by Fright XO on 1/18/2023 in #help
✅ How to flush NLog on application exit with MEL
Bump, I'm still not sure the proper way to do this.
3 replies
CC#
Created by Fright XO on 1/12/2023 in #help
❔ ✅ DotNet Templating Bind Project Name
!!! you're awesome... i didn't know they also "bind" parameters... that worked :D
20 replies
CC#
Created by Fright XO on 1/12/2023 in #help
❔ ✅ DotNet Templating Bind Project Name
parameters are usually custom fields on the template generation, was my understanding... trying now
20 replies
CC#
Created by Fright XO on 1/12/2023 in #help
❔ ✅ DotNet Templating Bind Project Name
I can try again, maybe parameter of type "name" gets automatically assigned?
20 replies
CC#
Created by Fright XO on 1/12/2023 in #help
❔ ✅ DotNet Templating Bind Project Name
The users of that template get an additional field called "name" that gets a parameter though, right?
20 replies
CC#
Created by Fright XO on 1/12/2023 in #help
❔ ✅ DotNet Templating Bind Project Name
One option that exists may be to use the .vstemplate, i guess. https://learn.microsoft.com/en-us/visualstudio/ide/template-parameters?view=vs-2022 but i suspected all those replacement properties exist in this other templating
20 replies
CC#
Created by Fright XO on 1/12/2023 in #help
❔ ✅ DotNet Templating Bind Project Name
dotnet new and visual studio do support parameters, but all the devs i'll work with on these projects are using rider, from what i've gathered. So I'm really just trying to optimize developer experience.
20 replies
CC#
Created by Fright XO on 1/12/2023 in #help
❔ ✅ DotNet Templating Bind Project Name
What you have as 'name' is the symbol name. Your behavior is using the type parameter and getting the user to type in the name. Rider doesn't support that functionality, so i'd like to use type bind and get it from a existing property.
20 replies
CC#
Created by ferfykins on 1/12/2023 in #help
❔ Besides C#, what do i need to learn?
haha oh ok well welcome
54 replies
CC#
Created by ferfykins on 1/12/2023 in #help
❔ Besides C#, what do i need to learn?
gl and grats on feeling comfy w/ c# :)
54 replies
CC#
Created by ferfykins on 1/12/2023 in #help
❔ Besides C#, what do i need to learn?
no frameworks, no templating engines, nothing... just html css and js :)
54 replies
CC#
Created by ferfykins on 1/12/2023 in #help
❔ Besides C#, what do i need to learn?
none... just make a folder, html files and css/js to start :)
54 replies
CC#
Created by ferfykins on 1/12/2023 in #help
❔ Besides C#, what do i need to learn?
You might find that you prefer to mess with front-end and might then iterate on some frameworks. but initially that isn't needed
54 replies
CC#
Created by ferfykins on 1/12/2023 in #help
❔ Besides C#, what do i need to learn?
If you are eager about one or the other, you can learn asp.net and html/css/js independently.
54 replies
CC#
Created by ferfykins on 1/12/2023 in #help
❔ Besides C#, what do i need to learn?
different learning styles. there are good udemy courses if you can find them.. (i prefer googling though)
54 replies
CC#
Created by ferfykins on 1/12/2023 in #help
❔ Besides C#, what do i need to learn?
".net framework" is a specific term though :D asp.net is an extension of .net-core i believe.
54 replies
CC#
Created by ferfykins on 1/12/2023 in #help
❔ Besides C#, what do i need to learn?
Don't worry about that until you have html, css, and js under your belt.
54 replies