In this article you will learn how to format Macromedia's Dreamweaver MX to work with .Net for your Microsoft Web Servers. By the end of this article you will be able to program a .Net web site.
Creating Dynamic Web Sites with .Net and Dreamweaver MX
by Matthew David
Over the last two years Microsoft has been funneling billions into developing and promoting it's new technology: .Net. In this article you will learn how to format Macromedia's Dreamweaver MX to work with .Net for your Microsoft Web Servers. By the end of this article you will be able to program a .Net web site.
What is .Net?
April 2002, Microsoft released the much anticipated .Net framework. The .Net framework is a radical departure from previous technologies for Microsoft. The single most significant change is that software can now be built and sold as a service that can be delivered over the Internet.
Other changes that have been addressed by Microsoft is speed, control and scalability. This is all very important when you are developing large scale web sites. The .Net Framework, the name for the complete set of Microsofts new tools, has a large number of components that allow you to build web sites that display content more rapidly than traditional Active Server Pages; can scale to larger audiences and give you a broader set of tools through which you can develop engaging web sites.
The web development environment for .Net centers around two distinct technologies: ASP.Net and ADO.Net.
ASP.Net is the new incarnation of Microsoft's Active Server Pages, ASP. ASP pages have been the bread and butter for programmers developing web sites that run on Microsofts NT and Windows 2000 Servers. There are many signifcant new changes with ASP.Net over its older cousin, ASP. You could say that the name is the same, but everything is now different beneath the hood.
The first main change is that all of your web pages no longer end in .asp. Your new suffix is .aspx. You will be delighted to know that ASP and ASPX pages can reside on the same server at the same time.
The second largest change can be seen with the code in your pages. ASP pages mix all of the code you need to access content from databases, COM Objects, formatting and style into one page - this is often referred to as spaghetti code. Why? Try finding your way through the code - it is a mess. The new ASP.Net separates Server Side Code from design. This makes it much easier for programmers and designers to work on the same pages without corrupting each others development.
The final big change for developers with ASP.Net is the inclusion of two new programming technologies: VB.Net and C#. VB.Net is a new iteration of Microsoft's Visual Basic Technology. There are a lot of similarities with VB.Net and the Visual Basic 6. On the other hand, C# is a completely new technology. C# is based upon the industry programming standard C++. This means that there is a correlation between C# and Java. Both technologies are based upon C++. C# is worth learning as it typically performs 10x faster than VB.Net. You can think of C# as the sports car tearing through the Internet.
The second technology that you need to know when you are working with .Net is ADO.Net. ADO.Net is an acronym for Active Data Object. Essentially, ADO.Net allows you to connect to databases. While ADO.Net may not be as visually stunning as ASP.Net you do need ADO.Net to connect to your databases.
For the designer a new set of programming languages is just another thing you have to learn, damn it. Just when you got the knack of building those ASP (Active Server Pages) pages along comes a brand, spanking new technology that is just so cool and efficient you got to get in to it. So how do you get in to?
Macromedia has been working closely with Microsoft. The result is evident within the new Macromedia Dreamweaver MX. Dreamweaver MX now supports the database technologies first introduced with Dreamweaver UltraDev. This includes Server Behaviors, Data Sets and Connecting to Databases.
UltraDev allowed you to create database driven sites for Active Server Pages, ColdFusion and Java Server Pages. Now, Dreamweaver MX allows you to create .Net pages (and they can be either VB.Net or C#).
Matthew David has been developing Flash based applications for over 6 years (that makes him very old in this business!). Examples of his work can be found at his web site www.matthewdavid.ws, or you can email him directly at firstname.lastname@example.org.
Matthew’s most recent publications include content for Flash 5 Magic, Inside Dreamweaver 4, Flash 5: Visual FX, Web Publishing Bible and The Dreamweaver Bible. You can also see him popping up in many online magazines, such as Sitepoint.com, Windowatch.com, UDzone.com and DevX.com.
Currently, Matthew is working on two books and writing articles for Element K Journal’s Macromedia Solutions magazine. He is a available as a freelance consultant to work on web based projects.