Archive

Archive for October, 2009

Software Architecture Guidance Share

October 29th, 2009 No comments

A good website to bookmark for architects.

URL: http://www.guidanceshare.com/

Purpose for this site is to share the body of guidance in software engineering that I’ve built over the years, while working with customers and experts in the field. While there’s a lot of existing information on software engineering, it can often be difficult to find, understand or use. My hope is that you will benefit from this catalog of principles, patterns and practices. In return, I hope to get feedback and continue to improve the body of knowledge. – J.D. Meier

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: Architecture

Review: Community Tech Day 2009 Trivandrum

October 29th, 2009 No comments

Here goes the photos I took with my new HTC Windows Mobile phone. Sorry for the clarify issues because or 1) lighting in hall and 2) my initial photos with a phone… think I need resolution adjustments.

 

 

Well, the overall program was excellent even though there were some sleepy minutes. Even though there was limitations in time, the event went well. I must tell I enjoyed the sessions of Vinod Kumar and Ramaprasanna Chellamuthu  lot.

 

  • Vinod Kumar in his usual style presented the subject with his usual smile :) . Most of the the sql tricks he presented were not new for me but still they were interesting.
  • The concept of Microsoft Azure was not new, but I had much ‘clouds’ in that subject. Ramaprasanna Chellamuthu almost cleared it and and now I have only development doubts exist. A big hand for the selection of topic.
  • Uday M. Shankar came up with prototyping. It was interesting though. I will do a trial on Microsoft Blend SketchFlow in some day soon. I am still with Enterprise Architect, Visio and some third party prototyping tools.
  • Renuka Alex on Windows Presentation Foundation. Absolutely old topic for me as I am on WPF for a long time now. But the session helped me to refresh the subject. Renuka is a good trainer and that feeling was there throughout the session. Keep it up.
  • Praseed Pai’s presentation was very good even though the topic LINQ was old. It was also interesting.
  • Kiddos to Jairam Ramesh. The topic of security was always interest of me. I think this is the only session I use to laugh. I liked the ‘static’ face of Jairam and way of speaking. Something different really. I expected some tricks on secure coding but may be due to the time limitations, I did not get. Anyway as he said – ‘no code is secure on earth’.
  • Oh, Shoban Kumar – you are again with same old topics :) . Hope you will come up with something new in next events. Yes, your sessions were as good as others. Keep it up.
VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: General

Visual Studio 2008 – WPF Designer not found?

October 28th, 2009 No comments

Some people may face this. Seems some packages failed to load. Just do the trick:

devenv.exe /setup

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: DOTNET

Cloud vs Distributed vs Grid Computing

October 28th, 2009 No comments

Cloud Computing

A computing capability that provides an abstraction between the computing resource and its underlying technical architecture, enabling convenient, on-demand network access to a shared pool of configurable computing resources that can be rapidly provisioned and released with minimal management effort or service provider interaction."

Distributed computing

A distributed system consists of multiple autonomous computers that communicate through a computer network and interact with each other in order to achieve a common goal.

Grid computing

Grid computing is the combination of computer resources from multiple administrative domains applied to a common task, usually to a scientific, technical or business problem that requires a great number of computer processing cycles or the need to process large amounts of data.

Source: wikipedia

VN:F [1.9.18_1163]
Rating: 1.0/5 (1 vote cast)
Categories: Architecture

Windows 7 India! Great expectations!

October 22nd, 2009 No comments

image

The world’s largest software maker Microsoft today launched the ‘Windows 7’ operating system (OS) with a host of tools for multimedia applications for business and retail customers.

Read news here: http://beta.thehindu.com/sci-tech/article37207.ece?homepage=true

Windows 7 home : http://www.microsoft.com/windows/windows-7/

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: News

N2 CMS – Good .NET CMS

October 15th, 2009 No comments

N2CMS is a simple easily extendable CMS. Every ASP.NET web developers must try it. I felt the power only after my first trial.

image

Check: N2 Open Source ASP.NET CMS

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: ASP.NET, News

c# Listbox – change color of items

October 12th, 2009 No comments

Again old theme but seems still people want this. Here is the code for doing this:

 private void Form1_Load(object sender, EventArgs e)
        {
            listBox1.DataSource = new 
		string[] { "asdfljk", "sdfgsdfg", "xcv", "wrwerwer" };
        }
 
        private void listBox1_DrawItem(object sender, DrawItemEventArgs e)
        {
            ListBox lst = (ListBox) sender;
            e.DrawBackground();
            Font fnt = new Font(e.Font, FontStyle.Bold);
 
 
            e.Graphics.DrawString(lst.Items[e.Index].ToString(), 
		fnt,Brushes.Brown, e.Bounds, StringFormat.GenericDefault);
 
            e.DrawFocusRectangle();
        }
VN:F [1.9.18_1163]
Rating: 5.0/5 (1 vote cast)
Categories: C#, Code Snippets

Internet connection system tray notifier

October 9th, 2009 2 comments

Here is a tool for you to check if internet connection available or not. The tool uses below code for connection detection:

Download URL: http://kidoos.net/media/p/598.aspx

private bool IsInternetAvailable()
        {
            bool ret = false;
 
            try
            {
                HttpWebRequest req = (HttpWebRequest)
			HttpWebRequest.Create("http://www.google.com/");
                HttpWebResponse res 
			= (HttpWebResponse)req.GetResponse();
                if (res.StatusCode == HttpStatusCode.OK)
                {
                    ret = true;
                }
                else
                {
                    ret = false;
                }
                res.Close();
            }
            catch
            {
                ret = false;
            }
 
            return ret;
        }
VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: C#, Code Snippets, General

C# CopyFromScreen Animation

October 7th, 2009 No comments

image

Here is a code snippet:

        private void Form1_Load(object sender, EventArgs e)
        {
            this.Show();
            Graphics myGraphics = this.CreateGraphics();
 
            Image memoryImage = new Bitmap(200, 180, myGraphics);
            Graphics memoryGraphics = Graphics.FromImage(memoryImage);
 
            int x = 0;
            int y = 0;
            int v = 1;
            int w = 1;
 
            while (run)
            {
                x += v; y += w;
                if (x >= Screen.PrimaryScreen.WorkingArea.Width - 200 || x <= 0) v = -v;
                if (y >= Screen.PrimaryScreen.WorkingArea.Height - 180 || y <= 0) w = -w;
                memoryGraphics.CopyFromScreen(x, y, 0, 0, new Size(200, 180));
                LinearGradientBrush brush = new LinearGradientBrush(new Rectangle(0, 0, 200, 180), 
			Color.Transparent, Color.Gold, LinearGradientMode.ForwardDiagonal);
                memoryGraphics.FillRectangle(brush, new Rectangle(0, 0, 200, 180));
                Application.DoEvents();
 
                pictureBox1.Image = memoryImage;
            }
        }
VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: C#, Code Snippets

View all projects in a Visual Studio solution

October 7th, 2009 No comments

image

Use this quick tool to view projects in a Visual Studio Solution (.sln file).

Download here: http://kidoos.net/media/p/596.aspx

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: General