Web API CRUD Operations Using Asp Net MVC and Entity Framework

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ก.ย. 2024

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

  • @CodAffection
    @CodAffection  7 ปีที่แล้ว +8

    goo.gl/RFY5C2 : Subscribe to CodAffection
    goo.gl/DSSHtV : Mvc CRUD Operation Using Pop Up Windows
    goo.gl/zkoWSg : jQuery Ajax CRUD in Asp.Net MVC
    goo.gl/bPcyXW : Buy me a Coffee

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

      i got lost on 17:38 because i couldn't find the reference to ReadAsAsync
      'System.Net.Http.HttpContent' does not contain a definition for
      'ReadAsAsync' and no extension method 'ReadAsAsync' accepting a
      first argument of type 'System.Net.Http.HttpContent' could be
      found (are you missing a using directive or an Assembly reference?)

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

    Thank you so much. Now I know how to use API in MVC Project using Entity Framework. Thumbs Up👍

  • @PraveenKumar-ft2kr
    @PraveenKumar-ft2kr 4 ปีที่แล้ว

    Just 45min and two technologies are done. Best one 👌👌👌👌

    • @CodAffection
      @CodAffection  4 ปีที่แล้ว

      thanks for the wonderful feedback.

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

    Outstanding tutorial, pretty straightforward and clear.
    Thank you for sharing your knowledge.
    Greetings from Guatemala!! New subscriber here!!

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

    One of the best tutorials ever.

  • @JagdishJ666
    @JagdishJ666 5 ปีที่แล้ว

    No doubt, preety straight and simple example to understand Web API CRUD

    • @CodAffection
      @CodAffection  5 ปีที่แล้ว

      thanks for your wonderful feedback !.

  • @GabrielMendezz
    @GabrielMendezz 5 ปีที่แล้ว +4

    Instead of : webAPIClient.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json)"));
    USE:
    webAPIClient.DefaultRequestHeaders.Add("Accept", "application/json;odata=verbose");
    It works!

  • @yerriswamygm5328
    @yerriswamygm5328 8 หลายเดือนก่อน

    In a Simple way, you explained
    Thank u so much

  • @chargershogun1215
    @chargershogun1215 5 ปีที่แล้ว +4

    what a great tutorial, you have helped me a lot, it's the best tutorial I've seen, thank you very much!!

    • @CodAffection
      @CodAffection  5 ปีที่แล้ว

      thanks for the comment. Glad you found the video helpful.
      If you have any topic to be discussed related to Web API or ASP.NET MVC, please reply here.

  • @edwinnavas4556
    @edwinnavas4556 6 ปีที่แล้ว +11

    The best tutorial I've seen, good job you example is the best example I've seen, only I some question, can I use a Web Services with Entity Framework action ? if you have any example for this kind problem is a good idea you try to explain, my second question is when I made my CRUB I have a item of datetime type, I use a datepicker but I have a problem whit the day when the day is major or equal to 13, I save the day in this format "mm/dd/yy" but when I recive the day in my controller I recive a parameter null, Why can you explain me this please? what I need to do for fix this problem; my last question is How to remove the hour in a field datetime, thank you

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

      seems that your date and month are mixed up. Your computer may be receiving in USA format "mmddyyyyy" and the control might be sending in english format "ddmmyyyy" or vice versa.

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

    It was one of my most precious 45 minutes. Thank you :)

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

    It is really helpful for all beginner.Thank you so much.

  • @Sam-su4sk
    @Sam-su4sk 2 ปีที่แล้ว

    I like that you show the result before the bullshit that I have to learn

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

    Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.IEnumerable`1[employeeMVC.Models.MvcEmployeeModel]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
    To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
    Path 'Message', line 1, position 11.
    Im getting an error like this anyone can help

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

    Absolutely what I needed. Thanks so much 👍🏻

  • @pulivarthisathyasai9747
    @pulivarthisathyasai9747 7 ปีที่แล้ว

    Great job....i liked to learn mvc from ur tutorials videos...i am a beginner and i am expecting more realtime examples like this.....

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

    Nice explanation for startup! Css doesn't work have copied from project download link, but for my case Create New open in same window itself not as popup. Please help.

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

    Thank you so much !! Kindly upload three tier architecture in web api. Please.

  • @awaisahmadsiddiqi6505
    @awaisahmadsiddiqi6505 6 ปีที่แล้ว +2

    @17:55
    i got the following error.
    not a primitive type like integer, not a collection type like an array or List) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
    what to do?

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

    Hey , i am getting error at 39:52 for edit operation : Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.IEnumerable`1[MVC.Models.MVCEmployeeModel]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly
    please help me!

  • @supriyagawad4381
    @supriyagawad4381 5 ปีที่แล้ว +2

    Great tutorial, no doubt about it.
    But one question to ask
    How to connect Oracle database instead of SQL ?

  • @shamitravel
    @shamitravel 5 ปีที่แล้ว +7

    Huge respect

    • @CodAffection
      @CodAffection  5 ปีที่แล้ว

      Thanks for your wonderful feedback.

  • @onur5717
    @onur5717 5 ปีที่แล้ว +4

    Hello ,
    can you add login and logout to this application?

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

    This helped me alot. Thanks

  • @travelwithmms6937
    @travelwithmms6937 4 ปีที่แล้ว

    I have tried multiple of time the same code you have written, but it threw exception :
    System.Net.Http.UnsupportedMediaTypeException: 'No MediaTypeFormatter is available to read an object of type 'IEnumerable`1' from content with media type 'text/html'.'

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

    My friend, how do you create a constructor in the static class GlobalVariables? Is possible that?

    • @nareshkumar-kf7te
      @nareshkumar-kf7te 4 ปีที่แล้ว

      error is static classes cannot have instance constructors.how can i slove this

    • @brendonanderson8673
      @brendonanderson8673 4 ปีที่แล้ว

      @@nareshkumar-kf7te static GlobalVariables() { }

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

    Hi,
    I am getting exception,
    Server Error in '/' Application.
    Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.IEnumerable`1[WebApiInMVC.Models.EmployeeMVC]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
    To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
    Path 'Message', line 1, position 11.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.IEnumerable`1[WebApiInMVC.Models.EmployeeMVC]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
    To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
    Path 'Message', line 1, position 11.
    Source Error:
    Line 17: IEnumerable empList;
    Line 18: HttpResponseMessage response = GlobalVariables.WebApiClient.GetAsync("Employee").Result;
    Line 19: empList = response.Content.ReadAsAsync().Result;
    Line 20: return View(empList);
    Line 21: }
    Please help me to resolve this.
    Thnaks in advance!

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

    Superbly explained each steps, Great work. Can you please help me that how to use stored procedures using entity framework in web api?

  • @sulfathshajahan.111
    @sulfathshajahan.111 3 ปีที่แล้ว

    Very helpful tutorial with apt explanation. Thanks

  • @yogeshbisht5897
    @yogeshbisht5897 6 ปีที่แล้ว

    Really its very helpful vedio using CURD opertion using web api..thanks.

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว

      glad you found the video helpful.

  • @tatianav1883
    @tatianav1883 6 ปีที่แล้ว

    The best video on this topic. Thank u!

  • @vijiajai4879
    @vijiajai4879 6 ปีที่แล้ว +4

    Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.IEnumerable`1[MVC.Models.MVCEmployeeModel]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly
    Error is coming

    • @TouhidulFahim1
      @TouhidulFahim1 6 ปีที่แล้ว

      Same Error In my application :(

    • @shubhamaditya7481
      @shubhamaditya7481 5 ปีที่แล้ว +2

      Add web api employee class name in the following line GlobalVariables.WebApiClient.GetAsync("Employees").Result

    • @hrishikeshbagchi6116
      @hrishikeshbagchi6116 5 ปีที่แล้ว

      @@shubhamaditya7481 Thanks bro

    • @onajonaj7381
      @onajonaj7381 5 ปีที่แล้ว

      @@shubhamaditya7481 Can you tell me where, I don't understand where I nedd to add? Please :(

    • @otavioneto9766
      @otavioneto9766 5 ปีที่แล้ว

      @@shubhamaditya7481 Obrigado, me ajudou muito

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

    Hi I have one doubt... If you create table foreign key table data also.
    How to restrict this?

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

    Thank you very helpful.

  • @alagarkarthik2346
    @alagarkarthik2346 6 ปีที่แล้ว

    Good help full example of Crud operation. Thanks

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว

      Glad you found the video helpful.

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

    Hi, thanks for this turorial, but there is a mistake in class GlobalVariable, because Static classes cannot have instance constructors. Greetings.

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

    This video is awesome,really helpful. Thank you

  • @codyman7418
    @codyman7418 6 ปีที่แล้ว

    wonderful. this tutorial is very helpful, understandable and well explained. great job

    • @niranjandas9642
      @niranjandas9642 4 ปีที่แล้ว

      So many adds, overal it's very easy to understand.

  • @Gadaff1
    @Gadaff1 4 หลายเดือนก่อน

    Did you make Reset button to work?

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

    Fantastic man, very nicely explained. Thanks

  • @vivekdesai8500
    @vivekdesai8500 5 ปีที่แล้ว

    Great tutorial! Please keep uploading on such informative topics. Thank you

    • @CodAffection
      @CodAffection  5 ปีที่แล้ว

      sure, thanks for the support.

  • @bharathsiddu5284
    @bharathsiddu5284 5 ปีที่แล้ว

    great tutorial , i never found like this one, if we have knowledge on concept we never feel work pressure, keep doing more videos, my humble request is to do a video on django framework similary by taking like this small project , thanks a lot

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

      thanks for sharing your thoughts here.
      I'm working on my python. hopefully django framework tutorial are on the way.
      I would be waiting for your feedback once it is done.

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

    I can't call the HTTP method from the WebAPI project in my WebApp thorugh implementing the insert operation" in my WebApp employee controller. I cannot define the GlobalVariables (it doesn't show up). I assume it is because my WebAPI project (which in my case communicates with my MS SQL server db using EF Migrations) is a separate solution from the WebApp. You seem to have both the WebAPI and the Website in 1 solution. Any advice?

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

    @CodAffection can you please share which nuget packages you have added in WebApi & Mvc, coz after completing project data is not updating & deleting from front end. Or anyone can please. Preparing for interview.

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

    Thank you very much for you are providing this important information

  • @rjc12481
    @rjc12481 5 ปีที่แล้ว

    Very nice for beginners. Thanks for this awesome tutorial.

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

    Why are we converting id.tostring() in mvc for calling getemployee(id) from api?

  • @AMRashedMahamud1320
    @AMRashedMahamud1320 5 ปีที่แล้ว

    Thanks for the demonstration.

  • @Azaad_duniaa
    @Azaad_duniaa 6 ปีที่แล้ว +4

    very help full video but i found error 'No MediaTypeFormatter is available to read an object of type 'IEnumerable`1' from content with media type 'text/html'. can u help??
    '

    • @mikelaw5700
      @mikelaw5700 6 ปีที่แล้ว +4

      Hi, step 1 is to add the "/" forward slash at the end of your link: Uri("localhost:54485/api/"); Step 2 is to install IIS Express, then it should work just fine. Happy programming mate! :-)

    • @AxellBismarck
      @AxellBismarck 5 ปีที่แล้ว

      @@mikelaw5700 I can't believe it. :)

    • @RahulPal-ev7pb
      @RahulPal-ev7pb 4 ปีที่แล้ว

      Hello i reslove this error suceessfully , you just need to correct port number => new Uri("localhost:44345/api/"); here 44345 is api port number in your localhost just like in your local webapi project mention correct port number and it will work..........

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

    having error at 30:57
    Error CS1503 Argument 2: cannot convert from 'MVC.Models.mvcEmployeeModel' to 'System.Net.Http.HttpContent' MVC

  • @happie88
    @happie88 6 ปีที่แล้ว

    This is what I'm looking for. Just subcribed and iked... thanks man! :)

  • @sivaanjaneya9360
    @sivaanjaneya9360 5 ปีที่แล้ว

    Thanks for giving more information in webapi curd operations......

  • @hoaithuong5247
    @hoaithuong5247 4 ปีที่แล้ว

    Thank you so much from Vietnam

  • @aethenwulf4757
    @aethenwulf4757 5 ปีที่แล้ว

    Great tutorial, but i have one question about your post obj, how can i make it accept post array obj?

  • @AbdulRehman-bn1qn
    @AbdulRehman-bn1qn 5 ปีที่แล้ว +1

    Line 18: empList = response.Content.ReadAsAsync().Result;
    .
    Error: Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.IEnumerable`1[Mvc.Models.mvcEmployeeModel]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
    Please Fix it.

    • @danishhabib3495
      @danishhabib3495 5 ปีที่แล้ว

      Solution: Add a reference to System.Net.Http.Formatting.dll. This assembly is also available in the C:\Program Files\Microsoft ASP.NET\ASP.NET MVC 4\Assemblies folder.
      The method ReadAsAsync is an extension method declared in the class HttpContentExtensions, which is in the namespace System.Net.Http in the library System.Net.Http.Formatting.
      Reflector came to rescue!

  • @shamsuddinwantmurikar7533
    @shamsuddinwantmurikar7533 6 ปีที่แล้ว

    This is very helpful tutorial. I have used this as reference for me practice. In my database I have two tables like project and costcenter. Costcenter having project as foreign key. Now how I can create screens for this.

  • @nguyenalice8051
    @nguyenalice8051 5 ปีที่แล้ว

    I followed the video and finished very well. You have helped me a lot, the best tutorial I've seen, I love CodAffection.

    • @CodAffection
      @CodAffection  5 ปีที่แล้ว

      thanks for your kind words.

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

    super explain web api crud operation . but set icons not clear that part .

  • @ajithkumar-iw2ix
    @ajithkumar-iw2ix 3 ปีที่แล้ว

    in index.cshtml class some error showing System.NullReferenceException: 'Object reference not set to an instance of an object.'
    excepation Throw
    can you tel how can i short out this error

  • @sivaanjaneya9360
    @sivaanjaneya9360 5 ปีที่แล้ว

    Thank you so much for giving more information.......
    I have good support for this video...

    • @CodAffection
      @CodAffection  5 ปีที่แล้ว

      thanks for your wonder full feedback.

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

    Thank you, great tutorial.

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

    thank you so much, Master!!! take care...

  • @rahulchugh6694
    @rahulchugh6694 6 ปีที่แล้ว

    Very useful and great explanation sir . thank you please upload more videos.

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

    stunning crud operations sir.

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว

      thanks for the kind words.

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

      @@CodAffection I am getting socket exception : connect was forcibly closed .. please help me how to resolve

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

    Wow. great 👌. Thank you so much 💖

  • @frindestec1216
    @frindestec1216 4 ปีที่แล้ว

    What do you think about the use of Migration database and can you explain

  • @abhishekanand6591
    @abhishekanand6591 5 ปีที่แล้ว

    Great Work man , huge thanks , seriously !

    • @CodAffection
      @CodAffection  5 ปีที่แล้ว

      Glad you found the video helpful.

  • @noellangcauon7133
    @noellangcauon7133 4 ปีที่แล้ว

    Thanks bro! very helpful!

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

    Hi for some reason when i submit the form, the values are not getting added in the database

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

    i love this tutorial can you make another video again with selection box and dropdown list,radio button in one form in asp.webapi crud operation using mvc and entity frameworks. And have nav bar for the operations?

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

    If suppose their are 11 table then we need to create 11 controllers in mvc and in api also?

  • @mauriciohernandezcabrera9413
    @mauriciohernandezcabrera9413 5 ปีที่แล้ว

    Hey dude, thanks a lot. Awesome video, great tutorial. It was so useful to me. And from scratch. THANKS!!! :)

    • @CodAffection
      @CodAffection  5 ปีที่แล้ว

      glad you found it helpful.

  • @jayakumar2927
    @jayakumar2927 4 ปีที่แล้ว

    How to resolve in your code
    Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.IEnumerable`1[WebAppMVC.Models.mvcEmployeeModel]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
    To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
    Path 'Message', line 2, position 13.

  • @anilsah9498
    @anilsah9498 6 ปีที่แล้ว

    Very helpful video,i liked very much.Please upload more videos on asp.net mvc.
    Q1.How to use dapper in web Api with repository model ? Plz help me out.

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว

      Dapper ORM in Asp.net MVC : th-cam.com/video/bKB0TV_XbLA/w-d-xo.html

  • @ripalcpatel1624
    @ripalcpatel1624 9 หลายเดือนก่อน

    how to change of view of array data to proper index page

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

    JsonSerializationException: Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.IEnumerable`1[ImsMVC.Models.mvcProductmodel]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
    To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
    Path 'Message', line 1, position 11.

  • @tricman10
    @tricman10 6 ปีที่แล้ว

    Great tutorial as always!

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

    Thank u v.much , please need authurization and authintication, access rights

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

    hi, may i know about the database, do we need to do another project or still in the same solution with mvc and dummy project?

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

    Nice video but how to connect database and where is store procedure??

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

    salonList = response.Content.ReadAsAsync().Result; = An exception of type 'System.AggregateException' occurred in mscorlib.dll but was not handled in user code ??

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

      Solution: Add a reference to System.Net.Http.Formatting.dll. This assembly is also available in the C:\Program Files\Microsoft ASP.NET\ASP.NET MVC 4\Assemblies folder.
      The method ReadAsAsync is an extension method declared in the class HttpContentExtensions, which is in the namespace System.Net.Http in the library System.Net.Http.Formatting.
      Reflector came to rescue!

    • @AMRashedMahamud1320
      @AMRashedMahamud1320 5 ปีที่แล้ว +2

      // GET: Employee
      public async Task Index()
      {
      HttpResponseMessage response = GlobalVariables.WebApiClient.GetAsync("Employees").Result;
      var responseContent = await response.Content.ReadAsStringAsync();
      var Employees = JsonConvert.DeserializeObject(responseContent);
      return View(Employees);
      }
      ***Try this one, this works****

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

      @@AMRashedMahamud1320 ty so much!!!!

  • @Farhabint_78
    @Farhabint_78 6 ปีที่แล้ว +2

    Hi Sir, your video is extremely helpful for beginers in mvc and web api. Could you please explain how to add a 'file upload' field to the Add or Edit view? Normal code in httpPost action IN THE CONTROLLER is not working.Please help

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

      Can you please share which nuget packages you have added in WebApi & Mvc, coz after completing project data is not updating & deleting from front end. Or anyone can please. Preparing for interview.

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

    awasome bro explain very well

  • @iwaksate1087
    @iwaksate1087 5 ปีที่แล้ว

    Excellent, great tutorial

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

    Is this able to do it with a windows form app? Thank you!

  • @Probeh.
    @Probeh. 6 ปีที่แล้ว

    Great Tutorial Man Awesome Job!

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว

      Glad you found the video helpful.

  • @raymondagbunag851
    @raymondagbunag851 6 ปีที่แล้ว

    Teacher, thank you so much!

  • @kenrk3757
    @kenrk3757 5 ปีที่แล้ว

    Awesome, Thank you!

  • @saurabhmishra-rv7sw
    @saurabhmishra-rv7sw ปีที่แล้ว

    Nice content Sir

  • @muhammadsadiq8621
    @muhammadsadiq8621 4 ปีที่แล้ว

    nice kafi acha tha

  • @kinjalhingu6619
    @kinjalhingu6619 6 ปีที่แล้ว

    Thank u for this video..helped a lot

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

    I have an error when i build the both project as startup.. The error is
    "program does not contain a static 'main' method suitable for an entry point"..The error in web api project in the CS File.
    I search a lot but did not find the solution, Anyone please help..

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

    Good tutorial, thanks bro

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

    Nice Lecture. But when you pronounce Table I wanna know where you learn how to say Table.

  • @Domo01SS
    @Domo01SS 5 ปีที่แล้ว

    Followed the tutorial, Thank You!
    One issue I am having, is that I cannot see the values stored in the DB with the api/{controller} link. It doesn't give an error message besides "No HTTP Resource was found that matches the request URI."
    I checked the controller and referenced it with yours, and everything checks out.
    What could I have missed?
    Thank you!

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

      I had the same issue - firstly make sure your table in DB is populated. Secondly make sure you are referencing the correct controller name. Another things - are your methods returning Views (if yes - then this is wrong). Just paste whatever you have on top of the method after Get/Post/etc epi/{controllerAction}

  • @فيصلالراوي-ع1ج
    @فيصلالراوي-ع1ج ปีที่แล้ว +1

    Perfect

  • @oldanandiansassociationchi1157
    @oldanandiansassociationchi1157 6 ปีที่แล้ว

    Great Tutorial.this is the best

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว

      Thank you for the wonderful feedback! :) I'm humbled.

  • @usamadanish1873
    @usamadanish1873 5 ปีที่แล้ว

    Good job by CodAffection Thankxx

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

    bro podrias hacer un video asi mismo en mvc y asp pero validando campos repetidos con ajax xfa intento hacer pero no me sale ejemplo tengo el campo cedula lo ingreso y si vuelvo a ingresar la misma cedula me slaga ya existe la cedula y no me deje guardar

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

    Great Video.