Asp.net core web api local debugging, coreapi

Source: Internet
Author: User

Asp.net core web api local debugging, coreapi

I haven't done it for a long time. net. In view of the cross-platform consideration of your website, we are ready to use free time to port the framework into asp.net core. net is generally only used in version 3 or later versions. People are old and there is not much time, so they have to get into the trap first;

The first thing is to build the development environment. After installing the sdk according to the documentation, I found that the website in iis cannot direct to the local source code directly. debugging is either f5 (I never liked this method ), you can either release it after each change and then use remote debugging (what a ghost, do you need to release it frequently)

Later, I moved my brains, copied the published webconfig to the local code folder, and modified <aspNetCore processPath = "dotnet" arguments = ". \ bin \ Debug \ netcoreapp2.0 \ WebApi. dll "stdoutLogEnabled =" false "stdoutLogFile = ". \ logs \ stdout "/>. Then the breakpoint is appended to dotnet. ext, which seems to be okay. Use it first. I don't want to spend too much time on the research framework.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.