Git Product home page Git Product logo

fileupload's People

Contributors

maraf avatar nicotravassos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fileupload's Issues

[FEATURE] Azure Active Directory B2C

Hi @maraf,

I really like the idea of this application clean and simple.
May I ask instead of using the standard login and register functionality why not use Azure Active Directory B2C .

  • Stored users—Users stored in the Azure AD B2C directory; and
  • Authentications—Tokens issued either in response to a sign-in request initiated by a user, or initiated by an application on behalf of a user (e.g. token refresh, where the refresh interval is configurable).

and the first 50000 users are free.

A bit of redesign

  • Make a "index" more like a file system browser.
  • Move super simple file upload to /upload URL.
  • Remove /browse from #13.
  • Use css classes on body element to mark upload feature availability.

When reading file content, specify FileAccess and FileShare

In current implementation in the FileService.cs, a file stream is created only with FileMode.Open.
But this requires a write permission for the current process.

Instead use a ctor FileStream(string path, FileMode mode, FileAccess access, FileShare share).

Sort files in browser

  • Default by name.
  • Integrate some sorting plugin.
  • Store last sorting in cookie/local storage.

Enhance logging

Currently if anything fails during upload, we know nothing.

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.