ASP.NET MVC vs ASP.NET?

Both ASP.NET webforms and MVC  are microsoft technologies available for building dynamic web pages.  The following are the reasons why one should you prefer one technology over the other.

Why MVC ?
1) Lightweight and fast : The  ASP.NET is the event driven approach that strongly binds your UI with the server side event handelling. Whereas in case of MVC, the UI and the server side logic are decoupled and makes them independent entities. Also, MVC got rid of one of the state management techniques called viewstate, that makes the asp .net pages bulky and takes time to load the controls.
2) Highly customisable due to rich support of HTML, CSS, Javascript, AJAX and JQuery : If you look at your design files of MVC, they are plain HTML controls with very server side HTML helpers that will again present the web pages with clean DOM unlike  ASP.NET webforms that generate complex html tags while presenting the webpages to the user.
3) Highly modular with clean url support: Clean URL is something very native to MVC pattern, because the route engine process the URLs directly in case of mvc (default format is domain_name/controller_name/action_name/additional_parameters) whereas in webforms the request will try to look for the equivalent aspx page and the url will look too long and unorganized in most of the cases.
4) SEO: As I told you before the mvc webpages will present a very meaningful webpage with clean url that make sense not only to the users but also for the search engines to index your websites. So obviously your websites will be prefered by google or other search engines whenever some one looks for information relevant to your business, that will result in more hits and more business.

Why ASP.NET (Webforms)?
1) Legacy : Being a pioneer technology, we have a lot of applications built in ASP.NET already and it is practically difficult to invest a lot of money for rewriting those applications in mvc. So the enhancements to the existing system will preferably be written in the same software stack, instead writing them on something new.
2) Availability of skill pool: We have a huge skill pool of  ASP.NET developers as it is there for quiet a long time and MVC is comparitively very young technology. So if your project has minimal time to train the resources, going with a familiar software stack is preferable.
3) Not so many dependent technical skills: If you say that you are good in MVC, you are expected to be equally good in HTML5,javascript,JQuery and CSS along with C#.
4) Continuous support from microsoft: Microsoft is providing dedicated support for ASP.NET and continuously investing in R&D to make it better. One of the few significant steps of it is vNext that is aimed at making it lightweight.

What is the difference between ASP.NET MVC and ASP.NET?

What are 3-tier and 2-tier architectures in .net?

Answer by Sharmilli Priyadarsini:

3-tier architecture and 2-tier architecture is not something restricted to .NET. These are architectural designs meant for sharing the load of the servers by hosting the tiers in multiple servers.

In case of 2-tier architecture, there will be an application tier and a data tier. The conventional window application that has the client application installed in your local computers and communicate with a centralised database located in some other machine is a good example for two tier architecture.

In case of 3-tier architecture, we usually have an application tier, business tier and a data tier. The application/presentation tier will have the UI related components like web pages and client interfaces. The Business tier will have all the business logics and the Data tier will have the database.

The communication between the tiers will happen in such a way that a reference to the tier will be added to another tier in order to create the objects of classes in other layer and access the members. In case of 3 tier architecture, presentation and data tier will not be able to bypass the intermediate business tier.

What are 3-tier and 2-tier architectures in .net?

How is the work culture at Hexaware Technologies in India?

Answer by Sharmilli Priyadarsini:

I am working for Hexaware for almost 3.5 years now. One of the good things about Hexaware is, it is an equal opportunity employer with over 30% of women employees. You can find a good mix of culture at Hexaware as it recruits people across cities in India and other parts of the world. Though Hexaware is headquartered in Mumbai, above 60% of the strength is posted in Chennai Siruseri office. Hexaware has its development centers in Chennai, Mumbai, Bangalore, Pune, Mexico and Atlanta. You can find a good number of sales offices across the globe. Hexaware had its top management change recently after being taken over by the Baring Private Equity Asia. Your career growth and learning is purely depending upon the projects you are placed. In my case I am very much fortunate that I got wonderful opportunities. Hexaware has its own training wing called, "Hexavarsity" that offers technical and soft-skill trainings for employees across the grades. Usually the eligibility for every promotion is once in 2 years, though there are exceptions in the rule for the exceptional performers. Recently the Performance appraisal process is linked with the training programs to ensure the necessary skill enhancement happens before a resource is promoted to the next grade. The appraisal cycles had been little irregular for the past two years, but our CEO has promised to regulate it from this year.Getting  an onsite opportunity and Visa processing has a lot of competition just like most other companies. Along with weekend offs, you will get two paid leaves getting added to your leave balance every month (2*12=24 ELs in a year), no casual leaves and sick leaves. Hexawarians celebrates the festivals together, we have a group called "Funsters" that organises celebrations for Independence day, Diwali, Pongal, Pooja, Onam, Holi, Women's day, men's day etc. There will be a lot of team building activities happening throughout the year. Even though I am planning to pursue other opportunities outside Hexaware, this place is very close to my heart.

How is the work culture at Hexaware Technologies in India?

Why are management principles not followed in agriculture?

Answer by Sharmilli Priyadarsini:

Science and technology has done enough damages to agriculture and human health already, with inorganic fertilizers, genetically engineered crops and poultry, hybrid crops etc. We are still greedy to increase production by bringing the Engineering practices to agriculture amidst the fact that agricultural lands are destroyed due to the lack of the conditions to cultivate like unavailability of labour, lands turning barren, urbanization, poverty, water scarcity. Agriculture is an act of farming and Engineering is an act of building, the earth has been already facing the aftermaths of genetically engineered organic products.

Replying the edited question, If I understand right, your intention is to promote the management principles in agriculture to increase the production to meet the rising demands. Most agriculturists follow a set of proven strategies meticulously. They also revise their strategies periodically, implement risk management, get trained, provide employee benefits.

Strategies: They know when to sow to get the best harvest, They know what to cultivate in any season. They follow crop rotation to preserve the nutrients of the soil. In fact, they pay the salaries to the labourers in timely manner, even give periodic hikes and performance based benefits to encourage and retain them. They do provide loans and joining bonus (the so called “employee benefits”). Actually corporates do have a lot of things to learn from them on talent retention.

Risk Management: Who can do this better than agriculturists, If they have a labour problem to manage a portion of their land, they will outsource farming to someone who is capable of. If the monsoons fail, they look for alternative water sources like groundwater pumping, wells etc for irrigation.

Training: Do you know agriculturists get period training from the government of India on increasing the yield of the crops, preventing the diseases, educating on the soil nutrients and fertilizers etc and also introduces the new varieties of seeds and rotational crops suitable to the climatic conditions. Most importantly, they are educated on the machinery and tools that eases the work of the landlords that also cuts down the agricultural jobs. Governments do provide a fraction of investment as a subsidy and/or loan to the agriculturist for buying the devices but the problem is small farmers cannot afford to repay the loans due to poor returns.

Having heard enough of mass farmer suicides, government never cancelled the bank loans of dying poor farmers whereas it has been showing a lethargy on the “Big-Billion-Businessmen” who have committed frauds on large scale. The farmers do not need management practices, they also do not need corporate intervention in agriculture, that only will affect the livelihood of farmers sooner or later. All they need is enough awareness on the government schemes and support from the government.

Why do the management principles not followed  in agriculture?

When would I use = vs == in programming?

Answering a programming beginner.

Answer by Sharmilli Priyadarsini:

= is an assignment operator, we use a "equal to" symbol whenever we want to assign right hand side RHS value to the left hand side LHS.
E.g:
int a = 1;

// the value 1 is assigned to the variable "a", whenever you use "a" it automatically takes the value of "a" as 1 as long as it is not modified to some other value within the scope of the variable.

== is a logical operator, that you usually use while checking the left
hand side LHS is exactly equal to right hand side RHS. The other logical operators are < Less than ,> greater than,<= less than or equal to ,>= greater than or equal to ,!= not equal to. The output of logical operator is always true or false. You will be using this operator in condition statements like if and ternary operators uses both = and ==.
E.g:

int a=1;
int b= 2;
int c= 1;

//Conditional operator returning true or false uses ==

if(a==c){

//true since value of a and c are equal ie 1.

a=b;// assignment operator uses =, now value of b is assigned to a, so value of "a" is equal to 2.

}

//ternary operators also uses == to check for true or false, followed by assigning the  values to LHS from true section if condition in == satisfies, otherwise assign the false section to LHS.

// now a,b are equal with the value 2 and value of c is 1

c= a==c?c:b;

// The above is a ternary statement, first it checks if value of a is equal to c, if it is equal then c remains same, otherwise b overwrites the value of c.

//  Now a,b,c are all equal with the value 2

When would I use = vs == in programming?

Do you think Indians need social media civic sense?

Answer by Sharmilli Priyadarsini:

Before answering this, I am afraid there is a high degree of generalization in this question doubting the social media ethics and civic sense of all Indians. We cannot forget the role played by Indians in the social media in recent few years that has resulted in miraculous political changes across the country. Not to forget the 2014 parliamentary elections and its results, the protest against corruption to pass the lokpal bill, Kejriwal became the Chief Minister of Delhi, Student strike in tamilnadu against the killing of Sri Lankan tamils that stunned the educational institutions for days, all thanks to the social media and to the political awareness of the people who are watching the happenings of the country closely.

Criticizing politicians is nothing new to the people of India and we enjoy talking politics as much as we enjoy watching cricket. Yes, I agree with the fact that the people are behaving cheaply against the politicians they do not like. But our great politicians are not any lesser and they are very much good at taking filthy revenges instead fulfilling the pre-election promises.The arrest of 2 young girls in Maharashtra as a result of their Anti-Thackeray facebook status and the arrest of professor Ambikesh Mahapatra for having forwarded a cartoon about West Bengal CM Mamata Banerjee are few examples of the lowly acts by the politicians.

We still have the cybercrime laws enact and actions have been taken against cyber bullying. One such example is the arrest of a professor in Chennai based on a harassment complaint reported by the south indian singer Chinmayi(Chennai professor arrested for tweets about singer Chinmayi).

Nobody is against being ethical or behaving civilized. Everyone welcomes common sense. All we are afraid of is the misuse of laws against the innocent. Lets us not appreciate the internet censorship as it would take away the right to press and freedom of speech and expression, Instead educate the people and kids to behave cultured.

Do you think Indians need social media civic sense?

What’s it like to live in Thiruvananthapuram?

Answer by Sharmilli Priyadarsini:

Trivandrum is a place that is very well painted by nature that you have got a lot of tourist places to visit like the famous Padmanabhaswamy temple, Kovalam beach, Ponmudi hills, veli tourist village, Shangumugham beach, well maintained trivandrum zoo, Neyyar dam etc. Rainfall is prominent here with moderate climate.

In terms of transportation, roads are considerably good. Government busses are connecting the city very well. Auto rickshaws and taxis are little expensive, sometimes they demand double the charge, especially when you want to travel from the bus stand to kazhakootam(IT hub of trivandrum).

The cost of living is very less compared to the other cities. You do not have too many shopping malls to spend money lavishly. Accommodation is cheaper if you go for paying guests or hostels. Being a tourist spot, hotels are costly compared to the service provided. Overall, its a good place to save money.

There are very few foreign fast food outlets. You can find KFC restaurant in QRS mall, if you are a big fan of it. In the tourism centers, you can see dual price tags for food, one for the locals and the other for the tourists which is usually very costly. This place is a feast for non-vegetarian lovers and those who love keralite cuisine.

What's it like to live in Thiruvananthapuram?