Xaf tip #5 Running Controllers everywhere
I recently being asked a lot about a way of making Xaf front end (that is your Solution.Win,Solution.Web) able to host controllers. To many of them i answered that is not possible cause of the Xaf architecture but haven’t thought of it, It was a rushed answer. Anyway i do not have to make a lot of thoughts on it since my friend Panagiotis Kefalidis share that trick with us. First lets give an example of why you want to run controller in your front end. Many security systems need to have access to your executable and through it to your main form. For Xaf the only way to get access to your form is through a controller. So the trick is to fool Xaf front end to make it behave like a module. Modules are capable to run controllers. And how you can do that? It is really
Διαβάστε περισσότερα »