Introduction to .NET

1 / 18
About This Presentation
Title:

Introduction to .NET

Description:

Introduction to .NET – PowerPoint PPT presentation

Number of Views:0
Avg rating:3.0/5.0

less

Transcript and Presenter's Notes

Title: Introduction to .NET


1
Introduction to .NET
2
Getting Started
.NET Presentation Getting Started
Common Questions
  • Isnt .NET development expensive?
  • If .NET was important then we would learn about
    it at University
  • .NET is proprietary and goes against industry
    standards

3
My Project
.NET Presentation Getting Started
  • Task To create a personal blog
  • Why?
  • To act as a resume to potential employers, to
    keep a record of my developments and to gain a
    reputation as a community orientated developer.

http//www.kgbnetworks.com/
4
.NET Presentation Student Resources
  • The MSDN Academic Alliance program gives students
    access to the latest Microsoft software. Current
    products that are freely available to students
    are Windows XP Pro, Windows Server 2003, Visio
    Professional, Project Professional and Visual
    Studio .NET 2003 Academic.
  • MSDN Connection is a free program which gives
    students access to a number of services. This
    includes free ASP.NET hosting, a bi-monthly MSDN
    Australia Magazine, 20 off MSPress books and
    discounts on training and certification.

5
.NET Presentation Student Resources
  • Although you can access the full version of
    Visual Studio through the MSDNAA program, you can
    also download the Express Editions for free from
    the Microsoft website
  • The Visual Studio Express Edition website is
    http//lab.msdn.microsoft.com/express/
  • The versions available for download are
  • Visual Web Developer 2005 Express Edition
  • Visual Basic 2005 Express Edition
  • Visual C 2005 Express Edition
  • Visual C Express Edition
  • SQL Server 2005 Express Edition
  • Visual J Express Edition

6
.NET Presentation VS.NET Express Edition 2005
7
Isnt .NET development expensive?
.NET Presentation Development
  • Cost Summary

Product Price
Windows Server 2003 0
Visual Studio Express Edition 0
Total 0
8
If .NET was important then we would learn about
it at University
.NET Presentation Development
  • The following Universities offer .NET based
    courses
  • The University of Melbourne 2 courses
  • The University of Swinburne 13 courses
  • RMIT 9 courses
  • Charles Sturt University 12 courses
  • University of Technology Sydney 4 courses
  • Queensland University of Technology 10 courses

9
But I like my language better!
.NET Presentation Other Languages
  • That is ok too! Microsoft has made sure the .NET
    platform supports a number of different
    languages
  • Microsoft Languages Visual Basic, C, J
  • Other Languages Java, Perl, Python, C,
    Jscript, Pascal, Small Talk, APL, Cobol, Eiffel,
    Fortran and Forth
  • These are referred to as Common Language
    Specification (CLS) compatible programming
    languages

10
I know Java, but where do I start with .NET?
.NET Presentation Other Languages
  • The Java to .NET migration workshop is a good
    place to start
  • Located at http//msdn.microsoft.com/vstudio/java/
    migrate/workshop/
  • This workshop has numerous examples with full
    source code as well as written and video demos.
  • Examples include
  • Automatic Java -gt J.NET migration
  • JSP -gt ASP.NET migration
  • Java -gt .NET user interface migration

11
Starting with ASP.NET
.NET Presentation KGB Networks Development
  • Example code to connect to a MySQL Database

ASP.NET Code
lt_at_ Page Language"C" gt lt_at_ Import
Namespace"System.Data.Odbc" gt ltscript
runat"server"gt using(OdbcConnection con
new OdbcConnection(ConnStr))
using(OdbcCommand cmd new OdbcCommand("SELECT
FROM news", con)) lt/scriptgt
PHP Code
lt?php mysql_select_db("kgbnetworks",db)
result mysql_query("SELECT FROM
news",db) ?gt
12
Performance Comparison
.NET Presentation KGB Networks Development
  • I was curious to see if ASP.NET performed any
    better even with my tiny example

PHP http//www.kgbnetworks.com/index.php
Page Generation Time 0.0188382 Seconds ASP
http//www.kgbnetworks.com/Default.aspx
Page Generation Time 0.0156286 Seconds
13
Thats great, but
.NET Presentation .NET Web Services
  • Lets see what .NET is REALLY all about.
  • .NET heavily utilises web services
  • Web Services are based on W3C open standards
    (HTTP, XML and SOAP)
  • Any application that supports these open
    standards can communicate with a .NET
    application locally or remotely

14
Creating a Web Service
.NET Presentation .NET Web Services
  • It is as simple as

Using Visual Studio 2005 Express Edition
15
.NET Presentation .NET Web Services
16
Response
.NET Presentation .NET Web Services
  • The browser shows the response given by your web
    service in XML format
  • Advantages
  • Test your web service locally before deploying it
  • Allows external developers to play with your web
    service without having to write a single line of
    code
  • Useful for testing and isolating bugs in your
    system.

17
Your next step
.NET Presentation Conclusion
  • Download Visual Studio Express Editionhttp//lab.
    msdn.microsoft.com/express/
  • Find or create some web services to interact with
    (Plenty of good examples at www.xmethods.net)
  • Write some code that consumes or serves content
    via SOAP and XML
  • Publish it on a web site, as an application or
    both!

18
Thank you!
Write a Comment
User Comments (0)