Learn Angular 10, .NET Core Web API & SQL Server by Creating a Web Application from Scratch

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024
  • Source Code: github.com/Art...
    Related Tutorials:
    --------------------
    React JS + Python Django + SQLite full-stack app
    • React JS + Python Djan...
    --------------------
    React JS + .NET Core Web API + Microsoft SQL full stack app
    • React JS + .NET Core W...
    --------------------
    .NET Core API + Vue JS + Microsoft SQL full-stack web app
    • .NET Core API + Vue JS...
    --------------------
    ASP .NET Core Web API + Microsoft SQL CRUD APIs
    • ASP .NET Core Web API ...
    --------------------
    ASP .Net Core Web API + MySQL | CRUD APIs Tutorial
    • ASP .Net Core Web API ...
    --------------------
    .NET Core Web API + PostgreSQL | CRUD APIs
    • .NET Core Web API + Po...
    --------------------
    .Net Core Web API + MongoDB CRUD APIs
    • .Net Core Web API + Mo...
    --------------------
    Python Django + SQLite | REST APIs
    • Python Django + SQLite...
    --------------------
    Python Django + PostgreSQL | REST API Tutorial
    • Python Django + Postgr...
    --------------------
    Python Django + MySQL CRUD API Tutorial
    • Python Django + MySQL ...
    --------------------
    Python Django + MongoDB CRUD API Tutorial
    • Python Django + MongoD...
    --------------------
    Python Django + Microsoft SQL Server CRUD API Tutorial
    • Python Django + Micros...
    --------------------
     Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. www.kite.com/g...
    Python and Angular app tutorial video: • Learn Angular 10, Pyth...
    Learn to create a simple web application from scratch using Angular 10, .NET Core Web API and Microsoft SQL Server.
    Contents:
    Install SQL Server and SQL Server Management Studio.
    Install Visual Studio.
    Install Visual Studio Code.
    Install POSTMAN.
    Install Node JS.
    Install Angular 10.
    Create DB and Tables in Microsoft SQL Server.
    Create .NET Web API Project.
    Force API to return JSON response only.
    Enable CORS.
    Create Models.
    API for Department Screen : GET.
    API for Department Screen : POST, PUT and DELETE.
    APIs for Employee Screen.
    Upload Photo API.
    Angular Project Intro.
    Create Angular 10 Project.
    Generate Components and Services in the Angular Project.
    Add Service methods to consume APIs.
    Routing in Angular.
    Add Bootstrap to our Angular App.
    Navigation Menu using Bootstrap.
    Show Department Screen with Bootstrap Table.
    Modal Pop Up Window using Bootstrap.
    Add and Edit Pop Up Screen for Department.
    Delete Department.
    Show Employee Screen with Bootstrap table.
    Upload Photo, Add and Edit Employee Details Pop Up Screen.
    Custom Sorting and Filtering to our Bootstrap table.

ความคิดเห็น • 265

  • @zmastov1
    @zmastov1 3 ปีที่แล้ว +20

    Keep in mind this course takes way longer than an hour 1:27 minutes. If you don't have experience in typescript, and don't know the basic building blocks of Angular, I highly recommend spending 2 hours on the following course: th-cam.com/video/k5E2AVpwsko/w-d-xo.html
    This will make this video a lot more understandable. Overall this is a good course prior to jumping to more serious courses.

  • @ethiopiantube5091
    @ethiopiantube5091 3 ปีที่แล้ว +113

    Wow! YOU HAVE NO IDEA HOW THANKFUL I AM FOR THIS LECTURE: YOU LITERALLY SAVED ME FROM LOSING MY JOB

    • @azgan123
      @azgan123 3 ปีที่แล้ว +5

      Where do you work? I already know all of this, perhaps I could take your spot.

    • @giorgio4352
      @giorgio4352 3 ปีที่แล้ว +57

      @@azgan123 maybe your arrogance is the reason why you don't have a job.

    • @crikey4336
      @crikey4336 3 ปีที่แล้ว +6

      Don't get too comfortable, if your are using any of the sql injection riddled techniques in this video you will be back on the street and jobless in no time!

    • @teaspells9994
      @teaspells9994 3 ปีที่แล้ว

      @@crikey4336 how do I get rid of it?

    • @lyubomyr6457
      @lyubomyr6457 3 ปีที่แล้ว +4

      @@teaspells9994 you may try to learn Entity Framework

  • @Felix-og7pd
    @Felix-og7pd 2 ปีที่แล้ว +11

    intro
    setup environment(ms sql, vs 2022, node, angular)
    9:30 create database
    16:00 asp net core
    38:00 angular
    postman, simple CRUD,

    • @markus27183
      @markus27183 2 ปีที่แล้ว +1

      Bootstrap 54:00

  • @millerw9
    @millerw9 3 ปีที่แล้ว +18

    Seriously... this was exactly what I was looking for, and it was even better than I could have hoped or expected! Thanks!!!!!

  • @auchucknorris
    @auchucknorris 3 ปีที่แล้ว +4

    like as soon as i see the content, all the way up to image uploading in just over an hour, gawd dammnnnn, exactly what I need to start my new junior full stack job

  • @jnaras
    @jnaras 3 ปีที่แล้ว +4

    Thanks a lot. From this video, anyone start working and see the total functionality and then we can improve as we wish.

  • @bensonndirangu
    @bensonndirangu 2 ปีที่แล้ว

    The best course ever in my career of 15 years of programming

  • @LucasDev
    @LucasDev 3 ปีที่แล้ว +8

    For whose is getting errors on instalation of the NuGet Package for NewtonSoftJson,
    Install the version less than or equal to 3.1.10. Do not install the Latest stable 5.0.0

    • @anoopg95
      @anoopg95 3 ปีที่แล้ว +2

      Thanks

  • @90krishika
    @90krishika 3 ปีที่แล้ว +10

    If anybody is using Angualr 11+ then make these changes to tsconfig.json file- It will resolve the issues with strict property initialization
    {
    "compileOnSave": false,
    "compilerOptions": {
    "baseUrl": "./",
    "outDir": "./dist/out-tsc",
    "forceConsistentCasingInFileNames": true,
    "strict": false,
    "noImplicitReturns": false,
    "noFallthroughCasesInSwitch": true,
    "sourceMap": true,
    "declaration": false,
    "downlevelIteration": true,
    "experimentalDecorators": true,
    "moduleResolution": "node",
    "importHelpers": true,
    "target": "es2015",
    "module": "es2020",
    "lib": [
    "es2018",
    "dom"
    ]
    },

  • @FarshanAhamed
    @FarshanAhamed 3 ปีที่แล้ว

    I have been using this MSSQL+.NET Core + Angular combo since 2017.

  • @ur4744
    @ur4744 3 ปีที่แล้ว +22

    Sir kindly create a full app with angular 10,SQL Server and .net core with authentication and authorization.

    • @sneigee
      @sneigee 2 ปีที่แล้ว

      Nice one and also check this Real E-Commerce App using .Net 5 and Angular 13
      Thanks
      th-cam.com/video/-IzpsC-0eBk/w-d-xo.html

  • @lydedreamoz
    @lydedreamoz 3 ปีที่แล้ว +10

    You literally saved my ass man, it was very closed from what I had to do at work. Thanks a lot !

    • @sneigee
      @sneigee 2 ปีที่แล้ว

      Nice one and also check this Real E-Commerce App using .Net 5 and Angular 13
      Thanks
      th-cam.com/video/-IzpsC-0eBk/w-d-xo.html

  • @muhammedeldeeb
    @muhammedeldeeb 3 ปีที่แล้ว +1

    straight-forward tutorial which go to the point and don't waste time. Thanks a lot for your effort.

    • @sneigee
      @sneigee 2 ปีที่แล้ว

      check this Real E-Commerce App using .Net 5 and Angular 13
      Thanks
      th-cam.com/video/-IzpsC-0eBk/w-d-xo.html

  • @VanVelding
    @VanVelding 3 ปีที่แล้ว +3

    The routing to /employee and /department doesn't work, but the routing to /api/employee--which is different--does. The other routing options work if I just run the Angular project alone with 'ng serve'. I'm baffled, but I'll see if I can keep going.

  • @sandanuwan4441
    @sandanuwan4441 3 ปีที่แล้ว

    Thank you for this tutorial. Your video is little bit fast. Its actually little bit hard to understand. Please make a little bit slow videos. Thanks for your support.

  • @mhmd_444
    @mhmd_444 3 ปีที่แล้ว +7

    this exactly what i want , thank you very much man , you're amazing

  • @alignoor1518
    @alignoor1518 2 ปีที่แล้ว

    Great work
    And best for new Learner from scratch to deploye application

  • @moneyfresher3035
    @moneyfresher3035 3 ปีที่แล้ว +1

    Great work. This is what real world applications are built. Only JWT Authentication and exception logging is left. Do you have any plan to cover these topics too? it will be better if you add these features in this sample.

  • @Rickxs_x
    @Rickxs_x 3 ปีที่แล้ว

    DELETE ERROR FIX: Like many I had an issue with the delete department call, as a walkaround I just concatenated to the url the val (it was sent as options before) in the delete method of the shared.service.ts file just paste:
    return this.http.delete(this.APIUrl+'/department/'+val);
    and it should work. Great tutorial! Thanks.

  • @ThePanosr
    @ThePanosr 3 ปีที่แล้ว +2

    Thank you for this great guide. Please answer this question, I want to auto close modal after update or insert. How I can do that?

    • @msxalivashli9524
      @msxalivashli9524 3 ปีที่แล้ว

      add style to this: data-bs-dismiss="modal" #closebutton (addDep and UpdateDep Buttons )

  • @sarwarjahan05
    @sarwarjahan05 3 ปีที่แล้ว +1

    Thank you. It is a perfect tutorial to begin with C# and Angular.

  • @noorullakhan2830
    @noorullakhan2830 ปีที่แล้ว

    It was an awesome video and the clarity and context was precise to the topic, thanks for the best ever video...

  • @leewilliams2763
    @leewilliams2763 ปีที่แล้ว +1

    SQL Table Employee should use DepartmentID, foreign key. When using USING keyword, you don't need to close the command or connection it does it for you
    using (SqlConnection sqlConnection = new SqlConnection(sqlDataSource))
    {
    sqlConnection.Open();
    using (SqlCommand sqlCommand = new SqlCommand(query, sqlConnection))
    {
    using (SqlDataReader sqlReader = sqlCommand.ExecuteReader())
    {
    table.Load(sqlReader);
    }
    }
    }

  • @kulasekaralwar369
    @kulasekaralwar369 3 ปีที่แล้ว +6

    Hi Great and nice tutorial, Please create with Authentication and Authorization. Thanks once again

    • @sneigee
      @sneigee 2 ปีที่แล้ว

      Nice one and also check this Real E-Commerce App using .Net 5 and Angular 13
      Thanks
      th-cam.com/video/-IzpsC-0eBk/w-d-xo.html

  • @idlyparataa5999
    @idlyparataa5999 2 ปีที่แล้ว +1

    dont know the name of the person who create this tutorial. i thank him for this great work

  • @akhilvishnuts7835
    @akhilvishnuts7835 3 ปีที่แล้ว

    Thankyou Thankyou Thankyou very much. this video help me a lot.. this is exactly i am searching.. you helped me a lot.

  • @syafiqurrahman418
    @syafiqurrahman418 3 ปีที่แล้ว +3

    Hello, I've followed your tutorial for a week, and I'm stuck on 1:00:27 Mine is not showing up, while yours is. I've pasted the code from github, and still no luck.

    • @GhayasAshraf
      @GhayasAshraf 2 ปีที่แล้ว

      Its cors policy issue...replace your Cors with following code
      using Microsoft.AspNetCore.Builder;
      using Microsoft.AspNetCore.Hosting;
      using Microsoft.Extensions.Configuration;
      using Microsoft.Extensions.DependencyInjection;
      namespace WebApi
      {
      public class Startup
      {
      public Startup(IConfiguration configuration)
      {
      Configuration = configuration;
      }
      public IConfiguration Configuration { get; }
      // This method gets called by the runtime. Use this method to add services to the container.
      public void ConfigureServices(IServiceCollection services)
      {
      services.AddCors();
      services.AddControllers();
      }
      // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
      public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
      {
      app.UseRouting();
      // global cors policy
      app.UseCors(x => x
      .AllowAnyMethod()
      .AllowAnyHeader()
      .SetIsOriginAllowed(origin => true) // allow any origin
      .AllowCredentials()); // allow credentials
      app.UseAuthentication();
      app.UseAuthorization();
      app.UseEndpoints(x => x.MapControllers());
      }
      }
      }

  • @sudhid8765
    @sudhid8765 3 ปีที่แล้ว

    Wowwwww simply superb Man U rocked 👌👌 thanks a lot got a clear idea. One small doubt here instead creating two same child modules can we have single one and shared for two parent components?

  • @ahmedazouz303
    @ahmedazouz303 2 ปีที่แล้ว

    One of the best tutorials ever, thanks for the effort

  • @ziadjerdak2306
    @ziadjerdak2306 3 ปีที่แล้ว +3

    Thank you for this great tutorial, can you help me plz with the errors I'm getting after reaching 1:10:00.
    Error List :
    Property 'DepartmentId' has no initializer and is not definitely assigned in the constructor.
    Property 'DepartmentName' has no initializer and is not definitely assigned in the constructor.
    Property 'ModalTitle' has no initializer and is not definitely assigned in the constructor.
    Parameter 'item' implicitly has an 'any' type.
    Parameter 'item' implicitly has an 'any' type.
    I have repeatedly checked the video for any possibility of a missing part of code, but i couldn't figure out what's the problem.
    Thank you in advance sir.

    • @minimanux1
      @minimanux1 3 ปีที่แล้ว +2

      I had the same and found this on the web add --> !
      item : any;
      departmentId!: string;

    • @axisstargazer891
      @axisstargazer891 3 ปีที่แล้ว +1

      iN YR tsCONFIG.JSON SET "strict": false,

    • @anuvindpradeep6226
      @anuvindpradeep6226 3 ปีที่แล้ว

      @@minimanux1 can you plz explain that.

    • @javhm1611
      @javhm1611 2 ปีที่แล้ว

      @@axisstargazer891 ♥

  • @mohamedmagdy506
    @mohamedmagdy506 3 ปีที่แล้ว +1

    why you didn't use ADO To get data from database and use the old method

  • @noorbashamd11
    @noorbashamd11 2 ปีที่แล้ว

    Great and I was looking the same Thank you !

  • @gopisrinivasan9752
    @gopisrinivasan9752 3 ปีที่แล้ว +1

    Hi @Art of Engineer What is difference between previous 3 months old video and this tutorial. any thing additional we added

    • @ArtofEngineer
      @ArtofEngineer  3 ปีที่แล้ว +2

      Backend is .net core api. Previous one is asp .net web api.. that's the only difference

    • @gopisrinivasan9752
      @gopisrinivasan9752 3 ปีที่แล้ว

      @@ArtofEngineer Thanks a lot.

    • @vlnssteyrin4841
      @vlnssteyrin4841 3 ปีที่แล้ว

      @@ArtofEngineer is there a difference in them? maybe previus u create in Net Framework?

  • @DavidJJJ
    @DavidJJJ 3 ปีที่แล้ว +5

    You would be crazy to develop a new web application with an mssql server backend these days, especially when there are way cheaper and faster alternatives.

    • @mindasb
      @mindasb 3 ปีที่แล้ว

      Faster? I get cheaper, but what do you mean faster? There are usecases where mssql is as fast as anything.

    • @lordfireriser8125
      @lordfireriser8125 3 ปีที่แล้ว

      im also curious what you mean by faster and cheaper alternatives. im learning this in school and pretty new to all this :p

    • @DavidJJJ
      @DavidJJJ 3 ปีที่แล้ว +2

      @@lordfireriser8125 Well, Aurora Serverless is cheaper, since it's almost free. If you are developing a web app, you can use it and set the database to go to sleep (pause) after x amount of minutes of idle activity. If the database is sleeping, you incur no cost.
      If you're looking for an 'always on' solution, Azure Microsoft SQL Server runs at around $400 USD per month. The AWS Aurora database engine is a $30 USD per month in comparison. On the speed issue, as long as your database is designed properly and it's fit for purpose for the application, this is not going to be an issue with any database technology really.

    • @hegemaniac666
      @hegemaniac666 3 ปีที่แล้ว +2

      @@DavidJJJ the level of deception in your comparison here is breathtaking. I don’t think you should have any credibility after this. $400 vs $30 for something comparable across two different cloud providers? Blatant lies. Now, if you were to start comparing apples to apples then start with something more credible than David.

    • @DavidJJJ
      @DavidJJJ 3 ปีที่แล้ว

      @@hegemaniac666 You can fact check what I've written for yourself, I understand you're amazed at what I've said 'how can AWS be that much cheaper', but I assure you, it's true. I was amazed as well until I found out for myself and did the sums. I'm more convinced than ever that people really do need to abandon Microsoft SQL Server. Either that or abandon their bank accounts, because that's what you're doing by sticking with such an archaic, expensive product. If you don't care about money and you want to be stuck on a propriety database product, then stick with Microsoft, by all means.

  • @esklad24
    @esklad24 3 ปีที่แล้ว +7

    Why aren't you using C# Linq?

  • @patrik-2311
    @patrik-2311 2 ปีที่แล้ว

    Are you Pathfinder from Apex Legends? :D Great Job, you can maybe save my diploma

  • @carlosfernandez720
    @carlosfernandez720 2 ปีที่แล้ว

    great tutorial, please keep making these videos !! but I don't like the robotic voice.

  • @Nicetrycutiepie
    @Nicetrycutiepie 2 ปีที่แล้ว

    Thank you so much bro, i like to implement this in my weekend.

  • @CHITUS
    @CHITUS 2 ปีที่แล้ว

    Quite fast and easy... Thanks a lot bro

  • @yashushukla8078
    @yashushukla8078 2 หลายเดือนก่อน

    1:08:46 In mine I cant see the data(IT, edit, etc). The table structure is visible but not the entered values. Why is it like that?

  • @SohrabRouzbeh
    @SohrabRouzbeh 2 ปีที่แล้ว

    I think using this pattern is the best way to be surprised by a sql injection attack and it is not async

  • @jubamatos8638
    @jubamatos8638 3 ปีที่แล้ว +2

    Great tutorial! I'm new to Angular (any version and that includes Typescript) and I've been trying to get into it. How can I avoid the annoying popups that shows the record was update/created/deleted without forcing the user to click the Close button on such? I think a temporary popup showing the message would be more elegant and less annoying. Thanks!

    • @nsundarpandian
      @nsundarpandian ปีที่แล้ว +1

      instead of alert box we can show the messages as a text inside any html elements like div,lable or span.

  • @sornizer
    @sornizer 3 ปีที่แล้ว +1

    my department table is not getting data in show-dep component

  • @SowmiyaChandrasekar14
    @SowmiyaChandrasekar14 3 ปีที่แล้ว +2

    Sir kindly post video using entity framework and core and angular 9/10 with SQL server...pls ...

  • @arakor8962
    @arakor8962 3 ปีที่แล้ว +1

    What Typescript Version are you using?If i try to make the Filter Function at 1:23:19 ,TS gives me a Error with the Parameter el.
    I also have some other Problems so that i cannot add,update or delete Data in the Tables where you didnt had any Problem and i guess it is because of our different Versions of Typescript

    • @niculitaalex4855
      @niculitaalex4855 3 ปีที่แล้ว

      did you solve this problem ? "I also have some other Problems so that i cannot add,update or delete Data in the Tables where you didnt had any Problem and i guess it is because of our different Versions of Typescript""

    • @andreitamaian1542
      @andreitamaian1542 2 ปีที่แล้ว +1

      ​@@niculitaalex4855 I have solved it and made a tutorial video on my youtube channel

  • @architajoshi9055
    @architajoshi9055 3 ปีที่แล้ว

    Why have you used @ before writing sql queries? Is there some special purpose of it?

  • @stavroskou
    @stavroskou 3 ปีที่แล้ว +3

    For a reason uploading photo doesn't work I tried it two times.. it is uploading the photo to the "Photos" directory but it doesn't display it on the edit section of the employee

    • @ArtofEngineer
      @ArtofEngineer  3 ปีที่แล้ว

      Check file name is correctly being saved and fetched from db table

    • @danvyhlidal2275
      @danvyhlidal2275 3 ปีที่แล้ว

      I ran into the same problem. If you still haven't figured it out, you have to include this section of code in .NET Core API project --> Startup.cs --> Configure(...){....}
      app.UseStaticFiles(new StaticFileOptions
      {
      FileProvider = new PhysicalFileProvider(
      Path.Combine(Directory.GetCurrentDirectory(), "Photos")),
      RequestPath = "/Photos"
      });

    • @minimanux1
      @minimanux1 3 ปีที่แล้ว

      I don't know if you have the same problem that i had but i had to change the proto folder permission to allow read/write from application manager... Please note that if its your issue creating those permissions would make this folder at risk...

  • @minimanux1
    @minimanux1 3 ปีที่แล้ว +2

    @Art of Engineer
    Thnak you for this, i have an issue with the delete department feature no errors from the angular compiler but the APi is complaining about an unauthorized method error 405 event tho CORS is set-up with allow all... Could you give me an insight ?

    • @deb3296
      @deb3296 3 ปีที่แล้ว

      Hey I am Facing the same Issue ,Did u find any Solution??

    • @GhayasAshraf
      @GhayasAshraf 2 ปีที่แล้ว

      Its cors policy issue...replace your Cors with following code
      using Microsoft.AspNetCore.Builder;
      using Microsoft.AspNetCore.Hosting;
      using Microsoft.Extensions.Configuration;
      using Microsoft.Extensions.DependencyInjection;
      namespace WebApi
      {
      public class Startup
      {
      public Startup(IConfiguration configuration)
      {
      Configuration = configuration;
      }
      public IConfiguration Configuration { get; }
      // This method gets called by the runtime. Use this method to add services to the container.
      public void ConfigureServices(IServiceCollection services)
      {
      services.AddCors();
      services.AddControllers();
      }
      // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
      public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
      {
      app.UseRouting();
      // global cors policy
      app.UseCors(x => x
      .AllowAnyMethod()
      .AllowAnyHeader()
      .SetIsOriginAllowed(origin => true) // allow any origin
      .AllowCredentials()); // allow credentials
      app.UseAuthentication();
      app.UseAuthorization();
      app.UseEndpoints(x => x.MapControllers());
      }
      }
      }

  • @hieudaica1304
    @hieudaica1304 ปีที่แล้ว

    why don't you use DbContext to create database and table?

  • @VukotaDjLewu95
    @VukotaDjLewu95 2 ปีที่แล้ว

    How to download this SQL Server Management Studio for MacBook M1 ? Where I can find it?

  • @danmaglaya8164
    @danmaglaya8164 2 ปีที่แล้ว

    Do you have an example of deploying it to IIS?

  • @rajnarayananv
    @rajnarayananv 3 ปีที่แล้ว

    Simply GREAT !
    Appreciated.
    Thank you.

  • @danielkovacs3664
    @danielkovacs3664 ปีที่แล้ว

    nice video, and how could i do if i want to se the edit history?

  • @dr.x38
    @dr.x38 3 ปีที่แล้ว +1

    So, as I can see, you actually don't need DepartmentID in dbo.Employee to store Department to which employee belongs?

    • @jubamatos8638
      @jubamatos8638 3 ปีที่แล้ว +2

      Yes and no. Actually, the DepartmentID, in this case, is only used as an index. Maybe for simplicity sake the author decided to use the Department's name in the Employee table. The problem is that, if we change a department name on the Department table, the Employees with the previous department won't be updated, and it'll be a mess if we need to create a report of Employees grouping them by Departments, for example. The most recommended is to have a foreign key linking the two tables by using the DepartmentID column on both, and this is called "normalization". So, this approach of saving the Department name to the Employee table wouldn't be recommended at all in real life. Better use the IDs since they cannot be changed and will update all the Employees for that Department, otherwise we need to code something to go thru all the records updating the column Department on Employees table with the new edited Department's name... a real mess!

  • @wilczekkubam
    @wilczekkubam 3 ปีที่แล้ว

    Could you make video in with you show authorization, and how to make it access specific web page in angular ? (just a wish video ;))

  • @thanhsontran6271
    @thanhsontran6271 3 ปีที่แล้ว +1

    great video but what is json serializer ? I'm new to C#

    • @junaidengineerings
      @junaidengineerings 3 ปีที่แล้ว +1

      The JsonSerializer converts .NET objects into their JSON equivalent and back again by mapping the .NET object property names to the JSON property names and copies the values for you.

  • @JiangFu
    @JiangFu 3 ปีที่แล้ว

    WebApi is run 5000port , how to set customer port in appsettings.json and how to set in Program.cs , thank you

  • @RahmatLasisi
    @RahmatLasisi 3 ปีที่แล้ว

    You are just the best! Just exactly what I need

  • @eryogeshtripathi8888
    @eryogeshtripathi8888 3 ปีที่แล้ว

    Awesome Video!! nice learning.. Thanks a ton.. It was my first full stack application, now I can make any..

    • @sneigee
      @sneigee 2 ปีที่แล้ว

      Nice one and also check this Real E-Commerce App using .Net 5 and Angular 13
      Thanks
      th-cam.com/video/-IzpsC-0eBk/w-d-xo.html

  • @dhanshriborse999
    @dhanshriborse999 ปีที่แล้ว

    Hello...the app works fine but here whatever we enter from hi is not getting stored in the database...plzz explain me it how to do that

  • @priyankas8239
    @priyankas8239 3 ปีที่แล้ว +1

    when i create new project in visual studio...i cannot get weatherforecast details...i get wwwroot and pages folder whether it is correct or not...or how to create project

    • @fromlogeshsview
      @fromlogeshsview 3 ปีที่แล้ว

      I also see the same issue if when u will get the solution please comment here

    • @nicolas28500
      @nicolas28500 2 ปีที่แล้ว

      @@fromlogeshsview be sure that you are creating a web api project

  • @jesperschaadt9587
    @jesperschaadt9587 3 ปีที่แล้ว

    can this be done within VS 2017 also - or does it require 2019? Thanks so much

  • @90krishika
    @90krishika 3 ปีที่แล้ว

    src/app/department/add-edit-dep/add-edit-dep.component.ts:15:3 - error TS2564: Property 'DepartmentId' has no initializer and is not definitely assigned in the constructor. Why this error is occurring in add-edit-dep.component.ts ? I have done exactly what you've shown

  • @ddreams6151
    @ddreams6151 3 ปีที่แล้ว

    wow, thank you so much for this video, its just amazing with all details included.

  • @Gyan_Dash
    @Gyan_Dash 3 ปีที่แล้ว

    Loved it ... please keep uploading such contents....helped a lot

  • @sudhapandian6577
    @sudhapandian6577 2 ปีที่แล้ว +1

    why dont you used Entity framework core

  • @HammadBinSajid
    @HammadBinSajid 2 ปีที่แล้ว

    Could you please attach Postman collection for this APIs to test them.

  • @sourabhsharma4878
    @sourabhsharma4878 3 ปีที่แล้ว

    Quite fast and easy... Thanks a lot bro 👍

  • @Kalpdag
    @Kalpdag 2 ปีที่แล้ว

    Great tutorial, thank you.

  • @marouaneeladbi2323
    @marouaneeladbi2323 3 ปีที่แล้ว +2

    when i do that

    Error occurs in the template of component ShowDepComponent.
    Please help

    • @90krishika
      @90krishika 3 ปีที่แล้ว

      Same for me, it says- "src/app/department/show-dep/show-dep.component.html:23:31 - error NG8002: Can't bind to 'dep' since it isn't a known property of 'app-add-edit-dep'."
      Any help please?

    • @marouaneeladbi2323
      @marouaneeladbi2323 3 ปีที่แล้ว +7

      @@90krishika I found the solution:
      you must declare @input () dep: any in add-edit-dep.comp.ts, because we used a variable in the tag add-edit-dep.comp.

    • @pedrobraga4944
      @pedrobraga4944 3 ปีที่แล้ว

      @@marouaneeladbi2323 I am having the same problem, can you tell me where I must declare this? It's on the imports of add-edit-dep-comp.ts?

    • @74potions
      @74potions 3 ปีที่แล้ว

      @@marouaneeladbi2323 This worked for me! I added this:
      @Input () dep: any = '';
      Make sure that you import Input from angular core!

    • @warismine1078
      @warismine1078 2 ปีที่แล้ว

      @@74potions Thanks man ! Worked for me

  • @skatersschool
    @skatersschool 3 ปีที่แล้ว

    Sir If i want to add an angular template in .net. How would i do this.
    Please help me for this I really want learn this.

  • @bhagathgangula343
    @bhagathgangula343 2 ปีที่แล้ว

    Hi Sir,
    I am couldn't able to install mvc.newtonsoft package and unable to select the .net core web application. could you please help on that.

  • @LapTrinhQuaNhanh
    @LapTrinhQuaNhanh 2 ปีที่แล้ว

    This is all I need

  • @langthangtinhbun
    @langthangtinhbun 2 ปีที่แล้ว

    Hi Art of Engineer. Can I run your source code at my local computer?

  • @gajananlondhe1822
    @gajananlondhe1822 2 ปีที่แล้ว

    Excellent Tutorial

  • @danozuke
    @danozuke 2 ปีที่แล้ว

    This is a nice tutotial. I'm getting an issue with Cors however, whenever I try to fill the table with department data the console says that Cors policy is not enabled. Has anybody run into that, and how did you solve it? Thanks.

    • @julionunes2092
      @julionunes2092 2 ปีที่แล้ว +1

      I'm using Angular 13. Maybe you're using the same version as I am.
      Access --> Program.cs
      // Configure the HTTP request pipeline.
      if (app.Environment.IsDevelopment())
      {
      app.UseSwagger();
      app.UseSwaggerUI();
      }
      builder.Services.AddCors();
      app.UseCors(c =>
      {
      c.AllowAnyHeader();
      c.AllowAnyMethod();
      c.AllowAnyOrigin();
      });

    • @simonrussell9234
      @simonrussell9234 2 ปีที่แล้ว

      @@julionunes2092 Thanks this really helped for me. Angular wasn't displaying anything in the table until I added this code change.

  • @amalr9823
    @amalr9823 6 หลายเดือนก่อน

    How u host this in iis? Angular is in vscode and net core in vs

  • @ganeshworlds
    @ganeshworlds 3 ปีที่แล้ว

    Thank you so much for the great explanation and share the video!!!!!

  • @travelmemories198
    @travelmemories198 3 ปีที่แล้ว +1

    I am not able to get data from API, on Angular UI. Is it something cross origin , which we need to understand ?

    • @mazingguitar
      @mazingguitar 3 ปีที่แล้ว

      You have to enable CORS on API side. You do it from startup class, first registering policy in DI container and then using it below.

    • @swethan3331
      @swethan3331 ปีที่แล้ว

      Got the same issue. Issue got resolved after enabling CORS on API in startup class

  • @kevinrosala962
    @kevinrosala962 2 ปีที่แล้ว

    Good explanations but too speed sometimes, had to turn the video speed at x0.5 ! :)

  • @aravindm681
    @aravindm681 ปีที่แล้ว

    I can't find startup in .net framwork 6 2022 visual studio. Please help

  • @patrik-2311
    @patrik-2311 2 ปีที่แล้ว

    what can i do, if the rxjs modul doesnt work, and the npm istall desnt work to?

  • @jitheshkramesh
    @jitheshkramesh 3 ปีที่แล้ว

    thanks for the video. while pick the image, it's not showing the img. Please support.

  • @alekhya1350
    @alekhya1350 2 ปีที่แล้ว

    Is there test cases for this project using ms unit testing

  • @sebastianbasic252
    @sebastianbasic252 2 ปีที่แล้ว

    I get PUT 405 whenever I try to update. I included allowAnyMehod but it doesn't help.

  • @SyedAliAsgharShah12
    @SyedAliAsgharShah12 3 ปีที่แล้ว +2

    Sir, I have a problem with the postman. Follow you and perform the same steps as you did, but don't get any response on the postman. Can you please explain it?

    • @maxneumann9876
      @maxneumann9876 2 ปีที่แล้ว +1

      dumbest question in history how should he know

  • @corthighfield4869
    @corthighfield4869 3 ปีที่แล้ว

    24:49 Where did "EmployeeAppCon" come from?

  • @mazingguitar
    @mazingguitar 3 ปีที่แล้ว

    Very fun stack to work with 💪

  • @farithadnan
    @farithadnan 3 ปีที่แล้ว

    can I use this tutorial with the the latest angular and ASP.net CORE?

  • @MikikiPodroze
    @MikikiPodroze ปีที่แล้ว

    great video !

  • @AHandono2000
    @AHandono2000 3 ปีที่แล้ว

    39:09 bit typo "wep API" , but overall this is a good video

  • @shashankgonuguntla2618
    @shashankgonuguntla2618 3 ปีที่แล้ว

    I got an error while writing Httppost in dotnet, parameters need directive??

  • @rlm41
    @rlm41 3 ปีที่แล้ว

    I can't get SaveFile working, every time I choose a file my API hangs.. Any idea?

  • @jodsuesanchez4785
    @jodsuesanchez4785 3 ปีที่แล้ว

    Thnks 4 all bro

  • @skyfinancellc9538
    @skyfinancellc9538 5 หลายเดือนก่อน

    OK, I'm late to the game here. The current version of Angular is 17, whereas this video uses version 10. In 17, apparently, "modules" are not used, whereas in this video they are. Therefore, I am not certain whether I got routing set up correctly; it certainly does not work correctly. Also, this video did not explain how it set up a *web server* so as to serve the Angular files from port 4200. It completely glossed over this critical point. So I couldn't get that working either, although I was able to serve files from another "live server" I have at port 5500. But even so, routing did not work. Oh well, too bad. So the video is good up until about 53 minutes or so. Thank you. If anyone has any comments on this, please do comment; thank you!

  • @artwosan3007
    @artwosan3007 3 ปีที่แล้ว

    Thank you for this video sir. Have a good day.

  • @emanueltejadacoste2250
    @emanueltejadacoste2250 3 ปีที่แล้ว

    The newtonjson nuget package says not compatible with .net core 3.1
    help please

  • @hozmannew896
    @hozmannew896 3 ปีที่แล้ว

    you are great thank you so much it was so too much easy, too much useful

  • @beni8ification
    @beni8ification 3 ปีที่แล้ว

    any ideas on how to deploy this project on firebase or netifly for a portfolio website?

    • @auchucknorris
      @auchucknorris 3 ปีที่แล้ว

      this project will be mostly deployable to Azure as its all Microsoft proprietary with SQL and .net

  • @ishaganar1187
    @ishaganar1187 3 ปีที่แล้ว

    Awesome work 👍 thank you so much 😊