Developing Windows and Web Applications using Visual Studio'NET - PowerPoint PPT Presentation

1 / 19
About This Presentation
Title:

Developing Windows and Web Applications using Visual Studio'NET

Description:

http://www.ssw.com.au/ssw/events/2006UTSNET/default.aspx?HideLeftNav=True. What is .NET? ... http://www.c-sharpcorner.com/Code/2003/Jan/SingletonPattern.asp ... – PowerPoint PPT presentation

Number of Views:52
Avg rating:3.0/5.0
Slides: 20
Provided by: jatinva
Category:

less

Transcript and Presenter's Notes

Title: Developing Windows and Web Applications using Visual Studio'NET


1
Developing Windows and Web Applications using
Visual Studio.NET
  • Presented by Adam Cogan Tim Kremer

2
Admin Stuff
  • Attendance
  • You initial sheet
  • Hands On Lab
  • You get me to initial sheet
  • Homework
  • Certificate
  • At end of 10 sessions
  • If I say if you have completed successfully ?

3
About
  • Adam Cogan is the Chief Software Architect at
    SSW, and one of two Microsoft Regional Directors
    in Australia.
  • Tim Kremer is a Senior Software Developer at SSW,
    specialising in .NET SQL Server Solutions.

4
Session 1 Overview
  • The 10 Sessions
  • Part 1 WinForms
  • Part 2 - WebForms
  • What is .NET?
  • Language Differences
  • Review of the OOP
  • The 4 Projects (n-Tier)
  • Demo Creating Winforms (VB.NET 2005)

5
The 10 Sessions
  • http//www.ssw.com.au/ssw/events/2006UTSNET/defaul
    t.aspx?HideLeftNavTrue

6
What is .NET?
  • .NET is the Microsoft Web services strategy to
    connect information, people, systems, and devices
    through software.

7
What is .NET?
  • Based on Web services
  • Connect to data across multiple applications
  • Connect to information anywhere in the world
  • .NET Framework
  • Over 4500 classes that encapsulate rich
    functionality like
  • XML
  • Data access
  • file upload
  • regular expressions
  • image generation
  • and heaps more!
  • The same application can be written in different
    languages

8
Language Differences
  • Variables

' VB Dim FavouriteColour As String "LightGreen"
// C String FavouriteColour "LightGreen"
9
Language Differences
  • VB Properties

Public Property FirstName() As String
Get Return pFirstName End
Get Set(ByVal value As String)
pFirstName value End Set End Property
Encapsulation!
10
Language Differences
  • C Properties

public String FirstName get Return
pFirstName set pFirstName
value
11
Language Differences
  • Methods
  • 'VB
  • Public Function GetName () As String
  • Public Sub DoSomething()
  • //C
  • public string GetName()
  • public void DoSomething()

12
Demo
  • Main Form
  • Menu
  • Opening another form

13
Reviewing Object Orientation
  • Singleton
  • Status_Singleton
  • http//www.c-sharpcorner.com/Code/2003/Jan/Singlet
    onPattern.asp

14
The 4 Projects
WindowsUI
DataSets
  • WindowsUI
  • Business
  • DataSets
  • DataAccess

Business
DataAccess
Database
15
The 4 Projects
  • Why do it this way?
  • Separate logic and data access from presentation
  • Easier to maintain code
  • Swap components without affecting the rest of
    the application
  • Re-use business logic
  • Easily add a Web UI

16
Creating Windows Forms
  • Opening forms
  • Menus
  • Event handlers
  • Make a user control

17
Summary
  • The 10 Sessions
  • Overview of .NET
  • Language Differences
  • Review of the OOP
  • The 4 Projects (n-Tier)
  • Demo Creating Winforms (VB.NET 2005)

18
2 things
AdamCogan_at_ssw.com.au TimKremer_at_ssw.com.au
19
Thank You!
.NET is Cool
Write a Comment
User Comments (0)
About PowerShow.com