controllerless | Properly designed applications do n't need | Application Framework library

 by   dotnetjunkie C# Version: Current License: MIT

kandi X-RAY | controllerless Summary

kandi X-RAY | controllerless Summary

controllerless is a C# library typically used in Server, Application Framework, Framework applications. controllerless has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Properly designed applications don't need controllers. Remove the cruft; become controllerless.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              controllerless has a low active ecosystem.
              It has 20 star(s) with 3 fork(s). There are 6 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 1 open issues and 2 have been closed. On average issues are closed in 64 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of controllerless is current.

            kandi-Quality Quality

              controllerless has 0 bugs and 0 code smells.

            kandi-Security Security

              controllerless has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              controllerless code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              controllerless is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              controllerless releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of controllerless
            Get all kandi verified functions for this library.

            controllerless Key Features

            No Key Features are available at this moment for controllerless.

            controllerless Examples and Code Snippets

            No Code Snippets are available at this moment for controllerless.

            Community Discussions

            QUESTION

            ServiceStack Controllerless Razor Views - Return view without executing service
            Asked 2017-Jun-03 at 16:54

            Right now we have a lot of dummy MVC controllers that return simple views with web components (vuejs). I'm trying to refactor this to see if we can use the controllerless razor plugin but I don't want to execute the actual service logic when the route is requested by the browser because the component already does this. An example:

            /account/edit/1 is a standard MVC controller -> is associated to a view that has something like this that makes an ajax call to /api/account/get/1 . I want to add the Service Stack Razor engine so that we can just use:

            /api/account/get/1 (we would remove the api part or add the alternate route) and this would not execute the logic but would execute the security attributes so we can remove the standard MVC controllers that aren't be used. I know we can add different services for this to get it to work but I would prefer to use the same endpoint and just not execute it but return the razor.

            Any ideas?

            Not the answer I wanted to hear but essentially we can't do what we want, instead we'll create some dummy service stack services to return the correct views which still eliminates the controllers.

            ...

            ANSWER

            Answered 2017-Jun-02 at 17:13

            In order to use ServiceStack.Razor's No Ceremony Option where you can return dynamic Razor Views without needing a ServiceStack Service your route needs to match up with the razor page so you wouldn't have a route like:

            Source https://stackoverflow.com/questions/44334046

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install controllerless

            You can download it from GitHub.

            Support

            Controllerless Web API documentation generation contains an alternative Web API ApiExplorer implementation that makes it possible to build documentation based on the messages you defined in your application, instead of controllers and actions, since we promote a happy world without the cruft that controllers bring. On top of Controllerless Web API documentation generation, Swagger documentation can be easily generated using Swashbuckle. The main type in the Controllerless Web API documentation generation is the ControllerlessApiExplorer. The ControllerlessApiExplorer generates a list of ApiDescriptions that can be used to generate documentation (for instance using Swagger).
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/dotnetjunkie/controllerless.git

          • CLI

            gh repo clone dotnetjunkie/controllerless

          • sshUrl

            git@github.com:dotnetjunkie/controllerless.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link