Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. When to use ASP.NET Webforms, MVC, Web API

When to use ASP.NET Webforms, MVC, Web API

Scheduled Pinned Locked Moved ASP.NET
11 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    larsp777
    wrote on last edited by
    #1

    ASP.NET has become increasingly complex. Webforms was the old but still valid technique. MVC means you can stucture your application better and have more controll. So is Web api a third technique or should I use it to create webservices and other things. So my questions is: Is Web Api a third technique to be used instead of webforms and MVC?

    F 1 Reply Last reply
    0
    • L larsp777

      ASP.NET has become increasingly complex. Webforms was the old but still valid technique. MVC means you can stucture your application better and have more controll. So is Web api a third technique or should I use it to create webservices and other things. So my questions is: Is Web Api a third technique to be used instead of webforms and MVC?

      F Offline
      F Offline
      F ES Sitecore
      wrote on last edited by
      #2

      Web API is not a substitute for webforms or mvc, it is for creating APIs (ergo the name), or basically things that have no visual interface themselves, they are endpoints other apps can call to "do things".

      L 1 Reply Last reply
      0
      • F F ES Sitecore

        Web API is not a substitute for webforms or mvc, it is for creating APIs (ergo the name), or basically things that have no visual interface themselves, they are endpoints other apps can call to "do things".

        L Offline
        L Offline
        larsp777
        wrote on last edited by
        #3

        Ok, thanks! Kind of what I guessed. Still a bit confusing that you can start a project as Web API I think. Feels like you should start MVC and then Add Web API. But I think I have to read more about it.

        F 1 Reply Last reply
        0
        • L larsp777

          Ok, thanks! Kind of what I guessed. Still a bit confusing that you can start a project as Web API I think. Feels like you should start MVC and then Add Web API. But I think I have to read more about it.

          F Offline
          F Offline
          F ES Sitecore
          wrote on last edited by
          #4

          You might just be writing the API though and no front-end service. Even if your site does use API it is generally advised to keep the web api part in its own project anyway so you can enforce separation of concerns.

          L 1 Reply Last reply
          0
          • F F ES Sitecore

            You might just be writing the API though and no front-end service. Even if your site does use API it is generally advised to keep the web api part in its own project anyway so you can enforce separation of concerns.

            L Offline
            L Offline
            larsp777
            wrote on last edited by
            #5

            Ok, I see. Thanks! By the way, do you know of any good MVC 5 tutorial? I have tried some but they seem to get to comlicated to fast.

            F R 3 Replies Last reply
            0
            • L larsp777

              Ok, I see. Thanks! By the way, do you know of any good MVC 5 tutorial? I have tried some but they seem to get to comlicated to fast.

              F Offline
              F Offline
              F ES Sitecore
              wrote on last edited by
              #6

              I used the "MVC Music Store" to get started with (just google it and you'll find it).

              L 1 Reply Last reply
              0
              • F F ES Sitecore

                I used the "MVC Music Store" to get started with (just google it and you'll find it).

                L Offline
                L Offline
                larsp777
                wrote on last edited by
                #7

                Ok, thanks!

                1 Reply Last reply
                0
                • L larsp777

                  Ok, I see. Thanks! By the way, do you know of any good MVC 5 tutorial? I have tried some but they seem to get to comlicated to fast.

                  R Offline
                  R Offline
                  Ronald A
                  wrote on last edited by
                  #8

                  I tried to get some video tutorials for you, but for some reason, the moderators keep deleting my posts. Good luck, pal !

                  L 1 Reply Last reply
                  0
                  • R Ronald A

                    I tried to get some video tutorials for you, but for some reason, the moderators keep deleting my posts. Good luck, pal !

                    L Offline
                    L Offline
                    larsp777
                    wrote on last edited by
                    #9

                    Oh, to bad. I have looked as some videos and in some ways it is easy to understand but then again not :) Thanks anyway! Edit: I saw the link in the email I got from the post so I see the video there. Thank you!

                    R 1 Reply Last reply
                    0
                    • L larsp777

                      Oh, to bad. I have looked as some videos and in some ways it is easy to understand but then again not :) Thanks anyway! Edit: I saw the link in the email I got from the post so I see the video there. Thank you!

                      R Offline
                      R Offline
                      Ronald A
                      wrote on last edited by
                      #10

                      Check for Mosh Hamedani's video. He is really good, and i learnt a lot on MVC 5. ;)

                      1 Reply Last reply
                      0
                      • L larsp777

                        Ok, I see. Thanks! By the way, do you know of any good MVC 5 tutorial? I have tried some but they seem to get to comlicated to fast.

                        R Offline
                        R Offline
                        Ronald A
                        wrote on last edited by
                        #11

                        Check this one - Learn ASP.NET MVC 5 - Complete Tutorial 2015 [COMPLETE] - YouTube[^] But my favorite is Mosh's Step-by-step ASP.NET MVC Tutorial for Beginners - YouTube[^] This is not a full tutorial, but if you liked Mosh's, you can purchase the video @ Udemy.

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups