ASP.NET Core
前往频道在 Telegram
显示更多
未指定国家技术与应用11 109
📈 Telegram 频道 ASP.NET Core 的分析概览
频道 ASP.NET Core (@aspnetvnext) 英语 语言赛道中的 是活跃参与者。目前社区聚集了 11 114 名订阅者,在 技术与应用 类别中位列第 11 109。
📊 受众指标与增长动态
自 невідомо 创建以来,项目保持高速增长,吸引了 11 114 名订阅者。
根据 01 十二月, 2026 的最新数据,频道保持稳定运转。过去 30 天订阅人数变化为 -170,过去 24 小时变化为 -8,整体触达仍然可观。
- 认证状态: 未认证
- 互动率 (ER): 平均受众互动率为 12.72%。内容发布后 24 小时内通常能获得 4.64% 的反应,占订阅者总量。
- 帖子覆盖: 每篇帖子平均可获得 1 414 次浏览,首日通常累积 516 次浏览。
- 互动与反馈: 受众积极参与,单帖平均反应数为 4。
📝 描述与内容策略
尚未提供频道描述。
凭借高频更新(最新数据采集于 02 十二月, 2026),频道始终保持新鲜度与高覆盖。分析显示受众积极互动,使其成为 技术与应用 类别中的关键影响点。
11 114
订阅者
-824 小时
-387 天
-17030 天
帖子存档
11 113
Hey folks 👋 I started a Telegram channel called Coding with ADHD. I’ll be sharing the latest AI news, plus videos and experiments with tools like Claude Code, Grok Bot, and Obsidian.
If you’re into agentic coding and automating the repetitive parts of your workflow, you might like it. Come join 👇
https://t.me/CodingWithADHD
30 11月, 11:05
11 113
Building reusable Blazor component libraries in .NET 10
Creating reusable component libraries remains one of the best ways to scale Blazor development. .NET 10 brings several improvements that make component libraries cleaner and more powerful.
Create a Razor Class Library
dotnet new razorclasslib -n MyComponents -o MyComponents
Simple reusable component
@* MyButton.razor *@
<button class="btn @CssClass" @onclick="OnClick">
@ChildContent
</button>
@code {
[Parameter]
public string CssClass { get; set; } = "btn-primary";
[Parameter]
public RenderFragment? ChildContent { get; set; }
[Parameter]
public EventCallback OnClick { get; set; }
}
.NET 10 improvements useful for component libraries
1. PersistentState attribute
You can now declaratively persist component state:
[PersistentState]
public string? SelectedValue { get; set; }
2. Better static asset handling
Static files (including CSS isolation) get automatic fingerprinting and compression when served from a Razor Class Library.
3. Improved JavaScript isolation
JavaScript modules from component libraries remain isolated and are easier to consume.
4. Validation improvements
DataAnnotations validation now handles nested types more reliably — useful if your components expose complex models.
Best practices
- Keep components focused
- Use [Parameter] + EventCallback
- Prefer CSS isolation (.razor.css)
- Document public parameters clearly
- Consider the [PersistentState] attribute when your components hold state across prerendering
Do you maintain your own Blazor component library, or do you mostly use third-party ones?
#dotnet #Blazor #dotnet10 #ASPNETCore #ComponentLibrary #ReusableComponents27 11月, 16:50
11 113
First impressions & breaking changes in .NET 11 ASP.NET Core
.NET 11 has been out for a few days. Here’s a practical look at first impressions, things to watch, and code-level differences when upgrading ASP.NET Core apps.
Positive first impressions
- Runtime Async feels solid (cleaner stacks, lower overhead)
- Async validation works well in Minimal APIs and Blazor
- Blazor upgrades are practical
- OpenAPI 3.2 is a welcome default
- Migration from .NET 10 is relatively smooth for most apps
Things to watch / potential differences
1. OpenAPI 3.2 schema changes
Some schemas generate slightly differently. Example of enabling and pinning version if needed:
builder.Services.AddOpenApi(options =>
{
options.OpenApiVersion = Microsoft.OpenApi.OpenApiSpecVersion.OpenApi3_0; // pin if required
});
2. Async validation attribute
Works out of the box, but make sure dependencies are resolved correctly:
public class UniqueEmailAttribute : AsyncValidationAttribute
{
protected override async Task<ValidationResult?> IsValidAsync(
object? value, ValidationContext context)
{
var db = context.GetRequiredService<AppDbContext>();
var exists = await db.Users.AnyAsync(u => u.Email == value as string);
return exists ? new ValidationResult("Email taken") : ValidationResult.Success;
}
}
3. Blazor BasePath
New component simplifies sub-path hosting:
<BasePath Path="/my-app" />
4. Package alignment
Always update everything together:
dotnet add package Microsoft.AspNetCore.OpenApi
dotnet list package --outdated
Migration tips from RC to GA
- Re-test OpenAPI client generation
- Verify Blazor enhanced navigation and static assets
- Check authentication flows end-to-end
- Update all Microsoft.* packages to final 11.0 versions
- Run full integration tests
Recommendation
For most production apps, .NET 10 LTS is still the safer long-term choice. .NET 11 is great for new projects or teams that want the latest features.
What has your experience been with .NET 11 so far? Any unexpected issues?
#dotnet #ASPNETCore #dotnet11 #Migration #BreakingChanges14 11月, 04:42

