Giter VIP home page Giter VIP logo

homely.aspnetcore.mvc.helpers's Introduction

Welcome to Homely's GitHub repositories

This is the home page / project overview for Homely.com.au open source projects.

At Homely, most of our development is done in private (with private repositories) but we do encourage to try and see if some of the code we do in our day-to-day work (which is used in our private systems) can be abstracted enough into a public project, for others to take advantage of.

We hope that other developers like yourself might find some of our efforts useful and/or enspiring!


Contributing

Discussions and pull requests are encouraged :) Please ask all general questions in this repository or pick a specialized repository for specific, targetted issues. We have a contributing document which goes into detail about how to do this.

Code of Conduct

Yep, we also have a code of conduct which applies to all repositories in the GitHub Homely.com.au organisation.

Languages currently supported

  • C# on .NET. Packages available on NuGet.

Feedback

Check out the contributing page to see the best places to log issues and start discussions.


homely.aspnetcore.mvc.helpers's People

Contributors

dependabot[bot] avatar purekrome avatar rpm1984 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

homely.aspnetcore.mvc.helpers's Issues

Add NuGet

So we (and others!) can make use of this awesome sauce ๐Ÿ˜Ž

We'll need to setup one of those public NuGet org accounts.

Common HomeController

Have a common home controller that can be used and configured.

  • ability to set the 'banner'
  • ability to set this up in startup.cs so the banner can be configured. Also, helps with not having to rely on reflection for auto-finding the route.

Missing implementation

I can't get AddProblemDetails() to work. Is this something not yet baked in or am i missing something?

Documentation about features

Need to document the modular features of this nuget package.

possibly link to an API template when that gets released.

  • Update Readme
  • Add wiki entries

Consider caching the Status Code json result.

Custom status code pages are going to write out the result as JSON in the ApiErrorResult schema/view.

Instead of serialising the same result on each request, consider using a ConcurrentDictionary and see if there's any perf gains.

Use perf tool to load test before/after.

Theory data in tests should include expected output

Currently we use theory data to control assertions, e.g here

This leads to some 'magic code' / checks, e.g:

if (id == 1)
{
    // some assertion
}

A better approach would be to setup the data in the controller/models via the tests (not hardcoded internally), and have the theory data include the expected model.

Then the assertions become a simple equality check on the JSON output.

Handle cancellation token errors.

When a request is 'cut' mid way before the response is fully sent AND the action method handled was an async action method, some crap is recorded in the log files.

I asked Andrew to help suggest something after providing some repo code, etc. and he blogged about it.

So implement this custom catch code.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.