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.

  1. Enhance custom formatting in Logging

    According to the documentation, "When you include parameter values in log records, PostSharp will invoke the ToString method of the object by default." You can override that with a custom formatter (http://doc.postsharp.net/custom-formatter). This is all well and good, but it would be nice if there was a way to tell PS to call a different method by default when I apply LogAttribute.

    The reason for this is that I have an extension method that applies to all objects (let's call it ToEnhancedString()) and when I am logging my parameters, I would like to always call ToEnhancedString. I don't…

    1 vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)

      We’ll send you updates on this idea

      1 comment  ·  Admin →
    • Allow integration of custom logging frameworks

      We have a custom logging framework used across all our applications and would ideally like to continue using this rather than switching to one of the ones supported by PostSharp. Is this currently possible, or is this an option for a future release?

      1 vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)

        We’ll send you updates on this idea

      • Logging - Support for obfuscation

        The logging feature in PostSharp 5.0 is not designed for obfuscation. The idea is to make it obfuscation-friendly. Some problems to address are:

        1. When type names are obfuscated, the hierarchy of namespaces (LoggingNamespaceSource) is lost.
        2. Member names are not obfuscated.
        3. Source files, lines and columns are not obfuscated.

        1 vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          I agree to the terms of service
          Signed in as (Sign out)

          We’ll send you updates on this idea

        • Logging - Add support for event properties in the Logger class

          Like for instance LogEventInfo in NLog.

          1 vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            I agree to the terms of service
            Signed in as (Sign out)

            We’ll send you updates on this idea

          • Opt out of NotifyPropertyChanged aspect

            NotifyPropertyChanged generates an unbearable overhead if the call count reaches millions of times.

            Often the concerning properties are read-only (e.g. an ID), so wouldn't need PropertyChanged support at all.

            I would like a way to opt out of PropertyChanged for individual properties.

            1 vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              I agree to the terms of service
              Signed in as (Sign out)

              We’ll send you updates on this idea

            • Change misleading alternative in Niche Languages column

              Here is page https://www.postsharp.net/alternatives.

              Here is column header
              ```
              Niche Languages
              F#, Erlang
              ```

              I doubt Erlang relates to .NET as viable alternative at at all.
              Niche Language which is Niche and is concurrent of Postsharp is https://github.com/rsdn/nemerle.

              What `niche language` means?
              F# may be `niche` as current number of users.
              But F# is NOT Niche about its applicability. Its applicable in areas of scripting and tooling and data munging and secured engineering is LARGER than of C#. In this sense C# is `niche`.

              About F#. Your statements are wrong and do you bad job advertising Postsharp product…

              1 vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                I agree to the terms of service
                Signed in as (Sign out)

                We’ll send you updates on this idea

              • ReaderWriterSynchronized Model should allow finding out what lock is held at the moment

                I want to put assertions in my code like "must not have writer lock here".

                It is crucial to know what lock is held in a certain situation.
                When I apply attributes (Reader, Writer, ExplicitlySynchronized, Yielder) I make assumptions on what they will do, but there is no way to check my assumptions.

                I tried using the IConcurrencyController.CheckAccess method, but it does not do what I need.

                2 votes
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  I agree to the terms of service
                  Signed in as (Sign out)

                  We’ll send you updates on this idea

                • Point to a specific page on doc.postsharp.com when pressing F1 in Visual Studio on a code from any PostSharp namespace.

                  When you press F1 on any code from Microsoft, it takes you to the appropriate doc on MSDN. PostSharp can do the same with its types/methods/etc and doc.postsharp.net.

                  1 vote
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    I agree to the terms of service
                    Signed in as (Sign out)

                    We’ll send you updates on this idea

                  • Don't modify project file by install.ps1

                    Instead of custom modification project files by install.ps1 (when installing NuGet package) use PostSharp.targets and PostSharp.properties from standard build folder in Nuget package.

                    1 vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      I agree to the terms of service
                      Signed in as (Sign out)

                      We’ll send you updates on this idea

                    • Support auto-property initializer construction for LocationInterceptionAspects

                      The method OnSetValue() of the LocationInterceptionAspect isn´t called when you initialize your properties using auto-property initiliazers. This can be confusing because you expect that your aspect will be called if a property value is changed, no matter where and how.

                      1 vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        I agree to the terms of service
                        Signed in as (Sign out)

                        We’ll send you updates on this idea

                      • ReSharper Integration: Support Solution-Wide Builds

                        This is more of a post for awareness, but it turns out that ReSharper's Build & Run does not integrate well with PostSharp's new and awesome Solution-Wide building. I have created an issue on JetBrains' side here:
                        https://youtrack.jetbrains.com/issue/RSRP-461793

                        It would be awesome to have these two working awesomely with one another! Thank you for any consideration.

                        1 vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          I agree to the terms of service
                          Signed in as (Sign out)

                          We’ll send you updates on this idea

                        • 2 votes
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            I agree to the terms of service
                            Signed in as (Sign out)

                            We’ll send you updates on this idea

                          • Detection of inadequate "SkipPostSharp" flag

                            Sometimes someone switches on the SkipPostSharp flag in a project, then a few months later, someone else adds some aspect to this project, and wonders why it does not execute properly. Sometimes this is obvious, sometimes not. For the cases when it is not obvious, there could be a special build flag, applies solution-wide, that would emit an *error* if SkipPostSharp is set but PostSharp is required anyway.

                            0 votes
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              I agree to the terms of service
                              Signed in as (Sign out)

                              We’ll send you updates on this idea

                            • Dependency Injection aspect

                              Automatic injection of dependencies using existing frameworks.

                              0 votes
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                I agree to the terms of service
                                Signed in as (Sign out)

                                We’ll send you updates on this idea

                              • Clonable

                                Automatic implementation of IClonable

                                0 votes
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  I agree to the terms of service
                                  Signed in as (Sign out)

                                  We’ll send you updates on this idea

                                • Equality aspect

                                  Automatic generation of Equals and GetHashCode.

                                  0 votes
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    I agree to the terms of service
                                    Signed in as (Sign out)

                                    We’ll send you updates on this idea

                                  • Implement Singleton pattern

                                    Have you planned to add a quick way to implement a C# singleton for a class ?

                                    2 votes
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      I agree to the terms of service
                                      Signed in as (Sign out)

                                      We’ll send you updates on this idea

                                    • Do not require a license to build unedited projects: support for SVN

                                      Currently only Git and TFS are supported for the feature "Do not require a license to build unedited projects". Add support for SVN.

                                      2 votes
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        I agree to the terms of service
                                        Signed in as (Sign out)

                                        We’ll send you updates on this idea

                                      • Provide a way to introduce a new constructor to a class

                                        I was going to try to create an aspect that introduced the ISerializable interface to classes, but there does not appear to be a way to add the constructor that is required of classes that implement this interface. Could this ability please be added?

                                        1 vote
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          I agree to the terms of service
                                          Signed in as (Sign out)

                                          We’ll send you updates on this idea

                                        • Consider Creating a MulticastMethodPointcut

                                          It would be great to have the ability to filter pointcut selection based on qualities of both Multicast and Method. The ask is that the powerful Multicast filtering is applied first (no need to apply logic in the method) and then the results are passed into the method pointcut.

                                          Hopefully this makes sense. Please let me know if there are any questions, as always!

                                          1 vote
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            I agree to the terms of service
                                            Signed in as (Sign out)

                                            We’ll send you updates on this idea

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

                                          Feature Requests

                                          Feedback and Knowledge Base