ASP NET Web API and SQL Server

Поделиться
HTML-код
  • Опубликовано: 10 дек 2024

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

  • @nasiksami2351
    @nasiksami2351 3 года назад +3

    I have simply no words to praise you! You are a lifesaver and a GEM ! Few hours ago was panicking about a task using API. Now seeing the hope that I'll be able to complete it all by myself.

  • @omartorres333
    @omartorres333 4 года назад +6

    -If you are having problem Adding the Controller, for some reason, you have to Build Solution before you add the EmployeesController (5:52 into the video) (Comments below). Also by Updating Entity Framework from Tools > NuGet Package Manager > Manage NuGet Packages for Solution.
    -Si tienes problema para añadir el controlador Compila el proyecto "Solucion"EmployeService" dando click derecho sobre el . Tambien hay que actualizar el Entitiy Framework

  • @adilk.1090
    @adilk.1090 7 лет назад

    if someone gets ERROR by adding a Controller:
    Many Thanks Mr. Kudvenkat for your effort. If someone gets an error by trying to create 'EmployeesController', please create another project and by selecting the 'Web API' before clicking on next, click the button 'Change authentication' and change it to individual user accounts. This solution worked for me.'

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

    For those having trouble adding the controller
    First: Update Entity Framework from Tools > NuGet Package Manager > Manage NuGet Packages for Solution. (I simply updated all packages that required an update)
    Second: Restart Visual Studio.
    Third: Right click Solution '*Your Solution Here*' & click REBUILD SOLUTION.
    Last: Attempt to add controller.
    This method worked for me. Good luck

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

    You are one of the best instructors I have come across in my life. Thank you Sir.

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

    I think this is one of the best tutorial about the subject.. thanks!!

  • @leeyuejun
    @leeyuejun 8 лет назад +10

    Your videos are the best tutorials i've watched. I managed to complete my work task with the help with your tutorials. Thank you. Keep it up!!

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  8 лет назад +7

      Thank you very much for taking time to give feedback. This means a lot. I am very glad you found the videos useful.
      I have organised all the Dot Net & SQL Server videos in to playlists, which could be useful to you
      ruclips.net/user/kudvenkatplaylists?view=1&sort=dd
      If you need DVDs or to download all the videos for offline viewing please visit
      www.pragimtech.com/kudvenkat_dvd.aspx
      Slides and Text Version of the videos can be found on my blog
      csharp-video-tutorials.blogspot.com
      Tips to effectively use my youtube channel.
      ruclips.net/video/y780MwhY70s/видео.html
      If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel.
      ruclips.net/user/kudvenkat
      If you like these videos, please click on the THUMBS UP button below the video.
      May I ask you for a favor. I want these tutorials to be helpful for as many people as possible. Please share the link with your friends and family who you think would also benefit from them.
      Good Luck
      Venkat

  • @mojahidatutube
    @mojahidatutube 8 лет назад +9

    Hi Venkat, your tutorials are simply awesome. Please share one video for Authentication and Authorization in WebApi. One Web client example using Json to consume the WebApi example would be very helpful as well. Thanks in advance.

  • @catherineatwork3924
    @catherineatwork3924 7 лет назад +1

    I was losing my mind until I found your video, THANK YOU SO MUCH

  • @AddictedSoulsMusic
    @AddictedSoulsMusic 7 лет назад

    Great work. Many thanks from South Africa!

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

    One of the best videos i have seen. Got to learn for first time in my life about how API 's are developed. I could develop API watching the videos

  • @Supren915
    @Supren915 6 лет назад +10

    When adding the connection to the DB on VS 2017. I had to include the full server name to my local system to get it to work. (server) or "." would not work and test connection would fail.
    Example: User/SQLExpress
    Hope this helps.

  • @HommyRosado
    @HommyRosado 7 лет назад +1

    All of your tutorials are exceptionally well done. Thank you!

  • @robertthart6387
    @robertthart6387 7 лет назад

    Thank you for the video. I had some minor issues, but the solution whas in the comments below the video. In general this is a good quality tutorial!

  • @rajreddypatkuri9981
    @rajreddypatkuri9981 8 лет назад

    I am eagerly waiting for upcoming videos. I have almost watched every series of you. You are wonderful. Venkat Garu, Please post next videos as soon as possible.

  • @desbutler4257
    @desbutler4257 8 лет назад +2

    Well done on a very balanced set of tutorials. I learned a lot. Thank you so much

  • @makarandnidhalkar7139
    @makarandnidhalkar7139 2 года назад

    Don't have words to thank you!!
    Really appreciated :-)
    Subscribed!

  • @LiamFoot
    @LiamFoot 8 лет назад +2

    Thanks for all the videos Venkat. Looking forward to your next video!

  • @tzvikrabinowitz5446
    @tzvikrabinowitz5446 8 лет назад +1

    In addition to your awsome and incredible tutorials(espacially using vs 2015)
    I would like to add a comment that I had a problem adding the database
    so I just wanted to add my insight that I needed to write in the server name input
    .\(servername)
    notice the "\" sign it's a backslash (\).
    and then it worked!!!
    Thanks Venkat you are great!!!!
    Love your movies.

  • @ramankingdom1
    @ramankingdom1 7 лет назад +2

    I like your videos man. I am trying hands on as well. I know its require lot of effort to build a tutorial of such a quality. I contribute by watching all the advertisements :). Keep it up

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

    Your tutorials are really good, very well explained. hats off to you Venkat...

  • @raghumanbasha4311
    @raghumanbasha4311 Год назад

    Teaching is Top class😇👌

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

    give video on below topic please
    1.dependency injection and IOC
    2.N+1 problem in enitity framework
    3.Solid principle
    4.design pattern

  • @DavidGonzalez-yv3bm
    @DavidGonzalez-yv3bm 8 лет назад

    Gret Video!!! Is the first time i understand everything, thank you very much.

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

    Super simple, great video nice brother.

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

    Amazing video, you really made this process very simple! thanks a lot :)

  • @mikelawrence6469
    @mikelawrence6469 7 лет назад

    Thank you so much for all your awesome videos, I'm trying to learn them all. :-)

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

    --- IF stuck at 5:52 . Right click on Solution and choose Build Solution --- Before add Controller

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

    Thank you very much, this made things really easy.

  • @arianitonline8748
    @arianitonline8748 8 лет назад +11

    please use code first from database. it's just better for a C# and asp.net developer

    •  7 лет назад

      Did you find any tutorial for this?

    • @nameless1483
      @nameless1483 7 лет назад

      There are tutorials about code first on udemy, I can suggest some if you are interested in hearing

    • @katliem6603
      @katliem6603 7 лет назад

      Please do

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

    Thank you so much!
    Try not choose Class Library NET Standar, it does not contain ADO.NET.

  • @raqibul1000
    @raqibul1000 8 лет назад

    Thanks from Bangladesh.

  • @kosovacvr
    @kosovacvr 6 лет назад +4

    VS2017 - Install-Package EntityFramework must be run in Packet Manager in order to work

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

      Thanks a lottttttttttt couldn't have done it without your help

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

      Thank you so much, You are a hero!!

  • @BGFront
    @BGFront 2 года назад

    You are awesome! Thank you

  • @fortyfication
    @fortyfication 7 лет назад

    Very accurate tutorial! Thanks..

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

    For everyone struggling with displaying the list or single item because of: "The 'ObjectContent`1' type failed to serialize the response body for content type 'application/xml; charset=utf-8'." just add Configuration.ProxyCreationEnabled = false; in constructor of the context class

  • @mayagajare1177
    @mayagajare1177 8 лет назад

    Thank you Venkat Garu...Please upload video for webApi with store procedure using entity framework

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

    @kudvenkat which screen recorder do you use to record your video?

  • @MohamedSuleiman
    @MohamedSuleiman 8 лет назад

    Thank you very much, that 's great explaining

  • @aayaqueen7059
    @aayaqueen7059 7 лет назад

    Great videos. Excellent delivery.

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

    in case u got the error (A network-related or instance-specific error occurred while establishing a connection to SQL Server.)
    Do the below steps:-
    Open "SQL Server Configuration Manager"
    Now Click on "SQL Server Network Configuration" and Click on "Protocols for Name"
    Right Click on "TCP/IP" (make sure it is Enabled) Click on Properties
    Now Select "IP Addresses" Tab -and- Go to the last entry "IP All"
    Enter "TCP Port" 1433.
    Now Restart "SQL Server .Name." using "services.msc" (winKey + r)

    • @cory99998
      @cory99998 Год назад

      holy crap thank you!! I have no idea how long that would have taken to figure out.

  • @erikajpn
    @erikajpn 7 лет назад

    Great tutorial. Got it working with ease. However, one thing I couldn't get working was to enable SQL that is generated by the Enity Framework to be displayed in the Debug Output window. How do you set it up so that SQL is generated to the debug output window?

  • @fortunembulazi
    @fortunembulazi 3 года назад +1

    Hi man, I have a problem adding the ADO.NET to my project. I changed versions it still did not help, I even went to the newest one which is 5.0 I get this error("The project's target framework does not contain Entity Framework runtime assemblies. Please review the target framework information in the project property page."). Any ideas on how I fix this?

  • @seanshimon
    @seanshimon 8 лет назад

    Awesome lesson ! Thanks.

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

    Hello and thank you for this wonderful tutorial! I have a question about web API. I understood the main idea of the web api but I did not understand how an end-user can use it. In 11.00 minute you entered an id number to the URL but for an end-user it is not practical to use it. How can we convert it to a graphical user interface? Or how can we use web api in a real application? Thanks in advance!

    • @ishfaqbabar1192
      @ishfaqbabar1192 2 года назад +1

      Use/Integrate SwaggerUI with webAPI

    • @metekaba6532
      @metekaba6532 2 года назад

      @@ishfaqbabar1192 Thank you so much for your response! But I wanted it for the end-user. An end user would prefer using the Website UI instead of using a framework like Swagger.

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

    Congrats Great documentation

  • @Sumanaoka
    @Sumanaoka 7 лет назад

    Learning a lot, thanks bro!

  • @shwetaotari6112
    @shwetaotari6112 3 года назад +1

    hi venkat, when i am adding entity data model to EmployeeDataAccess project it is giving me this error: project target framework does not contain entity framework runtime assemblies. Please give solution for this

  • @DeepakSingh-gi1tf
    @DeepakSingh-gi1tf 4 года назад +1

    Great tutorial! How to connect to Azure SQL database from here?

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

    Thanks a lot it really helped me.

  • @somyamishra7730
    @somyamishra7730 Год назад

    Hi Venkat, one question here if suppose we want to change the Salary column data type to float but it should not change it in the database itself, is this possible to do

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

    "Employee Service" project under the solution will require entity framework installed... Otherwise data will not be available and an error will raise!!!

  • @AryaPopat
    @AryaPopat 5 месяцев назад

    i have followed all the steps properly yet i am not able to add the "using EmployeeDataAccess" project to the controller. Any idea how to resolve the problem?

    • @itsjr8896
      @itsjr8896 4 месяца назад

      i have been facing issue while adding ado,net data model of target framework issue

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

    Best Thank you so much sir

  • @mohammedrabea2421
    @mohammedrabea2421 8 лет назад

    Please venkat, can you explain the prerequisites for this video series ??

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

    Hi venkat!
    I am getting this error, can you help?
    Cannot implicitly convert type 'UserInfoDataAccess.SM_UserInfo_ST' to 'System.Collections.Generic.IEnumerable'. An explicit conversion exists (are you missing a cast?)
    Regards,
    Kamran

  • @sudhakarsingh4644
    @sudhakarsingh4644 7 лет назад

    Awesome video , Great explanation !!!! it is good if you upload video related to Entity framework and MVC .

  • @rolanddewnath6672
    @rolanddewnath6672 7 лет назад +11

    Can you please update this with Visual Studio 2017?

  • @asprysdev812
    @asprysdev812 8 лет назад

    Great Tutorial, Can you give more example to get data from stored procedure sql, not only get by table, thanks.

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

    For error 0152 do this:
    Go to Tools->Options->Nuget Package Manager and disable your custom NuGet servers.
    Keet Nuget.org only checked.

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

    thanks for the Idea , its the best :)

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

    Thanks Venkat.

  • @joaobraz612
    @joaobraz612 10 месяцев назад

    Can I use Dependency Injection to inject the DbContext inside the controller constructor? Nowadays this is the moden way to get access to the DbContext instead explicitly call the using inside the controller.

  • @mnsarma
    @mnsarma 7 лет назад

    Hello Sir. Thanks for the amazing videos. I have a question:- I have used this example to the dot but even after hitting the url with a parameter (Ex:- api/employees/4), i get all the employees instead of just the one I want. Please help!!

  • @olumsuzanlar6533
    @olumsuzanlar6533 7 лет назад +7

    ERROR
    could not load file or assembly 'EmployeeDataAccess.dll ?

    • @WilliamHerman0369
      @WilliamHerman0369 7 лет назад

      Did you solve that problem? I'm having the same one with my project as well :(

    • @MrKillerboyz45
      @MrKillerboyz45 7 лет назад +11

      go to your solution project and right click on it and find "Rebuild solution" and w8 for a moment till it finished rebuild, then u can add controller after that .
      Hope it works!

    • @souriroy5466
      @souriroy5466 7 лет назад

      after rebuild also I am not able to load the file. its a same prob. I badly need help

    • @shubhamkGupta
      @shubhamkGupta 7 лет назад

      Check under "EmployeeService" then add in Reference

    • @wellingtonjunior1365
      @wellingtonjunior1365 7 лет назад

      I'm having the same problem. Does anyone know how to solve it?I'm using Visual Studio 2017

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

    Dont know if you are still around...I am using EF 6 and i have foriegn keys. When i run the simple get method "'ObjectContent`1' type failed to serialize the response body" error. If i cut the FK connection it works fine. Can you explain how to fix

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

    It was a mess trying to add a class library and then reference it's ADO.NET Entity Framework model. I just added Entity Framework reference directly into the main project and was just fine in VS 2017.

  • @belmiris1371
    @belmiris1371 2 года назад

    Hm... I know this video was made a while ago but in VS 2019 I could not get the Employees controller to work without first creating an entity model in the Server project (the same way we did in the class library project). I think Entity Framework has fallen out of favor a bit and the references which once used to be installed by default no longer are. I can kind of see why EF would not be popular; I got many security warnings about a script possibly corrupting my PC and then the IDE crashed. I got it running after reopening the solution. This seems a very convoluted way of connecting to a database.

  • @Silviu624
    @Silviu624 8 лет назад

    Problem solved!!
    :D:D:D
    ps: great videos so far!!

  • @shannonchan596
    @shannonchan596 7 лет назад

    Great tutorial! But where is your Employee class located at?

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

      Severity Code Description Project File Line Suppression State
      Error CS1674 'EmployeeDBEntities': type used in a using statement must be implicitly convertible to 'System.IDisposable' WebApplicationdatabase C:\Users\DELL\source
      epos\WebApplicationdatabase\WebApplicationdatabase\Controllers\EmployeeController.cs 15 Active
      i am getting that

  • @DavidJohnson-wn8ni
    @DavidJohnson-wn8ni 4 года назад

    Thanks very much!

  • @saddamkazi7434
    @saddamkazi7434 8 лет назад +1

    Thanks Please share angularjs using webapi

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

    Hi. Thanks for the video. How do I 'publish'/transfer this from my computer to an existing web server ?

  • @medasaritha
    @medasaritha 7 лет назад +1

    I get the error "The 'ObjectContent`1' type failed to serialize the response body for content type 'application/xml; charset=utf-8'" . Any help appreciated

    • @chichano1
      @chichano1 7 лет назад

      I found answer here: stackoverflow.com/a/20252040/7169820

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

    Hi guys, Im getting the below error:
    Could not load file or assembly 'EmployeeDataModel.cs' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    Could you please help me with any solution, please.

    • @VinayJS_SIME
      @VinayJS_SIME Год назад

      Yess Even I am getting this error,It would be great if somebody can help.

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

    Hi! Thank you for the helpful video. There is a question. How do I publish this project? The fact is that after publishing the service, an error occurs with connecting to the database.

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

    Hey, can i build web api between an android app and mysql server(running in a server) using .net core?

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

    It is possible, if I'm using entity framework and my data is coming to stored procedures on my crystal reports? btw I'm using desktop application this application is connected already to the cloud sql server. any inputs @kudvenkat thank you !

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

    Why do we need to specify connection string at two places
    I mean in api as well as data access project ?

  • @pandey3128
    @pandey3128 7 лет назад

    Dear Venkat, EmployeeEntities create by EF is not inherit from IDisposable where as Using block uses IDisposable interface. Hence if i am adding using block it is giving me an error "type used in using statement must be implicitly convertible to system.idisposable"

    • @harikrushna143
      @harikrushna143 7 лет назад

      Install EF from nuget in your service project. For reference follow this link
      forums.asp.net/t/1856121.aspx?%20System%20Data%20Entity%20DbContext%20is%20defined%20in%20an%20assembly%20that%20is%20not%20referenced

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

    Dear Mr,
    In case I need to use a stored procedure from DB in sql server and this stored procedure has many parameters and many join to many tables and return many fields from many table how to call and use it with WEB API Controller?
    Many thanks and best regards,

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

    wow its working thank you..

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

    I didnt get it why did you build an MVC project instead of a Web API project? You dont need that extra stuff which ships with MVC. Can you please explain that part?

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

    I Can't Find class library In VS2017

  • @SudhirVetri
    @SudhirVetri 7 лет назад

    Error:
    Cannot implicitly convert type 'EmployeeDataAccess.employee' to 'System.Collections.Generic.IEnumerable'. An explicit conversion exists (are you missing a cast?)
    What should i do for this ?

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

    Hi Venkat Garu,
    I am getting below issue .Even I add the Entity Framework from NuGet Package and Connection string also added to webconfig file also.
    Even i add the Newtonsoft.Json Code to WebApiConfig .cs also.
    Please give the solution for the below issue.
    {"$id":"1","Message":"An error has occurred.","ExceptionMessage":"The 'ObjectContent`1' type failed to serialize the response body for content type 'application/json; charset=utf-8'.","ExceptionType":"System.InvalidOperationException","StackTrace":null,"InnerException":{"$id":"2","Message":"An error has occurred.","ExceptionMessage":"Error getting value from 'Contacts' on

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

    Why did you put it in a separate project?

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

    Excellent series of videos but couldn't get the EmployeeDBEntities to work errors

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

    When it displays Login failed for user sa when you access the api/employees in your browser, do the following:
    1.Go to the web.config file in the solution
    2. In the connection strings, make sure EmployeeDBEntities connection string is present
    3. Locate the 'user id=sa' text on that line
    4. If all above is done well, add a password field such as - password=(yourpassword)
    5. It should look like "...;user id=sa;password=orangebananas;..."
    6. Rebuild the solution and test if it works

  • @mutyalakiran9839
    @mutyalakiran9839 7 лет назад

    Can we Do this without ado.net I need to implement We ApI. using sql commands,and return type only json
    Any suggession please

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

    Hello, I followed all the steps mentioned in the video but I get below error"
    The 'ObjectContent`1' type failed to serialize the response body for content type 'application/xml; charset=utf-8'.
    System.InvalidOperationException
    I tried with solution in WebApiConfig file in Register method
    config.Formatters.JsonFormatter.SupportedMediaTypes.Add(new MediaTypeHeaderValue("text/html"))
    OR
    var json = config.Formatters.JsonFormatter;
    json.SerializerSettings.PreserveReferencesHandling = Newtonsoft.Json.PreserveReferencesHandling.Objects;
    config.Formatters.Remove(config.Formatters.XmlFormatter);
    Also in Global.asax file in App_start event
    GlobalConfiguration.Configuration.Formatters.JsonFormatter.SerializerSettings.ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Ignore;
    GlobalConfiguration.Configuration.Formatters.Remove(GlobalConfiguration.Configuration.Formatters.XmlFormatter);
    but even after all these solution I am still getting the same error. Can u help me to resolve this issue.

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

    why using "EmployeeDataAcces;" not showing??

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

      me too ....if you have the solution send to me

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

      You have to add the reference first on the EmployeeService > Add> Reference > Projects > Select EmployeeDataAccess

  • @dasilva9191
    @dasilva9191 2 года назад

    When adding the WebApi 2 Controller i keep getting an error that says "There was an error running the selected code generator: 'Could not load file or assembly 'EmployeeDataAccess.dll' or one of it's dependencies. The system cannot find the file specified.'

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

    Hi, thank you for this tutorial.
    After rebuilding my solution I keep receiving 2 errors that I can't figure out how to solve.
    I already looked at the comments and try them out, but it seem not to work for me.
    Here's the error output:
    1>------ Rebuild All started: Project: EmployeeDataAccess, Configuration: Debug Any CPU ------
    1>C:\Users\MyName\source
    epos\EmployeeService\EmployeeDataAccess\EmployeeDataModel.Context.cs(28,30,28,38): error CS0246: The type or namespace name 'Employee' could not be found (are you missing a using directive or an assembly reference?)
    2>------ Rebuild All started: Project: EmployeeService, Configuration: Debug Any CPU ------
    2>CSC : error CS0006: Metadata file 'C:\Users\MyName\source
    epos\EmployeeService\EmployeeDataAccess\bin\Debug\EmployeeDataAccess.dll' could not be found
    ========== Rebuild All: 0 succeeded, 2 failed, 0 skipped ==========
    I would really appreaciate your help!

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

      Melinda Reiz
      既に解決済みかもしれませんが、一度ソリューションビルドを実行してから再度試してみてください。

  • @roshanmaddumage9675
    @roshanmaddumage9675 7 лет назад

    Hey, What is the second part of this tutorial?

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

    Why choosing both MVC and Webapi both while creating webapi. application

  • @katarzynah1901
    @katarzynah1901 7 лет назад

    Great tutorial!

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

      Severity Code Description Project File Line Suppression State
      Error CS1674 'EmployeeDBEntities': type used in a using statement must be implicitly convertible to 'System.IDisposable' WebApplicationdatabase C:\Users\DELL\source
      epos\WebApplicationdatabase\WebApplicationdatabase\Controllers\EmployeeController.cs 15 Active
      please sugget

    • @vasil-yt
      @vasil-yt 4 года назад

      @@kalpanatomar5987 Same error here. I know it's a year later but do you maybe remember if you could fix this? If so, do you know how?

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

    While creating the controller, I am not getting the Employee keyword (that was used between the anchor tags in the Enum)

  • @mrghazni411
    @mrghazni411 7 лет назад

    Hello, I wanted to know if you can explain how to add an existing database or application to this. I have been trying but with no luck

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

    I have a question without get method mentioned in the uri how it goes to get method in the employee controller "
    "api/employees/1" - only controller method but no method mentioned please tell me. thanks in advance.