Skip to content

A small Portfolio App with WPF in a Metro Design and MVVM Design Pattern.

License

Notifications You must be signed in to change notification settings

war-man/Portfolio_WPF_App

 
 

Repository files navigation

Portfolio_WPF_App

https://img.shields.io/badge/Beta-0.0.1.0-green.svg

A small Portfolio app with WPF in a Metro Design and MVVM Design Pattern.

Design and Wireframe Prototype

In this link you can view the basic design of the app, which was made beforehand.
You can also play with the Wireframe capabilities. (Press the play button in the top right corner!)

https://www.figma.com/file/PGZbyXHqbWnHZNz4IiCv3sh6/Design-Portfolio-WPF-App?node-id=0%3A1


Short Description of the used libraries and techniques

This app shows the basic usage of the following components:

  1. Mahapps Library (Hamburger Menu, Button, SplitButton, DataGrid, ScrollViewer, Checkbox, Login Window, PasswordBox)
  2. SQLite Library with Custom DataBaseHandler, QueryBuilder, Custom Trigger
  3. Custom Core DLL (SQLiteHandler, QueryBuilder, FileHandler, XMLSerializer, LogHandler)
  4. MVVM Design Pattern with Mediator, RelayCommand
  5. Basic Unit Testing with Nunit (Not yet implemented)

Functions

At start up

At the beginning the app is generating the following files:

  • config.ini -> Which saves the name of the last active .xml config file.
  • ExampleConfig.xml -> Auto generated at startup if no valid .xml file was found. Includes all necessary Values at Startup.
  • example.db -> Auto generated SQLite database with all necessary tables and some test rows.

Home View

The Home View shows if the DB is connected correctly.
In the Messages & Report section with some basic information andd clickable Links to the Data View.
In the top right corner there is also a button to login to get access to the Data View.

picture alt

Settings View

The Settings View shows the current active config.xml with name and its values.
With the buttons a new config can be loaded and activated.
In the User & Password section can the User and Password be changed which is stored in the database.

picture alt

Login Window

Standard User: admin
Standard Password: admin

picture alt

Data View

In the Data View there can be either the Logs from a txt.file be displayed or the data from the SQLite database.
The Logs can also be filtered with the checkboxes.

picture alt

The datagrid can be sorted and multiple entries can be copied to the clipboard.
The logs as well the data can be saved to a .txt file if necessary.

picture alt


Troubleshooting & FAQ

If you can't find the created database make sure that the x64\ and x86\ folder from Portfolio_WPF_App.Core\bin\Debug is copied into the Portfolio_WPF_App\bin\Debug folder.
Also check the [Date]_log.txt file for further informatin.

About

A small Portfolio App with WPF in a Metro Design and MVVM Design Pattern.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%