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

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


4 热度

ASP.NET Core updates in .NET Core 3.1 Preview 1

.NET Core 3.1 Preview 1 is now available. This release is primarily focused on bug fixes, but it contains a few new features as well.

收录时间: 2019-10-16
分类: ASP.NET Core
贡献者: Rector
2 热度

Announcing .NET Core 3.1 Preview 1

Today, we’re announcing .NET Core 3.1 Preview 1. .NET Core 3.1 will be a small release focused on key improvements in Blazor and Windows desktop, the two big additions in .NET Core 3.0. It will be a long term support (LTS) release with an expected final ship date of December 2019.

收录时间: 2019-10-16
分类: .NET Core
贡献者: Rector
10 热度

[ASP.NET Core 3框架揭秘] 依赖注入:控制反转

ASP.NET Core框架建立在一些核心的基础框架之上,这些基础框架包括依赖注入、文件系统、配置选项和诊断日志等。这些框架不仅仅是支撑ASP.NET Core框架的基础,我们在进行应用开发的时候同样会频繁地使用到它们。对于这里提到的这几个基础框架,依赖注入尤为重要。ASP.NET Core应用在启动以及后续针对请求的处理过程中,它会依赖各种的组件提供服务。为了便于定制,这些组件一般会以接口的形式进行“标准化”,我们将这些标准化的组件统一称为“服务(Service)”。整个ASP.NET Core框架建立在一个底层的依赖注入框架之上,它使用依赖注入容器来提供所需的服务对象。要了解这个依赖注入容...

收录时间: 2019-10-16
分类: ASP.NET Core
贡献者: Rector
7 热度

ViewUI 4.0.1(原 iView)发布,企业级 UI 组件库

ViewUI 4.0.1 发布了,ViewUI 即原先的 iView,它是一套基于 Vue.js 的企业级 UI 组件库,主要服务于 PC 界面的中后台产品。更新内容如下:修复 4.0 版本下,Cascader、Dropdown 组件在 transfer 模式下,下拉浮层错误收起的问题。 #32修复 4.0 版本下,Table 拖拽调整列宽,宽度太小时,表头错位的问题。 #18修复 4.0 版本下,Table 事件 @on-column-width-resize 返回值不正确的问题。 #21修复 Select 在多选模式下,在 Form 校验时,重置无法清除提示的问题。修复 Select 在搜索模式下,在部分浏览器中无法删除的问题。修复 Select 在多选且搜索模式下,中文输入法删除搜索词,会直接删除已选项的问题。修复 Page 页码数字的字体在 Safari...

收录时间: 2019-10-16
分类: 前端框架
贡献者: Rector
4 热度

MySQL 8.0.18 稳定版发布,Hash Join 如期而至

MySQL 8.0.18 稳定版(GA)已于昨日正式发布,Hash Join 也如期而至。快速浏览一下这个版本的亮:1.Hash JoinHash Join 不需要任何索引来执行,并且在大多数情况下比当前的块嵌套循环算法更有效。2.EXPLAIN ANALYZEEXPLAIN ANALYZE 将运行查询,然后生成 EXPLAIN 输出,以及有关优化程序估计如何与实际执行相匹配的其他信息。3.创建用户时可以随机生成密码为 CREATE USER, ALTER USER和 SET PASSWORD语句添加了语法,以生成...

收录时间: 2019-10-16
分类: MySQL
贡献者: Rector
4 热度

Combining ASP.NET Core validation attributes with Value Objects

This is a continuation of the article series about some more advanced error handling techniques. In the previous post, I advocated for the creation of an explicit Error class, and enumeration of all possible errors in your application with it. This approach helps you to...

收录时间: 2019-10-16
分类: ASP.NET Core
贡献者: Rector
AD 友情赞助
2 热度

Health Checks with gRPC and ASP.NET Core 3.0

In this post, we will explore a couple of options to apply health checks to your gRPC server running on ASP.NET Core 3.0. Health checks are a common requirement. In particular, in containerised environments, they are required so that the container orchestrator and load balancers know which services ...

收录时间: 2019-10-16
分类: ASP.NET Core
贡献者: Rector
2 热度

Building a Micro-frontend Framework

Micro-frontend architecture is a design approach in which a front-end app is decomposed into individual, semi-independent “microapps” working loosely together. The micro-frontend concept is vaguely inspired by, and named after, microservices.

收录时间: 2019-10-16
分类: 技术资讯
贡献者: Rector
2 热度

Ordering of static fields in C# matters

I never thought ordering of relational static fields and properties in C# mattered. And, then, I started getting NREs on a property I know was set to a static-instance…

收录时间: 2019-10-16
分类: C#开发
贡献者: Rector
4 热度

The Repository-Service Pattern with DI and ASP.NET Core

In this post, we'll be discussing the Repository-Service Pattern, a name I applied to a software architecture pattern that has been in use for quite some time. We'll take a look at how this pattern might be implemented in a real app, and discuss some advantages and one big disadvantage the pattern has.

收录时间: 2019-10-16
分类: ASP.NET Core
贡献者: Rector
2 热度

Running .NET Core global tools in non-sdk Docker images

.NET Core global tools are great for providing small pieces of functionality. Unfortunately, they have a few limitations which can occasionally cause issues when you run them. In this post I describe how you can avoid these issues by containerising your global tools with Docker.

收录时间: 2019-10-16
分类: .NET Core
贡献者: Rector
2 热度

dotnet-script 0.50 is out – with support for .NET Core 3.0!

We have some exciting news to announce – dotnet-script is now supporting .NET Core 3.0. We released the new version 0.50.0, with .NET Core 3.0 support already on September 25th, two days after .NET Core 3.0 went RTM, but kept quiet about it. The reason was that a large part of the scripting experience is the tooling in OmniSharp and the C# Extension for VS Code, and that had to be updated accordingly too.

收录时间: 2019-10-16
分类: .NET Core
贡献者: Rector
6 热度

Creating a Windows Service with .NET Core 3.0

In a previous version of a Professional C# book I’ve written a complete chapter on how to create Windows Services with the .NET Framework. Using .NET Core 3.0, it’s a lot easier to create Windows Services: just a single line of code is needed to convert a background worker to a Windows Service.

收录时间: 2019-10-16
分类: .NET Core
贡献者: Rector
34 热度

TIOBE 10月排行:排名前 8 的语言稳定如昨

IOBE 编程语言排行榜 10 月份的榜单已公布,这期的标题比较有趣 —— “Top 8 of the TIOBE index quite stable for the last 15 years”,意思就是排名前 8 的编程语言在这 15 年里一直都十分稳定。

收录时间: 2019-10-15
分类: 技术资讯
贡献者: Rector
22 热度

C# 8 的模式匹配

C# 8 的模式匹配,更多内容请查看官方文档:https://docs.microsoft.com/zh-cn/dotnet/csharp/whats-new/csharp-8#more-patterns-in-more-places?WT.mc_id=DT-MVP-5003302

收录时间: 2019-10-15
分类: C#开发
贡献者: Rector
AD 友情赞助
7 热度

Handling type hierarchies in Cosmos DB (part 1)

Azure Cosmos DB is Microsoft’s NoSQL cloud database. In Cosmos DB, you store JSON documents in containers. This makes it very easy to model data, because you don’t need to split complex objects into multiple tables and use joins like in relational databases. You just serialize your full C# object graph to JSON and save it to the database. The Cosmos DB .NET SDK takes care of serializing your objects...

收录时间: 2019-10-15
分类: .NET
贡献者: Rector
14 热度

Automated UI tests with Selenium and ASP.NET Core MVC

In this article, we are going to use Selenium to write automated UI tests and with that finish our testing series. Selenium has support for many different browsers and for this article, we are going to use the ChromeDriver. It also contains many different useful methods (Navigate, GoToUrl, FindElement, SendKees, Click…) which help us manipulate different HTML elements. These methods are going to be of great use in our examples.

收录时间: 2019-10-15
分类: ASP.NET Core
贡献者: Rector
7 热度

No Exception Left Unlogged

Last week I was tasked with tracking down a perplexing problem with an API - every call was returning a 500 error, but there was nothing in the logs that gave us any clue why. The problem was not reproducible locally, and with firewall restrictions getting in the way of remote debugging, it took me a while to find the root cause.

收录时间: 2019-10-15
分类: .NET
贡献者: Rector
10 热度

Calling GraphQL API with Vue.JS

In this post, we are going to take a look at how we can make use of the GraphQL API within our Vue.JS based application. The complete source code for this project is available in the branch – GraphQL

收录时间: 2019-10-15
分类: GraphQL
贡献者: Rector
11 热度

Anonymous classes and generics limit in .NET/C#?

Have you ever looked how anonymous classes are implemented? If you did, you know it’s a generated generic class. And if you didn’t, you know now. Either way, you can find more details below. But also building on top of [previous post about generic parameters limit in generic classes], where’s the limit here? It surely cannot be higher.

收录时间: 2019-10-15
分类: C#开发
贡献者: Rector
AD 友情赞助