I have been (re)working the Time Tracker sample app for some time now. I want to move the app to a WinForms app and I have been looking at the TaskVision sample app for ideas. I personally do not care for its use of web services, and I am partial to remoting. I also want to make use of the Microsoft Data Access Application Block.
I was wondering if anyone had a good sample of a solid UI/Business Rules/Data Access n-tier architecture that makes use of the app block and is in use in a WinForms app. Thanks.
[Listening to: pink the south beach mix.mp3 – ]
The public interface of my ISA Server is configured for DHCP. It is in turn attached to a cable modem. The problem that this presents is that the cable provider could change the DNS server addies, and the caching-only DNS server installed on the ISA Server would no longer have correct addresses for its forwarders.
The solution I implemented is to dynamically update the forwarder addie whenever there is a lease expiration on the public interface. I achieve this using two tools. The first tool is William Levra-Juillet’ s DirectUpdate. The second app is a custom C# app that I wrote.
DirectUpdate serves two functions. First and formost, it updates dyndns.org with the public IP addie of the ISA Server. The second responsibility that it has it launch my custom app. DirectUpdate has the ability to start a script/console app when it detects a change. Therefore, I have directed it to call my app.
The function my app has it update the DNS forwarder addies with the ones assigned from the cable provider. The is achieved utilizing WMI (which is Microsoft’s implementation of WBEM). The app first loops through each interface on the ISA Server until it reached the interface that is configured for DHCP. Then it reads the DNS addies from the interface. The second step is to again use WMI to connect to the DNS server running locally and update its forwarder addies.
My custom app can be found here, along with some setup info.
[Listening to: 05-ritual-nous sommes du soleil.mp3 ]
Goto DevExpress and download the free XtraNavBar Suite. This thing is H00K3D UP! For one, you can change the style from Windows XP Explorer to a myriad of MS Office styles. Also has a VS.NET look available too. Now, what are you waiting for?