Martin's random and not so random knowledge

My blog about C#, Delphi and Android development

Main menu

Skip to content
  • Inscription
    • ChangeLogDialog
    • WhatsNewDialog
  • Tutorials
  • Feebies
  • About

Category: C#

Freebies time!!! Here are two buttons ready for use

May 7, 2012

I’ve made two buttons for my readers, ready for use in your application or website. A nice blue button and a red button, both in nine patch format. And for the Android users, the archive comes with a hdpi and … Continue reading →

Posted in Android, C#, Delphi, PHP, Tech | Reply

C#: XML UTF8 encoding/streaming problems (trash characters)

February 19, 2012

I was working with ASP.net working on a website. I needed to cache some XML files and later on stream them at request. So I worked on a routine that created the XML files, next I made a handler that … Continue reading →

Posted in C#, Tech | Replies: 2

C# How to add a script reference at runtime

July 16, 2011

Most websites are a mix of html/css and a little javascript. I found myself wanting to dynamicly include or exclude scripts. In this example I’ve created a master page which contains a scriptmanager, the code below is used in the … Continue reading →

Posted in C#, Tech | Replies: 2

C# Store User Id and other information in Context.User.Identity

June 21, 2011

The Dot.net framework offers an excellent authentication function with it’s FormsAuthentication. But there is a small irritating limitation with it’s implementation.   If you are anything like me you do your own authentication and use a user id to specify … Continue reading →

Posted in C#, Tech | Replies: 1

C# Using sessions in a webmethod

June 17, 2011

With all the web 2.0 hype webmethod’s are a key in dynamic build websites.   But what if you want to get access to your session in a webmethod? Well the guy’s at Microsoft have been smart enough to give … Continue reading →

Posted in C#, Tech | Reply

C# Using sessions in a generic handler

June 15, 2011

Generic handlers can be very useful. Default when creating a new handler it will not support the session variable.   To  access the session variable you must specify that the handle requires access to the session variable. Include one of the following interfaces: IRequiresSessionState … Continue reading →

Posted in C#, Tech | Reply

Check out my apps

Android app on Google Play

Subscribe

Google+

Categories

  • Announcements (10)
  • Apps (28)
    • Linear clock (6)
    • Note l!st (10)
    • Wish l!st (12)
  • Design (10)
    • Books (1)
    • Icons (5)
  • Gaming (2)
  • Tech (43)
    • Android (34)
    • C# (6)
    • Delphi (3)
    • PHP (2)
    • SQLite (4)

Home screen widget

Archives

  • May 2013 (1)
  • April 2013 (6)
  • March 2013 (3)
  • February 2013 (2)
  • January 2013 (4)
  • December 2012 (5)
  • November 2012 (8)
  • October 2012 (6)
  • September 2012 (5)
  • August 2012 (5)
  • June 2012 (2)
  • May 2012 (5)
  • April 2012 (7)
  • March 2012 (5)
  • February 2012 (4)
  • January 2012 (4)
  • December 2011 (4)
  • November 2011 (6)
  • August 2011 (1)
  • July 2011 (1)
  • June 2011 (5)

Android blogs

  • Android police
  • Droid app of the day
  • Farhan's Blogs & Portal
  • Grokking Android
  • KP Bird
  • Making Money With Android
  • My life with Android
  • StellarWave
  • Styling Android
  • Widgets for Android

Tags

android app backup blogs bug fix button Change log clock components Database design developers development email feedback file floppy Google Play GUI icons inscription label making money note l!st notes Providers resource retro review share SildeME SQL table templates theme top tip tutorial update version info webserver websites widget Wish l!st Wish list xml
(c) 2011-2012 Martin van Zuilekom
Amazon, the Amazon logo, AmazonSupply, and the AmazonSupply logo are trademarks of Amazon.com, Inc. or its affiliates. Windows is a registered trademark of Microsoft Corporation in the United States and other countries. Google Play and Android are a trademark of Google Inc. Martin van Zuilekom is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com.