Blog Home  Home Feed your aggregator (RSS 2.0)  
kevin Mocha - Monday, April 09, 2007
Bookmarks collected from web.
 
 Monday, April 09, 2007

Web 2.0 affirms that you can develop a better application, faster, with a handful of developers who know
what they are doing. Conversely, nine mothers cannot make a baby in one month.

The most popular mashups and remixes follow a similar pattern. For example, Google Maps (which
kick-started the rich browser application movement) was developed by a very small company in
approximately two weeks. Productivity and, consequently, business impact is so high because developers
have the tools they need on hand, and because, at the end of the day, the developers know what
they’re doing.

Amazon as a company has adopted the Web 2.0 line of thinking with open arms. Having weathered the
dot-com bubble
, it has its sights fixed firmly on the future, and is making great strides toward defining
the direction of its company and, to some degree, the Internet itself.

Amazon allows customers to review products, tag and categorize them, rate products, and even rate
product reviews by other customers.

The Web is alive and well and more compelling than ever. I once sat in a conference room where one
CEO likened the creation of the Internet to the discovery of fire. Now, even with my best propeller hat
firmly in place, I think fire was a little more significant. Nevertheless, there is a wealth of opportunity on
the Web for developers and business people alike.

Monday, April 09, 2007 9:06:35 PM UTC  #    Comments [0]    |  Trackback
 Saturday, April 07, 2007

http://msdn2.microsoft.com/en-us/library/ms178116.aspx

ApplicationPath

Gets the root path of the current application, regardless of where in the application you request it. For the example, the property returns the following: /

CurrentExecutionFilePath

Gets the virtual path of the current request. Differs from the FilePath property in that CurrentExecutionFilePath is correct if the request has been redirected in server code. For the example, the property returns the following: /MyApplication/MyPages/Default.aspx

If you get the property in code that is running as a result of a call to Transfer or Execute, the path reflects the location of the code.

FilePath

Gets the virtual path of the current request. For the example, the property returns the following: /MyApplication/MyPages/Default.aspx

Unlike the CurrentExecutionFilePath property, FilePath does not reflect server-side transfers.

Path

Gets the virtual path of the current request. For the example, the property returns the following: /MyApplication/MyPages/default.aspx

PhysicalApplicationPath

Gets the physical file system path of the currently executing application's root directory. For the example, the property returns the following: C:\inetpub\wwwroot\

PhysicalPath

Gets the physical file-system path that corresponds to the requested URL. For the example, the property returns the following: C:\inetpub\wwwroot\MyApplication\MyPages\default.aspx

Saturday, April 07, 2007 3:30:06 AM UTC  #    Comments [1]    |  Trackback
 Thursday, April 05, 2007

http://en.csharp-online.net/BCL_Generics%E2%80%94S...
using System;
using System.Collections.Generic;
using System.Collections;
using System.Text;

namespace SortedListTest
{
    public class Customer
    {
        private int id;
        private string name;
        private string category;
        public int Id
        {
            get
            {
                return id;
            }
            set
            {
                if (id == value)
                    return;
                id = value;
            }
        }
        public string Name
        {
            get
            {
                return name;
            }
            set
            {
                if (name == value)
                    return;
                name = value;
            }
        }
        public string Category
        {
            get
            {
                return category;
            }
            set
            {
                if (category == value)
                    return;
                category = value;
            }
        }

        /// <summary>
        /// Creates a new instance of customer
        /// </summary>
        /// <param name="id"></param>
        /// <param name="name"></param>
        /// <param name="category"></param>
        public Customer(int id, string name, string category)
        {
            this.id = id;
            this.name = name;
            this.category = category;
        }

        public override string ToString()
        {
            return string.Format("{0}-{1}-{2}", id, name, category);
        }
    }


    class Program
    {
        static void Main(string[] args)
        {
            List<Customer> collCustList =
                new List<Customer>();
            collCustList.Add(new Customer(99,
               "Happy Gillmore", "Platinum"));
            collCustList.Add(new Customer(77,
               "Billy Madison", "Gold"));
            collCustList.Add(new Customer(55,
               "Bobby Boucher", "Gold"));
            collCustList.Add(new Customer(88,
               "Barry Egan", "Platinum"));
            collCustList.Add(new Customer(11,
               "Longfellow Deeds", "Other"));

            Console.Out.WriteLine("Before:");
            foreach (Customer cust in collCustList)
                Console.Out.WriteLine(cust);

            collCustList.Sort
               (delegate(Customer cust1,
               Customer cust2)
            {
                return Comparer<int>.Default.Compare
                   (cust1.Id, cust2.Id);
            });

            Console.Out.WriteLine("After:");
            foreach (Customer cust in collCustList)
                Console.Out.WriteLine(cust);

            collCustList.Reverse();

            Console.Out.WriteLine("Reversed:");
            foreach (Customer cust in collCustList)
                Console.Out.WriteLine(cust);

            Console.In.ReadLine();
        }

   
    }
}
Thursday, April 05, 2007 9:47:57 PM UTC  #    Comments [0]    |  Trackback
 Wednesday, April 04, 2007
 Monday, April 02, 2007
 Friday, March 30, 2007
Friday, March 30, 2007 9:41:16 PM UTC  #    Comments [0]    |  Trackback
 Thursday, March 29, 2007
Thursday, March 29, 2007 10:03:19 PM UTC  #    Comments [0]    |  Trackback
 Wednesday, March 28, 2007

In the configuration file the connection string of MySQL should use ip address as the server address.

In installation package, the error "cannot find specified types" is said to be related with the framework version. But I have no luck of it. The alternation is to divide the installation package to two part. One part install the crystal report merge module, the copy the reportengine service files to the server and use command "installutil" to install the service manually.  When running the service, "Can not find keycodeV2.dll" pops out, the main reason to cause is to assign the invalid code to one of the merge modules. Anyway, here are some useful links I found when diagnosing the problems I got today:

Application Deployment (CR report for VS.Net) http://support.businessobjects.com/

"Cannot find KeycodeV2.dll or invalid keycode" http://technicalsupport.businessobjects.com/

"unable to get installer types"  (no answers can solve my problem)

Wednesday, March 28, 2007 8:35:45 PM UTC  #    Comments [0]    |  Trackback
Copyright © 2009 Kevin Mocha. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.
Pick a theme: