Google+

Friday, October 14, 2011

HTTP Vs HTTPS


HTTP stands for Hyper Text Transfer Protocol and HTTPS stands for Hyper Text Transfer Protocol secure
There are more Internet scams than ever, So be careful about entering your credit card number on any websites or be aware of doing any online transactions, My suggestion to you is whenever you visit a website or webpage, look at the address bar in the web address, it will likely begin with the following “http://” or “https://”. If there is HTTP then it means the website is talking to your browser is using the regular unsecure language, But if the address begins with “https://” this means the website is talking to your browser in a secure code that no one can eavesdrop on the conversation between your computer and the webpage.


HTTPS (Hypertext Transfer Protocol over Secure Socket Layer) is a protocol that is encrypted by Netscape and built-in Web browser, and decrypts user and the pages that are returned by the web server, developed. HTTPS is actually the use of Netscape Socket Layer (SSL) as a sub-layer under its regular HTTP request layer. (HTTPS uses port 443 instead of HTTP port 80 on their interactions with the lower layer, TCP / IP). SSL uses a key size of 40-bit RC4 stream algorithm, the new era of 128 bits is the size of the major browsers more secure than the previous one, and is an appropriate level of encryption for commercial exchange. HTTPS usually in the login-page, shopping / commercial area and mostly only corporate giants uses it.


HTTP  HTTPS
HTTP or Hyper Text Transfer Protocol HTTPS stands for Hyper Text Transfer Protocol Secure
For Communications it uses   Port 80 For Communications it uses Port 443
Its Unsecured Secured
Uses Application layer in OSI Model Uses Transport Layer in OSI Model
There is no Certificates There is Certificates
URL starts with “http://” URL starts with “https://”
Costs less for setup Costs More for setup
dangerous for  money transaction, coz there is no security More security, and it safer to enter your credit card numbers
For normal use For Corporate use
It’s fast It’s Slow

Sunday, October 9, 2011

Direct Download Links for Android SDK Package

I thought some of you would like this as some have had issues with downloading through the SDK software...


Windows

USB DRIVERS
http://dl.google.com/android/repository/usb_driver_r03-windows.zip

PLATFORM 1.1 REVISION 1
http://dl.google.com/android/repository/android-1.1_r1-windows.zip

PLATFORM 1.5 REVISION 4
http://dl.google.com/android/repository/android-1.5_r04-windows.zip

PLATFORM 1.6 REVISION 3
http://dl.google.com/android/repository/android-1.6_r03-windows.zip

PLATFORM 2.0 REVISION 1
http://dl.google.com/android/repository/android-2.0_r01-windows.zip

PLATFORM 2.0.1 REVISION 1
http://dl.google.com/android/repository/android-2.0.1_r01-windows.zip

PLATFORM 2.1 REVISION 2
http://dl.google.com/android/repository/android-2.1_r02-windows.zip

PLATFORM 2.2 REVISION 2
http://dl.google.com/android/repository/android-2.2_r02-windows.zip

SDK TOOLS REVISION 6
http://dl.google.com/android/repository/tools_r06-windows.zip


Mac

PLATFORM 1.1 REVISION 1
http://dl.google.com/android/repository/android-1.1_r1-macosx.zip

PLATFORM 1.5 REVISION 4
http://dl.google.com/android/repository/android-1.5_r04-macosx.zip

PLATFORM 1.6 REVISION 3
http://dl.google.com/android/repository/android-1.6_r03-macosx.zip

PLATFORM 2.0 REVISION 1
http://dl.google.com/android/repository/android-2.0_r01-macosx.zip

PLATFORM 2.0.1 REVISION 1
http://dl.google.com/android/repository/android-2.0.1_r01-macosx.zip

PLATFORM 2.1 REVISION 2
http://dl.google.com/android/repository/android-2.1_r02-macosx.zip

PLATFORM 2.2 REVISION 2
http://dl.google.com/android/repository/android-2.2_r02-macosx.zip

SDK TOOLS REVISION 6
http://dl.google.com/android/repository/tools_r06-macosx.zip


Linux

PLATFORM 1.1 REVISION 1
http://dl.google.com/android/repository/android-1.1_r1-linux.zip

PLATFORM 1.5 REVISION 4
http://dl.google.com/android/repository/android-1.5_r04-linux.zip

PLATFORM 1.6 REVISION 3
http://dl.google.com/android/repository/android-1.6_r03-linux.zip

PLATFORM 2.0 REVISION 1
http://dl.google.com/android/repository/android-2.0_r01-linux.zip

PLATFORM 2.0.1 REVISION 1
http://dl.google.com/android/repository/android-2.0.1_r01-linux.zip

PLATFORM 2.1 REVISION 2
http://dl.google.com/android/repository/android-2.1_r02-linux.zip

PLATFORM 2.2 REVISION 2
http://dl.google.com/android/repository/android-2.2_r02-linux.zip

SDK TOOLS REVISION 6
http://dl.google.com/android/repository/tools_r06-linux.zip



Google API's

http://dl.google.com/android/repository/google_apis-3-r03.zip

http://dl.google.com/android/repository/google_apis-4_r02.zip

http://dl.google.com/android/repository/google_apis-5_r01.zip

http://dl.google.com/android/repository/google_apis-6_r01.zip

http://dl.google.com/android/repository/google_apis-7_r01.zip

http://dl.google.com/android/repository/google_apis-8_r02.zip



Note:-Please comment and reply me.

What is the difference between GridView, ListView and Repeater

GridView :-

 It supports paging   , update /deletion operation and sorting functionality but it does not support insert functionality .

ListView :-

It has functionality of paging , updating , deleting , sorting . It also have functionality of inserting.

Repeater :-

It does not functionality of paging , sorting , inserting, deletion , updating . It is entirely template driven . very light weight . No built in functiobality like Header , Footer. 

No addition/edit can be done should be used where a repeating unit is to be shown.


Note:-Please comment and reply me.

Sunday, September 11, 2011

Convert generic list to dataset in C#


 public static DataSet ToDataSet<T>(this IList<T> list)
    {
        Type elementType = typeof(T);
        DataSet ds = new DataSet();
        DataTable t = new DataTable();
        ds.Tables.Add(t);

        //add a column to table for each public property on T
        foreach (var propInfo in elementType.GetProperties())
        {
            Type ColType = Nullable.GetUnderlyingType(propInfo.PropertyType) ?? propInfo.PropertyType;

            t.Columns.Add(propInfo.Name, ColType);
        }

        //go through each property on T and add each value to the table
        foreach (T item in list)
        {
            DataRow row = t.NewRow();

            foreach (var propInfo in elementType.GetProperties())
            {
                row[propInfo.Name] = propInfo.GetValue(item, null) ?? DBNull.Value;
            }

            t.Rows.Add(row);
        }

        return ds;
    }


Note:-Please comment and reply me.