![]() |
![]() ![]()
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
On November 10th and 11th, 2005 the fourth SQL Server and ASP.NET Conference of the German FoxPro User Group dFPUG will take place in Frankfurt, Germany.
Welcome...
by Armin Neudert and Jan Vít
Hi everyone! It is again the time of the SQL-Server & ASP.NET conference and we are here at the place, so that you won't miss it, even if you didn't have time to attend this year. In parallel with this conference, there is also a German Visual FoxPro Developer Conference running. Since all the sessions of both these conferences are being presented at the same place and the same time, you'll find more information about the actual place in the report from the VFP DevCon at http://www.utcoverage.com/German/20051. Here we will mention just those sessions related specifically to this conference. For common session please also visit the link provided above. After that we learned what makes up the SQL Server platform. Armin shortly explained what the Integration, Analysis, Reporting, Notification and Replication Services could do for us. He then went through the installation process, explaining what all the settings we can make are about. We learned about the components, tools and services that are available on your machine after running the SQL Server setup routine. Armin explained all the things about SQL Server architecture and everything we need to know regarding the first steps of database administration - including how to create Stored Procedures and Triggers - and running queries with SQL Server Management Studio. After that he explained the differences between the available SQL Server editions and everything we need to know about licensing. A very interesting edition of SQL Server is the Express edition. It is free and we may redistribute freely as well. Armin pointed out that we have to install the .NET Framework 2.0 and Windows Installer 3 before we can install the Express edition. The online documentation is also available as a separate download. In contrast to the SQL Server 2000 Desktop Engine (MSDE), a reduced management tool is available for the Express Edition. Management Studio Express is currently available as a November Community Technology Preview version. In the second session, Armin then covered topics important for production use of SQL Server. We learned about SQL Server authentication, how to create logins and database users, what server and database roles are, etc. After that, Armin explained and showed us how to make backups and restore databases, how to create maintenance plans and how we can get notification for alerts from the SQL Server Agent service. The last part of these two sessions dealt with replication.
Intro SQL-Server reporting services - Dan Jurden
SQL Reporting services are nothing new in the recently shipped version of SQL Server 2005. It has been around for quite a while. It is basically a report engine, allowing you to create, distribute and use reports directly from the database server. It also provides an enormous flexibility. If you are missing an output format or on the other hand have a specific data source to load as an input, you can teach the server to handle it using your custom-made components. The core three components of the SQL Reporting Services are Report Manager, Report Server and Report Server Database. The Report Manager is responsible for setting up all the details around your report. It is a web application installed directly on your web server. Report Server is a web service that handles SOAP and URL requests, evaluates them and then executes the queries to actually get the data to create the report. It also provides a caching and security mechanisms. Report Database Server serves as storage for the report data, such as report definitions, metadata, cached reports, snapshots and resources. It also contains security and scheduling information. In reality, when a report is requested, the report definition and the actual data are retrieved from the database by processing the queries and a report in an intermediate format is produced. That can be cashed for a later use and/or can be directly rendered into HTML, PDF or any other format of your choice.
Unit Testing in VS.NET 2005 - Dan Jurden Modern strategies in a software development suggest using business objects as a foundation for the database applications. They encapsulate the (business) logic and basically everything concerning the object directly inside them. The real pain comes when you need to test them. To test all the business objects, their methods and properties so that you know that there are no (understand not many) bugs in the individual parts you cannot just run the application as a whole - there is none at that time. You need to write dedicated tests. This approach is called unit testing. It also suggests writing the test before the actual implementation of the business objects. The implementation should be done after running the first test (surprisingly) with all the tests marked failed. Then the steps of the implementation should be aimed at making the individual tests to pass one by one. The golden rule is not to write more or less code, just to make sure that you write exactly the amount of code that is needed for the test to pass. To create the tests you basically have two options. You can either write them manually or let them be generated for you. Earlier, Visual Studio developers used to use the NUnit tool for that purpose. Today, shortly after the release of the Visual Studio 2005, there is a new tool integrated right into the IDE. It is called unit testing, but is only available in the Visual Studio Team Edition for Testers. Dan then continued with examples. He created a very simple business object from scratch and then showed some of the powerful possibilities the unit testing in VS 2005 offers, such as the expected exception, asserts, data driven tests, code coverage, and a few more.
Microsoft SQL Server DTS - Sebastian Flucke
First, Sebastian (as always with the fox on his shoulder) gave us an overview on what we can do with SQL Server Data Transformation Services (DTS). He then explained that DTS is a technology built into SQL Server 2000 and that the new version of DTS in SQL Server 2005 is now called Integration Services. Sebastian told us that DTS is a powerful tool that can do a lot more than imports and exports. It provides the possibility to visually or programmatically create workflows for complex import, export and data transformation processes. These processes can be created using a visual designer and can be stored as so-called packages that can be executed directly or scheduled. After this, Sebastian showed us how to create a DTS package from scratch and told us that we can not only use the Visual Basic scripting language for making data transformations and other tasks. Furthermore, we can create Visual FoxPro COM server DLLs that can be included in DTS packages. Finally, Sebastian gave us a quick overview on the enhancements in SQL Server 2005 Integration Services.
Acknowledgements
We would like to say thank you to Pavel Celba, Raphael and Eugen Wirsing, who provided an enormous ammount of nice pictures. This was a great help and that is why the picture archive is so huge this time! And again, as every year, a big thank you to Rainer and his Team consisting of Tina, Andelko and Sven for providing a great event, everyone really enjoyed. We are looking forward for the next year's conference. Our extended thanks goes also to Michel Fournier, for enabling the UT, so that we can share this wonderful moment with all of you out there! At this point we would like to remember Brent Speedie who was a great help proofreading our text the last two years. He and Drew were really missed here.
62 Rue Doucet, Petit-Rocher, New Brunswick, E8J 1L3 Telephone: 1-506-783-9007 Email: mfournier@levelextreme.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||