November 2009 Entries

Locating your MediaElement Video Source File in a Silverlight 3 Control

In this Demo I will show 3 ways to have your web page locate your MediaElement’s video file. I have created a Silverlight 3 application and let it automatically create a web site to host the control. Drag a <MediaElement> onto the UserControl and set its source file attribute. Drag the video file using window explorer and drop it in the root of my Silverlight’s UserControl project. Note the size of this file is about 25mb. I will demo 3 different methods for setting the location so that the...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Hiding Secrets in a Web.Config Section

Sometimes while developing websites on your dev machine you may want to encrypt sections of your web.config to hide user ids, passwords or other secret type stuff. To do this by using a particular directory path, as in a file system hosted website, you can use the ASPNET_REGIIS utility with the –pef switch. If you are using IIS to host your site rather than a website, you can use the ASPNET_REGIIS utility with the –pe switch and a –app switch to point to the virtual directory. Either of these two...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Binding an ASP.NET GridView to a typed dataset

Often we have typed datasets coming back from component methods that we want to bind to a GridView at runtime. There are multiple ways to do this. The first technique is without using an ObjectDataSource, the second one is with an ObjectDataSource. Although with either technique its not to difficult to do the bind, formatting the gridview can be a challenge. I have a small app for a library that keeps track of a library’s membership, books checked out, etc. I have a business component that has a...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

«November»
SunMonTueWedThuFriSat
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345