Stories recently tagged with 'PostSharp'

Working with Advanced Aspects with Postsharp (dimecasts.net)

submitted by dwhittakerdwhittaker(13.1k) 5 months, 12 days ago

Taking a look at how to use the AOP (Aspect Orientated Programming) framework Postsharp. In this episode we will focus on how to use the OnMethodBoundry, MethodInterceptions, LocationInterception and EventInterception Aspects. We will look at how each of these can be used and how they can be used in conjuction with each other to build a better application. read more...

add a comment |category: |Views: 10

tags: another

Getting Started with AOP using Postsharp(dimecasts.net)

submitted by dwhittakerdwhittaker(13.1k) 5 months, 12 days ago

Taking a look at how to implemented AOP (Aspect Orientated Programming) with PostSharp. We will be using the Postsharp library in this episode and we will take a look at how to create our first Aspect as well as how to use the metadata with the aspect to provide real business value in your application. read more...

1 comment |category: |Views: 27

tags: another

PostSharp Principals(programmersunlimited.wordpress.com)

submitted by titan2782titan2782(27) 7 months, 4 days ago

Learn how to use the features of PostSharp to get the most out of Aspect Oriented Programming. read more...

add a comment |category: |Views: 13

tags: another

Aspects and on-hover descriptions(mylemans.com)

submitted by Gecko1986Gecko1986(35) 9 months, 21 days ago

Always wanted to add a description telling you exactly what an applied PostSharp aspect does, when hovering over the marked field/property/method/class/...? PostSharp does not have such a feature, but I found a way! Look inside for the result. read more...

add a comment |category: |Views: 0

tags: another

Async Aspect(mylemans.com)

submitted by Gecko1986Gecko1986(35) 10 months, 19 days ago

Hate making threads manually to call methods in an async (non blocking) way, while you know that the method should always run on a seperate thread? Then I advise you to try out this PostSharp aspect : Async Attach the [Async] aspect to any method, and from that point on every call to that method will run it in a seperate thread. You can also refine how the method should be run. Will only work on methods that do not return anything ('void' methods) read more...

add a comment |category: |Views: 10

tags: another

Attribute Based Caching 1.2 Released (cascadeofinsights.com)

submitted by AdamBellAdamBell(61) 1 year ago

Attribute Based Caching 1.2 has been Released. It’s still the .net only caching library that has declarative cache invalidation. Project Description Cache expensive methods calls with a declarative attribute. No custom code required. Configure caching method using unity. Options include In-process and Out-Of-Process and Off. Out-Of-Process uses Microsoft ApplicationServer.Caching. read more...

add a comment |category: |Views: 60

tags: another

Introducing PostSharp 2.0: #3 - Coping With Many Aspects(postsharp.org)

submitted by gfraiteurgfraiteur(988) 2 years, 4 months ago

Gael Fraiteur explains how PostSharp 2.0 will cope with aspects when many of them are applied to the same code element: ordering, conflicts, commutativity, and Lie algebra :). read more...

add a comment |category: |Views: 36

tags: another

My baby steps to PostSharp 1.0(blog.decayingcode.com)

submitted by arch4ngelarch4ngel(585) 2 years, 7 months ago

So… you downloaded PostSharp 1.0 and you installed it and are wondering… “What’s next?”. Well my friends, let me walk you through the first steps of PostSharp. What could we do that would be simple enough? Hummm… what about writing to a debug window? That sounds simple enough! Let’s start. read more...

add a comment |category: |Views: 21

tags: another

PostSharp – The best way to do AOP in .NET(blog.decayingcode.com)

submitted by arch4ngelarch4ngel(585) 2 years, 7 months ago

Who knows about Aspect-Oriented Programming (AOP)? Common! Don’t be shy! Ok, now lower your hands. My prediction is that a lot of you didn’t raise their hands. So let’s resume what AOP is: Aspect-oriented programming is a programming paradigm that increases modularity by enabling improved separation of concerns. This entails breaking down a program into distinct parts (so called concerns, cohesive areas of functionality). […] read more...

add a comment |category: |Views: 29

tags: another

Lazy Loading with PostSharp(nesteruk.org)

submitted by dmitridmitri(408) 2 years, 11 months ago

Recently I wanted to use PostSharp for some simplistic lazy loading, but ended up hitting a couple of problems along the way. It all started very well – I defined an OnFieldAccessAttribute, removed the field in GetOptions() and overrided OnGetValue() to lazily create the type. My creation code was something like the following: read more...

add a comment |category: |Views: 37

tags: another

Aspect Oriented Programming with PostSharp(zorilla.dk)

submitted by zorillazorilla(85) 3 years, 3 months ago

This post illustrates how Aspect Oriented Programming can help you write less and more readable code. Using PostSharp, Dan illustrates how you can add constraints to your method arguments. read more...

add a comment |category: |Views: 25

tags: another

Announcing PostSharp 1.0 RC 2 (postsharp.org)

submitted by gfraiteurgfraiteur(988) 3 years, 11 months ago

This is to announce the second RC of PostSharp, a tool that can reduce the number of lines of code and improve its logical decoupling. Therefore its helps you delivering higher stability, cleaner design, and cheaper source code maintenance. read more...

add a comment |category: |Views: 0

tags: another

PostSharp - A Post-Compiler for .NET(postsharp.org)

submitted by atifazizatifaziz(1000) 4 years, 4 months ago

PostSharp is a platform that allows you to transform or analyze your .NET assemblies after compilation. It reads binary assemblies into memory, execute a suite of plug-ins and write back the modified code. Geat tool for Aspect-Oriented Programming (AOP). read more...

3 comments |category: |Views: 40

tags: another

Have Fun Again With Custom Attributes (1)(codeproject.com)

submitted by gfraiteurgfraiteur(988) 4 years, 4 months ago

If you think you know everything there is to know about custom attributes, read this article. I will show how PostSharp will let you to take your custom attributes to the next level. Learn how to encapsulate logging, performance, instrumentation, or field validation into custom attributes. And turn fun into serious advantages! read more...

add a comment |category: |Views: 9

tags: another