Are there any good examples of Exception Handling Block of Enterprise Library 5.0 - silverlight-4.0

I'm using Enterprise Libray 5.0 version. I'm working on its Exception Handling Block. For this to understand Exception Handling Block I downloaded StockTraderRI Application - (Example Application of Exception Handling). But it uses PRISM Framework.
Is there any example which shows simple silverlight Application using MVVM-Light.

Have you looked at the MSDN page? There should be plenty of information there to get you started. In particular look at the Hands-On Labs and the Developer's Guide.

Pluralsight has a good video on how to use it. You may be able to watch it with a trial of the site: Enterprise Library Exception Handling Application Block

Related

App Service Logging of System.Diagnostics.Trace.TraceError calls

I have an appservice(windows) .net core 3.1 using System.Diagnostics.Trace.TraceError statements. I am able to see the output in the visual studio debugger but can not see it in the streaming logs output of the app service. I have tried two documentation (doc 1 , doc 2) whose steps do not look coherent . I found_logger.LogInformation statements are working and output can be seen in console during local debugging and streaming logs of the app service. I can not see any logs from the System.Diagnostics.Trace.TraceError statements that I have written. I feel there is some gap in the documentation as I have tried this on a simple hello world application.
Can you try disabling AppServiceFileAuditLogs and only have AppServiceAppLogs enabled and confirm, I remember it worked for me.

Getting a COMException in my Microsoft Lync video chat app

I am trying to develop a basic app in Visual Studio that does a simple video chat with another person. Everything was working fine and I was able to successfully open a video chat. However, I have installed Lync with UI Supression, and the app will not run. Examining the InnerException I can see that the program is throwing a COMException "Exception from HRESULT: 0x80C8000B"
Via process of elimination I have found that commenting out the line auto = LyncClient.getAutomation() lets the app run, though the functionality of the app is gone.
After all my searching online I cant determine what could be causing this line to break it, and I know I need that line of code in order to move forward.
Automation is not available to you when running in UI Suppression Mode.
Suppression mode requires that Lync be installed on the client's machine, but you then need to use the Lync SDK to do a lot of the things that the client does for you, such as signing in (no trivial matter). However, the Automation section of the SDK is the link to the standard Lync UI, which is why it is unavailable to you.
You also don't have access to any of the UI controls that make up the Lync client ... with the exception of the VideoWindow control - which will most probably be useful to you.
There's a good article on understanding UI Suppression Mode here: http://msdn.microsoft.com/en-us/library/hh345230.aspx
Also, a great sample of how to sign in to Lync when using UI Suppression Mode: http://msdn.microsoft.com/en-us/library/hh378603.aspx
One more thing: if you have access to it, in this book on Lync chapter 5 actually has an end-to-end example of producing a UI Suppression AV kiosk app in WPF - which might be exactly what you're looking for.

How to implement Configuration Service 5.0 of the StockTrader 5.0 sample application?

We have a collection of WCF Rest WebServices. Those WebServices are having configuration strings that are now hard coded as constants. We want to be able to change those configuration strings at runtime. A colleague of mine pointed me at the Configuration Service of the StockTrader sample application.
I installed the sample application and looked at working of the application. The Configuration Service is just a little part of the sample application. The documentation of the sample application contains a tutorial for the 'Visual Studio Configuration Service template', wich I followed. After that I found the 'Config Service Technical Guide' in the documentation folder of the sample application, wich contains a sort of action plan on page 12. The actionplan is just a summary what has to be implemented to use Configuration Service, not how it has to be implemented. Above the action plan the reader is referred to the 'Guide to Implementing the Configuration Service 5.0 for .NET Applications and Services'. Only thing after googling: The guide is nowhere to be found..
With the combination of the little actionplan in the technical guide, the comments in the code of the VS Template and the technical guide, I made a start to extract the Configuration Service and try to implement it in a new solution to test it. Now I am stuck with the implementation of the ConfigurationActionsBase. The implementation of the ConfigurationActionsBase persists the changes of the configuration to the database.
Does anyone know where the missing guide is(mentioned in the story
above)?
Does anyone know how to extract the configuration of magic
strings out of the StockTrader sample application?
Does anyone know an alternative solution for our scenario?
With Kind Regards,

WCF integration testing with Windsor

We've got WCF setup to use Windsor. Now I want to start writing some integration tests and I'm running into a problem. I found an article by Ayende http://ayende.com/Blog/archive/2007/06/12/WCF-Windsor-Integration.aspx but I can't find the WindsorServiceHost he mentions. I even went and looked around WcfIntegration in the object browser and no luck.
Does anyone have a more up to date sample or have a short code sample they can share?
You will not find it in standard Windsor installation. It is separate Facility (separate project) which hasn't been released yet but you can download source codes from their repository.

.NET 3.5: How to host WF runtime in WCF?

I need to find a tutorial for hosting the Workflow Foundation Runtime in WCF using .NET3.5.
Does anyone know any good links specifically on this?
UPDATE: Preferably, it should have some code samples on the implementation.
I've found an article that I've yet to thoroughly review, but it meets my requirement of having code samples and uses .NET 3.5.
UPDATE: The article is what I wanted, so I'm marking this as my answer.
Workflow Services by Matt Milner
Try the MSDN Introduction (first link on Bing, second on Google):
Introduction to Hosting Windows Workflow Foundation