Archive for February, 2009

High scalability – How BIG applications works

Check below link to read how bigger applications like Amason, eBay, Flickr, Google etc. lives with high traffic.
http://highscalability.com/links/weblink/24
Interesting website for architects.
VN:F [1.1.6_502]Rating: 2.0/5 (3 votes cast)

Leave a Comment

C# Multiple Watermarking in same image

Inspiration was a question in my kidoos forum. Here is the quick script:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
 
namespace WindowsFormsApplication4
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
 
        private void Form1_Load(object sender, EventArgs e)
        {
            string text = "NinethSense";
 
            Image img = Image.FromFile(@"C:\Users\Public\Pictures\Sample Pictures\Tree.jpg");
 
            WaterMark(text, img);
            img.Save(@"C:\test.jpg");
            img.Dispose();
        }
 
        [...]

Leave a Comment

How Change default browser in Visual Studio 2008

Old but a frequently asked question. Here is the answer:

Right click any .aspx page in solution explorer
Choose “Browse with…”

 
 

From the “Browse With” dialog, select your browser and click “Set Default”

Click Cancel (or Browse).

VN:F [1.1.6_502]Rating: 2.3/5 (3 votes cast)

Leave a Comment

Are you Certifiable?

Ultimate Tech IQ Challenge
Check: www.areyoucertifiable.com
Looking to test your expertise?  If you’re an IT pro or a developer considering certification, or if you simply want to sharpen your skills, then you may be interested in checking out “Are You Certifiable?”, a new online game from Microsoft and Fuel Industries.
VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

Published WebDataGrid article in CodeProject

Well posted new article regarding Infragistics WebDataGrid to CodeProject and Kidoos. Her are the links:

http://www.codeproject.com/KB/aspnet/ig_persist_selections.aspx
http://kidoos.net/content/PersistselectionsInfragisticsGridpaging.aspx

VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

Persist selections on Infragistics WebDataGrid paging

Applies to:
Infragistics NetAdvantage .NET CLR 3.x
Assembly: Infragistics35.Web.v8.3
Runtime Version: v2.0.50727
Version: 8.3.20083.2039
Visual Studio 2008
ASP.NET 3.5, C#
 
Infragistics components helps us to develop stylish applications with nice functionalities. But still requirements are very wide and sometimes we will not get what we need. In that times, we will need to implement our own ways to fulfill the requirements.
We cannot [...]

Leave a Comment

SQL IN clause in LINQ

There is no direct IN equivalent in linq. Instead you can use Contains() or any other trick to implement the same. Here is a sample using .Conains():

string[] s = new string[5];
s[0] = "34";
s[1] = "12";
s[2] = "55";
s[3] = "4";
s[4] = "61";
 
var result1 = from d in context.TableName
[...]

Leave a Comment

VS is configuring the env. for first time user???

Hmmm I was working on a project with Visual Studio till 11:00pm yesterday and now it says I am using this for first time?
Not sure what is going on. I did not install any updates and automatic update is not yet switched on.
News Update:
Well, forcibly ended program using Windows Task Manager and restarted Visual [...]

Leave a Comment

Are Indian Software Developers “Code Donkeys”?

Developers from India, sorry to say, are what I call “Code Donkeys”. They do crud, boring, repetitive nothing innovative business applications and in many occasions they need blue prints and directions on how to start

An interesting blog here.
VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

What is Service Broker?

Well, not a new thing. Service Broker is a feature which was introduced in Microsoft SQL Server 2005.
The basic idea is simply "messaging". This feature makes a platform for communication that enables distributed applications (components) function as whole.
Service Broker allows asynchronous programming.
Here are useful links:

http://msdn.microsoft.com/en-us/library/ms166043(SQL.90).aspx
http://www.developer.com/db/article.php/3640771

VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment