Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/catcherwong/Demos

:100:Some demos for learning
https://github.com/catcherwong/Demos

aspnet-core demo nancy nancyfx

Last synced: about 1 month ago
JSON representation

:100:Some demos for learning

Lists

README

        

[English](./README.md)

# Demos

这个repository主要包含我博客中的一些案例以及平时写的一些demo.

博客主要是两个地方一个是[**博客园** ](https://www.cnblogs.com/catcher1994) ,另一个是 [**c-sharpcorner**](http://www.c-sharpcorner.com/members/catcher-wong)

## 简单介绍

### Nancy相关的demo

| Name | Description | Url/Lang |
|--------- |------------- |---------|
| [NancyDemoForFormsauthentication](https://github.com/catcherwong/Demos/tree/master/src/NancyDemoForFormsauthentication) | 在Nancy(1.x)中如何使用Forms认证 |[Url/Chinese](http://www.cnblogs.com/catcher1994/p/5195387.html)
| [NancyDemoForModelBinding](https://github.com/catcherwong/Demos/tree/master/src/NancyDemoForModelBinding) | 在Nancy(1.x)中如何使用模型绑定 |[Url/Chinese](http://www.cnblogs.com/catcher1994/p/5181663.html)
| [NancyDemoWithHostingAspnet](https://github.com/catcherwong/Demos/tree/master/src/NancyDemoWithHostingAspnet) | 寄宿于ASP.NET的一个demo |[Url/Chinese](http://www.cnblogs.com/catcher1994/p/5145173.html)
| [NancyDemoWithOwin](https://github.com/catcherwong/Demos/tree/master/src/NancyDemoWithOwin) | 寄宿于Owin的3个demo |[Url/Chinese](http://www.cnblogs.com/catcher1994/p/5154913.html)
| [NancyDemoWithSelfHosting](https://github.com/catcherwong/Demos/tree/master/src/NancyDemoWithSelfHosting) | 基于TopSelf的自宿主Demo和基于Nancy提供的自宿主Demo |[Url/Chinese](http://www.cnblogs.com/catcher1994/p/5155082.html)

### ASP.NET Core Demo

| Name | Description | Url/Lang |
|--------- |------------- |---------|
| [ASPNETCoreAPIAuthorizedDemo](https://github.com/catcherwong/Demos/tree/master/src/ASPNETCoreAPIAuthorizedDemo) | asp.net core web api 授权的demo |[Url/Chinese](http://www.cnblogs.com/catcher1994/p/6021046.html)
| [JWTTokenDemo](https://github.com/catcherwong/Demos/tree/master/src/JWTTokenDemo) | 使用ASP.NET Core预览版写的基于jwt的demo |[Url/Chinese](http://www.cnblogs.com/catcher1994/p/6057484.html)
| [JwtTokenDemo2](https://github.com/catcherwong/Demos/tree/master/src/JwtTokenDemo2) | 基于JWTTokenDemo的改进,加多了refresh_token的处理,使用的是ASP.NET Core 2.0 预览版 |[Url/English](http://www.c-sharpcorner.com/article/handle-refresh-token-using-asp-net-core-2-0-and-json-web-token/)
| [RedisDemo](https://github.com/catcherwong/Demos/tree/master/src/RedisDemo) | 在.NET Core下面使用Redis的案例 |[Url/Chinese](http://www.cnblogs.com/catcher1994/p/5934931.html)
| [LocalDataCachingDemo](https://github.com/catcherwong/Demos/tree/master/src/LocalDataCachingDemo) | 使用SQLite做本地缓存 |[Url/Chinese](http://www.cnblogs.com/catcher1994/p/7635133.html)
| [MenuSolution](https://github.com/catcherwong/Demos/tree/master/src/MenuSolutions) | 菜单处理方案 |[Url/English](http://www.c-sharpcorner.com/article/solutions-for-menu-in-asp-net-core/)
| [RPDemo](https://github.com/catcherwong/Demos/tree/master/src/RPDemo) | Razore Pages 的小案例 |[Url/English](http://www.c-sharpcorner.com/article/building-a-simple-web-app-using-razor-pages/)
| [MonoDemo](https://github.com/catcherwong/Demos/tree/master/src/MonoDemo) | 基于.NET Framework和Mono的ASP.NET Core 案例 |[Url/English](http://www.c-sharpcorner.com/article/running-asp-net-core-2-0-via-mono/)
| [CachingAOPDemo](https://github.com/catcherwong/Demos/tree/master/src/CachingAOPDemo) | 缓存拦截 |[Url/Chinese](http://www.cnblogs.com/catcher1994/p/7788890.html)
| [APIGatewayDemo](https://github.com/catcherwong/Demos/tree/master/src/APIGatewayDemo) | API网关的案例 |[Url/English](http://www.c-sharpcorner.com/article/building-api-gateway-using-ocelot-in-asp-net-core/)
|[DIDemo](https://github.com/catcherwong/Demos/tree/master/src/DIDemo) | 使用微软自带的DI注册一个接口,多种实现 |[Url/Chinese](http://www.cnblogs.com/catcher1994/p/handle-multi-implementations-with-same-interface-in-dotnet-core.html)
| [RedisBatchRemoveSolution](https://github.com/catcherwong/Demos/tree/master/src/RedisBatchRemoveSolution) | Redis缓存批量删除. |[Url/Chinese](http://www.cnblogs.com/catcher1994/p/8469366.html)
| [CachingSerializer](https://github.com/catcherwong/Demos/tree/master/src/CachingSerializer) | 使用分布式缓存(Redis和Memcached)时的序列化问题. |[Url/Chinese](https://www.cnblogs.com/catcher1994/p/8543711.html)
| [ResponseCachingDemo](https://github.com/catcherwong/Demos/tree/master/src/ResponseCachingDemo) | 在ASP.NET Core中使用ResponseCaching |[Url/Chinese](http://www.cnblogs.com/catcher1994/p/responsecaching.html)
| [CircuitBreakerDemo](https://github.com/catcherwong/Demos/tree/master/src/CircuitBreakerDemo) | 在ASP.NET Core中使用熔断机制. |[Url/Chinese](http://www.cnblogs.com/catcher1994/p/8975192.html)
| [OptionsDemo](https://github.com/catcherwong/Demos/tree/master/src/OptionsDemo) | ASP.NET Core 中使用Options |[Url/Chinese](https://www.cnblogs.com/catcher1994/p/9190978.html)
| [HttpClientFactoryDemo](https://github.com/catcherwong/Demos/tree/master/src/HttpClientFactoryDemo) | 用HttpClientFactory实现熔断降级. |[Url/Chinese](https://www.cnblogs.com/catcher1994/p/9349618.html)
| [SteeltoeWithHttpClientFactory](https://github.com/catcherwong/Demos/tree/master/src/SteeltoeWithHttpClientFactory) | 结合Steeltoe和HttpClientFactory完成服务发现. |[Url/Chinese](https://www.cnblogs.com/catcher1994/p/9381735.html)
| [RefitClientApi](https://github.com/catcherwong/Demos/tree/master/src/CallAPIsDemo/RefitClientApi) | Refit在 ASP.NET Core中的实践. |[Url/Chinese](https://www.cnblogs.com/catcher1994/p/9501387.html)
| [WebApiClientDemo](https://github.com/catcherwong/Demos/tree/master/src/CallAPIsDemo/WebApiClientDemo) | WebApiClient的简单用法. |[Url/English](https://www.c-sharpcorner.com/article/using-webapiclient-to-call-rest-apis-in-net-core/)
| [WebApiClientApi](https://github.com/catcherwong/Demos/tree/master/src/CallAPIsDemo/WebApiClientApi) | WebApiClient结合HttpClientFactory. |[Url/English](https://www.c-sharpcorner.com/article/combine-webapiclient-with-httpclientfactory-to-call-rest-apis/)

### Xamarin Demo

| Name | Description | Url/Lang |
|--------- |------------- |---------|
| [Catcher.AndroidDemo](https://github.com/catcherwong/Demos/tree/master/src/Catcher.AndroidDemo) | 用Xamarin写的安卓案例 |[Url/Chinese](http://www.cnblogs.com/catcher1994/category/819314.html)
| [Catcher.MvvmCrossDemo](https://github.com/catcherwong/Demos/tree/master/src/Catcher.MvvmCrossDemo) | 用MvvmCross框架写的部分案列 |[Url/Chinese](http://www.cnblogs.com/catcher1994/category/819314.html)

### Other

| Name | Description | Url/Lang |
|--------- |------------- |---------|
| [Catcher.Unit.Demo](https://github.com/catcherwong/Demos/tree/master/src/Catcher.Unit.Demo) | 单元测试的简单案例 |[Url/Chinese](http://www.cnblogs.com/catcher1994/p/5498530.html)
| [RoundRobinDemo](https://github.com/catcherwong/Demos/tree/master/src/RoundRobinDemo) | 负载均衡-轮询算法 |[Url/Chinese](http://www.cnblogs.com/catcher1994/p/simple_roundrobin.html)
| [WeightedRoundRobinDemo](https://github.com/catcherwong/Demos/tree/master/src/WeightedRoundRobinDemo) | 负载均衡-加权轮询算法 |[Url/Chinese](http://www.cnblogs.com/catcher1994/p/weighted-round-robin.html)
| [RedisLockDemo](https://github.com/catcherwong/Demos/tree/master/src/RedisLockDemo) | Redis分布式锁 |[Url/English](https://www.c-sharpcorner.com/article/creating-distributed-lock-with-redis-in-net-core/)
| [ObjectPoolDemo](https://github.com/catcherwong/Demos/tree/master/src/ObjectPoolDemo) | Microsoft.Extensions.ObjectPool的简单用法. |[Url/Chinese](https://www.cnblogs.com/catcher1994/p/9666944.html)