E sampark with c#.net

Preview:

DESCRIPTION

E sampark c#.net computer science computer language

Citation preview

Presentation Presentation on on

projectproject

e-Samparke-Sampark

withwithc#.netc#.net

www.ClevelandDotNet.info

Introduction to .NetIntroduction to .Net

www.ClevelandDotNet.info

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

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)

.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)

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

.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

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

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”

Web App BenchmarkWeb App Benchmark

Distributed TransactionsDistributed Transactions

Web Service ThroughputWeb Service Throughput

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

.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

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/

Introduction to C#Introduction to C#

Session PrerequisitesSession Prerequisites

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

AgendaAgenda

Hello WorldDesign Goals of C#Language Features

Hello WorldHello WorldDEMO 1: Hello WorldDEMO 1: Hello World

using System;

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

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

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

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

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; } }}

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

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

C# BooksC# Books

C# CustomersC# Customers

ProjectProject

e-Sampark

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.

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

THREE LAYERS OF PROJECT

DFD for e-Sampark

SNAPSHOTS

TABLES IN BACK-END 

Table for Admin/Operator

Table for Customer Id

SUMMARY OF CONNECTION OF TABLES

Forms Forms

More ResourcesMore Resources

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

◦microsoft.public.dotnet.languages.csharp

Questions?Questions?