Skip to content

Core .NET library (.DLL) for the Edison Lighting Management Information System (MIS). Encapsulates business logic, data access, and core functionalities.

License

Notifications You must be signed in to change notification settings

zus3c/Edison-Lighting-MIS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Edison Lighting MIS - Core Library

License: MIT Core .NET library (.DLL) forming the backbone of the Edison Lighting Management Information System (MIS). This repository contains the source code for the central component responsible for business logic, data management, and essential services.


Overview

The Edison Lighting MIS Core Library is a foundational DLL designed to [Briefly state the main purpose/problem it solves - e.g., streamline lighting project management, manage inventory and sales data for Edison Lighting, provide reporting infrastructure]. It serves as the central engine for the broader MIS application, ensuring data integrity, encapsulating complex business rules, and providing a consistent API for front-end applications or other services.

Developed by [Zubair Usman/SCLTECH GROUP or Zus3c] (https://www.linkedin.com/in/zus3c/ , https://www.linkedin.com/company/scoltech).

Key Features

  • [Feature 1 - e.g., Project Data Management]: Handles creation, retrieval, updating, and deletion (CRUD) of lighting project information.
  • [Feature 2 - e.g., Inventory Tracking]: Manages stock levels, product details, and supplier information.
  • [Feature 3 - e.g., Reporting Engine]: Provides methods to generate key operational reports (e.g., sales summaries, project status).
  • [Feature 4 - e.g., User Authentication/Authorization Logic]: Contains logic for verifying user credentials and permissions (if applicable within this DLL).
  • [Feature 5 - e.g., Data Validation]: Implements robust validation rules to ensure data integrity.
  • [Add other specific, key capabilities of your MIS DLL]

Technology Stack

  • Framework: [.NET Framework X.Y / .NET Core/Standard X.Y - Be specific!]
  • Language: [C# / VB.NET]
  • Data Access: [Entity Framework Core / Dapper / ADO.NET / Other - Specify version if relevant]
  • Database: [Designed for SQL Server / PostgreSQL / MySQL / Other]
  • Key Libraries/Patterns: [Mention any significant NuGet packages like AutoMapper, MediatR, or design patterns like Repository Pattern, Unit of Work, etc.]

Prerequisites

  • [.NET SDK Version X.Y.Z]
  • [Visual Studio 20XX / JetBrains Rider / VS Code with relevant extensions]
  • [Database server (if needed for running/testing)]
  • [Any other specific tooling]

Getting Started

Building the Source

  1. Clone the repository:
    git clone https://github.com/Zus3c/Edison-Lighting-MIS.git , https://github.com/Zus3c/Edison-Lighting-MIS.git
    cd Edison-Lighting-MIS
  2. Open the solution (.sln) file in your preferred IDE (e.g., Visual Studio).
  3. Restore NuGet packages.
  4. Build the solution (Build > Build Solution in Visual Studio or dotnet build via CLI). The output DLL will typically be in a bin/Debug or bin/Release folder within the project directory.

Using the DLL

  1. Reference the DLL: Add a reference to the compiled EdisonLightingMIS.dll (or your actual DLL name) in your consuming project (e.g., a Web API, Desktop App, Service).

  2. Configuration: Ensure any required configuration (e.g., database connection strings in appsettings.json or App.config of the consuming application) is set up correctly. Refer to the [Configuration Section Below or Link to Wiki] for details.

  3. Usage Example:

    // Example using C# - Adjust based on your actual classes/methods
    
    using EdisonLighting.MIS.Core; // Assuming this is your root namespace
    
    // ...
    
    // Example: Get project details
    // Assuming you have a service or repository class for projects
    var projectService = new ProjectService(/* dependencies */);
    try
    {
        var projectDetails = projectService.GetProjectById(123);
        if (projectDetails != null)
        {
            Console.WriteLine($"Project Name: {projectDetails.Name}");
            // Access other properties...
        }
    }
    catch (DataAccessException ex)
    {
        // Handle data access errors
        Console.Error.WriteLine($"Error accessing project data: {ex.Message}");
    }
    catch (BusinessLogicException ex)
    {
        // Handle business rule violations
        Console.Error.WriteLine($"Business logic error: {ex.Message}");
    }
    
    // Add more concise examples for key use cases

API Documentation (Optional but Recommended)

  • Detailed API documentation can be found [Link to generated documentation (e.g., using DocFX, Sandcastle) or a Wiki page].
  • Alternatively, key public classes and methods are documented using XML comments (///) for IntelliSense support.

Configuration

This library requires the following configuration settings [Explain how configuration works - e.g., needs a connection string named 'DefaultConnection' provided by the host application].

  • DatabaseConnectionString: Specifies the connection string for the primary database.
  • [Other Setting Key]: [Description of the setting].

Configuration should be provided by the consuming application (e.g., via appsettings.json for .NET Core/5+, App.config/Web.config for .NET Framework).

Contributing

Contributions are welcome! Please read our CONTRIBUTING.md file for guidelines on reporting issues, proposing features, and submitting pull requests.

License

This project is licensed under the [MIT License] - see the LICENSE file for details.

Support & Contact

LinkedIn: @zus3c Twitter/X: @zus3cu Threads: @zus3c Facebook: @zus3c Reddit: @zus3c WhatsApp channel: https://whatsapp.com/channel/0029VahEpDoGZNCjNV0vXF1B


About

Core .NET library (.DLL) for the Edison Lighting Management Information System (MIS). Encapsulates business logic, data access, and core functionalities.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published