Tech Junkie Blog - Real World Tutorials, Happy Coding!: ACMEBank: Step 4: Create An Asp.Net Core Web API With The Asp.Net Core CLI

Tuesday, June 29, 2021

ACMEBank: Step 4: Create An Asp.Net Core Web API With The Asp.Net Core CLI

 In this post we are going to use the .NET Core CLI to create a web api application for our app.  The first thing to do is create an a folder to hold our files.  Since we are using Linux you want to sudo su into the terminal and create the following folder /opt/app/ACMEBank.  Once that's done cd into it and you are ready to type in the command to create the Web Api.

Here are the steps:

1. What you want to do first is to make sure that you have .NET Core install by typing in dotnet --info, there should be information on your .NET Core install.  If you don't have .NET install you can follow the directions in this post.

2. Now we are ready to create the Web Api, type dotnet new webapi -n ACMEBank.API in the terminal.  Here is a breakdown of the command

  • new - create a new .NET project
  • webapi - create new Web Api project
  • -n - name option for the name of the project

3.  Once the creation of the Web Api project is finished, type code . , make sure you are not a super user before you type code . , else VSCode won't open


4. Web Api in VSCode

You've just create a new Web Api project for our ACME Bank application.


9 comments:

  1. Everything is very open with a very clear description of the challenges. It was really informative. Your website is extremely helpful. Thank you for sharing!

    No more waste time to searching #HDimages, #PCwallpaper, #smartphone_wallpaper, #socialmedia_banner, #socialmedia_image_post, #natureHDimages, and many more awesome pictures. Just visit All Awesome Pictures Only For Love Hearts and choose your best choice.

    ReplyDelete
  2. Your blog is very informative and interesting to read, finally, I found exactly what I searching for. There are lots of users of Macfee antivirus in the world because of its features and easy interface. If you want to explore more interesting facts about Mcafee antivirus or want to resolve your technical issues then must visit Mcafee klantenservice nummer.

    ReplyDelete
  3. LikeDiva.com delivers impeccable Social Media Quality, Attention, and Love in the form of Comments, Reshares, Follows, and of course Likes. Users are 100% Real.

    ReplyDelete
  4. Have you checked your Home Insurance Quotes for better insurance rate quotes lately? Many people ignore this just because they don't want to go through all the troubles looking for insurance rate information or comparing rates, and decide to stick with the old companies which they think have already given them the best rates and coverage even if the rates are raised by the companies. If that is what happen, they might have missed the chance of getting better rates of Car Insurance Quotes and coverage offered by other insurance companies on the market.

    We take into account a variety of factors to pair you with your match. We've worked relentlessly to research all of the top insurance providers and devise a matchmaking system that finds the company (or companies) most likely to give you the best rate based on your selections. Unlike other quoting tools, that collect your data and spam you with calls, emails and mail, we don't need any form of personal information, such as Name, Phone, Email, or Address, to pair you with your match Auto Insurance Quotes.

    When comparing the various car insurance quotes you received, you should take the time to look through each coverage option as well for Health Insurance Quotes. Never make it a habit just to look at the price of the coverage, because the coverage options and features will be different. When you apply for quotes, it is important to provide the same information to all the insurance companies Life Insurance Quotes. If you give different information to the different companies, your quotes will be biased and there is no point in comparing the quotes. During the comparison of Small Business Insurance Quotes, you should wait till you receive all your quotes before making a decision, because you never knew which company would provide you the best deal. If one company provides you the most coverage at the best price, you know exactly whom to go with Pet Insurance Quotes.

    When comparing Renters Insurance Quotes, be sure to check off all the pros and cons. Shopping around is definitely easiest online.

    ReplyDelete
  5. An overall very informative blog, this will really help in similar endeavors I am doing personally and for my company.

    house and lot for sale
    condo for sale philippines
    house and lot for sale in Cavite
    house and lot for sale in Sta Rosa Laguna

    ReplyDelete
  6. An overall very informative blog, this will really help in similar endeavors I am doing personally and for my company.

    Condo in the Philippines
    Condo for sale in the Philippines
    Condo

    ReplyDelete
  7. An overall very informative blog, this will really help in similar endeavors I am doing personally and for my company.

    https://www.bria.com.ph/
    https://www.bria.com.ph/properties/

    ReplyDelete

Search This Blog