Top Banner
A Training Report Of Summer Training Project At On .Net Technology Submitted In The Partial Fulfillment Of Bachelor Of Technology Department Of Computer Science Bharati Vidyapeeth College Of Engineering, New Delhi 2015-2016 Submitted To :- Submitted By :- Mr. Vishal Sharma Name: - Savigya Singh Assistant Professor B.tech (CSE):- 4 th year Department of Computer Science & Technology Semester: - 7 th Bharati Vidyapeeth College Of Engineering Roll No: - 00811507213
25

Summer Training Report

Jan 20, 2017

Download

Engineering

Savigya Singh
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Summer Training Report

A

Training Report

Of

Summer Training Project At

On

“ .Net Technology ”

Submitted

In The Partial Fulfillment Of

Bachelor Of Technology

Department Of Computer Science

Bharati Vidyapeeth College Of Engineering, New Delhi

2015-2016

Submitted To :- Submitted By :-

Mr. Vishal Sharma Name: - Savigya Singh

Assistant Professor B.tech (CSE):- 4th year

Department of Computer Science & Technology Semester: - 7th

Bharati Vidyapeeth College Of Engineering Roll No: - 00811507213

Page 2: Summer Training Report

CERTIFICATE

I am, Savigya, student of B.Tech (CSE), 4th year of Bharati Vidyapeeth College of Engineering, New

Delhi completed my summer project from NIIT LIMITED from June 15, 2015 to August 13,

2015.

During the mentioned period I worked at .Net Technologies and completed my summer training

Project entitled “NIIT ENHANCEMENT MODEL” under the guidance of Ms. Asna Shafi.

Date :- Name :- Savigya

Page 3: Summer Training Report

ACKNOWLEDGEMENT

“Gratitude is not a thing of expression; it is more matter of feeling." There is always a sense of gratitude which one express towards others for their help and supervision

In achieving the goals. This formal piece of acknowledgement is an attempt to express the feeling of

Gratitude towards people who helpful me in successfully completing of my training.

I would like to express my deep gratitude to Miss. Asna Shafi, my training coordinator for their

Constant co-operation. He was always there with his competent guidance and valuable suggestion

Throughout the pursuance of this research project.

I would also like to place of appreciation to all the respondents and group members whose

Responses and coordination were of utmost importance for the project.

Above all no words can express my feelings to my parents, friends all those persons who supported

Me during my project. I am also thankful to all the respondents whose cooperation & support has

Helped me a lot in collecting necessary information.

Page 4: Summer Training Report

Table of contents Certificate (by company)........................................................................................................................... I

Certificate.................................................................................................................................................. Ii

Acknowledgement.................................................................................................................................... iii

Table of contents..................................................................................................................................... IV

List of figures.......................................................................................................................................... VI

List of tables.............................................................................................................................................vii

Company Profile ……………………………………………………………………………………….Viii

1. Global Presence…………………………………………………………………………………..IX

2. Product & Solution ………………………………………………………………………………X

3. Project Undertaken…………………………………………………………………………… XI

4. NIIT’s Client……………………………………………………………………………………. XII

Technology …………………………………………………………………………………………….XIII

1. Web application………………………………………………………………………………….XIV

2. Mobile App………………………………………………………………………………………XV

3. C# Language……………………………………………………………………………………..XVI

4. .Net Framework………………………………………………………………………………….XVII

5. MVC Architecture……………………………………………………………………………….XVII

6. RDMS……………………………………………………………………………………………XIX

7. Ado.Net…………………………………………………………………………………………..XX

8. XML……………………………………………………………………………………………...XXI

9. Asp.Net…………………………………………………………………………………………..XXII

10. WCF………………………………………………………………………...........……………...XXII

Project…………………………………………………………………………………………… .XXIII

1. Objective

2. User

3. Scope

4. Technology

Screenshot………………………………………………………………………………………...XXIV

Screenshot of Tools……………………………………………………………………………….XXV

Reference………………………………………………………………………………………….XXVI

Page 5: Summer Training Report

COMPANY PROFILE

Established in 1981, NIIT Limited, a global leader in Skills and

Talent Development, offers multi-disciplinary learning

management

and training delivery solutions to corporations, institutions, and

individuals in over 40 countries. It has become known, in particular,

as a corporate training company and Industrial Training Company,

with customized programs for both large and small enterprises.

NIIT has three main lines of business across the globe-Corporate

Learning Group, Skills and Careers Group, and the School Learning

Group.

NIIT's Corporate Learning Group (CLG) has established NIIT

as a leading Corporate Training company which offers Managed

Training Services (MTS) to market-leading organizations in North America, Europe, Asia, and Oceania.

The comprehensive suite of Managed Training Services includes custom Curriculum Design and Content

Development, Learning Administration, Learning Delivery, Strategic Sourcing, Learning Technology and

Advisory Services. With a team of some of the world's finest learning professionals, NIIT is dedicated to

helping customers increase the business value of learning and development (L&D). Built on the sound

principles of 'Running Training like a Business', NIIT's Managed Training Services and best-in-class

training processes enable customers to align business goals with L&D, reduce costs, realize measurable

value, benefit from rock-solid operations and increase business impact.

NIIT's Skills and Careers Group (SCG) delivers a diverse range of learning and talent development

programs to millions of individuals and corporate learners in areas including Banking, Finance & Insurance,

Soft Skills, Business Analytics, Retail Sales Enablement, Management Education, Vocational Skills,

Digital Media Marketing and new-age IT.

These programs are delivered through a hybrid combination of the 'Cloud Campus' online platform,

satellite-based 'Synchronous Learning Technology', and a physical network of hundreds of learning centers

around the globe. The flagship multi-disciplinary course offerings include the industry-endorsed RevGNIIT

program, a set of Post Graduate Programs for students from different streams and a wide range of specialist

short duration programs.

To further strengthen its SCG portfolio in India, NIIT has tied up with industry majors like ICICI Bank for

NIIT Institute of Finance Banking & Insurance, IFBI; leading business schools in India for NIIT Imperia;

Page 6: Summer Training Report

Genpact for NIIT Uniqua; and a joint venture with NSDC for NIIT Yuva Jyoti. Besides this, for the China

market, NIIT has tied up with governments and software parks in Chongqing, Wuxi, Suzhou, Changzhou,

Zhangjiagang, Haikou and Dafeng, for state-of-the-art public-private partnership centres.

NIIT's School Learning Group (SLG)provides technology based learning to over 15,000 government and

private schools in India, Bhutan, South Africa and the Middle East. The futuristic NIIT nGuru range of

learning solutions for schools comprises Interactive Classrooms with digital content, technology-driven

Math Lab, IT Wizard programs and Quick School-an Education Resource Planning software.

NIIT's learning and talent development solutions, have received widespread recognition globally. The

company has been named among the Top 20 Training Outsourcing Companies for the past seven

consecutive years by Training Industry, Inc. Further, leading Indian ICT journal Dataquest has conferred

upon NIIT the 'Top Training Company' award successively for the past 20 years, since the inception of this

category. NIIT Yuva Jyoti Ltd. was recognized as the Best Vocational Education and Skill Development

initiative at the World Education Summit, 2014.

In recognition of its people-centric policies, which foster an environment of growth and career

development, NIIT has been ranked as the 4th Best Company to work for in India 2013-14, by Great Place

to Work Institute.

Ushering in a new model in higher education is the not-for-profit NIIT University, established in 2009 with

a vision of being the leading center of innovation and learning in emerging areas of the Knowledge Society.

Nestled in the foothills of the Aravalis, in Neemrana, Rajasthan, the picturesque 100 acres fully residential

green campus has been developed as an institute of excellence based on the four core principles of providing

industry linked, technology based, research driven, seamless education. NIIT University received "Best

University in use of Technology in Teaching-Learning Practices" award at the National Education

Excellence Awards 2013 by leading industry body ASSOCHAM, (Associated Chambers of Commerce and

Industry of India) and the greenest and the most environment-friendly campus award by India Today, 2011

Global Presence :- NIIT Technologies has presence in Singapore, Bangkok, Manila, Dubai, Melbourne, Madrid, London, Amsterdam, Frankfurt, Nuremberg, Atlanta, New Jersey and Augusta.

Product & Solution :-

NIIT Yuva Jyoti provides training in the following sectors:

• Retail

• BFSI

• Healthcare

Page 7: Summer Training Report

• IT/ITES

• Education and Training Services

• Telecom

• Hospitality

• Media and Entertainment

• All Informal Sectors

PROJECTS UNDERTAKEN:

1. Ministry of Rural Development (MORD): This is a central government project. The training was conducted for Rural BPL youth. We have trained 31,200 candidates across India under this initiative. 2. Ministry of Social Justice and Empowerment (MSJE): This is a central government project. The training was conducted for SC and OBC sections of society. We have trained more than 1,500 candidates under this program. 3. National Minorities Development and Finance Corporation (NMDFC):- This is an on-going central government project and its target group includes India’s minority communities (Muslims, Christians, Sikhs, Buddhist and Parsis). The target is to train 1,200 students who have passed the 12th grade and above. 4.State Urban Poverty Alleviation--Chandigarh (SUPA): This is a project of the Chandigarh Municipal Corporation, where 100 urban candidates under th Poverty Line have been trained so far. 5. State Urban Development Agency—Odisha (SUDA): Under this Odisha state government project, we have trained 700 candidates using job-oriented courses. 6. Orissa Scheduled Castes and Scheduled Tribes Development (OSFDC): Under this state government project, 252 candidates have been trained. 7. Samajik Suvidha Sangam (SSS)–Delhi: Under this state government project, we have a target to train 150 candidates, of which 45 are currently undergoing training 8 .District Rural Development Agency—Barabanki (DRDA): This is a project undertaken by the state government of Uttar Pradesh. We have trained 127 candidates and placed 80 till date. 9. Minorities Welfare Department—Barabanki (MWD): This is a state government project. Its target group covers India’s minority communities (Muslims, Christians, Sikhs, Buddhist and Parsis). We have to train 500 candidates, of which 60 are undergoing training this year.

Some Of NIIT’s Clients :- Reserve Bank of India

Indian Railways

Indian Oil Corporation

Bharat Petroleum Corporation India

Oil and Natural Gas Corporation Ltd.

United western Bank

Page 8: Summer Training Report

TECHNOLOGY

For to develop a website Application, Desktop Application, Mobile Application, .Net Consist of

following Cmponent as I have mentioned in a sequentially order :-

For Website Application :-

I. C# Language (Base Coding Language)

II. Knowledge Of Relational database model (use to understand the flow of data)

III. Sql Server (Database Server)

IV. Ado.Net (Databse Connection)

V. Extensible Markup Language (XML -> For to have uniform communication Method)

VI. Asp.Net ( For to design a well maintained website)

VII. Wcf (For to create distributed web application)

VIII. WPF (For to create a desktop application)

IX. Javascript (For to design client side application)

X. Bootstrap Css(To enhance the appearance of a website)

For Mobile Application ;-

I. Android studio

II. Xmarin (Make c# as a base language for android)

III. Java SDK

IV. For Iphone, Application Use of Objective C is being taken in Xmarin Mobile Development.

C# Language :-

C# syntax is highly expressive, yet it is also simple and easy to learn. The curly-brace syntax of C# will be

instantly recognizable to anyone familiar with C, C++ or Java. Developers who know any of these

languages are typically able to begin to work productively in C# within a very short time. C# syntax

simplifies many of the complexities of C++ and provides powerful features such as nullable value types,

enumerations, delegates, lambda expressions and direct memory access, which are not found in Java. C#

supports generic methods and types, which provide increased type safety and performance, and iterators,

which enable implementers of collection classes to define custom iteration behaviors that are simple to

use by client code. Language-Integrated Query (LINQ) expressions make the strongly-typed query a first-

class language construct.

Page 9: Summer Training Report

As an object-oriented language, C# supports the concepts of encapsulation, inheritance, and

polymorphism. All variables and methods, including the Main method, the application's entry point, are

encapsulated within class definitions. A class may inherit directly from one parent class, but it may

implement any number of interfaces. Methods that override virtual methods in a parent class require

the override keyword as a way to avoid accidental redefinition. In C#, a struct is like a lightweight class; it

is a stack-allocated type that can implement interfaces but does not support inheritance.

In addition to these basic object-oriented principles, C# makes it easy to develop software components

through several innovative language constructs, including the following:

Encapsulated method signatures called delegates, which enable type-safe event notifications.

Properties, which serve as accessors for private member variables.

Attributes, which provide declarative metadata about types at run time.

Inline XML documentation comments.

Language-Integrated Query (LINQ) which provides built-in query capabilities across a variety of

data sources.

If you have to interact with other Windows software such as COM objects or native Win32 DLLs, you can

do this in C# through a process called "Interop." Interop enables C# programs to do almost anything that

a native C++ application can do. C# even supports pointers and the concept of "unsafe" code for those

cases in which direct memory access is absolutely critical.

The C# build process is simple compared to C and C++ and more flexible than in Java. There are no

separate header files, and no requirement that methods and types be declared in a particular order. A C#

source file may define any number of classes, structs, interfaces, and events.

Example :-

using System;

namespace RectangleApplication

{

class Rectangle

{

// member variables

double length;

double width;

public void Acceptdetails()

{

length = 4.5;

width = 3.5;

}

public double GetArea()

{

return length * width;

}

public void Display()

{

Console.WriteLine("Length: {0}", length);

Console.WriteLine("Width: {0}", width);

Console.WriteLine("Area: {0}", GetArea());

Page 10: Summer Training Report

}

}

class ExecuteRectangle

{

static void Main(string[] args)

{

Rectangle r = new Rectangle();

r.Acceptdetails();

r.Display();

Console.ReadLine();

}

}

}

.NET Framework Platform Architecture

C# programs run on the .NET Framework, an integral component of Windows that includes a virtual

execution system called the common language runtime (CLR) and a unified set of class libraries. The CLR

is the commercial implementation by Microsoft of the common language infrastructure (CLI), an

international standard that is the basis for creating execution and development environments in which

languages and libraries work together seamlessly.

Source code written in C# is compiled into an intermediate language (IL) that conforms to the CLI

specification. The IL code and resources, such as bitmaps and strings, are stored on disk in an executable

file called an assembly, typically with an extension of .exe or .dll. An assembly contains a manifest that

provides information about the assembly's types, version, culture, and security requirements.

When the C# program is executed, the assembly is loaded into the CLR, which might take various actions

based on the information in the manifest. Then, if the security requirements are met, the CLR performs

just in time (JIT) compilation to convert the IL code to native machine instructions. The CLR also provides

other services related to automatic garbage collection, exception handling, and resource management.

Code that is executed by the CLR is sometimes referred to as "managed code," in contrast to "unmanaged

code" which is compiled into native machine language that targets a specific system. The following

diagram illustrates the compile-time and run-time relationships of C# source code files, the .NET

Framework class libraries, assemblies, and the CLR.

Page 11: Summer Training Report

Language interoperability is a key feature of the .NET Framework. Because the IL code produced by the C#

compiler conforms to the Common Type Specification (CTS), IL code generated from C# can interact with

code that was generated from the .NET versions of Visual Basic, Visual C++, or any of more than 20 other

CTS-compliant languages. A single assembly may contain multiple modules written in different .NET

languages, and the types can reference each other just as if they were written in the same language.

In addition to the run time services, the .NET Framework also includes an extensive library of over 4000

classes organized into namespaces that provide a wide variety of useful functionality for everything from

file input and output to string manipulation to XML parsing, to Windows Forms controls. The typical C#

application uses the .NET Framework class library extensively to handle common "plumbing" chores.

MVC Architecture

Model–View–Controller (MVC) is an architecture that separates the representation of information from the user's interaction with it. The model consists of application data and business rules, and the controller mediates input, converting it to commands for the model or view.A view can be any output representation of data, such as a chart or a diagram. Multiple views of the same data are possible, such as a pie chart for management and a tabular view for accountants. The central idea behind MVC is code reusability and separation of concerns.

Page 12: Summer Training Report

Relational Database (R-DBMS) :-

A relational database management system (RDBMS) is a database management system (DBMS) that is based on the relational model as invented byE. F. Codd, of IBM's San Jose Research Laboratory. Many popular databases currently in use are based on the relational database model.

RDBMSs are a common choice for the storage of information in new databases used for financial records, manufacturing and logistical information, personnel data, and other applications since the 1980s. Relational databases have often replaced legacy hierarchical databases and network databases because they are easier to understand and use. However, relational databases have received unsuccessful challenge attempts by object database management systems in the 1980s and 1990s (which were introduced trying to address the so-called object-relational impedance mismatch between relational databases and object-oriented application programs) and also by XML database management systems in the 1990s.[citation needed] Despite such attempts, RDBMSs keep most of the market share, which has also grown over the years.

SQL Server :-

With SQL Server 2014, new in-memory capabilities for transaction processing and enhancements

for data warehousing complement our existing technologies for data warehousing and analytics.

Scale and transform your business with up to 30x performance gain for transaction processing

using existing hardware, and a greater-than 100x performance gain for data warehousing.

Help secure data for mission critical workloads with transparent data encryption, robust auditing,

extensible key management and encrypted backups. It is even easier to manage permissions for

data access to support separation of duties across various users.

SQL Server consistently leads in TPC-E, TPC-H and real-world application performance

benchmarks. SQL Server is SAP-certified to run some of the most demanding workloads. Get

more predictable performance of virtualized SQL Server instances with IO governance in

Resource Governor.

Page 13: Summer Training Report

SELECT - extracts data from a database

UPDATE - updates data in a database

DELETE - deletes data from a database

INSERT INTO - inserts new data into a database

CREATE DATABASE - creates a new database

ALTER DATABASE - modifies a database

CREATE TABLE - creates a new table

ALTER TABLE - modifies a table

DROP TABLE - deletes a table

CREATE INDEX - creates an index (search key)

DROP INDEX - deletes an index

ADO.Net :-

ADO.NET is an object-oriented set of libraries that allows you to interact with data sources. Commonly, the data source is a database, but it could also be a text file, an Excel spreadsheet, or an XML file. For the purposes of this tutorial, we will look at ADO.NET as a way to interact with a data base.

As you are probably aware, there are many different types of databases available. For example, there is Microsoft SQL Server, Microsoft Access, Oracle, Borland Interbase, and IBM DB2, just to name a few. To further refine the scope of this tutorial, all of the examples will use SQL Server.

Example :-

<connectionStrings>

<add name="NorthindConnectionString"

Page 14: Summer Training Report

connectionString=" Server=MyDataServer;Integrated

Security=SSPI;Database=Northwind;"

providerName="System.Data.SqlClient" />

</connectionStrings>

Extensible Markup Language :-

XML stands for EXtensible Markup Language

XML is a markup language much like HTML

XML was designed to describe data, not to display data

XML tags are not predefined. You must define your own tags

XML is designed to be self-descriptive

XML is a W3C Recommendation

Example :-

<?xml version="1.0" encoding="UTF-8"?>

<note>

<to> Tove</to>

<from>Jani</from>

<heading>Reminder</heading>

<body>Don't forget me this weekend!</body>

</note>

ASP.Net :-

ASP.NET is a new ASP generation. It is not compatible with Classic ASP, but ASP.NET may include

Classic ASP.ASP.NET pages are compiled, which makes them faster than Classic ASP.ASP.NET has better

language support, a large set of user controls, XML-based components, and integrated user

authentication.ASP.NET pages have the extension .aspx, and are normally written in VB (Visual Basic) or

C# (C sharp).User controls in ASP.NET can be written in different languages, including C++ and Java.

When a browser requests an ASP.NET file, the ASP.NET engine reads the file, compiles and executes the

scripts in the file, and returns the result to the browser as plain HTML.

Page 15: Summer Training Report

Example :-

<!-- directives -->

<% @Page Language="C#" %>

<!-- code section -->

<script runat="server">

private void convertoupper(object sender, EventArgs e)

{

string str = mytext.Value;

changed_text.InnerHtml = str.ToUpper();

}

</script>

Page 16: Summer Training Report

<!-- Layout -->

<html>

<head>

<title> Change to Upper Case </title>

</head>

<body>

<h3> Conversion to Upper Case </h3>

<form runat="server">

<input runat="server" id="mytext" type="text" />

<input runat="server" id="button1" type="submit" value="Enter..."

OnServerClick="convertoupper"/>

<hr />

<h3> Results: </h3>

<span runat="server" id="changed_text" />

</form>

</body>

Page 17: Summer Training Report

</html>

WCF :-

Windows Communication Foundation (WCF) is a framework for building service-oriented applications.

Using WCF, you can send data as asynchronous messages from one service endpoint to another. A

service endpoint can be part of a continuously available service hosted by IIS, or it can be a service hosted

in an application. An endpoint can be a client of a service that requests data from a service endpoint. The

messages can be as simple as a single character or word sent as XML, or as complex as a stream of binary

data. A few sample scenarios include:

A secure service to process business transactions.

A service that supplies current data to others, such as a traffic report or other monitoring service.

A chat service that allows two people to communicate or exchange data in real time.

A dashboard application that polls one or more services for data and presents it in a logical

presentation.

Exposing a workflow implemented using Windows Workflow Foundation as a WCF service.

A Silverlight application to poll a service for the latest data feeds.

While creating such applications was possible prior to the existence of WCF, WCF makes the

development of endpoints easier than ever. In summary, WCF is designed to offer a manageable approach

to creating Web services and Web service clients.

using System.ServiceModel;

namespace Calc

{

Page 18: Summer Training Report

[ServiceContract]

public interface ICalcService

{

[OperationContract]

double Add(double n1, double n2);

[OperationContract]

double Subtract(double n1, double n2);

[OperationContract]

double Multiply(double n1, double n2);

[OperationContract]

double Divide(double n1, double n2);

}

}

Page 19: Summer Training Report

PROJECT

Objective :-

NIIT Enhancement Model is a Web Application which provide Online education service to every one at

their doorsteps.

User :-

There are Five type of User:-

1. Student

2. Faculty

3. Parents

4. Staff Member

5. Director

Scope :-

1. All user have their own profile in online storage.

2. Stident can check teir profile and also can give their mock test online. They also check their

academic record.

3. Student can their video tutorial also ask their doubt question from the faculty or from community.

4. Unified maintainance of all branches so that director can easily track their marketing progress.

Module :-

1. Login facility for student, faculty, director.

2. Update about course content.

3. Student review the test result.

4. Registration for New Student.

5. Online maaintainance of NIIT contents.

6. Video classes for student.

7. Online doubt session.

Page 20: Summer Training Report

Technolgy used :-

For Website Application :-

1. C# Language (Base Coding Language)

2. Knowledge Of Relational database model (use to understand the flow of data)

3. Sql Server (Database Server)

4. Ado.Net (Databse Connection)

5. Extensible Markup Language (XML -> For to have uniform communication Method)

6. Asp.Net ( For to design a well maintained website)

7. Wcf (For to create distributed web application)

8. WPF (For to create a desktop application)

9. Javascript (For to design client side application)

10. Bootstrap Css(To enhance the appearance of a website)

For Mobile Application ;-

1. Android studio

2. Xmarin (Make c# as a base language for android)

3. Java SDK

4. For Iphone, Application Use of Objective C is being taken in Xmarin Mobile Development.

Toools Used :-

1. Visual Studio 2012

2. Sql server 2014

3. .net framework 4.5

4. Bootstrap css

Page 21: Summer Training Report

Screenshot

Page 22: Summer Training Report

ScreenShot Of Tools

1. Visaul Studio

Page 23: Summer Training Report

2. Sql Server Studio

Page 24: Summer Training Report
Page 25: Summer Training Report

REFERENCE

1. www.Csharp corner.com

2. www.Stackoverfolw.com

3. www.r4r.in