受欢迎的博客标签
RSS

博客文章标记 'asp.net core'

asp .net core mvc中Url.RouteUrl或者Html.RouteLink实现灵活超链接,使href的值随路由名称或配置的改变而改变

      超链接除了直接写在a标签的href内还可以使用路由规则来生成,这样在改变了路由规则或者路由名称时不用再去代码中更改href的值,而且还容易遗漏。借助Url.RouteUrl或者Html.Rou

How to enable gzip compression in ASP.NET Core
http://www.talkingdotnet.com/how-to-enable-gzip-compression-in-asp-net-core/ ASP.NET Core 1.1 has an inbuilt middleware
Prevent IIS (and potentially other reverse proxies) from unexpectedly compressing ASP.NET Core response

My Server-Sent Events Middleware seems to be a mine of interesting issues. The latest one was abo

Extending ASP.NET Core Response Compression With Support for Brotli
https://dzone.com/articles/extending-aspnet-core-response-compression-with-su-1 The amount of transferred data matters.
Modern Web Development using ASP.NET Core template, Vue.js and Webpack
For example, consider the JavaScript landscape of frameworks to help you organize your client-side code. As of 2017, the
How to Send Mail Using SendGrid In Asp .NET Core
This post is about sending emails using Send Grid API in .NET Core. SendGrid is a cloud-based SMTP provider that allows
Four ways to dispose IDisposables in ASP.NET Core
https://andrewlock.net/four-ways-to-dispose-idisposables-in-asp-net-core/ One of the most commonly implemented interfac
ASP.NET Core MVC四种枚举绑定方式
本节我们来讲讲在ASP.NET Core MVC又为我们提供了哪些方便,之前我们探讨过在ASP.NET MVC中下拉框绑定方式,这节我们来再来重点看看枚举绑定的方式。
Creating an ASP.NET Core TagHelper(2):pager tag helper
Tag helpers are classes that can be applied to HTML and special tags in ASP.NET Core views. They are addition to HTML he
Distributed Cache using Redis and ASP.NET Core
https://www.codeproject.com/Articles/1161890/Distributed-cache-using-Redis-and-ASP-NET-Core Quick introduction on how t