Giter Site home page Giter Site logo

roomed's Introduction

Hi there, I'm Nikola Sirmov 👋

🔭 I’m currently working on Heccmas, Safe secrets and Roomed

🌱 I’m currently learning:

  • Redis
  • MongoDB

📫 How to reach me:

    

💻  Main tech knowledge

HTML5  CSS3  Markdown  Bulma  Sass 
JavaScript  npm  Lit  Mocha  Chai 
.NET  C#  NUnit  NuGet  Entity Framework Core  ASP.NET Core 
ESLint  Prettier  Gimp  Inkscape 
Notepad++  Visual Studio  Visual Studio Code 
Git  Github  Webpack  Postman  Firebase 

📊  GitHub Statistics

roomed's People

Contributors

sirmov avatar

Stargazers

 avatar  avatar

Watchers

 avatar

roomed's Issues

Extract string based keys

Extract string based keys as constants to limit the use of magic string and improve readability.
Example: ViewData["Profiles"] -> ViewData[ViewData.Profiles]
Used for ViewData, TempData and other

Extend ISeeder interface

Extend ISeeder interface with IsSeededAsync method returning a boolean showing wether the data is already present in the database or not.

Make BaseService.GetAsync work with queryOptions

IDeletable entity repository
+Find(TKey id, bool isReadonly, boolWithDeleted = false);
+FindAsync(TKey id, bool isReadonly, boolWithDeleted = false);

Deletable entity repository
overwrite Find(TKey id, bool isReadonly) to get not deleted
overwrite FindAsync(TKey id, bool isReadonly) to get not deleted

Implement query result

Implement a QueryEesult class that should be returned by every method in every service. With it we can eliminate throwing exceptions by using a Errors property for example.

Add error handling

Implement Home Error action for all status codes. Handle exceptions by using alerts, toasters or other types of messages for the client and log the errors for the server. Use the implemented status code pages as a fallback.

Extract error messages

Extract error messages as constants to reduce the use of magic strings. Make use of format strings.

Create a Guard class

  • AgainstNull
  • AgainstTrue
  • AgainstFlase
  • AgainstRegex
  • AgainstNullOrEmpty
  • AgainstNullOrWhitespace

Extension methods

Add User extension methods e.g. Id(). Add session extension methods e.g. Get(ISession session, string key) Set(ISession session, string key)

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.