你的位置: 首页 / 资讯列表 / 分类资讯

最新.NET/.NET Core/Web开发资讯源


13 热度

The Inversion of Control pattern in the test of time

I run into a really interesting discussion on Twitter, I suggest you go over the whole thread, it is fascinating reading. I have written DI / IoC business applications for a decade and I was heavily involved at a popular IoC container for about five years, including implementing some core features (open generic binding, which was a PITA to do). Given the scope of the topic..

收录时间: 2020-01-24
分类: 技术资讯
贡献者: Rector
15 热度

Glyphfriend 2019 Released!

With a new year just beginning, it's always nice to start things out on the right foot and open-source is no exception. Several years ago, I developed a popular extension for Visual Studio called Glyphfriend. It's a handy tool for developers and designers alike that enjoy using the wide range of ico...

收录时间: 2020-01-24
分类: 开发工具
贡献者: Rector
10 热度

Blazor State Management

Imagine for a moment you are filling out the world's longest form. You've spent 30 minutes entering detailed information from your address to your date of birth to a list of the last seven countries you visited. You click the “submit” button and are immediately rewarded with a “The connection has been lost” message.

收录时间: 2020-01-24
分类: Blazor
贡献者: Rector
14 热度

Lee's Blog: Conquer ASP.Net Boilerplate Query Performance in LINQPad, (Announcing LINQPad.ABP)

Ever made it to production only to realize your code fails miserably at scale? When performance problems rear their gnarly head and there name is EntityFramework, there is but one blade to slice that gordeon knot: LINQPad.

收录时间: 2020-01-24
分类: ASP.NET
贡献者: Rector
28 热度

Routing Basics in ASP.NET Core 3.0

My team is finally building a full-blown ASP.NET Core 3.0 project in our production environment, and we could not be more excited!As I am proneto doing, I decided to take one particular section of ASP.NET Core 3.0 and attempt to explain it so I could remember what it does. This time around, I got...

收录时间: 2020-01-22
分类: ASP.NET Core
贡献者: Rector
30 热度

6 Blazor component libraries to speed up your development

.NET Developers have a long history with component libraries. If you’re not familiar with the concept, these are collections of components you can drop into your application when you want a certain bit of UI functionality for your app.If you’re thinking tables, accordians and toggle buttons, you’re...

收录时间: 2020-01-22
分类: Blazor
贡献者: Rector
AD 友情赞助
43 热度

[ASP.NET Core 3框架揭秘] Options[7]: 与配置系统的整合

Options模型本身与配置系统完全没有关系,但是配置在大部分情况下会作为绑定Options对象的数据源,所以有必要将两者结合在一起。与《扩展与定制》演示的两个例子一样,针对配置系统的集成同样是通过定制Options模型相应的对象来实现的。具体来说,集成配置系统需要解决如下两个问题:将承载配置数据的IConfiguration对象绑定为Options对象。自动感知配置数据的变化。第一个问题涉及针对Options对象的初始化问题,这自然是通过自定义IConfigureOptions实现类型来解决的,具体来说就是下面的NamedConfigureFromConfigurationOptions类型...

收录时间: 2020-01-20
分类: ASP.NET Core
贡献者: Rector
44 热度

Git for Windows 2.25.0 发布

Git for Windows 2.25.0 发布了。Git for Windows 是一个 Windows 版的 Git 客户端,它提供轻量级的本地工具集,将 Git SCM 的完整功能集引入Windows,同时提供了 GUI。 此版本新功能包括: ...

收录时间: 2020-01-20
分类: Git
贡献者: Rector
41 热度

TiDB 4.0.0-beta 发布,分布式 NewSQL 数据库

TiDB 4.0.0-beta 现已发布, 该版本更新内容如下: Improvements Index Join通过考虑驱动表和从动表的行数来提高计算成本的准确性#12085 当索引中可以完全覆盖查询中涉及的列时,提高性能#...

收录时间: 2020-01-20
分类: 数据库
贡献者: Rector
52 热度

C# 中 ConfigureAwait 相关答疑FAQ

在前段时间经常看到园子里有一些文章讨论到 ConfigureAwait,刚好今天在微软官方博客看到了 Stephen Toub前不久的一篇答疑 ConfigureAwait 的一篇文章,想翻译过来。原文地址:https://devblogs.microsoft.com/dotnet/configureawait-faq/.NET 加入 async/await 特性已经有 7 年了。这段时间,它蔓延的非常快,广泛;不只在 .NET 生态系统,也出现在其他语言和框架中。在 .NET 中,他见证了许多了改进,利用异步在其他语言结构(additio...

收录时间: 2020-01-19
分类: C#开发
贡献者: Rector
48 热度

My First Xamarin app

A few days ago, my daughter was in a real funk. It breaks my heart to see her struggle. Fortunately, I knew exactly what to do, “build a mobile app!”Before the humorless among you think I’m a callous parent, that’s not exactly what I did of course. I gave her money.I kid. What I really did was liste...

收录时间: 2020-01-18
分类: Xamarin
贡献者: Rector
47 热度

C# Futures: Simplified Parameter Null Validation

At first glance, proposal #2145 seems like a logical extension to C# 8’s Nullable Reference Types feature. The basic idea is developers would no longer need to explicitly add argument null checks to methods that accept non-nullable parameters. However, this has become quite contentious.

收录时间: 2020-01-18
分类: C#开发
贡献者: Rector
49 热度

Blazor Mobile, Uno Platform, and WebAssembly

On Tuesday, the ever-impressive Blazor team announced a new experimental project: Mobile Bindings that allow developers to write Blazor-style syntax that produces Xamarin.Forms UI controls instead of HTML elements, therefore producing native iOS and Android applications.

收录时间: 2020-01-18
分类: Blazor
贡献者: Rector
46 热度

Don't Do It All Yourself: Exploiting gRPC Well Known Types in .NET Core

In an earlier column, I described how to define the message formats that clients can use to communicate with your gRPC services. I followed that up with another column that showed how you can re-use and import definitions. I mention those columns because in both of them I whined about how the Protocol Buffer (ProtoBuf) specification doesn't include some data types that I take for granted: date and decimal, to be precise (out of the box, ProtoBuf expects you to use the imprecise float type for data with decimals).

收录时间: 2020-01-18
分类: .NET Core
贡献者: Rector
51 热度

.net Core 使用IHttpClientFactory请求

导读:本文已添加在晨曦微服务之旅,现在自己在尝试微服务架构,一边学边做项目快速的进入状态。当然在学习的过程中会将自己学到的知识进行分享。 一、为什么不用HttpClient 1.HttPClient使用完之后不会立即关闭开启网络连接时会占用底层socket资源,但在HttpClient调用其本身的D ...

收录时间: 2020-01-17
分类: .NET Core
贡献者: Rector
AD 友情赞助
80 热度

.NET Core 2020 年 1 月更新,2.1.15、3.0.2 和 3.1.1

.NET Core 2020 年 1 月更新已发布,覆盖2.1.15、3.0.2 和 3.1.1。 这些更新包含安全性和可靠性修复程序。有关更新程序包的详细信息,请参见各个发行说明。 .NET Core 3.1.1和.NET Core SDK...

收录时间: 2020-01-17
分类: .NET Core
贡献者: Rector
54 热度

CSS4 is here!

I think that CSS would be greatly helped if we solemnly state that “CSS4 is here!” In this post I’ll try to convince you of my viewpoint. I am proposing that we web developers, supported by the W3C CSS WG, start saying “CSS4 is here!” and excitedly chatter about how it will hit the market any moment now and transform the practice of CSS.

收录时间: 2020-01-17
分类: CSS
贡献者: Rector
66 热度

Using gRPC-Web with Blazor WebAssembly

If you already know all about gRPC and gRPC-Web, you can skip ahead to adding gRPC services to a Blazor WebAssembly application. And if you just want some sample Blazor WebAssembly + gRPC-Web apps, see this repo.The status quoIn Blazor WebAssembly, like in all other browser-based single-page app (SP...

收录时间: 2020-01-17
分类: Blazor
贡献者: Rector
55 热度

UTF-8 BOM adventures in C#

Time for a quick look at UTF-8 encoding and byte order marker (BOM). Lets jump right into some code. You are probably going to nail this as you most likely will be alert now, given the title and all, but would you have expected this test to pass?

收录时间: 2020-01-17
分类: C#开发
贡献者: Rector
53 热度

Refreshing your Legacy ASP.NET IdentityServer Client Applications (with PKCE)

If you have an ASP.NET MVC application in production that uses IdentityServer, you may soon find yourself in its codebase due to the upcoming SameSite cookie changesspearheaded by Google.While you’re in there messing with the code, why don’t you give your old application a freshen up and update your...

收录时间: 2020-01-17
分类: ASP.NET
贡献者: Rector
AD 友情赞助