Posts
  • Deepak's WebLog

    How to get the ProgramFiles folder

    • 1 Comments
    While writing a code, I had a requirement to use the programfiles folder to pull out some files from there. Here is the code to get it: Console.WriteLine(System.Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles));
  • Deepak's WebLog

    Get Apppool Framework version

    • 1 Comments
    I would like to share the following code snippet. This is to get the framework version that is used for a managed applications in the application pool of IIS 7.0 namespace iistest { class Program { static void Main( string [] args...
  • Deepak's WebLog

    Trapping Application's events in Silverlight

    • 1 Comments
    When you create a Silverlight application the App.xaml.cs code behind file has the Application event handlers added for you public App() { this .Startup += this .Application_Startup; this .Exit += this .Application_Exit; this .UnhandledException...
  • Deepak's WebLog

    Dynamic data Wizard 0806 (Preview) for VS SP1

    • 1 Comments
    With Visual Studio 2008 SP1 shipping, Dynamic data wizard (preview) installer for SP1 can be downloaded from Codeplex . To install the Dynamic Data Wizard, follow these steps: Upgrade to Visual Studio 2008 Service Pack 1 . Download Wizard...
  • Deepak's WebLog

    Dynamic creation & binding of Silverlight datagrid.

    • 2 Comments
    For a Silverlight application, I have a requirement to dynamically create datagrid from xml data. Following two samples show the format of xml returned from a webservice. 1. <SqlXml empid=”varchar” deptid=”varchar” empname=”varchar”> <row...
Page 1 of 1 (5 items)