What is your real world experience with the Microsoft Application Blocks and other Microsoft solutions as opposed to writing your own solutions?
I started a new project and decided to give them a go. I used the exception handling and logging blocks. The exception handling block works well for what I needed. The logging block did 95% of what I needed, the rest needed to be customised. It took a while working out how to customise it, and then had some version reference issues. Logging is an very simple task whether it's writing to a file or database (in this project both). In hindsight it would have been quicker to write my own.
The project also requires synchronising data with a PDA. With a bit of research it seemed clear the direction Microsoft was pointing was Synchronisation Services. After spending about 3 days trying to get all the right versions of the different pieces of software I could not get the sample working Windows Mobile Synchronization Error. I opted to using the simple OpenNETCF Desktop Communication to copy files to/from the pda, use binary object serialisation, and write my own basic synchronising code which took less time and does everything exactly they way I want it (and don't it feel good : ))
Some positives:
negatives:
This has been my learning experience and will allow me to be better equipped to make a decision on whether to go with the Microsoft solution (or other 3rd party solutions) versus writing my own.
How about your experience?
This block provides a user-facing menu to access various Microsoft 365 integration features, resources, and settings.
Microsoft apps and services is a common authentication app which connects multiple apps and services across Microsoft with your email providers. We do this to keep your experiences consistent across different Microsoft applications you connect to.
We recommend that you leave this feature on, and that you enable both block apps and block downloads. Block apps will detect PUA that you've already downloaded or installed, so if you're using a different browser Windows Security can still detect PUA after you've downloaded it.
Application Guard for Office is a protected mode that isolates untrusted documents so that they can't access trusted corporate resources, an intranet, the user's identity, and arbitrary files on the computer.
They're over-engineered and it was my biggest issue with it, at the end I got rid of it and don't use it any more.
They are not useful enough, requires too much configuration, modification in the system and they keep changing stuff in them. To simply add a logging functionality you end like spending a 2 days to get it right.
There are libraries out there which works in 10 minutes as you would expect.
I haven't used them much, primarily because something else more powerful has swayed me from it. For example, when dealing with exceptions I went with CodePlex.Diagnostics, a nice package that logs stuff on the SQL Server. Very simple and useful for a web app. For logging, I use log4net under the control of Log4PostSharp. Of course, I use PostSharp instead of PIAB, if only because precompilation is, by definition, faster than dynamic proxies.
One cool thing is the Unity application block: it seems to have taken some of the lessons learned by other DI frameworks to heart, and is actually fairly easy to use (of course, there's PostSharp4Unity too).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With