Hi there, I'm Nikola Sirmov 👋
🔭 I’m currently working on Heccmas, Safe secrets and Roomed
- Redis
- MongoDB
Hotel management system
License: GNU General Public License v3.0
Add response caching and session to IoC container.
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
Make use of IValidatableObject or FluentValidation to extract model validation logic from the controller.
Extend ISeeder interface with IsSeededAsync method returning a boolean showing wether the data is already present in the database or not.
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 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.
Consider renaming the ApplicationDbContext to RoomedDbContext
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.
Ordering in modify query does not work. Because of this Skip and Take do not work also.
This can be useful when returning a different view. Example: using return View(Views.Create).
Extract error messages as constants to reduce the use of magic strings. Make use of format strings.
It should be able to be used with DateTime and DateOnly.
This is a practice advised by the documentation of automapper.
To resolve this issue the db context transaction api should be exposed by the IRepository intefrace.
Consider extracting front office as a mvc area leaving the non authorized users not having access to any area.
Add User extension methods e.g. Id(). Add session extension methods e.g. Get(ISession session, string key) Set(ISession session, string key)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.