From 2226d0f9a8e6300c6cc5e66078749508a3d2b932 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E5=AE=87=E6=B3=B3?= <14092639+shen-yuyong@user.noreply.gitee.com> Date: Sun, 17 Nov 2024 21:14:00 +0800 Subject: [PATCH] syy --- 20241114.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 20241114.md diff --git a/20241114.md b/20241114.md new file mode 100644 index 0000000..0c76d8d --- /dev/null +++ b/20241114.md @@ -0,0 +1,7 @@ +### 笔记 + 1、dotnet new mvc -o 名 Views->Home->项目名.cshtml Controllers引用项目方法名 + 2、wwwroot->css->建项目名.css->写样式 3、.cshtml里用link引用样式 href="~/css/项目名.css" +4、dotnet run --project 名 +5、ctrl+c 结束任务 + +![20241117211222](https://syy00.oss-cn-shenzhen.aliyuncs.com/imgs/20241117211222.png) \ No newline at end of file -- Gitee