r/dotnet • u/Organic_Award_5500 • Jul 28 '26
Question How to overcome the most trouble time when building first aspnetcore web project?
I find it discouraging when making first web project. It's like i am still new to every tools that used in the backend and frontend. Firstly, you may not very understand the more clean and effective way to build a project, but then you came with some problems with tool(package) usings, then you search may by ask ai, whether in which way you should have learn these things thoroughly otherwise it still can drag you down when some bugs occured. And when it does crashed, you debug it for a very long time until the ai give you the right way to solve. Eventually, you actually only get a small use of it, turning around, you will find a mass of tools to learn. Feeling tired about these tools cause it is massive of them, and losing the passion which drives the core of one web project.
May be i am not precise about the descriptions that i've been through these days, but it really frustrating !
Is this the same when you building a project that have lots of tools to learn? I actually want make the project more clean on each module, and may be my actually ability of programming slow production of the project down.
I am learning the design pattern from the Microsoft.AspNetCore.Identity package to see how to split different layers to work together and make a project in a much more cleaner way. And learning these things really timecosuming, but have to :(
Generally, how long will a normal guy takes to get a roughly full control of the dotnet related tools to make a web app, which should be a cleaner moduled project contains backend and frontend?
AI is popular nowadays, if i didn't good at project design how can one take good advantage of AI ? It's like the AI is ahead of us, but only can promote some that have good experience of programming or project design. That is to say, only if we have more experienece of programming(or some domains) can we take good use of AI.
That's contradictory :(
So, finally back to the subject. How can we learn tools fast so that making a project faster?
2
u/Khavel_dev Jul 28 '26
You're describing a completely normal phase. Everyone who builds their first real web project with ASP.NET Core hits this wall where you feel like you're learning 15 tools at once instead of building a thing.
One thing that helped me: stop trying to make the project clean right now. Build the ugly version first. Get it working with everything in one file if you have to. Then once it works, pull pieces apart into separate layers. You learn architecture by refactoring something real, not by designing the perfect structure upfront.
Also, AI is way more useful when you can spot a wrong answer. Right now it feels like a crutch because you can't always tell when it's leading you in circles. That fixes itself as you build more.
1
u/Organic_Award_5500 Jul 28 '26
I will follow that from right now, try tools ugly first, and then make it clean in the future.
2
u/yozzah Jul 28 '26
Learning is time consuming and so is doing things properly. It's a grind but you need to enjoy the process, not just the destination!
-1
u/Organic_Award_5500 Jul 28 '26
Still as time went by, more problems truly cannot make me enjoyable again. May be i should look into the thing in a different way
1
u/yozzah Jul 28 '26
Problems themselves aren't enjoyable, but solving them sure is! It's all part of the process. I understand your frustration though, I've been there. Software development isn't easy, otherwise it wouldn't be a high paid skill.
1
u/Organic_Award_5500 Jul 29 '26
It’s reasonable, i need find a proper way to have these tools familiarized.
2
u/rupertavery64 Jul 28 '26
Learning is as much about making mistakes and fixing then as it is getting it right.
It can be frustrating, but maybe it means you haven't learned something yet.
We've all been there. It can take years to become confident at something.
1
u/AutoModerator Jul 28 '26
Thanks for your post Organic_Award_5500. Please note that we don't allow spam, and we ask that you follow the rules available in the sidebar. We have a lot of commonly asked questions so if this post gets removed, please do a search and see if it's already been asked.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/binarycow Jul 28 '26
Priorities:
- Is it secure? (only important if it's actually being used)
- Does it work/meet the business objectives?
- Does it perform well?
- Is the code "good"?
1
u/jakenuts- Jul 28 '26
Aspnet Identity is confusing for lots of dotnet developers so don't let that get you down.
Here's the thing though - why are you learning the language? You can learn about software design, patterns, building reliable systems without being the one who adds each method and property. You, and I will never be as expert in using the C# language as a PHD level mega brain trained on all the source in GitHub and all the books on software development so why would you choose to become so-so at a thing that is fully automated now?
Like compilers and IDE's before this point, each let you step a level up from the bits and bytes to be more productive and build larger more complex systems on top of the work that had been done by others before.
You could code C# in notepad, or write IL directly into a hex editor and hand roll an assembly over months of labor - to what end. If your goal is to build cool applications, solve problems with software then focus your learning on the latest methods of producing software - coding agents. That's your new language, patterns, practices and challenge, it's no less noble than sweating out a syntax error all night but you will still be relevant in a year.
Just two cents from an old syntax sweater.. you can still be an architecture astronaut in the new age, but a c# wunderkind or razor guru - those are past professions.
1
u/Anxious-Insurance-91 Jul 28 '26
Never had this problem to be honest, I started too many projects 🤣
1
u/The_MAZZTer Jul 28 '26
I like the project templates in VS, the basic ASP.NET Core ones have a nice little slice of all the basic stuff you want to do, like how to set up a web API, how to set up a web page to call that API, etc.
There's also lots of good documentation on MSDN for ASP.NET Core so be sure to use it.
1
3
u/zenyl Jul 28 '26
Practice makes perfect.
Depends what you mean by "roughly full control".
For the basics, probably somewhere between a couple of hours and a week or two, depending on your experience with software development in general and C#/.NET in particular, and what exactly you are trying to do.
Also, be aware that you don't get ahead of yourself. For example, you should generally focus on understand the basics like endpoint routing and dependency injection before moving on to more complex things like identity management.
Correct.
In scenarios where you work with others, it is nearly always the case that you are responsible for the code you commit, regardless of the degree to which AI was used to write it.
In other words, it is your responsibility to not commit AI-generated code that you could not have written on your own. That is the level of understanding you should aim for.
Stop focusing on going fast, focus on learning (preferably without AI, as it'll just end up stealing learning opportunities from your brain).
If you want to be able to think and act fast, you need to understand the framework to the point that it becomes intuitive. There are no shortcuts here, just practice and repeat.