DevPinoy.org
A Filipino Developers Community
All Tags » c# (RSS)
   

Browse Blog Posts by Tags

Showing related tags and posts for the Blogs application. See all tags in the site
  • Practical C#9 - Export/Import to and from CSVs & DataTables

    Another one of the ultra handy helper classes I use for exporting and importing CSVs. End users can perform all sorts of bulk web form requests via a simple text/csv file thereby improving a website’s usability. Highlighted are the method signatures. This function however, cannot work in the context...
    Posted to AVCajipe's Blog by avcajipe on 09-22-2009
    Filed under: Filed under: , , ,
  • Practical C#8 - Displaying Timezones

    Writing a truly global application would at times require the developer in displaying the different time zones in plain text format. My previous implementation was to capture the offset in the client and pass this value to a server-side hidden field control which can be read from the server. < script...
    Posted to AVCajipe's Blog by avcajipe on 08-18-2009
    Filed under: Filed under: , ,
  • Practical Javascript 8: Extending Checkboxes

    Input checkboxes can be used for all sorts of selection and deselection activities. They can also become extremely useful when used within a grid for multiple item selection. In this example, checked items (or rather rows) are coloured differently when selected. The colouring happens on the client to...
    Posted to AVCajipe's Blog by avcajipe on 08-03-2009
    Filed under: Filed under: , , , ,
  • DotNet Division Bug?

    Here's an interesting exercise for the day. In Visual Studio 2005/2008, 1. Create a new Console Application. 2. Put in the following code in Main: double x = 5.15; double y = x / 100; Console.WriteLine("y = " + y); 3. Put a breakpoint at the Console.Writeline(..). 4. Press F5 to debug the...
    Posted to alexrazon by alexrazon on 07-15-2009
    Filed under: Filed under: , , , , , ,
  • C# Quirk 1: Pretty Useless Method

    Since asp.net 1.0/1.1, I enjoyed storing my settings in web.config because it’s both fast and convenient. < appSettings > < add key = " activeEnvironment " value = " dev " /> </ appSettings > Reading them is straightforward enough: ConfigurationManager .AppSettings...
    Posted to AVCajipe's Blog by avcajipe on 07-14-2009
    Filed under: Filed under: , , , ,
  • Practical C#9 - Simple Asynchronous Implementations

    2 ways I came up with implementing “fire-and-forget” asynchronous calls: Method 1: using System.Threading; ... //might be binded in a button-click protected void but_click( object sender, eventArgs e) { if ( ThreadPool .QueueUserWorkItem( new WaitCallback (myLongRunningMethod), "abc"...
    Posted to AVCajipe's Blog by avcajipe on 07-11-2009
    Filed under: Filed under: ,
  • Practical C#8 - The Callback Model

    Client Callbacks fascinate me because it works differently from the standard postback of the ASP.NET Model. The MSDN documentation for Client Callbacks : In the default model for ASP.NET Web pages, the user interacts with a page and clicks a button or performs some other action that results in a postback...
    Posted to AVCajipe's Blog by avcajipe on 07-11-2009
    Filed under: Filed under: , , ,
  • Practical C#7 - AjaxControlToolkit Sliders

    I am all over web programming techniques that present both practical function and visual appeal. One of team is the AjaxControlToolkit’s slider . In this project, I needed to get user input in the form of percentage ranges that would represent exam profiency. I needed user input that would be in...
    Posted to AVCajipe's Blog by avcajipe on 07-10-2009
    Filed under: Filed under: , , ,
  • Confessions of an Asp.Net developer

    Confessions of an asp.net developer. 1. I’m just as lazy as the next developer, I want to see something up and running in the first 15 minutes of development. I like code snippets. 2. I like using tables. 3. My css tends to be unorganized and messy. I’m still waiting for an editor than will...
    Posted to AVCajipe's Blog by avcajipe on 07-09-2009
    Filed under: Filed under: , , ,
  • Practical C# 4: Getters and setters get faster with .net 3.5

    I used to write basic class property implementations this way. This was boring and repetitive. Style 1: public class CaseDetails { public CaseDetails() { } private string _impact = "" ; private string _capacity = "" ; public string impact { get { return _impact; } set { _impact =...
    Posted to AVCajipe's Blog by avcajipe on 06-19-2009
    Filed under: Filed under:
  • Practical C# 3: Programmatic Caching

    Caching is the process of storing frequently used data on the server to fulfill subsequent requests. Grabbing objects from memory is always much faster than re-creating the web pages or items contained in them from scratch each time they are requested. Caching increases performance, scalability and availability...
    Posted to AVCajipe's Blog by avcajipe on 06-19-2009
    Filed under: Filed under: , ,
  • IronRuby presentation slides and demo code

    I have posted the presentation slides (in both PowerPoint 2007 and OpenDocument Presentation formats) and demo code here: [EDIT: added link to SlideShare copy] Presentation slides, PowerPoint 2007 format , OpenDocument Presentation format or view online on SlideShare Demo code (zipped) IronRuby is probably...
    Posted to cruizer by cruizer on 05-24-2009
    Filed under: Filed under: , , , , , , , , , , ,
  • Practical C# 2: Get that spiel (again)

    In my last post , I was asked what was my motivation in my implementation over resource files. To be honest I have none other than the fact that this is just my blog, not a definitive source of authority. With that, here’s a separate implementation using resource files . I added a resource file...
    Posted to AVCajipe's Blog by avcajipe on 05-10-2009
    Filed under: Filed under: , , ,
  • Practical C# 1: Get that spiel

    Spiels, they’re spread throughout your application. They’re used for giving user feedback anywhere during the application’s workflow. A spiel is a business term referring to a system generated plain text response to end users in typical programmer jargon. They’re confirmation...
    Posted to AVCajipe's Blog by avcajipe on 04-30-2009
    Filed under: Filed under: , , ,
  • LINQ and db4o

    I failed to mention in my previous post that db4o also supports LINQ for executing queries against an object database. In order to avail of this feature, a reference should be added to the Db4objects.Db4o.Linq.dll and you need to specify " using Db4objects.Db4o.Linq; " in your code. Our previous...
    Posted to cruizer by cruizer on 04-24-2009
    Filed under: Filed under: , , , ,
Page 1 of 7 (100 items) 1 2 3 4 5 Next > ... Last »

Copyright DevPinoy 2005-2008