Wednesday 31 August 2016

ASP(MVC)

Introduction to Web Application Development using


ASP.NET MVC


Web applications have revolutionized the way business is conducted. These applications enable organizations to share and access information from anywhere, anytime. This has majorly moved the focus of application development from desktop applications to Web applications. Today, one of the most popular server-side technologies used for developing Web applications is ASP.NET.

This chapter introduces the basics of Web application development. It also discusses the layers, architecture, and different ways of scripting a Web application. In addition, it discusses the different types of Web development platforms and explains the ASP.NET MVC platform in detail.

Objectives


In this chapter, you will learn to:

  • Identify the basics of Web application development
  • Explore ASP.NET

Introduction to Web Application Development


Among all technologies, the Internet has been the fastest growing technology. Ever since its inception, the Internet has evolved exponentially. In the recent years, it has changed the way business is conducted.

Prior to the evolution of the Internet, organizations could deliver only limited information to their prospective clients by using the existing communication media. However, with the inception of the Internet, organizations found a new medium to reach a larger range of people, irrespective of their geographical locations. Therefore, organizations increasingly became dependent on the Internet for sharing and accessing information. This resulted in changing the focus of application development from desktop applications to Web applications.


Defining Web Applications



Web applications are programs that are executed on a Web server and accessed from a Web browser. These applications enable organizations to share and access information on the Internet and corporate intranets. This information can be accessed from anywhere, anytime. In addition, Web applications can support online commercial transactions, popularly known as e-commerce. An online store accessed through a Web browser is an example of a Web application.

The following figure shows the working of a Web application.



 In the preceding figure, a client sends a request for a resource, such as a Web page or a video, on the Internet. The Web server interprets the client request and determines the type of resource requested by the client. If the required resource is found, the Web server sends the resource to the client. Otherwise, an error message is sent to the client.










Sunday 28 August 2016

C#


Introduction to C#


A computer needs a set of instructions called a program to perform any operation. A program needs to be written in a specific language called programming language, so that the computer can understand the instructions. C# is one such programming language.

This chapter introduces you to C#. It explains how to define classes and declare variables in C#. In addition, it discusses how to create the object of a class. Further, it discusses how to write and execute C# programs.

Objectives


In this chapter, you will learn to:

  •    Identify C# basics
  •    Declare variables
  •    Write and execute C# programs

Introducing C#


Computer languages have come a long way since the 1940s. During that period, scientists punched instructions into large, room-sized computer systems. These instructions were given in machine language, which consisted of a long series of zeroes and ones. These machine language instructions were executed directly by the CPU. The machine language is called the First Generation of computer languages.

The 1950s saw the emergence of the Second Generation of computer languages, the assembly language. Assembly language is easier to write than machine language but still extremely complicated for a common man. However, the computer could still understand only machine language. Therefore, the Assembler software was developed to translate the code written in assembly language into machine language.

In 1967, Martin Richard developed a language called BPCL for writing operating systems. An operating system is a set of programs that manages the resources of a computer and its interactions with users. The era of the Third Generation of computer languages had arrived. In 1970, Ken Thompson modified BPCL to create a new language called B. While working for Bell Laboratories, Thompson teamed up with Dennis Ritchie and wrote an initial version of the Unix operating system for a DEC PDP-7 computer.