39
Presentation Presentation on on project project e-Sampark e-Sampark with with c#.net c#.net www.ClevelandDotNet.i nfo

E sampark with c#.net

Embed Size (px)

DESCRIPTION

E sampark c#.net computer science computer language

Citation preview

Page 1: E sampark with c#.net

Presentation Presentation on on

projectproject

e-Samparke-Sampark

withwithc#.netc#.net

www.ClevelandDotNet.info

Page 2: E sampark with c#.net

Introduction to .NetIntroduction to .Net

www.ClevelandDotNet.info

Page 3: E sampark with c#.net

AgendaAgendaIntroductionsWhat is .Net?.Net FrameworkAdvantages of .NetAdvantages of CLRVisual Studio 2005.Net LanguagesC# Resources

Page 4: E sampark with c#.net

What is .Net?What is .Net? New programming methodology

◦ Multiple Languages (VB.Net, C#, J#, Cobol.Net, etc.)

◦ JIT Compiler(just-in-time)

Primary Parts: .Net Framework Common Language Runtime (CLR)

RTM:◦ 2002 (v1.0)◦ 2003 (v1.1)◦ 2005 (v2.0)

Page 5: E sampark with c#.net

.Net Framework.Net Framework Supports Web Standards

◦ HTML◦ XML◦ XSLT◦ SOAP◦ WSDL (Web Services)

ADO.Net: ActiveX Data Objects

ASP.Net: Active Server Pages

ILDASM: A tool used to properly display IL in a human readable format.

.Net Compact Framework (mobile devices)

Page 6: E sampark with c#.net

The .NET FrameworkThe .NET FrameworkCommon Language RuntimeCommon Language Runtime

Base Class LibraryBase Class Library

Common Language SpecificationCommon Language Specification

Common Language RuntimeCommon Language Runtime

ADO.NET: Data and XMLADO.NET: Data and XML

VBVB C++C++ C#C#V

isual S

tud

io.N

ET

Visu

al Stu

dio

.NE

T

ASP.NET: Web ServicesASP.NET: Web Servicesand Web Formsand Web Forms

JScriptJScript ……

WindowsWindowsFormsForms

Page 7: E sampark with c#.net

.NET Framework and CLR .NET Framework and CLR CLR Execution ModelCLR Execution Model

VBVBSource Source codecode

CompilerCompiler

C++C++C#C#

CompilerCompilerCompilerCompiler

AssemblyAssemblyIL CodeIL Code

AssemblyAssemblyIL CodeIL Code

AssemblyAssemblyIL CodeIL Code

Operating System ServicesOperating System Services

Common Language RuntimeCommon Language Runtime

JIT CompilerJIT Compiler

Native CodeNative Code

ManagedManagedcodecode

UnmanagedUnmanagedComponentComponent

Page 8: E sampark with c#.net

Advantages of .NetAdvantages of .Net Write once, run everywhere

Multiple programming languages (20+)

Coding Reduction◦ Controls◦ Template projects◦ IIS/Cassini support

Ease of Deployment

Security Features◦ Evidence-based security ◦ Code access security ◦ The verification process ◦ Role-based security ◦ Cryptography ◦ Application domains

Page 9: E sampark with c#.net

Advantages of CLRAdvantages of CLRSupport for developer services

(debugging)

Interoperation between managed code and unmanaged code (COM, DLLs).

Managed code environment

Improved memory handling

Improved “garbage collection”

Page 10: E sampark with c#.net

Web App BenchmarkWeb App Benchmark

Page 11: E sampark with c#.net

Distributed TransactionsDistributed Transactions

Page 12: E sampark with c#.net

Web Service ThroughputWeb Service Throughput

Page 13: E sampark with c#.net

Visual Studio 2005Visual Studio 2005 IDE for .Net development

Dotfuscator encryption tools

Cassini (IIS)

Application Testing Center

Team Suite for project management

Express versions (free)

VB6 to VB.Net conversion wizard

Page 14: E sampark with c#.net

.Net Programming .Net Programming LanguagesLanguages

1. Visual Basic.Net2. C#3. APL4. Fortran 5. Pascal 6. C++ 7. Haskell 8. Perl 9. Java Language 10.Python 11.COBOL 12.Microsoft JScript

13. RPG 14. Component Pascal 15. Mercury 16. Scheme 17. Curriculum 18. Mondrian 19. SmallTalk 20. Eiffel 21. Oberon 22. Standard ML 23. Forth 24. Oz

Page 15: E sampark with c#.net

Informational ResourcesInformational Resources .Net Overview

http://msdn.microsoft.com/netframework/technologyinfo/overview/

What .Net means to IT Professionalshttp://www.microsoft.com/net/business/it_pros.asp

Case Studies:◦ Continental Airlines◦ Dollar Rent A Car Systems◦ U.S. Army Intelligence and Security Command◦ Scandinavian Airlines

TS2 Seminarshttp://www.ts2seminars.com/

Page 16: E sampark with c#.net

Introduction to C#Introduction to C#

Page 17: E sampark with c#.net

Session PrerequisitesSession Prerequisites

This session assumes that we understand the fundamentals of◦Object oriented programming

Page 18: E sampark with c#.net

AgendaAgenda

Hello WorldDesign Goals of C#Language Features

Page 19: E sampark with c#.net

Hello WorldHello WorldDEMO 1: Hello WorldDEMO 1: Hello World

using System;

class Hello{ static void Main() { Console.WriteLine("Hello world"); }}

Page 20: E sampark with c#.net

Design Goals of C#Design Goals of C#The Big IdeasThe Big Ideas

The first “Component Oriented” language in the C/C++ family

Everything really is an objectNext generation robust and

durable softwarePreserving your investment

Page 21: E sampark with c#.net

Design Goals of C#Design Goals of C# InteroperabilityInteroperability

C#C#

VB.NETVB.NET

MC++MC++

JScript JScript

... ...

.NET Languages.NET Languages

COMCOMOLE AutomationOLE Automation

XML/SOAPXML/SOAP

Dynamic Link LibrariesDynamic Link Libraries

P/Invoke and unsafe codeP/Invoke and unsafe code

Page 22: E sampark with c#.net

Language FeaturesLanguage FeaturesProgram StructureProgram Structure

Namespaces◦ Contain types and other namespaces

Type declarations◦ Classes, structs, interfaces, enums,

and delegatesMembers

◦ Constants, fields, methods, properties, indexers, events, operators, constructors, destructors

Organization◦ No header files, code written “in-line”◦ No declaration order dependence

Page 23: E sampark with c#.net

Language FeaturesLanguage Features Program StructureProgram Structure

using System;namespace System.Collections{ public class Stack { Entry top; public void Push(object data) { top = new Entry(top, data); } public object Pop() { if (top == null) throw new InvalidOperationException(); object result = top.data; top = top.next; return result; } }}

Page 24: E sampark with c#.net

Language FeaturesLanguage Features Predefined TypesPredefined Types

C# predefined types◦Reference object, string◦Signed sbyte, short, int, long◦Unsigned byte, ushort, uint,

ulong◦Character char◦Floating-point float, double, decimal◦Logical bool

Predefined types are simply aliases for system-provided types◦For example, int = System.Int32

Page 25: E sampark with c#.net

Language FeaturesLanguage Features ClassesClasses

Single inheritanceMultiple interface implementationClass members

◦Constants, fields, methods, properties, indexers, events, operators, constructors, destructors

◦Static and instance members◦Nested types

Member access◦Public, protected, internal, private

Page 26: E sampark with c#.net

C# BooksC# Books

Page 27: E sampark with c#.net

C# CustomersC# Customers

Page 28: E sampark with c#.net

ProjectProject

e-Sampark

Page 29: E sampark with c#.net

e-Sampark Project

Project e-Sampark was initiated to bring together the services of all the departments under one single umbrella and give citizens of Chandigarh a “multi-service” - “single-window” experience apart from eradicating the undue harassment met by the citizens due to lack of transparency.

Page 30: E sampark with c#.net

Objectives

The objectives of this project are :Provide hassle free one-stop solution to the citizenMinimize multiple interaction points for the citizen

and hence reducing the wastage of their valuable time

Provide better turn around time in receipt, processing and issue of services

Transparency in delivery of services

Page 31: E sampark with c#.net

THREE LAYERS OF PROJECT

Page 32: E sampark with c#.net

DFD for e-Sampark

Page 33: E sampark with c#.net

SNAPSHOTS

TABLES IN BACK-END 

Table for Admin/Operator

Page 34: E sampark with c#.net

Table for Customer Id

Page 35: E sampark with c#.net

SUMMARY OF CONNECTION OF TABLES

Page 36: E sampark with c#.net

Forms Forms

Page 37: E sampark with c#.net

More ResourcesMore Resources

http://msdn.microsoft.com/C# language specificationC# newsgroups

◦microsoft.public.dotnet.languages.csharp

Page 38: E sampark with c#.net

Questions?Questions?

Page 39: E sampark with c#.net