asp.net网站的建立及运行

asp.net网站的建立及运行_第1张图片点击创建新项目

在输入框中输入asp.net,并选择图中的

asp.net网站的建立及运行_第2张图片

点击下一步

asp.net网站的建立及运行_第3张图片

点击创建

然后,右键,添加,新建项

asp.net网站的建立及运行_第4张图片

选择web窗体

asp.net网站的建立及运行_第5张图片

点击添加

点击视图,工具箱

asp.net网站的建立及运行_第6张图片

选择一个label,记住这个id

空白处右键,查看代码

添加代码

asp.net网站的建立及运行_第7张图片

就是id.Text = "your text";

然后右键,项目名,发布

asp.net网站的建立及运行_第8张图片

选择iis

asp.net网站的建立及运行_第9张图片

选择web deploy包

asp.net网站的建立及运行_第10张图片

包位置,默认

asp.net网站的建立及运行_第11张图片

名称随意

然后在iis里新建网站

展开右侧选项,右键网站,新建网站

asp.net网站的建立及运行_第12张图片

物理位置是刚刚设置的,端口选择没占用的

asp.net网站的建立及运行_第13张图片

点击目录浏览,点击右侧启用

asp.net网站的建立及运行_第14张图片

右键,切换到内容视图

asp.net网站的建立及运行_第15张图片

右键,浏览

asp.net网站的建立及运行_第16张图片

asp.net网站的建立及运行_第17张图片

下班

你可能感兴趣的:(asp,microsoft)