Feature Requests

I suggest you ...

(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. Support for Universal Windows Applications (Windows 10)

    Scenario: use PostSharp in an Windows Universal Application

    57 votes
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)

      We’ll send you updates on this idea

    • Improvement of run-time performance

      Reduce the run-time overhead of PostSharp, especially the load on GC. Specifically, design new kinds of advices that receive the context on the stack and on the heap.

      56 votes
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        Signed in as (Sign out)

        We’ll send you updates on this idea

      • Support for Xamarin

        Add support for Xamarin, the cross-platform mobile development platform.

        54 votes
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          Signed in as (Sign out)

          We’ll send you updates on this idea

        • Interception of calls to constructor aspect

          Add an aspect type to allow to intercept constructor calls and replace them by a factory method.

          44 votes
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            Signed in as (Sign out)

            We’ll send you updates on this idea

          • Management API for logging, metrics, caching, circuit breaker aspects

            To expose the aspects to runtime management or monitoring facilities such as WMI, to enable scenarios like: enable/disable logging or caching, reset cache, open/close a circuit breaker... without having to restart the application.

            34 votes
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              Signed in as (Sign out)

              We’ll send you updates on this idea

              backlogged  ·  0 comments  ·  Diagnostics  ·  Admin →
            • Event aggregation aspect

              Automatically publishes events of an object to an event aggregator.

              33 votes
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                Signed in as (Sign out)

                We’ll send you updates on this idea

              • Support for CoreCLR as a build platform (including Linux, iOS)

                Scenario: build, under any OS, a project that includes PostSharp thanks to .NETCore.

                31 votes
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  Signed in as (Sign out)

                  We’ll send you updates on this idea

                  planned  ·  1 comment  ·  Platform Support  ·  Admin →
                • Decrease run-time memory usage of PostSharp aspects

                  Improve the aspect framework to make it possible to create aspects that consume less memory at runtime. Specifically, improve IInstanceScopedAspect so that there is just one instance per object, not one instance per object and per level of inheritance.

                  29 votes
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    Signed in as (Sign out)

                    We’ll send you updates on this idea

                  • Provide documentation and support for PostSharp SDK

                    PostSharp SDK is currently undocumented and unsupported. Please provide documentation and commercial support for the SDK.

                    21 votes
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      Signed in as (Sign out)

                      We’ll send you updates on this idea

                      4 comments  ·  Licensing  ·  Admin →
                    • Aspects for performance and realibility metrics

                      Metrics like execution time, failure rate, ...

                      20 votes
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        Signed in as (Sign out)

                        We’ll send you updates on this idea

                        backlogged  ·  1 comment  ·  Diagnostics  ·  Admin →
                      • Remove NuGet Package Source During Uninstallation

                        The uninstall process doesn't seem to include a mechanism for removing the NuGet Package Source. This can break the build and generate a heap of warnings.

                        The uninstall process should also take care of this concern.

                        Details here: http://jameschambers.com/2015/07/response-from-postsharp-net-is-not-a-valid-nuget-v2-service-response/

                        18 votes
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          Signed in as (Sign out)

                          We’ll send you updates on this idea

                        • Customizable exceptions thrown by Contracts aspects

                          E.g. NotEmpty throws ArgumentNullException even when string parameter is empty. It should be possible to change the default behavior so that ArgumentException would be thrown instead.

                          18 votes
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            Signed in as (Sign out)

                            We’ll send you updates on this idea

                          • Ability to write more complex custom aspects

                            Please be specific and comment which advice/transformation is necessary.

                            13 votes
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              Signed in as (Sign out)

                              We’ll send you updates on this idea

                            • Circuit breaker aspect

                              The aspect would prevent the execution of a method if the failure rate has been too high in the recent past.

                              11 votes
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                Signed in as (Sign out)

                                We’ll send you updates on this idea

                                backlogged  ·  0 comments  ·  Diagnostics  ·  Admin →
                              • Support security attributes

                                When we use method interceptor, original method is replaced with some new method, which doesn't preserve CustomAttributes of original methods. It become big problem, if original method was marked with SecuritySafeCritical/SecurityCritical attributes or some other security-specific attributes. Here is sample:

                                using System;
                                using System.Security;
                                using PostSharp.Aspects;
                                [assembly: AllowPartiallyTrustedCallers]
                                internal class Program
                                {
                                private static void Main(string[] args)
                                {
                                SafeCritical();
                                Console.ReadKey();
                                }
                                [TestMethodInterceptor]
                                [SecuritySafeCritical]
                                private static void SafeCritical()
                                {
                                Critical();
                                }
                                [SecurityCritical]
                                private static void Critical()
                                {
                                Console.Write("Critical");
                                }
                                }
                                [Serializable]
                                [AttributeUsage(AttributeTargets.Method)]
                                public sealed class TestMethodInterceptor : MethodInterceptionAspect
                                {
                                public override void OnInvoke(MethodInterceptionArgs arguments)
                                {
                                }
                                }
                                Expected result: See "Critical"…

                                11 votes
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  Signed in as (Sign out)

                                  We’ll send you updates on this idea

                                • Ability to add custom patterns to the light bulb or smart tag

                                  Currently only ready-made patterns are exposed to the light bulb. Make it possible to expose custom aspects or constraints.

                                  10 votes
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    Signed in as (Sign out)

                                    We’ll send you updates on this idea

                                  • PostSharp Explorer: Show aspects that are available in the current solution but are not applied to any code element yet

                                    This will allow users to explore all the aspects that they can use in the current solution.

                                    8 votes
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      Signed in as (Sign out)

                                      We’ll send you updates on this idea

                                    • Make MulticastAttribute.AttributeTargetTypes strongly typed

                                      In order to keep code maintainable, it would be nice it it would be possible to use strongly typed typed in stead of string-based variables for setting the attribute target types when multicasting.

                                      AttributeTargetTypes=typeof(TargetClass)

                                      instead of

                                      AttributeTargetTypes="TargetClass"

                                      See also:
                                      http://support.sharpcrafters.com/discussions/suggestions/62-attributetargettypes-strongly-typed

                                      8 votes
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        Signed in as (Sign out)

                                        We’ll send you updates on this idea

                                      • Undo/redo: API to merge operations

                                        The idea comes from http://stackoverflow.com/questions/29982822/nested-undo-redo-operations-with-postsharp

                                        The API would merge the last operations in UndoOperations and RedoOperations (up to a given operation) into a new operation with given descriptor.

                                        The use case is to "hide" some level of details that makes sense within a form when the user closes that form.

                                        5 votes
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          Signed in as (Sign out)

                                          We’ll send you updates on this idea

                                        • 4 votes
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            Signed in as (Sign out)

                                            We’ll send you updates on this idea

                                          ← Previous 1 3
                                          • Don't see your idea?

                                          Feedback and Knowledge Base