Skip to content

Employee Manager is a web app developed using ASP.NET and C#. The project incorporates MS SQL Server via Entity Fr and is structured with Ocelot. It also integrates many other features. With CRUD functionality for employees under the admin role, it provides managers the ability to manage employees, while employees can only view their own data.

License

Notifications You must be signed in to change notification settings

zabavb/Employee-manager-asp-app

Repository files navigation

Employee Manager Logo

Employee Manager ASP.NET Application

Project Overview

Employee Manager is a web application developed using ASP.NET and C#. The project incorporates MS SQL Server via Entity Framework and is structured with microservices and API management using Ocelot. It also integrates features such as password hashing (SHA256), validation, cookie-based authentication, and all in an asynchronous process. With CRUD functionality for employees under the admin role, it provides managers the ability to manage employees, while employees without admin roles can view their own data.

Project Details

  • Languages: C#
  • Technologies: .NET Framework Entity Framework Ocelot API
  • Security: SHA256 Cookie Authentication
  • Project Type: ASP.NET Web App

Development Details

This project was created as part of a homework assignment at IT Step Computer Academy. It demonstrates CRUD operations for employee management with role-based access control, including admin privileges and employee self-service, integrating MS SQL Server with Entity Framework. The project also uses Bootstrap for UI styling and Swagger for API documentation.

Getting Started

Note: This project requires an MS SQL Server setup with proper connection strings.

Follow these steps to set up the project:

  1. Clone the repository:
    git clone https://github.com/zabavb/Employee-manager-asp-app.git
  2. Configure your MS SQL Server and update the connection strings in the appsettings.json file.
  3. Install the required NuGet packages, including Ocelot, Microsoft.EntityFrameworkCore, Swashbuckle.AspNetCore, and others as needed.
  4. Open the solution file in Visual Studio, build the project, and run the application.

Features

  • Role-based Access: Admin users can perform CRUD operations, while employees can only view their personal data.
  • Security: SHA256 hashing for passwords, cookie-based authentication, and an authorization system.
  • API: Integrated API management using Ocelot, with Swagger documentation.

Usage

To use this application, ensure you have the necessary permissions and connection strings configured. Admins can manage employees, and employees can view their personal details.

Contributing

Contributions are welcome! If you have any suggestions or improvements, feel free to fork the repository and submit a pull request.

  1. Fork the Repository: Click the "Fork" button at the top-right of this page.
  2. Create a Branch: Create a new branch for your changes.
  3. Commit Changes: Make your changes and commit them with a descriptive message.
  4. Push to Your Fork: Push your changes to your forked repository.
  5. Submit a Pull Request: Go to the "Pull Requests" tab and submit a new pull request.

Contact

For any questions or inquiries, you can reach me at email or connect with me on LinkedIn.

References

Acknowledgements

  • Thanks to IT Step Academy for providing the resources and guidance for this project.
  • Special thanks to Microsoft for their comprehensive documentation and cloud services.
  • Gratitude to the open-source community for NuGet packages and contributions.

Feel free to modify or extend this README to fit your needs better. Happy coding!

About

Employee Manager is a web app developed using ASP.NET and C#. The project incorporates MS SQL Server via Entity Fr and is structured with Ocelot. It also integrates many other features. With CRUD functionality for employees under the admin role, it provides managers the ability to manage employees, while employees can only view their own data.

Topics

Resources

License

Stars

Watchers

Forks