GOVERNMENT PORTAL SYSTEM WEBSITE (ASP.NET) Submitted by Pooja chahal Registration Number: Priyanka thakur Registration Number: Abhishek Malviya Registration Number:
Project Group Number: G028 Under the Guidance of Miss.Deepika Sukhija
Discipline of Computer Science and information Technology Lovely Professional University, Phagwara August to December, 2013
DECLARATION
We hereby declare that the project work entitled Government Portal system is an authentic record of our own work carried out as requirement of capstone project for the award of degree of B.Tech-M.Tech(CSE), Lovely Professional University, Phagwara, under the guidance of Miss.Deepika Sukhija during August to December, 2013.
Date: 6 DEC 2013 Project Team Members Priyanka Thakur Pooja Chahal Abhishek Malviya It is certified that the above statement made by the students is correct to the best of my knowledge and belief.
Mentor Miss. Deepika Sukhija CSE Dept. UID:11471
ACKNOWLEDGEMENT
It is a pleasure for us to find ourselves penning down these lines to express our sincere thanks to all our coordinators to give us this opportunity of preparing this project, to enhance our professional practice. We express our deep sense of gratitude to our Mentor Miss Deepika Sukhija to give us knowledge about the topic and concept related to this particular project. Without his guidance we cannot imagine to complete our project on time. We present our deepest gratitude to all our coordinators and teachers for always boosting up our morals and providing us encouraging environment. In the last, we want to thank our parents, without whom nothing was possible. Finally, thanks goes to all of our team members for the collective efforts in making this project, helping me in the areas where I lack and an honorable mention for my family and friends for their understanding and supports on me in doing this project. Without helps of the particular that mentioned above, I would face many difficulties while doing this project.
TABLE OF CONTENTS TABLE OF FIGURES 1. Profile of the problem: Introduction Purpose: Scope 2. Existing System Introduction Existing Website: DFD for present system Whats new in the system to be developed? 3. Problem Analysis: Product Definition Feasibility Analysis Project Plan: 4. Specific Requirement Software Requirement : Hardware Requirement: 5. Design: System Design: Database Design: E-R Diagram of the project: Flowchart: 6. Technology/Domain/Tool: Introduction: Microsoft.Net Framework SQL Server 2008: 7. My project work: Coding Screenshots of the application
8. References:
Table of figure: Figure 1: DFD for Existing Government website Figure 2: Table for Project Plan Figure 3: Login Table Figure 4: Sign up Table Figure 5: Passport service entry Table Figure 6: E-R Diagram of the Project Figure 7: Flowchart of user Login module Figure 8: Flowchart of admin login module
1. Profile of the Problem:
Introduction: Government portal system is specifically developed for online Sumiton for government Document, service provided by Government like passport seva, voterIDcard, Ration card , Bharat Sarkar yojanaye etc.all this services is provided by government portal system website. Semi Government work with all this government website to overcome the load and provide flexibility to citizens. The system provide user account to manage their data. The application is based on three-tier architecture .the system will check the users existence in the database and provide the set of services to user.
Purpose: o User can easily upload there document o Our website is efficient o The system user administrator can update the databases and make new changes o The administrator needs to enter particular username and password to make any changes.
Scope: The documentation of a project's scope, which is called a scope statement, terms of reference or statement of work, explains the boundaries of this project, which establishes responsibilities for each team member and sets up procedures for how the work is completed and will be verified and approved. During the project, this documentation helps us remain focused and on task. The scope statement also provides us guidelines for making decisions about change requests during this project. It is natural for parts of a large project to change along the way, so the better the project has been "scoped" at the beginning, the better the project team will be able to manage change so this work has been done to maintain the security of the system as well as preparing new ideas of thoughts. We can compress, resize, crop and give fill light to image file using this software. The software helps to save the storage space and to resize the image as per the requirement.
2. Existing system: Introduction: The system will check the users existence in the database and provide the set of services to the user. The business logic helps in authenticating the application, authorizing the user and providing services. The technology are chosen by keeping the compatibility and performance as the constraints for the application. Existing website: Provide user account. Application for Government services. Bharat sarkar yojnaye.
DFD for Present System:
Database
Figure1: DFD for Existing Government websites
Whats new in the system to be developed?
In order to overcome the drawbacks in the Existing system, new database: Integrated Reliable Consistent Flexible Secure
Admin Create User Account User Query User Account Info USER
3. PROBLEM ANALYSIS Product Definition: The Government Portal System Consists of Following modules: Login process: This module allow valid user to access the functionalities provided by the website. Signup process: This module allow user to create the user account. Update Profile: This module allow the user to update profile of their account. Services: This module allow the user to fill the different services provided by website. Blogging: This module give information to user about new program introduced by Indian Government.
Feasibility Analysis: The Internet is dramatically changing the way that Indian government service the public. Taking advantage of new technology, many State and local governments are using the web to offer citizens a host of services including corresponding online with local officials, providing information about government services, renewing library books or drivers licenses. providing tax information and accepting tax returns and applying for jobs or benefits, allow programs and services to be offered in a more dynamic, interactive way, increasing citizen participation, increase convenience and speed in obtaining information or services, reduce costs in providing programs and information about government services, reduce the amount of paperwork and expand the possibilities of reaching new sectors of the community or offering new programs. The coordination between user and website. A comprehensive feasibility study of social, economic and technical aspect has also been made and implemented as below:-
Social Feasibility: o It has simplified the government procedure. o User and semi government sector authority had a huge acceptance to the notion. Economic Feasibility: o The project is economically feasible.
Project Plan : Individual contributions are as follow:
Pooja Chahal: o Designing of user interface of user module. o User validation with Priyanka Thakur. o Designing of administrator module with priyanka Thakur. o Designing of user interfaced of user account module. o Master page design Priyanka Thakur: o Database connectivity. o Database creation in sqlserver with abhishek malviya. o Database validation. o Designing of user account module with Pooja Chahal. Abhishek Malviya: o Database coding of user module. o Database validation along with Priyanka Thakur. o Database coding of administrator module. o Designing of Masterpage along with pooja chahal.
Month Sep Oct Nov Week 1 2 3 4 1 2 3 4 1 2 3 4 Problem Analysis Requirement Database Design SRS E-R Interface Design Code Validation & verification(testing)
Documentation
Figure 2: Table of Project Plan
4. Specific Requirement: Software requirements: o Operating System: Window Xp or higher o Platform:.NET(Asp.net ) o Database Server: MS SQL Server 2008 o Tools: MS Visual Studio 2008 o Client: Google Chrome
Hardware Requirements: o Processor: Intel Pentiun or more o RAM: 512 MB o Hard Disk: 100MP of Free Space
5. Design: System Design: Database Design: o Login Table: This table will contain the user ID, Password of all the user. Attribute Data type Size Description User ID Varchar 20 Assign unique ID to new user Password Varchar 20 Users will have password Figure 3: Login Table o Sign up Table: This table containing the information which is used for sign up to acquire a new login Id and password for user account with website.
Attribute Data type Size Description First name Varchar 20 User name Last name Varchar 20 User last name Fathers name Varchar 20 User fathers name Fathers idproof Varchar 20 User father;s ID Proof DOB Int 8 User date of Birth Address Varchar 50 User permanent address Image Varchar 30 User image Figure4: Signup Table o Passport seva: This table containing the information about service required by user.
Attribute Data type size Description Passport Office Varchar 20 Passport Office for filling application First name Varchar 20 User name Last name Varchar 20 User last name DOB Int 8 Date id Birth User ID Varchar 20 User Login ID Password Varchar 20 User password Confirm password Varchar 20 Confirm password Figure 5: passport entry Table
E-R Diagram of the project:
Figure6: E-R Diagram
USER UserID Password Address Father ID proof Email Man- age Admin Admin ID Password IS A My Account Detail User query Updation User Info Update Profile Check query Displays Administrator Mana -ge Mana- ge Database Update data Search
Flowchart: User module: o User will enter user ID and password. o If his login is validated, he will enter into his account to carry out the activities. o If login fails, he will have re-enter his credential again.
NO
YES
Figure 7: User module Flowchart
Start Login (Enter id and password) ID and password Valid Account End
Administrator Module: o Administrator will enter his login Id and password. o If login is validated, he will enter into in account and supervise the function of user account and updation done by his. o If login fails, he again has to enter the credentials.
NO
YES
Figure8: Administrator module Flowchart
Start Login (enter Id and password) Id and password valid Supervises the updation End
6. Technology/Domain/Tool: INTRODUCTION OF .NET FRAMEWORK- Microsoft .NET Framework (pronounced dot net) is a software framework developed by Microsoft that runs primarily on Microsoft Windows. It includes a large library and provides language interoperability across several programming languages. Programs written for .NET Framework execute in a software environment (as contrasted to hardware environment), known as the Common Language Runtime (CLR), an application virtual machine that provides services such as security, memory management, and exception handling. The class library and the CLR together constitute .NET Framework. Microsoft .NET Framework's Base Class Library provides user interface, data access, database connectivity, cryptography, web application development, numeric algorithms, and network communications. Programmers produce software by combining their own source code with .NET Framework and other libraries.
CIL AND JIT:- When we compile code that uses the .NET framework, we dont immediately create operating system specific native code. Instead we compile our code in common intermediate language (CIL or MISL) code or Microsoft immediate language .This code is not specific to nay operating system(OS) or any particular language such as C,C# or VBB. Other .NET language such as C++ or Visual Basic also compiles the code of this language as the first stage. This step is carried out by VS when we develop a c# application. The next step is to convert the intermediate language to the native code that can be understood by the operating system. This is the job of Just in Time compiler (JIT) which compiles CLI into native code that is specific to OS and machine architecture being targeted. This native code can be executed by OS. The JIT compiles the CLI code only when it is needed. This compilation can happen when the application is running. Several JIT compiler exist, each targeting a different architecture, and the CLR uses the appropriate one to create a native code. This reduce a lot of the work on the programmer site.
ASSEMBLIES- When a code return using .net framework is compiled,CLI code is sorted in a assembly.Assembly include both executable file that we can run directly from windows without the need of any other program and libraraies for use by any othe application.
Assemblies also contain meta information(information about information contained in assembly)and optional resources.This make tha assemblies to be fully self descriptive.
GARBAGE COLLECTOR- One of the most important features of managed code is the concept of garbage collectoion.This is .net method of making sure that the memory used by the applications is freed up completely when tha application is no longer in use. The .NET garbage collector works by peridiocally inspecting the memory of computer and removing anything from it that is no longer needed.There is a no set frame for this,it might happen because thousand times in a second or once few seconds
. SQL Server 2008: Microsoft SQL Server 2008 is a set of components that work together to meet the data storage and analysis need to the largest Web sites and enterprise data processing system. The topics in SQL Server Architecture describe how the various components work together to manage data effectively.
Features of SQL Server 2008: o Transparent Database Encryption: The ability to encrypt an entire database without having to change any code in your application adding an additional layer to your data security. o 2) Filestream Data: being able to store binary large objects out on the file system while still being a transactional and recoverable part of the database. o 3) Policy Based Management: the ability to manage multiple servers from a central set of policies (previously named the Declarative Management Framework). o 4) Multi-Server Queries: being able to submit a batch of queries against multiple servers simultaneously.
o 5) SSMS Debug: the ability to debug any Transact-SQL within SSMS using breakpoints etc. o 6). Enhanced Database Mirroring: including better reliability and performance with automatic data page repair. o 7) Intellisense in SQL Server Management Studio: interactive help as you type giving object names and syntax support similar to Visual Studio o 8) Change Tracking: the ability to track changes without timestamp columns and triggers.
<divid="content"style="width:869px; height:400px;"> <h1> About Consular, Passport and Visa Division (CPV)</h1> <pstyle="height: 347px; width: 773px;"> The Consular, Passport and Visa (CPV) Division of the Ministry of External Affairs, Government of India provides passport services through Central Passport Organization (CPO) and its network of Passport Offices and Passport Seva Kendras; and consular, visa and passport services to overseas Indians/foreign nationals through the Indian Missions and Posts abroad. <br/> <br/> Indian passports are issued through a network of 37 Passport Offices, CPV Division (only Diplomatic and Official passports) and the Andaman and Nicobar Islands Administration. This network has been expanded by adding 77 Passport Seva Kendras as extended arms of Passport Offices. For Indians living abroad, passport and other miscellaneous services are rendered by 180 Indian Missions/Posts. All Passport Offices issue machine-readable passports as per the guidelines laid down by the International Civil Aviation Organization. <br/> <br/> The Central Passport Organization was created in 1959 as a subordinate office of the Ministry of External Affairs and is headed by Joint Secretary and Chief Passport Officer, who also acts as Appellate
Authority under the Passports Act, 1967 and the Head of Department under the Delegation of Financial Powers Rules 1978. Joint Secretary (Consular) is responsible for consular affairs whereas Joint Secretary (PV) is entrusted with visa matters. The Division works under the supervision of Additional Secretary (CPV).
<asp:GridViewID="GridView1"runat="server"AutoGenerateColumns="False" DataSourceID="SqlDataSource1" EmptyDataText="There are no data records to display."> <Columns> <asp:BoundFieldDataField="Image"HeaderText="Image"SortExpression="Image"/> <asp:BoundFieldDataField="UserID"HeaderText="UserID" SortExpression="UserID"/> </Columns> </asp:GridView> <asp:SqlDataSourceID="SqlDataSource1"runat="server"
ConnectionString="<%$ ConnectionStrings:sign_upConnectionString %>" SelectCommand="SELECT [Image], [UserID] FROM [UserImage1]"> </asp:SqlDataSource>
<asp:GridViewID="GridView1"runat="server"AutoGenerateColumns="False" CellPadding="4"DataKeyNames="loginid"DataSourceID="SqlDataSource1" EmptyDataText="There are no data records to display."ForeColor="#333333" GridLines="None"ShowFooter="True"Width="1198px" > <AlternatingRowStyleBackColor="White"/> <Columns> <asp:TemplateFieldShowHeader="False"> <EditItemTemplate> <asp:LinkButtonID="LinkButton1"runat="server"CausesValidation="True" CommandName="Update"Text="Update"></asp:LinkButton> <asp:LinkButtonID="LinkButton2"runat="server"CausesValidation="False" CommandName="Cancel"Text="Cancel"></asp:LinkButton> </EditItemTemplate> <ItemTemplate> <asp:LinkButtonID="LinkButton1"runat="server"CausesValidation="False" CommandName="Edit"Text="Edit"></asp:LinkButton> <asp:LinkButtonID="LinkButton2"runat="server"CausesValidation="False"
<asp:RequiredFieldValidatorid="rfvedilast"runat="server"ErrorMessage="lastname is required field"ControlToValidate="TextBox2"Text="*"ForeColor="Red"> </asp:RequiredFieldValidator>
<asp:GridViewID="GridView2"runat="server"AutoGenerateColumns="False" DataKeyNames="UserID"DataSourceID="SqlDataSource1" EmptyDataText="There are no data records to display."Width="694px" ShowFooter="True"CellPadding="4"ForeColor="#333333"GridLines="None" Height="238px"> <AlternatingRowStyleBackColor="White"/> <Columns>
</div> <asp:SqlDataSourceID="SqlDataSource1"runat="server" ConnectionString="<%$ ConnectionStrings:sign_upConnectionString %>" SelectCommand="SELECT * FROM [signup]" DeleteCommand="DELETE FROM [signup] WHERE [UserID] = @original_UserID AND [FirstName] = @original_FirstName AND [LastName] = @original_LastName AND [FathersName] = @original_FathersName AND [FathersIdProof] = @original_FathersIdProof AND [Month] = @original_Month AND [Day] = @original_Day
AND [Year] = @original_Year AND [Address] = @original_Address AND (([Password] = @original_Password) OR ([Password] IS NULL AND @original_Password IS NULL))" InsertCommand="INSERT INTO [signup] ([FirstName], [LastName], [FathersName], [FathersIdProof], [Month], [Day], [Year], [Address], [UserID], [Password]) VALUES (@FirstName, @LastName, @FathersName, @FathersIdProof, @Month, @Day, @Year, @Address, @UserID, @Password)"
UpdateCommand="UPDATE [signup] SET [FirstName] = @FirstName, [LastName] = @LastName, [FathersName] = @FathersName, [FathersIdProof] = @FathersIdProof, [Month] = @Month, [Day] = @Day, [Year] = @Year, [Address] = @Address, [Password] = @Password WHERE [UserID] = @original_UserID AND [FirstName] = @original_FirstName AND [LastName] = @original_LastName AND [FathersName] = @original_FathersName AND [FathersIdProof] = @original_FathersIdProof AND [Month] = @original_Month AND [Day] = @original_Day AND [Year] = @original_Year AND [Address] = @original_Address AND (([Password] = @original_Password) OR ([Password] IS NULL AND @original_Password IS NULL))" ConflictDetection="CompareAllValues" OldValuesParameterFormatString="original_{0}"> <DeleteParameters> <asp:ParameterName="original_UserID"Type="String"/> <asp:ParameterName="original_FirstName"Type="String"/> <asp:ParameterName="original_LastName"Type="String"/> <asp:ParameterName="original_FathersName"Type="String"/> <asp:ParameterName="original_FathersIdProof"Type="String"/> <asp:ParameterName="original_Month"Type="String"/> <asp:ParameterName="original_Day"Type="String"/> <asp:ParameterName="original_Year"Type="String"/> <asp:ParameterName="original_Address"Type="String"/> <asp:ParameterName="original_Password"Type="String"/> </DeleteParameters> <InsertParameters> <asp:ParameterName="FirstName"Type="String"/> <asp:ParameterName="LastName"Type="String"/> <asp:ParameterName="FathersName"Type="String"/>
Web confic: <?xmlversion="1.0"?> <!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=169433 --> <configuration> <connectionStrings> <addname="sign_upConnectionString"connectionString="Data Source=2NDINNINGS- PC;Initial Catalog=sign_up;Integrated Security=True" providerName="System.Data.SqlClient" /> <addname="sign_upConnectionString2"connectionString="Data Source=2NDINNINGS- PC;Initial Catalog=sign_up;Integrated Security=True" providerName="System.Data.SqlClient" /> </connectionStrings> <system.web> <compilationdebug="true"targetFramework="4.0"/> </system.web> </configuration>
6. SCREENSHOTS OF THE APPLICATION Master page:
Admin page:
Login page:
Sign up page:
Signup Database
Passport Service:
Passportdatabase:
Sql Server:
REFERENCES: 1. http://www.dotnetspider.com/project. 2. http://www.technologyevalution.com. 3. http://www.w3schools.com/aspnet/. 4. http://www.asp.net/ 5. http://www.tutorialspoint.com/index.htm 6. Book: Professional C# and .Net 4 by Christian Nagel, Bill Evjen , Jay Glynn, Karli Watson, Morgan Skinner. 7. Book: Database systemConcepts -Abraham silberschatz, henry korth, Sudarshan.