Monday, July 8, 2019

Travel world's most beautiful country Seychelles without visa. Know entry requirements.

 

Seychelles: Heaven in the world

Seychelles is an archipelago country that consists of 115 islands in the Indian Ocean. It is an East African country. It's home to numerous beaches, coral reefs and nature reserves, as well as rare animals such as giant Aldabra tortoises. Mahe, a hub for visiting the other islands, is home to capital Victoria. It also has the mountain rainforests of Morne Seychellois National Park and beaches, including Beau Vallon and Anse Takamaka.

Visitors traveling to Seychelles

Seychelles is a visa-free country which means that there are no visa requirements for any persons wishing to travel. Although a visa is not required to enter Seychelles, visitors should nevertheless have in their possession a valid passport or other travel documents recognized by the government of Seychelles in order to gain entry. The passport must be valid for the period of the intended stay until arrival back in the holder’s country of origin or residence.

Entry Requirements:

A permit to enter will be issued on arrival for a stay of up to 90 days. A visitor’s permit is issued on arrival in Seychelles to travelers visiting for the purposes of holiday, business, visiting friends or family and who also meet the following criteria:
  • Hold a passport valid at least 6 months on entry with one blank visa page
  • Is not a prohibited immigrant
  • Hold proof of sufficient funds for the duration of stay (minimum of US$150 or equivalent per day)
  • Hold proof of valid return airline ticket or ticket for onward travel for the duration of the visit
  • Hold documents showing proof of purpose of trip
  • Has confirmed accommodation document or hotel booking document for the duration of stay
  • Invitation letter if staying with friends or relatives
  • Has valid vaccination card for Yellow Fever, if traveling from a yellow fever endemic country
  • Is not a holder of a valid permit which entitles the holder to have reside in Seychelles
  • Confirm with their airline that boarding will be permitted without a visa as these conditions are subject to change



Thursday, July 4, 2019

Extension method for Convert DataTable to List


Add the following static method to static class:

        public static DataTable ToDataTable<T>(List<T> items)
        {
            DataTable dataTable = new DataTable(typeof(T).Name);
            //Get all the properties
            PropertyInfo[] Props = typeof(T).GetProperties(BindingFlags.Public | BindingFlags.Instance);
            foreach (PropertyInfo prop in Props)
            {
                //Setting column names as Property names
                dataTable.Columns.Add(prop.Name);
            }
            foreach (T item in items)
            {
                var values = new object[Props.Length];
                for (int i = 0; i < Props.Length; i++)
                {
                    //inserting property values to datatable rows
                    values[i] = Props[i].GetValue(item, null);
                }
                dataTable.Rows.Add(values);
            }
            //put a breakpoint here and check datatable
            return dataTable;
        }

Wednesday, July 3, 2019

What is Cloud computing? What are the types of cloud computing?






What is Cloud computing
  • Uses Internet technologies to offer scalable and  elastic services. The term “elastic computing” refers to the ability of dynamically acquiring computing resources and  supporting a variable workload.
  • The resources used for these services can be metered and the users can be charged only for the resources they used.
  • The maintenance and security are ensured by service providers.
  • The service providers can operate more efficiently due to specialization and centralization.
  • Lower costs for the cloud service provider are past to the cloud users.
  • Data is stored: ¨closer to the site where it is used. ¨ in a device and in a  location-independent manner.
  • The data storage strategy can increase reliability, as well as security, and can lower communication costs.

Types of clouds
  • Public Cloud - the infrastructure is made available to the general public or a large industry group and is owned by the organization selling cloud services.
  • Private Cloud – the infrastructure is operated solely for an organization.
  • Community Cloud - the infrastructure is shared by several organizations and supports a community that has shared concerns.
  • Hybrid Cloud - composition of two or more clouds (public, private, or community) as unique entities but bound by standardized technology that enables data and application portability.