Skip to content

Commit ed7d29b

Browse files
committed
update dockerfile to .net 10;
1 parent a624cf6 commit ed7d29b

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Company>codewf.com</Company>
55
<Authors>沙漠尽头的狼</Authors>
66
<Copyright>Copyright © 2024 codewf.com. All rights reserved.</Copyright>
7-
<Description>码界工坊是使用.NET 9 Blazor开发的一个网站,这里有技术文章,有开源项目介绍,有在线工具使用: 码界工坊—文章启智,工具助力</Description>
7+
<Description>码界工坊是使用.NET 10 Blazor开发的一个网站,这里有技术文章,有开源项目介绍,有在线工具使用: 码界工坊—文章启智,工具助力</Description>
88
<Version>0.0.1.0</Version>
99
<AssemblyVersion>0.0.1.0</AssemblyVersion>
1010
<FileVersion>0.0.1.0</FileVersion>

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
## Introduction
88

9-
The Code Workshop is a website developed using .NET 9 Blazor. It features technical articles, introductions to open-source projects, and the use of online tools: Code Workshop - Enlightening with Articles, Empowering with Tools.
9+
The Code Workshop is a website developed using .NET 10 Blazor. It features technical articles, introductions to open-source projects, and the use of online tools: Code Workshop - Enlightening with Articles, Empowering with Tools.
1010

1111
During the development journey of this blog website, the website owner has overcome numerous obstacles. From the initial conception to the actual implementation, various development technologies have been explored, including [MVC]([ASP.NET Core MVC Overview | Microsoft Learn](https://learn.microsoft.com/en-us/aspnet/core/mvc/overview?view=aspnetcore-9.0)), [Razor Pages]([Introduction to Razor Pages in ASP.NET Core | Microsoft Learn](https://learn.microsoft.com/en-us/aspnet/core/razor-pages/?view=aspnetcore-9.0&tabs=visual-studio)), [Vue]([Vue.js - The Progressive JavaScript Framework | Vue.js (vuejs.org)](https://vuejs.org/)), [Go]([The Go Programming Language (google.com)](https://golang.google.com/)), [Blazor]([ASP.NET Core Blazor | Microsoft Learn](https://learn.microsoft.com/en-us/aspnet/core/blazor/?view=aspnetcore-9.0)) and so on. Throughout this long process, the website has undergone nearly 10 version upgrades, with each version embodying the owner's painstaking efforts and exploration. The details of this challenging journey are thoroughly documented in [Sharing Some Materials I Accumulated When Developing the Dotnet9 Blog Website - Code Workshop](https://dotnet9.com/bbs/post/2022/3/Share-some-learning-materials-I-accumulated-when-I-was-a-blog-website).
1212

@@ -28,7 +28,7 @@ The source code of this website is also open-source:
2828

2929
- Repository: https://github.com/dotnet9/CodeWF
3030

31-
> The Code Workshop is a website developed using.NET 9 Blazor. It features technical articles, introductions to open-source projects, and the use of online tools: Code Workshop - Enlightening with Articles, Empowering with Tools.
31+
> The Code Workshop is a website developed using.NET 10 Blazor. It features technical articles, introductions to open-source projects, and the use of online tools: Code Workshop - Enlightening with Articles, Empowering with Tools.
3232
3333
## Website Technology
3434

@@ -94,7 +94,7 @@ The effect is as follows:
9494

9595
- Website URL: https://dotnet9.com
9696

97-
Like most websites, it first displays the website slogan **"Code Workshop: Developed using.NET 9 Web API + Blazor. Features technical articles, introductions to open-source projects, and online tools to facilitate efficient programming."**, then showcases featured article blocks, and later (currently under development) will add featured tool blocks, followed by friendly links, footer, etc.:
97+
Like most websites, it first displays the website slogan **"Code Workshop: Developed using.NET 10 Web API + Blazor. Features technical articles, introductions to open-source projects, and online tools to facilitate efficient programming."**, then showcases featured article blocks, and later (currently under development) will add featured tool blocks, followed by friendly links, footer, etc.:
9898

9999
![](https://img1.dotnet9.com/2024/11/0202.gif)
100100

README.zh-CN.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
## 介绍
88

9-
码界工坊是使用.NET 9 Blazor开发的一个网站,这里有技术文章,有开源项目介绍,有在线工具使用: 码界工坊—文章启智,工具助力
9+
码界工坊是使用.NET 10 Blazor开发的一个网站,这里有技术文章,有开源项目介绍,有在线工具使用: 码界工坊—文章启智,工具助力
1010

1111
在博客网站的开发征程中,站长可谓是一路披荆斩棘。从最初的构思到实践,先后涉足了多种开发技术,包括 [MVC]([ASP.NET Core MVC 概述 | Microsoft Learn](https://learn.microsoft.com/zh-cn/aspnet/core/mvc/overview?view=aspnetcore-9.0))、[Razor Pages]([ASP.NET Core 中的 Razor Pages 介绍 | Microsoft Learn](https://learn.microsoft.com/zh-cn/aspnet/core/razor-pages/?view=aspnetcore-9.0&tabs=visual-studio))、[Vue]([Vue.js - 渐进式 JavaScript 框架 | Vue.js (vuejs.org)](https://cn.vuejs.org/))、[Go]([The Go Programming Language (google.cn)](https://golang.google.cn/))、[Blazor]([ASP.NET Core Blazor | Microsoft Learn](https://learn.microsoft.com/zh-cn/aspnet/core/blazor/?view=aspnetcore-9.0)) 等。在这漫长的过程中,网站版本更迭近 10 次,每一个版本都凝聚着站长的心血与探索,这段充满挑战的历程详细记录于 [分享我做Dotnet9博客网站时积累的一些资料 - 码界工坊](https://dotnet9.com/bbs/post/2022/3/Share-some-learning-materials-I-accumulated-when-I-was-a-blog-website)。
1212

@@ -28,7 +28,7 @@
2828

2929
- 仓库:https://github.com/dotnet9/CodeWF
3030

31-
> 码界工坊是使用.NET 9 Blazor开发的一个网站,这里有技术文章,有开源项目介绍,有在线工具使用: 码界工坊—文章启智,工具助力
31+
> 码界工坊是使用.NET 10 Blazor开发的一个网站,这里有技术文章,有开源项目介绍,有在线工具使用: 码界工坊—文章启智,工具助力
3232
3333
## 网站技术
3434

@@ -103,7 +103,7 @@
103103

104104
- 网址:https://dotnet9.com
105105

106-
和大多数网站一样,先展示网站宣传语 **”码界工坊:使用.NET 9 Web API + Blazor开发。有技术文章、开源项目介绍和在线工具,助力高效编程。“**,然后展示特色文章块,后面会加上特色工具块(正在开发中),最后是友情链接、页尾等:
106+
和大多数网站一样,先展示网站宣传语 **”码界工坊:使用.NET 10 Web API + Blazor开发。有技术文章、开源项目介绍和在线工具,助力高效编程。“**,然后展示特色文章块,后面会加上特色工具块(正在开发中),最后是友情链接、页尾等:
107107

108108
![](https://img1.dotnet9.com/2024/11/0202.gif)
109109

src/WebSite/App.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta charset="utf-8"/>
66
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
77
<meta name="keywords" content="blazor,ant-design,razor,dotnet">
8-
<meta name="description" content="码界工坊是使用.NET 9 Blazor开发的一个网站,这里有技术文章,有开源项目介绍,有在线工具使用: 码界工坊—文章启智,工具助力"/>
8+
<meta name="description" content="码界工坊是使用.NET 10 Blazor开发的一个网站,这里有技术文章,有开源项目介绍,有在线工具使用: 码界工坊—文章启智,工具助力"/>
99
<base href="/"/>
1010
<HeadOutlet/>
1111
<link rel="stylesheet" href="@Config.GetStaticFileUrl("css/fa.css")"/>

src/WebSite/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# 请参阅 https://aka.ms/customizecontainer 以了解如何自定义调试容器,以及 Visual Studio 如何使用此 Dockerfile 生成映像以更快地进行调试。
22

33
# 此阶段用于在快速模式(默认为调试配置)下从 VS 运行时
4-
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base
4+
FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS base
55
USER root
66
WORKDIR /app
77
EXPOSE 8080
88
EXPOSE 8081
99

1010

1111
# 此阶段用于生成服务项目
12-
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
12+
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
1313
ARG BUILD_CONFIGURATION=Release
1414
WORKDIR /src
1515
COPY ["src/WebSite/WebSite.csproj", "src/WebSite/"]

src/WebSite/Pages/Index.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<div class="d-lg-flex align-items-center justify-content-between text-center pl-lg-5">
1313
<div class="col pt-4 pb-4">
1414
<h2 class="display-4" style="font-weight:500;margin-bottom:2rem;">文章启智,工具助力</h2>
15-
<h5 class="font-weight-light" style="margin-bottom:10px;"><strong>码界工坊</strong>:使用<strong>.NET 9 Web API</strong> + <strong>Blazor</strong>开发。</h5>
15+
<h5 class="font-weight-light" style="margin-bottom:10px;"><strong>码界工坊</strong>:使用<strong>.NET 10 Web API</strong> + <strong>Blazor</strong>开发。</h5>
1616
<h5 class="font-weight-light" style="margin-bottom:1.5rem;">有技术文章、开源项目介绍和在线工具,助力高效编程。</h5>
1717
<a href="/bbs" class="btn btn-lg btn-outline-white btn-round">博客</a>
1818
<a href="https://github.com/dotnet9/codewf" class="btn btn-success btn-round shadow-sm" target="_blank">Github</a>

src/WebSite/appsettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"Site": {
1515
"AppTitle": "码界工坊",
1616
"Domain": "https://dotnet9.com",
17-
"Memo": "码界工坊是使用.NET 9 Blazor开发的一个网站,这里有技术文章,有开源项目介绍,有在线工具使用: 码界工坊—文章启智,工具助力",
17+
"Memo": "码界工坊是使用.NET 10 Blazor开发的一个网站,这里有技术文章,有开源项目介绍,有在线工具使用: 码界工坊—文章启智,工具助力",
1818
"Owner": "沙漠尽头的狼",
1919
"OwnerDesc": "从事Dotnet开发10年+,此站目的分享以Dotnet为主的技术类文章,以此平台与更多的程序员朋友技术交流,祝愿Dotnet社区发展渐好。",
2020
"favicon": "https://img1.dotnet9.com/site/favicon/logo.png",

0 commit comments

Comments
 (0)