6

I am about to start my first project in dotnet core 2, webapi and react after 'stuck' for 4 years at asp.net 3.5, mvc and jquery / Ajax without typescript.

Anyone here who did the same transition allready?
Do you have a few advices?

Comments
  • 1
    Hi there! Currently making a large demo with it. Make sure you understand the concep of dependency injection before jumping in. Read about the newest features of c# since the framework and examples online do not shy from them.

    The same thing can be said abour Angular 5/6 in regards to dependency injection. Get good with it and don't shy away from creating your own helper classes(which you wilm have to anyway for the most part
  • 0
    WebAPI puts some of the calls in different places compared to ASP.Net.

    I didn’t know if I was doing things correctly or just hacked it together.
  • 0
    @Hu-bot0x58 it is but it is adviced not to move to 6 for right now.
  • 0
    ES6 and start with view, going over to react after, angular is more complex then it needs to be, so I wouldn't recommend it.
  • 0
    📍
  • 1
    @Stocken it really isn't that complex. I found it to be as easy as React, maybe more since the generators formulate the files in a structures order by default. Something that is not generally the case in React unless you make it so. Vue is the easiest one really. Its pretty nice but I found it messier.
  • 0
    I did a project on aspnet core linux, it was a rest API. I found it much more enjoyable than ASP MVC on Windows. There were not allot of differences in the language, although some nuget packages out there are still Windows only. But EntityFramework was there, which is awesome, although watchout for the subtle differences, the EF framework is much more evolved on Windows. Note that I did this project 2 years ago so what I'm saying has a pretty good chance of not being true now.

    React is the best UI framework that I've come across. Once you get past the initial setup and learning it's very enjoyable. An advice would be that if the project is not very huge, and if you can manage, then go for writing your own components instead of using libraries out there... You'll learn allot this way. And don't forget to use flex-box (CSS) it works like a dream with React!

    Best!
  • 0
    @salarkhan thx. You would like flexbox over bootstrap?
  • 0
    @Wasseratem yes I think with flex box you get more control and it plays nicely with react. And it's pretty simple too. Bootstrap on the other hand gives you quick results but not allot of control.
Add Comment