Coder Social home page Coder Social logo

lorddev / utilities Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 2.0 10.24 MB

Multipurpose universal utilities library so you don't have to write your own utils for every project. Includes extensions, encapsulation of logging and encryption, basic datareader-to-POCO mapping, a mailer throttle, and strongly-typed API callers.

License: GNU General Public License v3.0

C# 99.13% PowerShell 0.87%
logging encryption data-access-layer distance-matrix-api utilities c-sharp

utilities's Issues

Updates to Encryptamajig per earlier notes

Many years ago, I wrote a note to the original dev:

My next recommendation, at least for this fork, would be to change it into a class that's not static, so that we can reference some of the parameters as private fields instead of passing them from function to function. I also think it might help to have it work as a sort of singleton so that once the key/salt/iv bytes were initialized they wouldn't have to be recalculated for every operation. This would help improve performance for larger-scale encryption operations.

ApiCall formatting issue

The format setting in ApiCall.cs is based on whether the Payload is of type string vs a custom class. This means if you are making a simple GET call without a body and you want an XML response to be parsed properly, you have to set the Payload value to a string as a workaround. Fix will be to allow the format to be specified via a separate property.

What do we do about config.json files served from the web?

Historically, web.config is something that you can't download from the root of someone's website because IIS protected it. You couldn't get their connection strings or SMTP passwords or API keys out of it, for example. Is there a mechanism for protecting settings.json files? Because *.json is just JavaScript. Chances are it will be served in plaintext if someone types in the file name correctly.

Retool the logging feature

Elmah isn't compatible with .NET Core. The Logger class was basically a wrapper for Elmah with a fallback. We need to make it more robust, and perhaps create our own display page similar to elmah.axd.

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.