Commit 079df04
committed
Full refactor:
* Rethinking application separation (see new folder and namespace structure).
* Splitting commands into Partial Views, so the ViewModels will not be very long due to the many commands.
* Complete rewriting and improvement of command and input data logic processing for better transparency and readability.
* Defined are enums, static classes.
* Removed previously created Handlers and their associated interfaces.
* The individual elements have been removed from the global resource because they are not global but static, so they have been associated with the corresponding Views.
* Removing individual behaviors because can be made these functions also with Commands.
* Defined AppCacheStorage on client side.
* The storage uses the Default Memory Cache.
* Some data is stored in a cache for easier data processing on the client side.
* Defined AppUserService on client side.
* This service manages the signed in user on the client side.
* Defined ViewNavigator on client side.
* The ViewNavigator implements which view is visible in Main Window.
* The SignalR management has been outsourced to a separate service on the client side.
* The full Hub management for ChatHub has been added to the SignalRChatHub service and removed from the MainWindowViewModel.
* The Hubs will be those Singleton instances.
* Defined the AsynObservableCollection - ObservableCollection Extension into the Client Project.
* Defined Log4Net into Client and Server Side.
* Configured the application that the app run in a Dev or Prod environment.
* Created of the corresponding Environment Service.
* Replaced the ServiceLocator.
* Defined a Dependency Injector that allows you to register Sigelton and Transient dependencies.
* Created a bootstrapper whose Init method registers all dependency connections into the Container.
* Overrided OnStartup() method, that is, this is where the dependencies are registered into the Container.
* Managed globally unhandled exceptions.
* Unhandled exceptions appear in an ErrorWindow.
* The text that is displayed depends on whether the application is running in a Dev or Prod environment.
* Defined custom exceptions.
* On the Client and Server side, the Send Unicast Notification and Send Broadcast Notification operations have been removed as they do not belong to a basic chat application.
* On the Client and Server side, the configuration settings that have been burned into code so far have been outsourced to the app.config file.
* Unity DI Container has also been implemented on the server side.
* A repository has been created on the server side to manage participants (this will be a singelton instance).1 parent 34177f8 commit 079df04
File tree
166 files changed
+3668
-2327
lines changed- Application.Client
- Container
- Unity
- Core
- AppCacheStorage
- Exceptions
- Models
- StorageItemDataModels
- AppUser
- Interfaces
- Messages
- Services
- Interfaces
- StaticValues
- Enums
- AppConfigurations/SignalR/ConfigurationSections
- ConfigurationElements
- AppUser
- Exceptions
- Services
- Interfaces
- Commands
- Environment
- Enums
- Services
- Interfaces
- Variables
- Exceptions
- StaticValues
- Enums
- Exceptions/Models
- Extensions
- SystemNotification/Services
- Interfaces
- ViewModels
- Properties
- SignalR/Hubs
- Chat
- Interfaces
- StaticValues
- Enums
- Exceptions
- Models
- Views
- Chat
- Commands
- Services
- Interfaces
- Models/ManageParticipantMessagesService
- ViewModels
- Interfaces
- SignIn
- Commands/SignInViewModel
- ViewModels
- Interfaces
- Windows/Main
- Commands/MainWindowViewModel
- ViewModels
- Interfaces
- Application.Models
- HubEventModels
- Properties
- RequestModels
- SendMessage
- SignIn
- ResponseModels
- GetParticipants
- SignIn
- Application.Server
- Container
- Unity
- Core/AppConfigurations
- Hosting/ConfigurationSections
- ConfigurationElements
- SignalR/ConfigurationSections
- ConfigurationElements
- Hosting
- Properties
- Repositories/Participant
- Exceptions
- Interfaces
- Models
- SignalR/Hubs/Chat
- Helpers
- Interfaces
- SignalRChatExampleClient
- Behaviors
- Commands
- Conditions/MainWindowViewModel
- Container/Unity
- Enums
- Models
- Modules
- Chat
- Interfaces
- Services
- Common
- Handlers
- Services
- Dialog
- Interfaces
- Services
- MainWindow
- Handlers
- Interfaces
- MessageWindow
- Interfaces
- Services
- ViewModels
- MainWindow
- MessageWindow
- Views/MainWindow
- Windows
- SignalRChatExampleServer
- Configurations
- Hubs/Chat
- Models
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
166 files changed
+3668
-2327
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
0 commit comments