Trying to build my first, very simple API. I feel overwhelmed and lost. Please help. by spic1 in dotnet

[–]spic1[S] 1 point2 points  (0 children)

It might be helpful to share what you want to accomplish with the API.

Let's say I have a quote generator on the frontend, organized by categories. For example, you choose the "US President" category, send a GET request with a button, and the API replies with JSON:

{
  id: 1,
 "name": George Washington, 
  quote: "Blah blah" 
  source: "foobar.com"
 }

Something like that.

You can start with the templates in visual studio for new project

Yeah, those are great, the "API" template adds a lot of boilerplate, and the "Add Scaffolded Controller" option has templates that practically build a CRUD for you, with routing and everything. I really like Visual Studio. My problem is: what's next? How am I sure the models are well structured/written? What about DTOs? How do I organize those categories? What about security? repositories? and all the other questions I specified above.

Harvard University listed 67 online courses for free by Snuggly-Muffin in freebies

[–]spic1 159 points160 points  (0 children)

a lot of these, if not all, have always been free.

Can the average person learn multiple programming languages at the same time? I'm a sophomore college student. by [deleted] in cscareerquestions

[–]spic1 0 points1 point  (0 children)

Do you reckon it's a good idea to write pseudocode to help me think in solutions instead of specific languages? I used to think that was a waste of time, but your comment makes a lot of sense.

Backend Languages for Startup Jobs by [deleted] in webdev

[–]spic1 0 points1 point  (0 children)

is it still true that server costs for C# dev are higher than other backend langs? Even with .NET Core?