Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I am trying to implement Serilog in our enterprise WPF application built using Prism Library. Google search shows that I need to implement a custom class that inherits from ILoggerFacade but I don't know how to do that because the function void Log(string message, Category category, Priority priority); does not log the messages in the format I would like to and I would like to implement a custom logger that has the properties of Serilog.
How do I do this ?
TL;DR; Just use the Prism.Logging.Serilog library.
All you have to do is create a class that implements ILoggerFacade, and that forwards log messages to your Serilog logger. Use an instance of that class when you configure your Prism bootstrapper.
Use that class on your bootstrapper.
Everywhere else in your application, you can use Serilog's ILogger and completely forget about ILoggerFacade...
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
Due to some reasons I should create my own UI/GUI library for some apps. After a lot of searching I did not find suitable info for the project except this link.
This is the nearest thing to my idea that I've found yet.
Now I'd like to know how companies like Telerik could create these libraries, and how can I create some for myself? Do they use OpenGL or something like that to provide these libraries to the customers? What are the keywords that I should search for to learn the technology.
Thanks.
A typical "UI library" like for example the one that Telerik provides for WPF is basically just a bunch of control classes that inherit from a built-in base class like for example System.Windows.UIElement, FrameworkElement or Control.
So a good staring point would be to create a class library based on any of the WPF Control Library template and add some classes and XAML templates to it.
You don't have to provide your own custom rendering engine to build a "UI library".
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Which internal method is being called when we set the property "AutoSubmit" to "true"?
I tried my best to find, but was not able to get the exact solution which I want.
Can somebody tell me the answer with ADF and JSF life cycle flow of execution?
I presume you are using ADF Business components. If you do (better not use ADF if you don’t):
When setting autosubmit on an input field, the value is propagated to the server the minute user tabs out of the field.
1. The setter of the attribute on your View Object Row Impl is called .
2. The setter of the attribute on your Entity Impl is called.
Any processing or business logic you do on View Object or View Row Impl level. Biggest misunderstanding of ADF: trying to do these kind of processing in backing beans. Every Java developer I’ve seen working with ADF does that.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to create an Admin page in order to manage users, groups, passwords and to publish content in a website. That website is made using React.
What is the right way to make it? Using a library for React that provides such Admin?
My workmate told me he uses Material UI, but I don't see how that library could be used for that purpose.
Material UI is used only for styling stuff, not for actual logic. If you have a REST backend, take a look at admin on rest project.
What is your backed written in?
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I am trying to follow standard MSDN steps to form up MVVM architecture in WPF. My folders and class hierarchy are as below.
Models
=> FormModel.cs
ViewModels
=> MainViewModel.cs
=> ViewModelBase.cs
Views
=> MainView.xaml
and
=> App.xaml
Please consider these above all in standard approach.
Now I want to create RelayCommand method about which I don't have any idea. Can you please tell me where to put it? Should I create a separate Command folder? Or under any of above folders? Also give an example of RelayCommand if possible as I don't know how to implement RelayCommand method.
I would vote for ViewModels in this case - the implementation is only going to be used in ViewModel classes. I wouldn't create a Command folder, as it will sit in there on its own, but if you have similar constructs perhaps a Utilities folder?
Instead of reinventing the wheel, I use MVVMLight from Nuget (others are available) - has a RelayCommand implementation included, and can be used in portable class libraries (for store apps).
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
After reading the tutorials for both technologies AngularJS makes the HTML code much more easy to read.
My only concern is that AngularJS does not provide a Desktop Environment in terms of controls like ExtJS isn't that right?
Or is it these days ExtJS a technology becoming deprecated?
What exactly do you want to ask with the question?
The main difference between AngularJS and ExtJS in my opinion is, that AngularJS focuses mainly on being a MVC Framework, which doesn't offer any extended library-style functionality to design fancy user interfaces. ExtJS goes a step further, it also is a MVC framework at the core, but offers more than that lots of functionality, for example designing of a user interface (probably what you mean by "Desktop Environment" lookalike). Visit the sencha homepage to get a full overview of the built in functionality. Using ExtJS to build webapp, there shouldn't be much of a need to add any other libraries.
To answer your second question: I don't think that ExtJS becomes deprecated, it has an active development and this year version 5 of the framework was launched.
The question "Should I use AngularJS or ExtJS" depends on the style of the frameworks, whatever you prefer and on your requirements. There are lots of articles which you may view, they compare the two frameworks in a detailed way: http://www.techferry.com/articles/ExtJS-vs-AngularJS.html
If you want to create an application with an user interface that looks like a Desktop Environment, you could either user ExtJS or AngularJS + a library, which provides functionality to create such an user interface.