You are on page 1of 43

ABSTRACT ALUMNI WEBSITE Introduction:Alumni meet is an endeavor to reunite the people to their roots and to be inspired from our

proud alumni who will be guiding star for future generation. College Alumni site is an integrated web application that handles various academic/non academic activities of a college/institute .The system can be accessed by every student/faculties/employees of the institute with the aid of his/her username and password. Every user will have customized homepage with his /her profile management facilities through the links that displays in the home page; the user can access different options of the website. This website will contain notification about academic and cultural activities which will be going to be held in alumni meet. Here the users will be the faculty and the students (ex-students as well as the commencing student) of the institute. Features: New-students can communicate with ex-student. This site will help the ex-students to be in touch with their college and get updated with activities going in College. User is provided with login and password. Benefits: Student information can be stored. It has user friendly interface. Secured check in, check out & updates. 1

ABOUT CEG CEG stands for CENTER OF ELECTRONICS GOVERNANCE is an autonomous body of the Government of Rajasthan under the Department of Technical Education. Foundation stone of CEG was laid down on 8th December 2006 at Govt. R.C. Khaitan Polytechnic College Campus, Jaipur. The CEG has been established with a sole aim to provide a conductive environment for creating industry employable IT professionals by the way of arranging seminars lecturers, vocational trainings and industry relevant software trainings. The Rajasthan Government's objective in starting the Centre for Electronic Governance (CEG) is to train skilled efficient and employable young engineers to become knowledge workers. Services:

To promote interaction between the Government, Technical Institutes and the Industries. To provide conducive environment for learning by doing in colleges. To promote the dissemination of knowledge fostering the innovative thoughts of the Students. To empower students living in the rural areas so as to bridge the urban - Rural gap. To organize seminars and lectures of eminent professionals and scientists. To produce readily employable graduates by imparting industry grade skills. To produce industry ready IT professionals. To help in updating the Curriculum as per the needs of the Industries. To perform such other functions and to carry out such other duties as the society may deem proper or as may be assigned to it by the State Government from time to time.

Aims & Objectives of CEG: Campus Placement Mission (CPM) Campus Placement Related Skills (CPRS) Graduate Placement Mission (GPM) Training for Students Training for Faculty

Special Programs of CEG: CCNA: 2

The CEG as per the MOU signed with CISCO is the Regional Academy for CCNA. The major responsibilities of Regional Academy are to train the trainers for Local Academy running at various institutes and train the students at CEG. WDP:

The CEG as per the MOU signed with ORACLE is the authorized training centre for OCA & OCP certification Programs. Software Testing:

The CEG as per the MOU signed with QAInfoTech is the authorized training centre for software testing. . It is beneficial for CS/IT students of Rajasthan. They can take training in Rajasthan and make career in software testing. Courses for BPL-SC Students:

The CEG is the major centre for running courses for BPL-SC students which is sponsored by Rajasthan SC & Financial Development Corporation, Jaipur. Collaborating Partners of CEG: CISCO: Career Net Consulting Sun Microsystems India Pvt. Ltd GENPACT BPO, Jaipur Red Hat India Pvt. Ltd Oracle

CHAPTER
.NET TECHNOLOGY 1.1 Introduction of .NET: .NET is a major technology change for Microsoft and the software world. Just like the computer world moved from DOS to Windows, now they are moving to .NET. Dot NET technology was introduced by Microsoft, to catch the market from the SUN Java. Few years back, Microsoft had only VC++ and VB to compete with Java, but Java was catching the market very fast. With the world depending more and more the Internet/Web and java related tools becoming the best choice for the web applications, Microsoft seemed to be losing the battle. Thousands of programmers moved to java from VC++ and VB. This was alarming for Microsoft and many of the Microsoft fans kept on asking "is Microsoft sleeping?" And Microsoft had the answer. One fine morning, they announced: "We are not sleeping. We have the answer for you." And that answer was .NET. But Microsoft has a wonderful history of starting late but catching up quickly. This is true in case of .NET too. Microsoft put their best men at work for a secret project called Next Generation Windows Services (NGWS), under the direct supervision of Mr. Bill Gates. The outcome of the project is what we now know as .NET. Even though .NET has borrowed most of its ideas from Sun's J2EE, it has really outperformed their competitors. It is a platform neutral framework. It is a layer between the operating system and the programming language. It supports many programming languages, including VB.NET, C# etc. .NET provides a common set of class libraries, which can be accessed from any .NET based programming language. There will not be separate set of classes and libraries for each language. If you know any one .NET language, you can write code in any .NET language. In future versions of Windows, .NET will be freely distributed as part of operating system and users will never have to install .NET separately. 4

1.2 Why Microsoft Introduce the .NET Technology? Microsoft's VC++ was a powerful tool. But it was too complex. It has too many data types, and developers had to learn many libraries including Windows SDK, MFC, ATL, COM etc. There were many data type compatibility issues while exchanging data between different layers. Visual Basic was too easy, and many serious programmers hated it just for that reason. Even though Visual basic was very easy to use, it was not very flexible to develop serious applications. SUN Java became a very good choice for these reasons. It had the flexibility and power of C++ and at the same time easy enough to catch the attention of VB programmers. Microsoft recognized these factors and they introduced the .NET considering all these factors. All unwanted complexities are eliminated and a pure object oriented programming model was introduced. This makes programmer's life very easy. .NET framework comes with a single class library. And that all programmers need to learn. Whether they write the code in C# or VB.NET or J#, it doesn't matter, you just use the .NET class library. There is no classes specific to any language. There is nothing more you can do in a language, which you can't do in any other .NET language. You can write code in C# or VB.NET with the same number of lines of code, same performance and same efficiency, because everyone uses same .NET class library. 1.3 Introduction of Visual Studio.NET: Many people always get confused with Visual Studio .NET (VS.NET) and .NET technology. VS.NET is just an editor, provided by Microsoft to help developers write .NET programs easily. VS.NET editor automatically generates lot of code, allow developers to drag and drop controls to a form, provide short cuts to compile and build the application etc. 1.3.1 Visual Studio.NET Editions: Visual Studio.NET comes in different editions. You can select edition appropriate for the kind of development you are doing. Following editions of VS.NET are available: 1. Professional 2. Enterprise Developer 3. Enterprise Architect

Visual Studio.NET Professional edition offers a development tool for creating various types of applications mentioned previously. Developers can use Professional edition to build Internet and Develop applications quickly and create solutions that span any device and integrate with any platform. Visual Studio.NET Enterprise Developer (VSED) edition contains all the features of Professional edition plus has additional capabilities for enterprise development. The features include things such as a collaborative team development, Third party tool integration for building XML Web services and built-in project templates with architectural guidelines and spanning comprehensive project life-cycle. Visual Studio.NET Enterprise Architect (VSEA) edition contains all the features of Visual Studio.NET Enterprise Developer edition and additionally includes capabilities for designing, specifying, and communicating application architecture and functionality. The additional features include Visual designer for XML Web services, Unified Modeling Language (UML) support and enterprise templates for development guidelines and policies. 1.4 Types of .NET Applications: When you hear the name .NET, it gives a feeling that it is something to do only with internet or networked applications. Even though it is true that .NET provides solid foundation for developing such applications it is possible to create many other types of applications. Following list will give you an idea about various types of application that we can develop on .NET. ASP.NET Web applications: These include dynamic and data driven browser based applications. Windows Form based applications: These refer to traditional rich client applications. Console applications: These refer to traditional DOS kind of applications like batch scripts. Component Libraries: This refers to components that typically encapsulate some business logic. Windows Custom Controls: As with traditional ActiveX controls, you can develop your own windows controls. Web Custom Controls: The concept of custom controls can be extended to web applications allowing code reuse and modularization. Web services: They are web callable functionality available via industry standards like HTTP, XML and SOAP. 6

Windows Services: They refer to applications that run as services in the background. They can be configured to start automatically when the system boots up.

.NET is not just for creating web application but for almost all kinds of applications that we find under Windows.

CHAPTER
.NET FRAMEWORK AND .NET FEATURES 2.1 .NET Framework: The .NET Framework is a new and revolutionary platform created by Microsoft for developing applications. It is a platform for application developers. It is a Framework that supports Multiple Language and Cross language integration. It has IDE (Integrated Development Environment). Framework is a set of utilities or can say building blocks of your application system. .NET Framework provides GUI in a GUI manner. .NET is a platform independent but with help of Mono Compilation System (MCS). MCS is a middle level interface. .NET Framework provides interoperability between languages i.e. Common Type System (CTS). .NET Framework also includes the .NET Common Language Runtime (CLR), which is responsible for maintaining the execution of all applications developed using the .NET library. The .NET Framework consists primarily of a gigantic library of code. .NET Framework includes no restriction on the type of applications that are possible. The .NET Framework allows the creation of Windows applications, Web applications, Web services, and lot more. The .NET Framework has been designed so that it can be used from any language, including C#, C++, Visual Basic, Jscript, and even older languages such as COBOL.

Fig. 2.1: .NET Framework and Visual Studio.NET The .NET framework provides the foundation for developing, deploying and running Web Services and .NET-based applications. It is a standards-based, multi-language application execution environment that provides the necessary compile-time and run time basis for building and running these Web Services and .NET-based applications. The following paragraphs describe the major components of the .NET Framework. 2.1.1 Common Language Runtime (CLR): The CLR executes programs compiled from any Microsoft .NET compiled language. It is a controlled execution environment that not only compiles and runs code, but also displays bugs and handles runtime services such as language integration, security and memory management.

Fig. 2.2: Common Language Runtime In addition, the CLR also provides the mechanism for sharing code between systems. This minimizes conflicts between applications by enabling incompatible software components to coexist. Multiple versions of program libraries can co-exist on one machine as a result, thereby preventing what is commonly known as DLL hell. .NET applications are compiled and built on one platform. The bulk of the functions performed by the CLR are done transparently, thereby simplifying the work of IT administrators. The CLR is sometimes referred to as a managed environment. The code executed and managed by the CLR is called managed code. Managed code supplies the information necessary for the CLR to provide services such as memory management, cross-language integration, code access security, and automatic lifetime control of objects. This managed code allows different programming languages to integrate fully with each other. Such integration is available as all managed code in the CLR is compiled down to an objectoriented intermediate assembly language called Microsoft Intermediate Language (MSIL). As a modern, object-oriented assembly language, MSIL has instructions to define new classes, create objects, and call methods and access properties. Therefore, when individual languages provide syntax to perform any of these tasks, the source code is compiled down into MSIL containing special assembly instructions. 10

These commands, in turn, are compiled by the Just-In-Time (JIT) compilers into calls to specific CLR services. These calls are what handle all common class and object creation, method invocation and garbage collection services among other functions. The end result of this process is that all .NET languages' classes and objects are ultimately represented in memory in a common manner. This commonality opens the door to allowing a class in one .NET language to inherit a class developed in another .NET language. Inheritance across languages allows for true software reuse. Hence, the hundreds of built-in and fully documented classes within the CLR are immediately reusable and extendable from any .NET-compiled language. The CLR, however, does not interpret this MSIL directly. Instead, the CLR loads this code on demand and natively compiles it into machine code in just-in-time fashion before it is run. This approach, combined with other techniques such as caching of compiled code, is what enables .NET to execute at native speeds at all times. The interoperability fostered by the environmentindependent model also aids in enabling the feature of distributed computing, generating the open architecture of the .NET environment. 2.1.2 Class Libraries: The .NET Framework Class Libraries provide reusable code for common tasks such as data access and web service development, as well as Web and Windows forms. The Libraries supply the resources needed to build applications with data access, as well as web server and networking features. Framework classes can be used as a model to illustrate how classes in the class libraries are reusable and extensible. All .NET programming languages use the same framework classes. For example, multiple programs can use the same Console class to display information on the screen. The console class is just one of many classes within the System namespace.

11

Fig. 2.3: .NET Framework Class Library The System namespace contains many low level classes for mathematical manipulation, garbage collection and other such functions. There are also a number of Sub-namespaces within System that are name-spaces in their own right. Here are a few examples: System.Collections: Includes basic container classes such as Array List, SortedList, Stack and Queue. System.Diagnostics: Includes classes for tracing and debugging. System.IO: Holds classes for file IO such as Stream, Memory Stream, File Stream, Path and Directory. System.NET: Includes classes for network programming such as Socket, DNS, IPAddress, Connection and HttpWebRequest. System.Security: Includes classes dealing with permissions and cryptography. System.Threading: Holds classes like Thread, Thread Pool, Mutex and Timeout. System.Web: Includes classes that facilitate Web development. System.Windows.Forms: Holds classes needed for Win32 development such as Menu, Tooltip, Control, Button, Data-Grid and Scrollbar. System.XML: Provides classes for interacting with XML data.

12

2.2 Version of Framework: .NET Framework 4 The latest version of the .NET Framework, which was released with Visual Studio. .NET Framework 3.5 Studio 2008. .NET Framework 3.0 The .NET Framework version that was released with the Windows SDK for Windows Vista. .NET Framework 2.0 The .NET Framework version that was released with Visual Studio 2005. .NET Framework 3.5: Microsoft .NET Framework The .NET Framework version that was released with Visual

version 3.5 is an integral Windows component that supports building and running the next generation of applications and Web services. The key components of the .NET Framework are the common language runtime (CLR) and the .NET Framework class library, which includes ADO.NET, ASP.NET, Windows Forms, and Windows Presentation Foundation (WPF). The .NET Framework provides a managed execution environment, simplified development and deployment, and integration with a wide variety of programming languages. 2.3 Internet Information Services (IIS) SERVER: 2.3.1 About IIS: IIS, formerly called Internet Information Server - is a web server application and set of feature extension modules created by Microsoft for use with Microsoft Windows. It is the world's second most popular web server in terms of overall websites behind the industry leader Apache HTTP Server. As of March 2010, it served 24.47% of all websites according to Netcraft. The protocols supported in IIS 7 include: FTP, FTPS, SMTP, NNTP, and HTTP/HTTPS. IIS is not turned on by default when Windows is installed, but it can be selected from the list of optional features. It is available in all editions of Windows Vista and

13

Windows 7, including Home Basic, but some features are not supported on client versions of Windows.

2.4 Features of .NET: 1. Rich Functionality Out of the Box 2. Easy Development of Web Applications 3. Object Oriented Programming Support 4. Multi-Language Support 5. Multi-Device Support 6. Automatic Memory Management 7. Increased Application Reliability 8. Better Performance 9. Strong XML Support 10. Integration and Interoperability 11. Decreased Programming Effort 12. Increased Developer Productivity 13. Easier Administration 14. Integration for Better Service and Lower Operating Costs 15. Increased Mobility Support. 16. Easier Deployment 17. Security

14

Chapter 3 ASP.NET 3.1 Introduction to ASP: ASP stands for Active Server Pages. ASP is a Microsoft Technology. ASP is a program that runs inside IIS. IIS stands for Internet Information Services. IIS comes as a free component with Windows 2000. IIS is also a part of the Windows NT 4.0 Option Pack. The Option Pack can be downloaded from Microsoft. PWS is a smaller - but fully functional - version of IIS. PWS can be found on your Windows 95/98 CD. To run IIS you must have Windows NT 4.0 or later. . What is an ASP File? An ASP file is just the same as an HTML file. An ASP file can contain text, HTML, XML, and scripts. Scripts in an ASP file are executed on the server. An ASP file has the file extension ".asp". When a browser requests an HTML file, the server returns the file. When a browser requests an ASP file, IIS passes the request to the ASP engine. The ASP engine reads the ASP file, line by line, and executes the scripts in the file. Finally, the ASP file is returned to the browser as plain HTML. What can ASP do for you? Dynamically edit, change, or add any content of a Web page. Respond to user queries or data submitted from HTML forms. Access any data or databases and return the results to a browser. 15

How Does ASP Differ from HTML?

Customize a Web page to make it more useful for individual users. The advantages of using ASP instead of CGI and Perl, are those of simplicity and speed. Provide security - since ASP code cannot be viewed from the browser. Clever ASP programming can minimize the network traffic.

What is Classic ASP? Microsoft's previous server side scripting technology ASP (Active Server Pages) is often called classic ASP. ASP 3.0 was the last version of classic ASP. ASP.NET is the next generation ASP, but it's not an upgraded version of ASP. ASP.NET is an entirely new technology for server-side scripting. It was written from the ground up and is not backward compatible with classic ASP. ASP.NET is the major part of the Microsoft's .NET Framework. 3.2 About Asp.net: Since 1995, Microsoft has been constantly working to shift its focus from Windows-based platforms to the Internet. As a result, Microsoft introduced ASP (Active Server Pages) in November 1996. ASP offered the efficiency of ISAPI applications along with a new level of simplicity that made it easy to understand and use. However, ASP script was an interpreted script and consisted unstructured code and was difficult to debug and maintain. 3.3 What is Asp.net? ASP.NET is a server side scripting technology that enables scripts (embedded in web pages) to be executed by an Internet server. ASP.NET is a Microsoft Technology. ASP stands for Active Server Pages. ASP.NET is a program that runs inside IIS. IIS (Internet Information Services) is Microsoft's Internet server. IIS comes as a free component with Windows servers. IIS is also a part of Windows 2000 and XP Professional. 3.4 What is an ASP.NET File? An ASP.NET file is just the same as an HTML file. An ASP.NET file can contain HTML, XML, and scripts. 16

Scripts in an ASP.NET file are executed on the server. An ASP.NET file has the file extension ".aspx". 3.5 How Does ASP.NET Work? When a browser requests an HTML file, the server returns the file. When a browser requests an ASP.NET file, IIS passes the request to the ASP.NET engine on the server. The ASP.NET engine reads the file, line by line, and executes the scripts in the file. Finally, the ASP.NET file is returned to the browser as plain HTML. What is ASP+ ? ASP+ is the same as ASP.NET. ASP+ is just an early name used by Microsoft when they developed ASP.NET. 3.6 Advantages Using ASP.NET: ASP.NET drastically reduces the amount of code required to build large applications. ASP.NET makes development simpler and easier to maintain with an event-driven, serverside programming model. ASP.NET pages are easy to write and maintain because the source code and HTML are together. The source code is executed on the server. The pages have lots of power and flexibility by this approach. The source code is compiled the first time the page is requested. Execution is fast as the Web Server compiles the page the first time it is requested. The server saves the compiled version of the page for use next time the page is requested. The HTML produced by the ASP.NET page is sent back to the browser. The application source code you write is not sent and is not easily stolen. ASP.NET makes for easy deployment. There is no need to register components because the configuration information is built-in. ASP.NET validates information (validation controls) entered by the user without writing a single line of code. ASP.NET easily works with ADO .NET using data-binding and page formatting features.

17

ASP.NET applications run faster and counter large volumes of users without performance problem. Seven Important Facts about ASP.NET: 1: ASP.NET is integrated with the .NET Framework. 2: ASP.NET is compiled, not interpreted. 3: ASP.NET is Multilanguage. 4: ASP.NET Runs inside the common Language. 5: ASP.NET is Object Oriented. 6: ASP.NET is partially Platform Independent. 7: ASP.NET is easy to deploy and configure.

18

Chapter 4 ASP.NET CONTROLS 4.1 Validation Server Controls: A Validation server control is used to validate the data of an input control. If the data does not pass validation, it will display an error message to the user.The syntax for creating a Validation server control is:<asp:control_name id="some_id" runat="server" /> Validation Server Control CompareValidator CustomValidator RangeValidator RegularExpressionValidator RequiredFieldValidator ValidationSummary Table 4.1 Validation Controls 4.2 Asp.Net Server Control: ASP.NET has solved the "spaghetti-code" problem described above with server controls. server. 4.2.1 Web Server Controls: Like HTML server controls, Web server controls are also created on the server and they require a runat="server" attribute to work. However, Web server controls do not necessarily map to any existing HTML elements and they may represent more complex 19 There are three kinds of server controls: Web server controls are special ASP.NET tags understood by the Description Compares the value of one input control to the value of another input control or to a fixed value Allows you to write a method to handle the validation of the value entered Checks that the user enters a value that falls between two values Ensures that the value of an input control matches a specified pattern Makes an input control a required field Displays a report of all validation errors occurred in a Web page

elements.The syntax for creating a Web server control is:<asp:control_name id="some_id" runat="server" />

Web Server Control AdRotator Button Calendar CalendarDay CheckBox CheckBoxList DataGrid DataList DropDownList HyperLink Image ImageButton Label LinkButton ListBox ListItem Literal Panel PlaceHolder RadioButton RadioButtonList BulletedList Repeater Style Table TableCell TableRow TextBox Xml

Description Displays a sequence of images Displays a push button Displays a calendar A day in a calendar control Displays a check box Creates a multi-selection check box group Displays fields of a data source in a grid Displays items from a data source by using templates Creates a drop-down list Creates a hyperlink Displays an image Displays a clickable image Displays static content which is programmable (lets you apply styles to its content) Creates a hyperlink button Creates a single- or multi-selection drop-down list Creates an item in a list Displays static content which is programmable(does not let you apply styles to its content) Provides a container for other controls Reserves space for controls added by code Creates a radio button Creates a group of radio buttons Creates a list in bullet format Displays a repeated list of items bound to the control Sets the style of controls Creates a table Creates a table cell Creates a table row Creates a text box Displays an XML file or the results of an XSL 20

transform Table 4.2.1 Web Controls 4.3 ASP.NET Web Forms: All server controls must appear within a <form> tag, and the <form> tag must contain the runat="server" attribute. The runat="server" attribute indicates that the form should be processed on the server. It also indicates that the enclosed controls can be accessed by server scripts: Note: The form is always submitted to the page itself. If you specify an action attribute, it is ignored. If you omit the method attribute, it will be set to method="post" by default. Also, if you do not specify the name and id attributes, they are automatically assigned by ASP.NET. Note: An .aspx page can only contain ONE <form runat="server"> control! If you select view source in an .aspx page containing a form with no name, method, action, or id attribute specifies you will see that ASP.NET has added these attributes to the form. ASP.NET Events: An Event Handler is a subroutine that executes code for a given event. ASP.NET - Event Handlers: The Page_Load event is one of many events that ASP.NET understands. The Page_Load event is triggered when a page loads, and ASP.NET will automatically call the subroutine Page_Load, and execute the code inside it: Note: The Page_Load event contains no object references or event arguments! The Page.IsPostBack Property the Page_Load subroutine runs EVERY time the page is loaded. If you want to execute the code in the Page_Load subroutine only the FIRST time the page is loaded, you can use the Page.IsPostBack property. If the Page.IsPostBack property is false, the page is loaded for the first time, if it is true; the page is posted back to the server (i.e. from a button click on a form).

21

Maintaining the View State: When a form is submitted in classic ASP, all form values are cleared. Suppose you have submitted a form with a lot of information and the server comes back with an error. You will have to go back to the form and correct the information. You click the back button, and what happens.......ALL form values are CLEARED, and you will have to start all over again! The site did not maintain your ViewState.When a form is submitted in ASP .NET, the form reappears in the browser window together with all form values. How come? This is because ASP .NET maintains your ViewState. The View State indicates the status of the page when submitted to the server. 4.4 Master Pages: Master pages allow you to create a consistent look and behavior for all the pages (or Master pages allow you to create a consistent look and behavior for all the pages (or group of pages) in your web application. A master page provides a template for other pages, with shared layout and functionality. The master page defines placeholders for the content, which can be overridden by content pages. The output result is a combination of the master page and the content page. The content pages contains the content you want to display.When users request the content page, ASP.NET merges the pages to produce output that combines the layout of the master page with the content of the content page. The master page contains a placeholder tag <asp:ContentPlaceHolder> for individual content. group of pages) in your web application.

CHAPTER 5 SQL 22

SQL stands for Structured Query Language SQL lets you access and manipulate databases SQL is an ANSI (American National Standards Institute) standard SQL Server 2005 is the successor to SQL Server 2000. It included native support for managing XML data, in addition to relational data. For this purpose, it defined an xml data type that could be used either as a data type in database columns or as literals in queries. XML columns can be associated with XSD schemas; XML data being stored is verified against the schema. XML is converted to an internal binary data type before being stored in the database. Specialized indexing methods were made available for XML data. XML data is queried using XQuery;CLR Integration was the main features with this edition where one could write SQL code as Managed Code these are those code which are being executed by CLR(Common Language Runtime). SQL Server 2005 added some extensions to the TSQL language to allow embedding XQuery queries in T-SQL. In addition, it also defines a new extension to XQuery, called XML DML , that allows query-based modifications to XML data.

23

CHAPTER 6 C# LANGUAGE 6.1 Introduction to C# Language: C# is a language derived from C and C++, but it was created from the ground up. Microsoft started with what worked in C and C++ and included new features that would make these languages easier to use. Many of these features are very similar to what can be found in Java. Ultimately, Microsoft had a number of objectives when building the language. These objectives can be summarized in the claims Microsoft makes about C#:

C# is simple. C# is modern. C# is object-oriented. C# is powerful and flexible. C# is a language of few words. C# is modular. C# will be popular.

In addition to Microsoft's reasons, there are other reasons to use C#:


6.2 Features of C# Language: 1. Full support for classes and object oriented programming, including both interface and implementation of inheritance, virtual functions and operator overloading. 2. A consistent and well defined set of basic types. 3. Automatic clear up of dynamically allocated memory. 4. The facility to mark classes or methods with user defined attributes. This can be useful for documentation on compilation. 5. C# can be used with ASP.NET dynamic web pages and XML web service. Relationship of C# to .NET: 24

C# is specifically designed and targeted for use with Microsoft .NET framework thats a feature rich platform for development, deployment and execution of distributed applications.

CHAPTER 7 PROJECT INTRODUCTION 7.1Introduction


7.1.1Purpose
Alumni meet is an endeavor to reunite the people to their roots and to be inspired from our proud alumni who will be guiding star for future generation. College Alumni site is an integrated web application that handles various academic/non academic activities of a college/institute .The system can be accessed by every student/faculties/employees of the institute with the aid of his/her username and password. Every user will have customized homepage with his /her profile management facilities through the links that displays in the home page; the user can access different options of the website. This website will contain notification about academic and cultural activities which will be going to be held in alumni meet. Here the users will be the faculty and the students (ex-students as well as the commencing student) of the institute.

25

7.1.2Intended Audience and Reading Suggestion


The expected audience of this document is: The faculty of GWECA. Students (new, commencing and the passed-out students) and the developer.

7.1.3Project Scope
College Alumni Site Database is designed to run on the departmental server and to allow alums to fill out a survey form, create a new database entry, update an existing database entry, or contact alum. The data will be held in an SQL- server database on the administrator server. Up to date information about academic/ non academic activities. Server provides user with login and password. New-students can communicate with ex-student and can upgrade their knowledge about various opportunities.

7.1.4References:
www.w3schools.com

7.1.5User Documentations:
HTML: Hypertext Markup Language is a markup language used to design static web pages. C#: C# is used with ASP.NET as a programming language. 26

SQL Server: SQL Server Database is the database management system that delivers a flexible and cost effective database platform to build robust on demand business applications.

ASP.NET: ASP.NET is use as a server side scripting language. JAVASCRIPT: Java script is use as a client side scripting language. CSS: CSS stands for cascading style sheet which is used for attractive design.

HTTP: Hypertext Transfer Protocol is a transaction oriented client/server protocol between web browser & a Web Server.

HTTPS: Secure Hypertext Transfer Protocol is a HTTP over SSL.

7.2Overall Description

The Alumni Web Site will be developed using Asp.net(front-end), Microsoft Sql Database server(back-end) and JavaScript. When the application is finished, then it should run on any Web browser, such as Microsoft Internet Explorer, Mozilla Firefox, or other browsers.

7.2.1Product Perspective:
A clean interface is built which is easy to understand and work on so that a person having little knowledge in field of computers can also work easily and cast their vote.

27

Fig. 7.1: Client-Server interface

The web pages (XML/ASP.NET) are present to provide the user interface on customer client side. Communication between customer and server is provided through HTTP/HTTPS protocols.

The client software is to provide the user interface on system user client side and for this TCP/IP protocols are used.

On the server side web server and database server is for storing the information
7.2.2 Product Features: This site will help the ex-students to be in touch with their college and also participate in various activities. They will be provided with facilities like job alerts, messages etc. New data will be modified automatically. 28

It will be divided in 2 parts:

Admin students

7.3EXTERNAL

INTERFACE REQUIREMENTS

7.3.1 User Interface:

It is used on GUI interface. It will include standard buttons and functions like help, registration, calendar events for easy interaction with users.

7.3.2Hardware Interface:
Server Side: Hard Disk: 20 GB or more RAM: 1 GB or more Processor: Pentium 4 or above Client Side: Hard Disk: 2 GB or more RAM: 256 MB or more CPU: Pentium 4 or above

7.3.3Software Interface: Server Side: Microsoft Windows XP or above Microsoft Visual Studio 2008 ASP.Net with c# Sql server 2005 Client Side: Standard Internet

browser

(Internet Explorer, Firefox, etc.)

29

7.3.4Communication Interface:
It Specifies communication security or encryption issues, data transfer rates, and synchronization mechanisms and uses network connections such as FTP or HTTP. It will run on any web-browser like internet explorer, Firefox, etc.

7.4 Other Nonfunctional Requirements


7.4.1 Performance Requirements: Reduce operating cost: move towards Paperless office System to help reduce the costs associated with mailing, printing, paper, photocopying, filing, storage space and telephone calls. Save time by accessing relevant information through enterprise search capabilities.

7.4.2 Security Requirements:


User can protect his information since she will determine which information to show/hide to other. We distribute the authentication in way the user can access just the information related to him.

7.4.3 Software Quality Attributes:


We consider that our project will contain the following software quality issues: Maintainability and flexibilty:- Since our website is dynamic we can easily delete, modify and add anything in it. Testability: Anything we add it on the project we can test it before the end 30

users have access on it. Reliability: The web site will be available all the time it will not go down. Correctness: We consider all dimensions Accuracy of output information. Completeness of output information. Up-to-date of the information. Availability of the information.

7.5 UML Diagrams:


The UML language is for Visualizing Specifying Constructing

Documenting These are the artifacts of a software-intensive system. A conceptual model of the UML The three major elements of UML are The UMLs basic building blocks The rule that dictate how those building blocks may be put together. Some common mechanisms that apply throughout the UML.

Basic building blocks of the UML The vocabulary of UML encompasses three kinds of building blocks: Things- Things are the abstractions that are first-class citizens in a model. Relationships- Relationships tie these things together. Diagrams- Diagrams group the interesting collection of things 31

Included UML diagrams: 0 and 1-level DFD. ERD Use-Case Diagram

7.5.1DFD:0-LEVEL DFD:-

32

Fig-7.5.1 0-Level DFD shows high level abstraction of the system. In this, various operations of admin like updating college data and checking student information are shown. Various operations of student are also shown.

33

1-LEVEL DFD:-

Register Register Messages Database

Verify student data

Assign unique ID Login

ADMIN

Update college data

ALUMNI WEBSITE

See updates Delete account

STUDENT

Update student Data

Fig-7.5.2 1-Level DFD shows details of the system. It includes complete working of the admin and student. 7.5.2ERD:-

34

ADMIN

Checks student data Occupation Branch

Alumni Website

Provi de Detail s

STUDENT

Place

Updates College data

CollegeID Name

YEAR

Entity Relationship Diagram- Alumni Website

Fig 7.5.3

ERD or entity relationship diagram shows the different attributes of student. It also shows the working of admin and student and also depicts relation between them.

35

Create and edit major files

Add and update ADMIN Login and Password Sql server

Login and Password WEB SERVER View website Students Update own data

Send message Other users View

USE-CASE DIAGRAM

Fig 7.5.4

36

7.6 SCRENSHOTS:-

Fig-7.6.1 Starting page

37

Fig-7.6.2 Login Page

38

HOME

ABOUT US

NEWSMAKERS

EVENTS

FACULTY

CONTACTS

ACCOUNT

REGISTRATION FORM
Fullname Branch Username Password Re-type password Date of birth Year of passing Current place Occupation values not same!!! syntax not correct!!!

Fig-7.6.3 Registration Form

39

Fig-7.6.4 Delete Account Page

40

7.7 Testing:
Software testing is the process of executing software in a controlled manner in order to answer the question. Does the software behave as specified? Software testing is often used in the association with the terms Verification and Validation.

Testing Technique: One of the main requirements of the software development is to develop bug free, reliable system. During the process of development of any application there is always a possibility of some errors being developed.

Testing Strategies Unit Testing: This test focuses verification effort on the small unit id design module. Here using test plans prepared in design descriptions as guide, important control paths are tested to uncover errors within boundary of the modules. Boundaries conditions are tested to ensure module operate properly at boundaries established to limit or restrict processing. All paths in the control structure are exercised to ensure all statements in a module are executed at least once and finally all errors handling paths are tested to see message are intelligent. Corresponds to errors, encountered and provide enough description for the cause of error.

41

8. CONCLUSION
The project has been developed using Visual Studio 2008 as Front End & SQL Server 2005 as a Back End that has a very good compatibility with Visual Studio 2008. This component is user friendly. Ex-students always want to be in contact with their most memorable part of life i.e. their college and freshers want to learn from their seniors experience but there is no way for both the facts. Alumni website comes with just that solution. It helps the ex-students to be in touch with their foundation stone, be updated with all the news and gossips of college, and share their life and experiences with the freshers. . In this application work will be automated. Activities are done quickly without any delay. Proper attention has been given to make this application friendly for its operator. Proper information about students when required is also provided in it.

42

9. REFERENCES AND BIBLIOGRAPHY


To bring the project to a fruitful completion we have consulted several websites and books. We are giving a list of the important books and websites. These were the initial points of our research for this project.

References:
1. 2. 3. http://asp.net for information on ASP.NET. http://www.startvbdotnet.com/ado/default.aspx for information on ADO.NET http://c#corner.com/c# for information on C#.

4. http://codeguru.com for information on .NET architecture. 5. 6. http://msdn.microsoft.com for ADO.NET objects. http://c#corner.com for .NET Framework.

Bibliography:
1. ASP.NET Black Book. 2. C# WROX Beginning. 3. SQL Server 2005 WROX Publication. 4. Wiley ASP.NET Bible 5. ADO.NET Cook Book. 6. Software Engineering A Practitioners Approach by Roger S. Pressman (TMH)

43