1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

[C#][ASP.NET Web API]WebAPIのみのプロジェクトのデバッグ実行で起動時にブラウザを表示させないようにする

Posted at

WebAPIのみで画面が不要(MVCなし)な場合、毎回ブラウザが開くと困る…というときに使える設定。

プロジェクトのプロパティ>
Web>開始動作>「ページを開かずに外部アプリケーションからの要求を待つ」を選択
image.png

デバッグ実行を開始すると、ブラウザが起動せず何も起きていないように見えてわかりにくいですが、POSTMAN等でアクセスすると実行されていることを確認できます。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?