ASP.NET Core Crash Course - C# App in One Hour

freeCodeCamp.org · 2M views · 2020 · 1:00:44

Open on YouTube

Web developmentEducation & learningtutorialdated

Why Stack Overflow recommends it

Stack Overflow users who are new to C# and ASP.NET mention it as the tutorial they followed, then ask questions when their setup, scaffolding, or database steps differ from the video.

Recommended by 0 people across 0 different months, 2021 to 2023.

What it is

A one-hour freeCodeCamp tutorial by Shad Sluiter that builds a small database-backed web app in ASP.NET Core with C# and Visual Studio. It covers MVC, Entity Framework tables and models, Razor forms, controller methods, CSS and Bootstrap styling, and a search filter.

What people said

Cites Abderrahim Benmelouka · 2021-06 · Stack Overflow · on “Default template for ASP.NET project in VS Community 2019 not working”

So a little bit of context here, I'm completely new to C# and ASP.NET, I was following this video [this video] to help setup my project and learn the basics. I downloaded VS Community 2019 (I usually use VS Code) and tried to create a new project, the creation process is not exactly the same as the video (I assume it's a difference from Visual Studio to Visual Studio Community) but I thought that it's not different enough to be a problem. Right after creating the project, I tried running it to check that everything is fine, but it said that there are build errors and asked if I want to run it anyway, I said yes, that's when I got this error: [LINK] I assume it's a generic error that doesn't expla

Cites ReemTek · 2021-09 · Stack Overflow · on “How to fix error: "rzc generate exited with code 150"”

I don't have a csproj file? Sorry if that sounds very obvious but I'm learning C# by following along with a tutorial ( [this video] )

Cites Reem Al-Assaf · 2021-09 · Stack Overflow · on “ASP.NET Core MVC local database and model controller”

I have created an ASP.NET Core web application using the MVC pattern (by following this [this video] tutorial) and connected it to a local database that is now populated with some data. I have two questions, if someone please help me understand and answer them: 1 ) My default connection string is set to the following: "ConnectionStrings": { "DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=aspnet-MyAppName;Trusted_Connection=True;MultipleActiveResultSets=true" } Is it possible, only by changing the name and path in this connection string, to re-create the exact same database elsewhere with the data that is currently stored in it (for example, as backup)? I have found the local databas

Cites Edberaga · 2021-11 · Stack Overflow · on “ASP.NET Error creating Controller Dynamically”

Please help, I want to try to create a controller but in a dynamic way, but this appears when I press "Add": Here is what I type in the code generator: I don't understand how come I got these errors, all I just do is just follow this lecture video... [this video]

Cites Niels040 · 2022-03 · Stack Overflow · on “Failed executing update-database in ASP.net”

While I was following this tutorial: [this video] I ran into a problem around 29:25. When I type the update-database in the package manager console it says what is seen in the first screensht, and some more. When its done it shows the text in the second screenshot. [LINK] [LINK] I have looked in multiple stackoverflow questions and answers, also looked on other sites. Some said it had to do with a problem in ssms 17 so I downloaded 18 but it still happens. The main problem is sen in the second screenshot "Toegang geweigerd" this is dutch for "Access denied". So basically the program isnt getting access to create a file. If anyone knows how to give it premission or how to make it work please tell

Cites Alex Liebhaber · 2022-11 · Stack Overflow · on “Trying to Learn ASP.NET MVC, I load in the default Core Web APP MVC, but I get errors”

I am trying to follow this tutorial, [this video] . When I create and try to run issexpress. I get 5 build errors. I'm coming from JS, but brand new to C# and VS Studio. I have a feeling this has to do with me including the Identity stuff, but I cannot figure out why it's working off the rip for the tutorial, but not for me. Any advice? Error NU1101 Unable to find package Microsoft.EntityFrameworkCore.SqlServer. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages Error NU1101 Unable to find package Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages Error NU1101 Unable to find

Cites Moaz Haroon · 2022-11 · Stack Overflow · on “Login and registration page path in ASP.NET MVC”

I am a newbie in C# programming and web development. Kindly let me know how I can find the code files for the login and register page in ASP.NET MVC. I created this simple web app using this crash course; [this video] . This is the screenshot [LINK] of the page I want to locate and alter. I want to change the text next to the login and registration forms. Looking forward to getting a reply from anyone who can help. Thanks in advance I tried looking in all the files, like the css file and all the files in the views folder, but I could not find the file I want to change the text on the registration and login page.

Cites rickvanveldhuisen · 2023-03 · Stack Overflow · on “Use unrelated SQL tables in an ASP.NET Core MVC view”

So I have an ASP.NET Core MVC application related to sports. I know that within the view, the data gets imported together with the controller which sends the data. Within this controller, I know you can include related SQL tables, however I want to view a unrelated table For your context: I use a SQL table I set up the application in the application in the first place by using this tutorial: [this video] Its about a sports application. I want to show the games where a certain player/coach has been involved with. The game has an organizationId , this organization has a team and this team has a coach an players. I have been looking in to it, but I can't seem to find any solution suitable for my use