All Projects → postsharp → Postsharp.samples

postsharp / Postsharp.samples

Licence: unlicense
PostSharp Samples

Programming Languages

csharp
926 projects

Projects that are alternatives of or similar to Postsharp.samples

Tofu
Project for an open-source python library for synthetic diagnostics and tomography for Fusion devices
Stars: ✭ 35 (-58.33%)
Mutual labels:  diagnostics
Diat
A CLI tool to help with diagnosing Node.js processes basing on inspector.
Stars: ✭ 67 (-20.24%)
Mutual labels:  diagnostics
Thunder
Stars: ✭ 70 (-16.67%)
Mutual labels:  aop
Bugsnag Node
[DEPRECATED] Please upgrade to our Universal JS notifier "@bugsnag/js" • https://github.com/bugsnag/bugsnag-js
Stars: ✭ 48 (-42.86%)
Mutual labels:  diagnostics
Androidlearn
Android Custom Views
Stars: ✭ 66 (-21.43%)
Mutual labels:  aop
Ray.aop
An aspect-oriented framework for PHP
Stars: ✭ 67 (-20.24%)
Mutual labels:  aop
Stinger
Stinger is a high-efficiency library with great compatibility, for aop in Objective-C, using libffi instead of Objective-C message forwarding. It is 20+ times faster than the Aspects, from message-sending to Aspect-oriented code ends.
Stars: ✭ 845 (+905.95%)
Mutual labels:  aop
Use Axios Well
axios请求超时,设置重新请求的完美解决方法
Stars: ✭ 74 (-11.9%)
Mutual labels:  aop
Poke
A powerful reflection module for powershell.
Stars: ✭ 66 (-21.43%)
Mutual labels:  diagnostics
Swoft Framework
[READ ONLY] Swoft Framework, base of Swoft
Stars: ✭ 70 (-16.67%)
Mutual labels:  aop
Autologging
一个非常强大的监控日志输出框架,支持 SpringAOP 和动态字节码注入两种方式输出方法执行的监控日志,而且包含链路追踪功能,只要一个注解即可开启所有功能
Stars: ✭ 56 (-33.33%)
Mutual labels:  aop
Eshop Soa
EShop基于Dubbo实现SOA服务化拆分,并基于RocketMQ解决了分布式事务(新版SpringBootSOASkeleton)
Stars: ✭ 65 (-22.62%)
Mutual labels:  aop
Koatty
Koa2 + Typescript = Koatty. Use Typescript's decorator implement IOC and AOP.
Stars: ✭ 67 (-20.24%)
Mutual labels:  aop
Spring Boot
spring-boot 项目实践总结
Stars: ✭ 989 (+1077.38%)
Mutual labels:  aop
Sandhook
Android ART Hook/Native Inline Hook/Single Instruction Hook - support 4.4 - 11.0 32/64 bit - Xposed API Compat
Stars: ✭ 1,172 (+1295.24%)
Mutual labels:  aop
Cauldron
C# Toolkit
Stars: ✭ 27 (-67.86%)
Mutual labels:  aop
Spring Examples
SpringBoot Examples
Stars: ✭ 67 (-20.24%)
Mutual labels:  aop
Mayday
A diagnostics tool for capturing system state.
Stars: ✭ 78 (-7.14%)
Mutual labels:  diagnostics
Lithium
li₃ is the fast, flexible and most RAD development framework for PHP
Stars: ✭ 1,176 (+1300%)
Mutual labels:  aop
Crosscuttern
A light weight tool to inject customized AOP code into existing assemblies using IL weaving
Stars: ✭ 69 (-17.86%)
Mutual labels:  aop

PostSharp.Samples

Welcome to this collection of PostSharp example projects.

You can browse these samples online and navigate the code just by clicking on code references, or you can download them on GitHub.

Project Description
Aspect Framework
PostSharp.Samples.CustomLogging Logs method calls including parameter values.
PostSharp.Samples.CustomCaching Caches the results of methods calls
PostSharp.Samples.ExceptionHandling Add parameter values to call stack in exception details. Report and then swallow exceptions in entry points.
PostSharp.Samples.AutoRetry Automatically retries a method call when it fails.
PostSharp.Samples.WeakEvent Prevents memory leaks due to events.
PostSharp.Samples.ValidateResourceString Prints a build-time warning when incorrect resource string name is passed to parameter.
PostSharp.Samples.SessionState Stores a field or property in the session state or page view state.
PostSharp.Samples.Transactions Automatically executes a method inside a transaction.
PostSharp.Samples.Profiling Measure different execution times of methods, including async methods.
PostSharp.Samples.Encryption Automatically encrypts and decrypts parameter and fields/properties
PostSharp.Samples.MiniProfiler Measures method execution time with MiniProfiler of StackExchange.
PostSharp.Samples.Persistence Persists fields or properties into the Windows registry or app.config.
PostSharp.Samples.AutoDataContract Automatically adds [DataContract] and [DataMember] attributes to derived classes and all properties
PostSharp.Samples.Authorization Requires permissions before getting or setting fields or executing methods.
PostSharp.Samples.NormalizeString Trims and lowercases strings before they are assigned to a field or property.
PostSharp.Samples.StoredProcedure Implements something like P-Invoke, but for database stored procedures.
Diagnostics
PostSharp.Samples.Logging.Console Demonstrates how to configure PostSharp Logging so that it directs its output to the system console.
PostSharp.Samples.Logging.PerRequest Shows how to have different verbosity for each request,
PostSharp.Samples.Logging.Customization Shows how to customize PostSharp Logging.
PostSharp.Samples.Logging.Etw Demonstrates how to configure PostSharp Logging so that it directs its output to ETW.
PostSharp.Samples.Logging.Etw.CustomSource Demonstrates how use PostSharp Logging with a custom ETW source (instead of the predefined one).
PostSharp.Samples.Logging.Log4Net Demonstrates how to configure PostSharp Logging so that it directs its output to log4net.
PostSharp.Samples.Logging.NLog Demonstrates how to configure PostSharp Logging so that it directs its output to NLog.
PostSharp.Samples.Logging.Serilog Demonstrates how to configure PostSharp Logging so that it directs its output to Serilog.
PostSharp.Samples.Logging.Loupe Demonstrates how to configure PostSharp Logging so that it directs its output to Loupe.
PostSharp.Samples.Logging.CommonLogging Demonstrates how to configure PostSharp Logging so that it directs its output to Common.Logging.
PostSharp.Samples.Logging.CustomBackend.ServiceStack Demonstrates how to implement a PostSharp Logging adapter for your custom logging framework.
PostSharp.Samples.Logging.Audit Shows how to append an audit record to a database when a method is invoked.
Distributed Diagnostics with Elastic Search
PostSharp.Samples.Logging.ElasticStack/MicroserviceExample The server-side service demonstrating correlation of logs of a distributed application with Elastic Search.
PostSharp.Samples.Logging.ElasticStack/ClientExample The server-side service demonstrating correlation of logs of a distributed application with Elastic Search.
XAML
PostSharp.Samples.Xaml Demonstrates a few ready-made aspects that are useful for XAML
Caching
PostSharp.Samples.Caching Caching method results with Redis and different ways to remove things from the cache.
Threading
PostSharp.Samples.Threading.PingPong The classic educational ping-pong example.
PostSharp.Samples.Threading.ThreadDispatching A simple WPF progress bar updated from a background thread.
Platform Support
PostSharp.Samples.Blazor.AutoRetry Demonstrates a custom aspect used in a Blazor application.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].