Asp.Net Core Web API and Angular 7 CRUD

Поделиться
HTML-код
  • Опубликовано: 8 фев 2025
  • 🍒 Related Videos
    Same Topic, But Updated: • Asp.Net Core Web API C...
    Login, User Registration, Authorization, etc (Angular & .Net Core API): • Angular & .Net Core AP...
    (Angular & .Net Core API) More Videos: • Angular & Asp.Net Core...
    React & .Net Core API Videos: • React & Asp.Net Core API
    📂 GitHub Repository
    ► goo.gl/3SvTLK
    💖 Channel Support
    ➤ Paypal: bit.ly/3L36ut4
    ➤ UPI App: geni.us/ScanQR...
    ➤ Amazon: geni.us/Amazon...
    💌 For Business Inquiries
    ➤ codaffection@gmail.com
    🚶‍♂️ Follow us
    Facebook : / codaffection
    Discord : / discord
    Twitter : / codaffection
    ---
    Angular 7 CRUD with Asp.Net Core Web API
    CRUD Operations: Insert, update, delete, and retrieve are implemented in Asp.Net Core Web API with Angular 7. First of all, we'll build a Web API project in Asp.Net Core with required methods at the server-side using Entity Framework Core and SQL Server DB. Then the Angular 7 Project consumes those methods from the client-side.
    Points discussed :
    How to create Web API in Asp.Net Core with CRUD web methods.
    Enable CORS in Asp.Net Core.
    Angular Form Design with Validation.
    Tools Used: VS Code, Visual Studio, SSMS, Postman.
    #Angular #AspNetCore #CodAffection

Комментарии • 549

  • @CodAffection
    @CodAffection  6 лет назад +18

    goo.gl/bPcyXW : Buy me a Coffee
    bit.ly/3zktP96 : Login, User Registration, Authorization, etc (Angular & .Net Core API)
    bit.ly/47yygKq : (Angular & .Net Core API) More Videos
    bit.ly/4fSmgXP : React & .Net Core API Videos

    • @tuck582
      @tuck582 6 лет назад +1

      Could you please explain why you, along with so many other developers, do not use VS for Angular code and instead use VSC? I love VSC, but I would rather just use just one IDE. For example, would there be any issues if I were to create a blank solution named MyApp, then created a Project named WebAPI and then another project named WebApp and made that my Angular project within VS? What issues do you face when using VS for Angular? Thanks for the great tutorials!

    • @tuck582
      @tuck582 6 лет назад

      I suggest a Stellar Lumens address, as they have the lowest transfer fees and times.

    • @fabianbarragan4892
      @fabianbarragan4892 5 лет назад

      help !, in part 31:33 how did you generate the code?

    • @CodAffection
      @CodAffection  5 лет назад

      @@fabianbarragan4892 if you are talking about application structure, it was manually typed.

    • @CodAffection
      @CodAffection  5 лет назад

      I will try that next time.

  • @relliv2019
    @relliv2019 5 лет назад +103

    15:27 - Missing UseSqlsServer issue, solution: Nuget > Add Microsoft.EntityFrameworkCore.SqlServer package
    15:50 - Add-Migration error, solution: Nuget > Add Microsoft.EntityFrameworkCore.Tools package
    26:23 - if you are using .net core 3.0 and above, solution: Add
    options.JsonSerializerOptions.PropertyNameCaseInsensitive = true;
    options.JsonSerializerOptions.PropertyNamingPolicy = null;
    01:00:22 - ERROR TypeError: Cannot read property 'CardOwnerName' of undefined, solution: stackoverflow.com/a/55155310/6940144
    01:21:20 - Ngx-Toastr not compatible every ng version, check: www.npmjs.com/package/ngx-toastr#dependencies

  • @theonetrueac
    @theonetrueac 5 лет назад +2

    Clear and concise. Clearly English isn't your first language, so props to you for communicating effectively. You gained a subscriber today. :-)

    • @CodAffection
      @CodAffection  5 лет назад

      I am working on my English, thanks for the comment.

  • @arezooyooshin3558
    @arezooyooshin3558 4 года назад +3

    wow this short helpful and nice tutorial knocks me out! cant even be better, i knew angular and i wanted to start knowing how to code on backend using .net core! and yeah you nailed it! im so thankful, love the way you teach, please publish more videos and save more lives!

    • @CodAffection
      @CodAffection  4 года назад +1

      thanks for your wonderful feedback.
      keep learning and sharing.

  • @jaybharatjay
    @jaybharatjay 4 года назад

    Awesome Video tutorial, little bit changed in .net3 and Ng 10, but I solved all the changes and found in this video every thing is genuine and very very good. Thanks. I was zero in .net and ng a week ago and today I am very much confident and same is working in my laptop also.

  • @IlmioCapivelizario
    @IlmioCapivelizario 4 года назад +1

    Omg, You'r my hero thanks for the video, full 100% completed with minimal details, Thanks!

  • @PhilipeTavares
    @PhilipeTavares 4 года назад +1

    For those having trouble on migration part:
    >Install-Package Microsoft.EntityFrameworkCore.Tools
    >Update-Package Microsoft.EntityFrameworkCore.Tools

  • @misaelcostahomem7999
    @misaelcostahomem7999 4 года назад

    Very nice tutorial. From zero to 100% typed, character per character, built and executed. Its work and very fine!!!
    Tip: To work at first, you have to use the same versions of each technology that the author used, as there are restrictions, with the exception of fontawesome.

  • @choipatrick7006
    @choipatrick7006 6 лет назад +1

    This is really helpful. Could you please make some more videos? 1) comparing each Angular Version in terms of CRUD, 2) CRUD with Web API from multiple tables, 3) log in/out with JWT and access to certain module with authorize

    • @johnmadsen37
      @johnmadsen37 6 лет назад +3

      Just ask him to move in with you and feed you too

  • @patrykrys3153
    @patrykrys3153 5 лет назад +2

    Dude, i love you. From bottom of my heart.
    Clear, simple, fast, logic.

    • @CodAffection
      @CodAffection  5 лет назад

      thanks for your wonderful feedback. you must be a good human being. good to see such a nice feedback.

  • @Gyan_Dash
    @Gyan_Dash 4 года назад

    Thank u so much...I found the best video after a long time... quite helpful.... Keep doing the good work...❤️

  • @loveyoukrishna2410
    @loveyoukrishna2410 5 лет назад +1

    One of the best tutorial I ever seen on RUclips. Thanks to posting such a great video tutorial.

    • @CodAffection
      @CodAffection  5 лет назад

      Thanks for your wonderful feedback!.

  • @yaglehoole5662
    @yaglehoole5662 5 лет назад +2

    Many thanks to @CodAffection for this great vid. (I came for the Angular.)
    For the benefit of other viewers who may encounter runtime errors,
    I'd like to point out in the PaymentDetailContext class in PaymentDetailContext.cs,
    public DbSet PaymentDetails { get; set; }
    should be:
    public DbSet PaymentDetail { get; set; }
    PaymentDetail as singular, without the s.
    Accordingly, adjust controller code to use type instead of ,
    as there's no such class as PaymentDetails, only PaymentDetail defined in PaymentDetail.cs.
    Otherwise, the data provider will choke (at runtime), as the controller erroneously asks for
    a result set. (I'd long suspected the typo but went with it anyhow. So the minute PaymentDetailDB acted up, I knew right away where to look.)

  • @planetawesome8791
    @planetawesome8791 6 лет назад +11

    awesome ..simple and best tutorial ever..way effective than plural sight

    • @CodAffection
      @CodAffection  6 лет назад

      Thanks for your wonderful feedback.

    • @sameltringham2308
      @sameltringham2308 5 лет назад

      I'm only 15 mins in & I've learned stuff much more relevant than I have on recent pluralsight tuts

    • @CodAffection
      @CodAffection  5 лет назад

      @@sameltringham2308 thanks for your wonderful feedback.

  • @hoospie
    @hoospie 5 лет назад

    Great video. I love its conciseness. Never a wasted word or a fatuous aside. ... Potential correction. In the video at 1:00:44. minLength and maxLength are camel-cased. But they are not camel-cased in the code on GitHub. For me, camel-casing did not work. Only lowercasing worked, as in minlength and maxlength.

    • @CodAffection
      @CodAffection  5 лет назад

      thanks for your wonderful feedback.

  • @ernestbal633
    @ernestbal633 4 года назад

    Thanks Man. Very informative. Keep up the good work. Thanks again.

  • @culturapoliticaycomputador9999
    @culturapoliticaycomputador9999 3 года назад

    Thank you bro, for this great video easy to understand and you explain magnific, a real life approach to angular and asp core.😇🙏👍

  • @jdgolden8082
    @jdgolden8082 6 лет назад +1

    By far the best tutorial on working with a backend and the front-end. Great Job. I just subscribed, I really appreciate you taking the time to explain everything great Job.

    • @CodAffection
      @CodAffection  6 лет назад

      thanks for your wonderful feedback!.

  • @girmamoges941
    @girmamoges941 5 лет назад

    Extremely helpful please keep up the good work, visual studio 2019 - ASP.NET core web API backend and Angular 8 front end.

    • @CodAffection
      @CodAffection  4 года назад

      Glad you found this video helpful.

  • @lahirureshanwanniachchi9065
    @lahirureshanwanniachchi9065 4 года назад

    This is a great Tutorial I have seen, All the points are clear and necessary up to date. But the small issue on the toast massages part.

  • @mohsin6312
    @mohsin6312 5 лет назад +1

    Thank you for your amazing tutorials, sir. I have been following your channel for 1 year. I am quite a big fan of your videos. I have a request to make, that is if you could make a video that will help us with entity framework core model relationships. One to one, One to many and Many to many.

  • @ZagoGuilherme
    @ZagoGuilherme 5 лет назад +7

    God bless you Dude. I've learned so much with this video. Thank You

  • @DeepaK-ww8vr
    @DeepaK-ww8vr 5 лет назад +1

    Amazing.... It is very easy to understand..

  • @Stefan-bm3zf
    @Stefan-bm3zf 4 года назад

    Great tutorial, straight forward, clean. Well done :)

  • @ananthganesh8754
    @ananthganesh8754 6 лет назад

    Great tutorial. @42:37 you mention that service should be injected to the root module in the providers array. You really don't have to do that in Angular 7. The new property "providedIn" is sufficient.

    • @CodAffection
      @CodAffection  6 лет назад

      Thanks for sharing your knowledge. I will try that in future videos.

  • @ManognyaVarenya
    @ManognyaVarenya 5 лет назад +16

    See Clearly @17.30 his Server name is (local)\sqlexpress we need to give our system name or sqlserver instance name so that we will not get update-database error.

    • @aproposjulia
      @aproposjulia 5 лет назад

      Thank you so much for explaining, couldn't find the problem at first!

    • @ramasheeshyadav8917
      @ramasheeshyadav8917 4 года назад

      thanks lot bro

    • @gregorieff
      @gregorieff 4 года назад

      Why after an hour of watching this video, I read this comment with an Indian accent in my head? O_O

    • @hemanthkumarallam3894
      @hemanthkumarallam3894 4 года назад

      We have to purchase SQL server Data base ?

  • @jaybharatjay
    @jaybharatjay 4 года назад +2

    PM> Install-Package Microsoft.EntityFrameworkCore.Tools
    PM> add-migration InitialCreate

  • @CarlosMonterrubio04
    @CarlosMonterrubio04 6 лет назад

    Beautifully explained and concrete example, also you have a good diction and a mild accent. Regularly I found my self in trouble trying to understand Indian accents. Greetings from México.

    • @CodAffection
      @CodAffection  6 лет назад

      Thanks for the wonderful feedback!, I'm trying to improve myself. hope I can make more helpful tutorials like this in future.

  • @jaybharatjay
    @jaybharatjay 4 года назад +2

    PM>Update-Database
    error and solution which I did today in 4 hours.
    I am very much new in .net coding, but yes in PHP I have 10+ years experience.
    It took me 4 hours to solve this.
    1.My first Mistake: I was not having Microsoft SQL Server 2019 in my laptop locally I was having this through AZURE which is not works for localhost, so I installed this locally after download, it took around 2 Hours.
    2.Second changed mistake=
    "DevConnection": "Server=localhost;Database=PaymentDetailDB;Trusted_Connection=True;MultipleActiveResultSets=True;"
    then it works for me

  • @edsonbassani
    @edsonbassani 5 лет назад +1

    Thanks a lot, sir. I have no words to express my gratitude to you. I spent my day and night watching, studying and doing and the result was awesome. Felling myself ready to dive into new challenges. Already subscribed and starting to support your work from now on. :)

    • @CodAffection
      @CodAffection  5 лет назад

      Glad you found the video helpful and thanks for your wonderful feedback.

  • @petermuthiks
    @petermuthiks 4 года назад +1

    Really good tutorial and well explained

  • @scelombokazi674
    @scelombokazi674 5 лет назад

    Wow, thank you sooooo much. Simple, practical and very straight to the point. Best tutorial ever...

  • @iancarr3923
    @iancarr3923 5 лет назад +1

    Very useful video, thanks.

  • @anusmalik4202
    @anusmalik4202 5 лет назад +2

    I am very very Thankuful you Sir this video help in difficult time

  • @facundovega1726
    @facundovega1726 4 года назад

    Amazing tutorial! you are a genius! keep up the good work!

  • @lukkash
    @lukkash 4 года назад +1

    You should have (at least) 100k subs ASAP 🙂 cos your tutorials are remarkable✨🏆with a lot of useful info and great exemplary projects

    • @CodAffection
      @CodAffection  4 года назад

      Thanks for your wonderful feedback.

  • @richardbeermier9098
    @richardbeermier9098 5 лет назад

    This was amazing. So easy to follow along and replicate what you created. I liked that you dived into some of the WebAPI methods in detail, but as someone completely new to but keen to learn angular, it would've been nice if you explained some angular attributes in a little more detail, such as the *ngFor, (click) and [value] etc. Why are some angular attributes wrapped in parentheses and some in square brackets kinda thing... :)
    But other than that, mate, this was incredible. A massive thumbs up from me. Love your videos, keep up the excellent work! :D

  • @ahmetfidan2903
    @ahmetfidan2903 4 года назад +1

    i really enjoy your work thanks a lot :)

  • @manuelmartin3
    @manuelmartin3 5 лет назад +1

    good tutorial, thanks for sharing it, I will upload it to the github to share it...

  • @sreejithg4830
    @sreejithg4830 4 года назад

    It was very helpful. Thanks

  • @ariannehernandez9680
    @ariannehernandez9680 5 лет назад

    I like this tutorial very much.. helps me a lot to build a project..

  • @mangesh2215
    @mangesh2215 5 лет назад

    Thanks a lot for the step by step and detail video... learned a lot..

    • @CodAffection
      @CodAffection  5 лет назад +1

      thanks for watching and commenting the video.

  • @LafsGaming
    @LafsGaming 4 года назад

    You are really awesome....but i need to learn more i guess... Got confused with some things...Anyway thanks a lot brother🙏🙏.. U gained a subscriber now🤩

  • @Shoyer01
    @Shoyer01 5 лет назад

    Excellent! Clear and simple

  • @mdfarhadabideen4588
    @mdfarhadabideen4588 4 года назад

    CodAffection all video are helpful for us. Please make a CRUD video with implement OOP concept.

  • @Pablofb1014
    @Pablofb1014 5 лет назад +3

    Can you teach how to pass data from one route to another?
    Just as selecting the record in the table and loading the values in the form, only from another route. I'm not doing it at all.
    Thank you very much. Great content.

  • @nomad191
    @nomad191 5 лет назад

    Really good video. Clear and simple explanation. Cheers !!

  • @kamilakin6866
    @kamilakin6866 4 года назад +1

    For those having an issue with 'UseSqlServer', dont forget to add package down below,
    PM > Install-Package Microsoft.EntityFrameworkCore.SqlServer
    Details;
    stackoverflow.com/questions/43098065/entity-framework-core-dbcontextoptionsbuilder-does-not-contain-a-definition-for/43098152#43098152

    • @kamilakin6866
      @kamilakin6866 4 года назад

      For those having an issue with 'Add-Migration', dont forget to add package 'tools', as shown in the link;www.codaffection.com/asp-net-core-article/angular-crud-with-asp-net-core-web-api/

  • @shaifmustafa7204
    @shaifmustafa7204 5 лет назад

    I previously watched this video two/three times but used to close the video after max. of 50 mins as i couldn't understand. But thanks to #edureka channel to clear my basics and confusions.
    And to #CodAffection, you're doing great job. Making videos in simple & organized way that are necessary in real-world scenario is really appreciable. Keep it up :)

    • @CodAffection
      @CodAffection  5 лет назад

      thanks for your wonderful feedback. glad you found my asp.net core tutorial.

  • @jaurestankeunzeyem2123
    @jaurestankeunzeyem2123 5 лет назад +1

    Thank's it good video; Please which package are you install to have this intellisence for angular in visual studio code

  • @nagsatish2376
    @nagsatish2376 4 года назад

    Very nice and clearly explained the topic bro

  • @leselemannathoko6438
    @leselemannathoko6438 5 лет назад

    Your Tutorial is Good you Actually helped me at Work!
    they demanded i code with "CODE FIRST ENTITY FRAMEWORK APPROACH",
    i had difficulty with connecting with Angular Project now am at ease, all thanks to you.

    • @CodAffection
      @CodAffection  5 лет назад

      my pleasure.

    • @pramodhthota5621
      @pramodhthota5621 4 года назад

      Bro what is the use of adding the fields on the Payment detail class . Can we add an Entity Data Base First approach and create the entity model on our own ? Pls correct me

  • @ducvu1552
    @ducvu1552 5 лет назад

    Very nice video. Thank you so much

  • @LucasLuandeMelo
    @LucasLuandeMelo 5 лет назад +3

    Everyone who is getting a error in the connection, should use this is connection string
    "DevConnection": "Server=(localdb)\\mssqllocaldb;Database=PaymentDetailDB;Trusted_Connection=True;MultipleActiveResultSets=true;"

    • @CodAffection
      @CodAffection  5 лет назад +1

      thanks for the comment.

    • @LucasLuandeMelo
      @LucasLuandeMelo 5 лет назад

      But I don't know how to connect with sqlserver, allowed remote connections, changed tcpip settings and created firewall rules. I will try to format my machine and try again with your options

    • @reda6036
      @reda6036 5 лет назад

      CREATE DATABASE permission denied in database 'master'. ???

  • @nrk2892
    @nrk2892 4 года назад

    Thanks a lot sir, best training

  • @김점열-l3j
    @김점열-l3j 5 лет назад

    The videos helped me a lot in studying angular 7.
    With the latest version of angular
    visual studio code in 2019
    I have followed
    By the way,
    I get an error in formData.PMId of 'putPaymentDetail'.
    please
    If you upload the same content in the latest version of angular, it will be very helpful.
    Thank you.

  • @rahulpathak906
    @rahulpathak906 4 года назад

    wow nice u made it so clear ....thanks mindblowing the code worked perfecr only the thing is getting two recors in db will check why that hapeing

  • @AdityaPathak2
    @AdityaPathak2 4 года назад +12

    --spec=false is not working. New option is "--skipTests" in angular 8

  • @taiwantoklip
    @taiwantoklip 5 лет назад

    Wonderful & Complete tutorial !!

  • @nournote
    @nournote 6 лет назад

    I've just watching you vid, but already liking it.
    Please keep up the good work.

    • @CodAffection
      @CodAffection  6 лет назад +1

      Thanks for your wonderful feedback!.

  • @krunalbhavsar654
    @krunalbhavsar654 4 года назад

    Very good effort. Best part is boom!.

  • @tuck582
    @tuck582 6 лет назад +5

    For anyone having DB errors when doing "Update-Database", try changing your connection string to
    "DevConnection": "Server=(localdb)\\mssqllocaldb;Database=PaymentDetailDB;Trusted_Connection=True;MultipleActiveResultSets=True;"

    • @vasupatel6932
      @vasupatel6932 5 лет назад +2

      Go to your SQL Server Manager. In the Object manager, there will be Connect dropdown menu select Database engine and then the Connect to server menu will pop up from there copy the server name. After that in appSetting.json change your DevConnection string to Server=COPIED VALUE... That's it

    • @чужий
      @чужий 5 лет назад

      Thank you!

    • @squid_mtb
      @squid_mtb 5 лет назад

      @@vasupatel6932 It's saying it cannot find the server..? What should I be putting for the server name?

    • @vasupatel6932
      @vasupatel6932 5 лет назад

      Alec Justice if it is the same error as Tuck then the solution I provided should work other wise just check your SQL Server is working or not via other tools!

    • @ManognyaVarenya
      @ManognyaVarenya 5 лет назад +1

      See Clearly @17.30 his Server name is (local)\sqlexpress we need to give our system name or sqlserver instance name so that we will not get update-database error.

  • @MrAamir33
    @MrAamir33 4 года назад

    Hi Sir, it was a very nice video, i only got an issue with toastr. it shows in the bottom left without any background i tried the same way as you did. i also used the toastr with the same version.

  • @singhanuj009
    @singhanuj009 5 лет назад

    Super! good job. Your demo makes me more comfortable with angular and API. Thanks :)

    • @CodAffection
      @CodAffection  5 лет назад +1

      glad you found this asp.net core tutorial helpful.

  • @jaskiratsingh8426
    @jaskiratsingh8426 4 года назад +2

    Thank you mate. You’re the saviour brother.

  • @riabruna
    @riabruna 4 года назад +1

    Good job! Thanks a lot!

  • @ushagupta5209
    @ushagupta5209 5 лет назад +1

    Super video, you are awesome!!!

  • @Eragoth186
    @Eragoth186 5 лет назад

    Exactly what I was looking for! Thank you!

  • @CharlesOllavo
    @CharlesOllavo 5 лет назад +2

    Nice work man...
    good tutorial, only a thing, why you did not implement the delete confirm with toastr?
    nice...god bless you...

    • @CodAffection
      @CodAffection  5 лет назад

      thanks for the wonderful info.
      you mean toast dialogue for confirmation ?

    • @CharlesOllavo
      @CharlesOllavo 5 лет назад

      CodAffection Yes

  • @carlitobrigante293
    @carlitobrigante293 4 года назад

    I'll really appreciate it if you enlarge the editor's font. I regularly watch video tutorials on my phone and it's a pain in the ass being able to read those codes even in landscape mode. Thanks for your effort and great content.

  • @baohua1603
    @baohua1603 4 года назад

    Hi. How can i build web UI for asp.net core web (using Angular)? And how can publish all of them to hosting? Thanks.

  • @aleximed5370
    @aleximed5370 4 года назад

    omg you just saved my semester ! God bless you man thank you so much !!!

  • @charlesh139
    @charlesh139 4 года назад

    Wonderful. You have a coffee comin' at ya buddy. Nice work.

  • @levinjaytagapan4213
    @levinjaytagapan4213 6 лет назад

    Thanks for the guide. I enjoy watching the video

  • @quirkie7019
    @quirkie7019 5 лет назад

    I think your videos are fantastic. Please create asp.net core + react videos.Would even buy if its on udemy.

    • @CodAffection
      @CodAffection  5 лет назад

      thanks for the comment. I will try your suggestion.

  • @yoandrileonsilva2612
    @yoandrileonsilva2612 4 года назад +3

    Thanks for the video. I had to make the "service" property public, not sure why it worked for you as private, my html component could not access it, I got this error "Property 'service' is private and only accessible within class 'PaymentDetailComponent'."

  • @devikasiddani
    @devikasiddani 4 года назад

    Getting error @Package manager->Your target project 'xyz' doesn't reference EntityFramework. This package is required for the Entity Framework Core Tools to work. Ensure your target project is correct, install the package, and try again.

  • @talkathiriify
    @talkathiriify 5 лет назад

    Very Awesome
    Thank you very much

  • @brunnoobristo5336
    @brunnoobristo5336 5 лет назад +2

    I'm having problems when coding the form, it gives me an error about 'export as', like it doesn't recognize ngForm and ngModel

  • @fabrizionunez9759
    @fabrizionunez9759 5 лет назад

    another issue the request to the backend seems to not work, i search in internet and found a way to work around app.UseCors(builder => builder.AllowAnyHeader().AllowAnyMethod().AllowAnyOrigin().AllowCredentials());
    in the startup file

  • @AyyarKhorasani
    @AyyarKhorasani 5 лет назад

    Thank you very much! it's very usefull

  • @alvarosotohidalgo9271
    @alvarosotohidalgo9271 5 лет назад +1

    Good videos. It is a great channel. Have you noticed that you never use popups for the CRUD with Asp.net Core?

  • @lukehoKim
    @lukehoKim 6 лет назад

    Really good tutorial and easy to under stand. Thank you so much!

    • @CodAffection
      @CodAffection  6 лет назад

      Glad you found the video helpful.

    • @lukehoKim
      @lukehoKim 6 лет назад

      ​@@CodAffection Could you please add a tutorial that how to deploy this angular project to production server? It would be best if you can add secure connection between web api and angular client like jwt. Thanks a lot again. I am following all your recent tutorials. Better than Pluralsight.

  • @PythonGuru1
    @PythonGuru1 4 года назад

    Your Tutorial is good but next time please divide this tutorial into different videos file-wise it would be more reliable for us. Explain every component and service in different video. Thanks.

  • @mkprajapati007
    @mkprajapati007 3 года назад

    Hello Sir i am creating a project using asp.net core with SQL server and Angular... plz suggest me the open source reporting tool.

  • @noureddinejallam7344
    @noureddinejallam7344 5 лет назад

    Very useful, thank tou so much.

  • @Krishana99
    @Krishana99 4 года назад

    Hi CodeAffection,
    Can you please help me in api side. Post method is working well but not the get method. It does not display the details. But i can see the record added to sql

  • @vikasrao5423
    @vikasrao5423 4 года назад +2

    i am getting an error on UseSqlServer because in your video you can't install Microsoft.EntityFrameworkCore.SqlServer

  • @technologygeeks4718
    @technologygeeks4718 5 лет назад +2

    Thanks for the such a great video. Question : where did you referenced styles.css for payment-detail.component.html form.
    I am not getting the validations at 57:42. Also don't see NG-pristine class in inspection of the element. Could you please suggest, if I am missing anything.

    • @CodAffection
      @CodAffection  5 лет назад

      in angular applications, styles.css is a global stylesheet not specific to a component. which is mentioned in angular.json file here : github.com/CodAffection/Asp.Net-Core-Web-API-and-Angular-7-CRUD/blob/1eca256041368b1c9aefed2d1b6b47f133d1763c/Angular7/angular.json#L26

    • @jassimashraf1008
      @jassimashraf1008 5 лет назад +1

      Same problem for me too. Did you solved this?

    • @hiryu70
      @hiryu70 4 года назад +2

      @@jassimashraf1008 For future, who have this problem. In my case i need to initialize formData property. Like, formData:CardDetails = new CardDetails();

    • @ad6461
      @ad6461 4 года назад +2

      Solution is here stackoverflow.com/questions/55155222/bootstrap-validation-is-not-working-in-angular-framework/55155310#55155310

  • @harshvirani9620
    @harshvirani9620 4 года назад

    If you are using .net core 3.0 and above, change your code here 26:10
    public void ConfigureServices(IServiceCollection services)
    {
    services.AddControllers();
    services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("DevConnection")));
    services.AddMvc().AddJsonOptions(options => options.JsonSerializerOptions.PropertyNameCaseInsensitive = true);
    services.AddMvc().AddJsonOptions(options => options.JsonSerializerOptions.PropertyNamingPolicy = null);
    }

  • @hassanangular7180
    @hassanangular7180 6 лет назад

    Thank You. That's what I was looking for. You are amazing

    • @CodAffection
      @CodAffection  6 лет назад +1

      Glad you found the video helpful.

  • @abdullahal-nahian
    @abdullahal-nahian 4 года назад +1

    @CodAffection I'm getting this error.
    ERROR in src/app/payment-details/payment-detail/payment-detail.component.html:3:75 - error TS2341: Property 'service' is private and only accessible within class 'PaymentDetailComponent'.

    • @CodAffection
      @CodAffection  4 года назад +2

      change the service parameter to public.

  • @Karthik241191
    @Karthik241191 4 года назад

    Hello bro
    If I have 100 tables
    Do i need to go for code first approach?
    And also updating the table from the code I am little confused.
    What If I have temp properties which I dont want to update to database?

  • @Underborn11
    @Underborn11 5 лет назад +1

    but what if you have foreign keys in your model (ICollection for example) would that just be an array in the angular model class corresponding to the EF model in the API program very confused about it

  • @gurusaikamal4821
    @gurusaikamal4821 5 лет назад +5

    Thanks a lot sir , i learn a lot from this tutorial can you make a tutorial for Admin Website and User Website Using Angular + DotnetCore Web Api + mongoDB with some crud operations and user access and admin access

    • @CodAffection
      @CodAffection  5 лет назад +2

      thanks for your wonderful feedback.
      Iet me check what I can do.

  • @2005Azm
    @2005Azm 6 лет назад

    Sir, you are the best! Thank you, thank you, thank you

  • @zdravkomofardin8442
    @zdravkomofardin8442 5 лет назад

    congratulation! very basic and helpfull video

  • @saisreenivas2227
    @saisreenivas2227 6 лет назад +2

    Thanks a lot for sharing a knowledge

  • @dhruvvala192
    @dhruvvala192 3 года назад

    wich version of visual studio you are using

  • @nanolol5228
    @nanolol5228 4 года назад

    thank you for your work, but i have a problem, my ngFor dosnt show data in my table...