C
C#3mo ago
AN

Effective way learn asp .net from scratch

hi, im beginer (i know some html,css,js n some framework to work with fronend) ,so i decide to jump into backend ,i feel interesed in csharp but when i opened the official docs on microsoft i pretty overwhelm about it tutorial n complex terminology i never heard before. is there anyway to learn cs from scratch to build some webapps using ASP .net core? (webAPI, mvc....)
10 Replies
Jimmacle
Jimmacle3mo ago
look for parts of the docs that are specifically labeled as tutorials like https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-web-api?view=aspnetcore-8.0&tabs=visual-studio
Tutorial: Create a web API with ASP.NET Core
Learn how to build a web API with ASP.NET Core.
Angius
Angius3mo ago
If you don't know C#, though, start by learning that first $helloworld
Jimmacle
Jimmacle3mo ago
^
Angius
Angius3mo ago
It won't be easy learning ASP without knowing what async is and why we need it, for example
AN
AN3mo ago
:catderp: i got some definiton async in js ,but i think it may some difference in csharp ish... :Hmmm:
Angius
Angius3mo ago
There is, Js is single-threaded while C# is multi-threaded, for example So a Promise will always be executed on the same thread, while a Task might not be Also, let's not forget the biggest difference between JS and C# C# is a typed language JS is basically untyped So you'd do well to learn about the type system, too
AN
AN3mo ago
:forg: i think i will get the idea of c# faster ,i had a background of c++ not actually just competitive programming using c++ if i fammiliar with c# syntax what i do next :nekojail:
Angius
Angius3mo ago
I'd say create a new WebAPI project and google your way to completion That's how I usually learn
Lex Li
Lex Li3mo ago
Due to the long history of MSDN/Microsoft Learn transition, personally I think the current articles are either 1) simple tutorials that don't really guide you further enough, or 2) detailed references that cover the API surface. Neither is good for true beginners as they require a story line to touch each pieces in a suitable order. That's why books exist.
Want results from more Discord servers?
Add your server
More Posts
ASP MVC Inventory management checkout process helpHi all, I have been working for many months in school to complete this project and am getting to theAuthentication problem with InteractiveServer render modeI have created an authentication system using OAuth in my Blazor Web App project. I have two side (cPracticing OOP in c#, is this logical implementation of an Interface?```c# public interface IMembershipManager { void RegisterMembership(Person person); void CanWhy the shortcut of my App in the Startup Folder not starts??Hi guys, hope you're doing well, I have a `Console App`, in the `program.cs` I have the following co✅ Get base version of project in Github actionsI want to setup a github actions workflow that gets the base version of my library (for example 1.5.My methods loop does not want to stop even if i use returnI have tried different ways but i cant get to making it just exitIs using a blazor component from a service a good idea?I have a DocumentManagerComponent.razor that is used in multiple places across the app. It has an OnAspNetCore `net8.0` - Blazor {*CatchAll} route overrides MVC AdminController routeI'm using a Blazor8 with OrchardCore as a de-coupled CMS. I want `/admin*` to be routed by Orchard, Need to edit a outlook mail without interopHello, i have a .msg template that i have to work with. First i need to read it, then edit the messErrors in Avalonia.UIHi guys, Previously I asked a question about which platform is the best mobile development platform.