Professional Documents
Culture Documents
Assignment No : (Net-16-001)
By
Vagish Kirubaharan
COL A/051935
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 2
Task 1
1.1
Example
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 3
The Common Language Runtime is the virtual machine some portion of the .NET Framework. It
gives diverse administrations, similar to string administration and memory administration. Each
program focused to .NET are changed over to Microsoft Intermediate Language (MSIL). Dialect
compliers yield is MSIL in .NET. Along these lines all program is in the long run changed over
to MSIL in .NET. MSIL can changed over to local code by Just-in Time Complier (JIT). A
program made in VB.NET and a program made in C# are both changed over to MSIL. MSIL and
Java software engineers is same as Java Virtual Machine. .NET can keep running on any stage.
However, .NET runs just on Windows.
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 4
.NET accompanies a great many classes. This library is totally question situated, controlling
around 5000 classes to achieve pretty much everything. Class library has primary zones, for
example, Data structures, Windows and web controls, Database get to, Multithreading,
Remoting, and Reflections. We learn library just for once, yet used it in all dialect. Reassure
Applications, Windows GUI Applications, ASP.NET Applications, Web Applications, XML
Web Services, and Windows Services are distinctive sort of utilizations make utilization of .NET
class library.
Illustration:-
(Creator Developed)
15
3) Interoperability
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 5
4) Simplified Development
The .NET Framework contain configuration highlights and devices that help deal with the
establishment of PC programming to guarantee that it doesn't interface with some time ago
introduced programming, and that it consents to security prerequisites. (Ujjwala, 2010)
5) Security
The plan is proposed to address a portion of the vulnerabilities, for instance, a cradle floods, that
have been abused by vindictive programming. Moreover, .NET gives a typical security
demonstrate for each application.
6) Portability
16
Highlights of .NET
(1) Assemblies
It is an .EXE or .DLL that structures a segment of an application. It incorporates MSIL code that
is actualized by CLR. It incorporates classes and interfaces. It is additionally incorporate
different assets, for example, document, bitmaps, and so on.
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 6
It is a guidelines identified with information sorts that dialects must take after. As projects made
in all dialects are in the end changed over to MSIL, sorts of information in all dialects must be
convertible to standard of information sorts. Basic Type System (CTS) is a part of cross-dialect
mix, which licenses classes made in one dialect to be used and reached out by other dialect.
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 7
Cross-dialect Interoperability
.NET help for dialect interoperability. It empower a program to be used with another dialects. It
has set of principles. It is called cross Language Specifications. Subsequently a program made in
C#, the exemption can be taken care of by VB.NET. .NET has bring an arrangement of new
highlights which are to be comprehended by all software engineer creating application for
windows.
Web Services - Using all inclusive conventions like SOAP and HTTP.
Mobile Applications - Run in cell phones, for example, PDAs and PDAs.
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 8
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 9
Task 2
.NET
Introduced IDE Features Details
Version
features and improvements:
Ability to reduce system restarts by detecting and
closing.
Support for arrays that are larger than 2 gigabytes
(GB) on 64-bit platforms.
Background just-in-time (JIT) compilation.
Console support for Unicode (UTF-16) encoding.
Visual Studio .NET for Windows Store apps: which allows to build
4.5 2012
Windows Store apps for Windows.
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 10
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 12
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 13
ASP.NET:
The Microsoft .NET Framework 2.0 includes
significant enhancements to all areas of
ASP.NET.
For Web page development, new controls make
it easier to add commonly used functionality to
dynamic Web pages.
New data controls make it possible to display
and edit data on an ASP.NET Web page without
writing code.
An improved code-behind model makes
developing ASP.NET pages easier and more
robust.
Caching features provide several new ways to
cache pages, including the ability to build cache
dependency on tables in a SQL Server database.
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 14
2.2
NET Framework 3.0/3.5 engineering adaptation highlights.
It is a cutting edge introduction framework plan windows customer applications. WPF center is a
vector-based rendering and determination autonomous that is make to exploit new designs
equipment. It is application-advancement includes that contain information authoritative,
Extensible, Application Markup Language, Layout, Controls, 2D and 3D Graphics, Animation,
Styles, Documents, Media, Templates, Typography, and content. WPF is contain in the
Microsoft .NET Framework. (Sujit, 2012)
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 15
It is a principle segment of .NET Framework 3.0, runtime motor, gives a programming, and
apparatuses for making work process applications. A work process is kept up and made by the
work process run-time motor. The run-time empowers sit work processes to be emptied from
endured to a store, memory, and reloaded input is gotten. (Sujit, 2012)
Types of Anonymous.
Expressions of Lambda.
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 16
2.3
NET Framework 4.0 engineering renditions highlights.
It is profoundly appropriate with applications that are make with prior .NET Framework
renditions. It is gives unwavering quality, execution, rightness, and create security.
Tuples.
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 17
The .NET Framework 4 has new programming model for making offbeat and multithreaded
code. This model empowers engineers to make versatile parallel code, proficient, and fine-
grained in a characteristic dialect without working straightforwardly with strings. The new
System.Threading.Tasks namespace bolster this new model. (Sujit, 2012)
21
Dynamic Data, including help for some to-numerous connections and legacy, existing web
application, and upgraded information sifting.
Visual web engineer, enhanced for HTML and ASP.NET, Jscript and improved CSS
similarity.
New controls, for example, Data Grid, Calendar, and Data Picker.
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 18
Animation and Graphics helps design adjusting, Cached arrangement, Pixel shader form 3.0,
and facilitating capacities.
Integrates WF and WCF by providing exercises to send and get messages, ability to associate
messages in light of substance, and a work process benefit have.
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 19
Workflows advantage from control structures, for instance, Try get, Switch <T>, and
flowchart.
The movement library new highlights are controlling of part information, exercises of stream
control, and controlling exchanges exercises.
22
It is intended for determines frame components of Windows working framework. .NET 4.5
subset is accessible for making Windows store applications for windows by utilizing Visual
Basic or C#.
It is in Visual Studio 2012 empowers to make and compose oversaw gatherings that work on
different .NET stages. Using a convenient class library venture, select the stages to target.
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 20
Control of new Ribbon, for example, Application Menu, Quick Access Toolbar, and tabs.
Performance Improved.
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 21
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 22
Task 3
The .NET Framework comprises of the .NET Framework Class Library and Common Language
Runtime. The Common Language Runtime is the base of the .NET Framework. The runtime as
an operator that string administration, memory administration, oversees code at execution time,
remoting. Code administration is an essential rule of the runtime. The class library is a question
situated gathering of utilization to create applications extending from conventional graphical UI
and order line applications to base on the new developments gave by ASP.NET, for example,
XML web administrations and web Forms. ASP.NET has the runtime to give server side,
versatile for oversaw code. ASP.NET work straightforwardly with the runtime to empower XML
web administrations and ASP.NET applications. Web Explorer is a case on an unmanaged
applications. Using Internet Explorer to have the runtime empowers to windows for controls or
implant oversaw parts in HTML reports. (Microsoft, 2016)
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 23
Collection of Garbage.
Improvements of Performance.
Inheritance, interfaces, and over-burdening object arranged writing computer programs are
dialect highlights.
Objects and their classes separate included programming issues into numerous littler, less
difficult issues.
Multiple legacy and Polymorphism concoct it feasible for different software engineers to
match and blend qualities of numerous different classes and fabricate particular questions that
can in any case work with related protests in unsurprising ways.
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 24
Containment chains of importance and class pecking orders give an adaptable instrument to
connections and the demonstrating genuine word questions through them.
The Common Language Runtime (CLR) is the programming (Virtual Machine part) that deals
with the execution of projects written in any dialect that uses the .NET Framework, for instance
C#, VB.Net, F# et cetera. Developers compose code in any dialect, including VB.Net, C# and F#
when they aggregate their projects into a transitional type of code called CLI in a versatile
execution record (PE) that can be overseen and utilized by the CLR and after that the CLR
changes over it into machine code to be will executed by the processor. (C# Corner,2016)
The data about the earth, programming dialect, its rendition and what class libraries will be
utilized for this code are put away as metadata with the compiler that advises the CLR how to
deal with this code. (C# Corner,2016)
Type security
Security
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 25
Improved execution
Language independency
Platform independency
Architecture independency
Class Loader
The Just In Time (JTI) compiler will change over MSIL code into local code.
Code Manager
Garbage Collector
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 26
It deals with the memory. Gather every single unused question and deallocate them to
diminish memory.
Thread Support
Exception Handler
Performance enhancements.
Language highlights, for example, legacy, interfaces, and over-burdening for protest
arranged programming.
Support for unequivocal free threading that permits formation of multithreaded, adaptable
applications.
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 27
Garbage accumulation.
Use of agents rather than work pointers for expanded sort wellbeing and security.
Class library
The .Net Framework class library (FCL) gives the center usefulness of .Net Framework
engineering. The .Net Framework Class Library (FCL) incorporates a colossal gathering of
reusable classes, interfaces, and esteem sorts that facilitate and improve the advancement
procedure and give access to framework usefulness. (net-informations, 2016)
The .Net Framework class library (FCL) composed in a various leveled tree structure and it is
separated into Namespaces. Namespaces is a coherent gathering of sorts with the end goal of
distinguishing proof. System class library (FCL) gives the predictable base sorts that are utilized
over all .NET empowered dialects. The Classes are gotten to by namespaces, which dwell inside
Assemblies. The System Namespace is the root for sorts in the .NET Framework. The .Net
Framework class library (FCL) classes are overseen classes that give access to System Services .
The .Net Framework class library (FCL) classes are question arranged and simple to use in
program improvements. Also, outsider segments can coordinate with the classes in the .NET
Framework. (net-informations, 2016)
In conjunction with the CLR, the class library bolsters dynamic runtime official as well as
powerful gather time authoritative. Despite the fact that the term order time restricting is
available to talk about, the training isn't. On the off chance that a protest is absent, it is feasible
for an application to acquire the source code and gather it on the fly. Calling the compiler, in the
System.CodeDom.Compiler namespace, with either a string or a record name restores a
reference to the executable code. The outcomes would then be able to be stacked and the
question's techniques executed, in this manner giving a radical new significance to late
authoritative. (C# Corner, 2016)
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 28
As indicated by C# Corner (2016) The class library is an extensive execution that tends to 80
percent of issue area needs with an out-of-the-crate reply. A modified arrangement is the main
option in a few circumstances. In outlining the class library, the designers paid a lot of
thoughtfulness regarding extensibility. The library includes a rich arrangement of virtual and
conceptual classes and techniques, and in addition an extensive variety of interfaces to handle
any customization prerequisite.
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 29
Task 4
4.1 Class
As indicated by code venture (2015) a class is just a portrayal of a kind of protest. It is the
outline, or plan, or format that portrays the subtle elements of a protest. A class is the outline
from which the individual items are made. Class is made out of three things: a name, properties,
and operations
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 30
UML remains for Unified Modeling Language which is utilized as a part of protest arranged
programming designing. Albeit regularly utilized as a part of programming building it is a rich
dialect that can be utilized to demonstrate an application structures, conduct and even business
forms. There are 14 UML chart sorts to enable you to show these conduct.
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 31
Characteristic Once recognized the principle sorts of articles will use in arrangement, next
characterize the interior idea of each sort: demonstrate properties and practices. Here concentrate
by and by on what's imperative to specific arrangement. There are numerous approaches to
portray a Book. Can, for instance, discuss its Author's name, its Topic, and so forth. Must, as the
architect, pick the characteristics of a kind of protest that are most critical, and model just those.
For instance, choose that Subject, Author's name, and position in the books are the main traits
that are critical in arrangement. As said beforehand, a protest has state and conduct, and the idea
of a question's state is characterized by its traits. (Bill, 2016)
What is Use Case Diagram? An utilization case is a philosophy utilized as a part of framework
examination to distinguish, illuminate, and compose framework prerequisites. In this unique
situation, the expression "framework" alludes to something being created or worked, for
example, a mail-arrange item deals and administration Web webpage. Utilize case outlines are
utilized in UML (Unified Modeling Language), a standard documentation for the displaying of
certifiable items and frameworks. (TechTarget, 2016)
The motivation behind utilize case outline is to catch the dynamic part of a framework. In any
case, this definition is excessively non specific, making it impossible to portray the reason. Since
other four graphs (movement, grouping, coordinated effort and Statechart) are additionally
having a similar reason. So we will investigate some particular reason which will recognize it
from other four outlines. Utilize case outlines are utilized to accumulate the prerequisites of a
framework including inner and outside impacts. These necessities are generally outline
prerequisites. So when a framework is investigated to assemble its functionalities utilize cases
are readied and on-screen characters are distinguished. Presently when the underlying
assignment is finished utilize case charts are demonstrated to exhibit the outside view.
(tutorialspoint, 2015)
The reasons for utilize case graphs can be as per the following,
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 32
Part class
The class contains six characteristics: ID, Name, Nic, and Address and Contac no.the every trait
are characterize as private.it implies the properties are not unmistakable different classes. The ID
property information Type is whole number and Name, Nic, Address and Contact no Attributes
Data sorts are String.
The class contains Four strategies: Add (), Delete (), Update () And Search ().the every strategy
are characterize as Public.it implies the every technique are noticeable to different class.
Book Class
The contains five qualities: ID, Name, Author, and Category. The every property are characterize
as private.it implies the qualities are not obvious different classes. The ID property Data Type is
whole number and Name, Author and Category Attributes Data sorts are String.
The class contains Four techniques: Add book (), Delete book (), Update book () And Search
book ().the every strategy are characterize as Public.it implies the every strategy are
unmistakable to different class.
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 33
Issuebook Class
The class incorporate Two strategies: Check Issue book ( ) and CheckIsuuebook ().the every
technique are characterize as Public.it implies the every strategy are unmistakable to different
class.
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 34
4.2
Evaluate potential conveyance conditions and cooperation
To introduce the new framework the Sarasavi library have purchased 5 PCs and arranged them
together to make a server. Windows server 2012 is introduced on the server PC for the server
machine the equipment determinations are
- 8GB Ram
- 2TB HDD
- 2GB VGA
- 2 DVD Rw Drives
For the customer PCs windows 8.1 is introduced as working framework and the Sarasavi library
have purchased 4 PCs with the accompanying determinations,
- 2Gb Ram
- 160GB HDD
- 1BG VGA
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 35
The server machine is puts on the table of the curator. Furthermore, the framework is introduced
on the server PC. Administrator himself works the server and keeps up the server. The other
customer PCs are puts close to the primary passage of the library to make simple for the
individuals. Individuals can check the accessibility of the books by utilizing the framework
without checking the book racks. This may spare the part's chance. In the event that the book the
part look isn't at the library the part can make a request.
At the point when the book that the part asked for is come back to the library the custodian check
the request made in regards to the applicable book and make a call to the part and educates them
the accessibility of the book which the part asked. On the off chance that a part doesn't have a
thought how work the framework, the part can ask the assistance from the custodian or get the
client manual of the framework.
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 36
4.3
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 37
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 38
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 39
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 40
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 41
Specialized archive
Date: 12/12/17
The proposed framework Setup and establishment guidelines are given in this area. Managers or
any individual who is occupied with the framework will be guided well ordered to an effective
framework establishment. Following suggested prerequisites ought to be required keeping in
mind the end goal to setup the framework.
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 42
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 43
As indicated by Customer input and recognize framework impediment and propose suggestion to
enhance the proposed framework. The proposed framework at present exists manual enter data.it
will be set aside more opportunity for entering the information into the framework. Considering
this issue and Suggest Modern procedures like programmed information section assistants and
standardized tag scanners are utilized to limit blunders in the framework.
The curator need to issue some book to part and give an arrival date for issued book. When
gravitating toward issue book of return Date the client need to advise about this part. The
administrator need to advise by means of call each every part one by one. This procedure is
devouring the time and expanding the cost. Considering this Suggest to include Short Message
Service (SMS) for Proposed Sytem.members wireless numbers are right now arranged into the
system`s Database. This highlights permits to send message at an once time all through the part.
To utilizing this element can lessen time and cost.
More secure and more powerful strategy for securing framework and information is online
reinforcement. Framework put away online are sheltered from harm PC, and if something turns
out badly with machine will at present have remote access to data from any PC with web get to.
This implies framework can be rapidly and effortlessly reestablished to PC from a safe online
server.
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 44
Conclusion
According to Scenario the propose system was developed successfully using C# language with
help of Visual Studio IDE.it was a good experienced develop the system using Visual Studio.
There is a single tool that reduces the complexity, makes writing, compiling and executing
software applications easier. When implement the System the Development environments
usually offer many additions to the main development functions such as debugging, unit testing,
checking for common errors, access to a repository and others. Some features were helped to
develop the System quickly and effectively.
Error list feature was helpful to Check Syntax error, check for other errors like missing libraries
of the programme code. When to compile the programme. There was error occurred and errors
are under lined in red and it will mark with a small red "x" in the "Error List" window. The
problem is displayed for each error – filename, line number and project name. If double click any
of the errors in the "Error List", Visual Studio will automatically take to the file and line of code
where the error has occurred. This feature helped to handling the error easily and quickly.
The cod suggestion feature was a user-friendly to develop the programme code. Helps quickly
complete and generate code through the code suggestion feature. Code suggestion is very useful
when want to fill in the missing code, look at the options available in the context of application,
and generate blocks of code when needed. Finally successfully developed the system and learnt
features related to visual studio.
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)
Page 45
References
C# Corner. (2016) What is Common Language Runtime in C#. [Online] Available from:
http://www.c-sharpcorner.com/UploadFile/9582c9/what-is-common-language-runtim e-in-C-
Sharp/.[accessed 26 April 2016].
Microsoft. (2016) What's New in the .NET Framework Version 3.5. [Online] Available
from:https://msdn.microsoft.com/en-us/library/bb332048(v=vs.90).aspx.[accessed 18th June
2016] .
Microsoft. (2016) What's New in the .NET Framework. [Online] Available from:https:
//msdn.microsoft.com/en-us/library/ms171868(v=vs.110).aspx#core.[accessed18th June 2016].
Microsoft. (2016) What's New in the .NET Framework Version 2.0. [Online] Available
from:https://msdn.microsoft.com/en-us/library/bb822048(v=vs.90).aspx.[Accessed 18th June
2016]
Microsoft. (2016) What's New in the .NET Framework Version 3.0. [Online] Available
from:https://msdn.microsoft.com/en-us/library/bb822048(v=vs.90).aspx [accessed 18th June
2016]
Vagish Kirubaharan
Programming in C#Net
(NET-16-001)