February 2006 - Posts

Another great, extensive post by Scott Guthrie.  We have already done work with the ASP.NET 2.0 Membership and Roles, both in Winforms and Webforms, but I sure wish I had this list of resources when I started !

J.D. Meier's (from the MS Patters Practices PAG team) blog entry points to some short and useful security videos given by Keith Brown.

You should definitely add J.D.'s blog to your list of RSS subscriptions - I recently had the opportunity to spend some time with him and see some of the things that he is working on - and some of it is pretty cool.  Moreover, he pointed me to alot of really great resources that have actually been around for a while, but that I was totally unaware of.  Check out the following links on security and performance:

http://msdn.microsoft.com/SecurityGuidance
http://msdn.microsoft.com/Perf

http://channel9.msdn.com/Security
http://channel9.msdn.com/Performance

 

 

You can now take online SQL Server 2005 courses for free - here.

Be sure to pay attention to the titles and not the Summaries (A case of Copy and Paste gone wild)

Posted by Jackie Goldstein | with no comments
Filed under: ,

Since 1999, I haved looked forward to attending and speaking at the annual TechEd EMEA at the beginning of July.  It normally took place either in Barcelona or Amsterdam - both fun places to visit.  Well, the format of the show is being changed and moved to November.  The official announcement is here.  You can read Hans' take on it over here.

Here is a nice article on upgrading your ASP.NET 1.1 / VS 2003 web sites and applications to ASP.NET 2.0 / VS 2005
Posted by Jackie Goldstein | 1 comment(s)
Filed under: ,

[From Ohad]

APress offering several free ebooks on their website !!!

Dissecting a C# Application: Inside SharpDevelop
Learn advanced .NET programming techniques by getting an insider's look at a complete application!

The developers who created SharpDevelop give you the inside track on application development with a guided tour of the source code for SharpDevelop. They show you the most important code features and explain how you can use these techniques in your own projects. You will gain valuable experience of building an application on this scale, learning from the decisions, mistakes, problems, and solutions that led to the current version of SharpDevelop.

Download eBook (3.8 MB PDF file) – Download Source code (5.9MB Zip file)

Practical Common Lisp

Lisp is often thought of as an academic language, but it need not be. This is the first book that introduces Lisp as a language for the real world.

Practical Common Lisp presents a thorough introduction to Common Lisp, providing you with an overall understanding of the language features and how they work. Over a third of the book is devoted to practical examples such as the core of a spam filter and a web application for browsing MP3s and streaming them via the Shoutcast protocol to any standard MP3 client software (e.g., iTunes, XMMS, or WinAmp). In other "practical" chapters, author Peter Seibel demonstrates how to build a simple but flexible in-memory database, how to parse binary files, and how to build a unit test framework in 26 lines of code.

Download eBook (17.45 MB PDF file)

Google, Amazon, and Beyond: Creating and Consuming Web Services

While many books are focused on the underlying technologies of web services and others are dedicated to providing web services, few books show how to consume web services. Google, Amazon, and Beyond: Creating and Consuming Web Services provides a thorough review of the technologies and techniques for connecting client applications to services of all kinds.

Using a decidedly hands-on approach, authors Alexander Nakhimovsky and Tom Myers present extensive examples of programming with XML, SOAP, REST, and WSDL in JavaScript (tested in IE and Mozilla) and in Java (using open-source tools available on Windows, Linux, and OS X).

Download eBook (4.90 MB PDF file)

XML Programming: Web Applications and Web Services With JSP and ASP

XML Programming: Web Applications and Web Services with JSP and ASP provides a fast-moving introduction to the XML family of technologies for programmers. Although written with a focus upon JSP- and ASP-based XML solutions, the book presents the material from a language-independent point of view that benefits all developers, whatever their language. The code is written to be readable by all.

Chapters 1 through 3 cover the foundations of XML—well-formed and valid documents, DTDs and namespaces—but XLink, XPointer, and elements of XSLT are introduced early so the examples can be interesting and useful. Chapters 4 through 6 cover XML processing using SAX, DOM, and XSLT, separately and in various combinations. Each chapter progresses from simple to advanced examples.

Chapter 7 is devoted to the development of a real world project involving the use of various XML technologies to create an information repository. In the context of the project, the authors present RDF and the Dublin Core; revisit XPath, XLink, and XPointer; and show how XML data can live inside a relational database. Chapter 8 introduces the newer validation technologies (RELAX NG and XML Schema), in preparation for the final chapter on Web services. In the concluding chapter, the authors not only explain the specifications, but also build working examples: You're shown, step-by-step, how to convert a software module into a Web service, how to generate a WSDL description from code, how to use WSDL to generate stubs and skeletons for distributed language-independent applications, and how to register such applications with a UDDI repository, either local or on the Internet.

XML Programming: Web Applications and Web Services with JSP and ASP is an indispensable resource for programmers who wish to become proficient in XML technologies and use them for solving large-scale, real-life problems.

Download eBook (3.66 MB PDF file)

COM and .NET Interoperability

COM and .NET Interoperability provides a complete overview of the process of building .NET applications that interact (interoperate) with existing COM code. Before digging into that critical topic, author Andrew Troelsen offers a concise overview of the COM architecture and provides examples using various COM frameworks (C++, ATL, and VB 6.0) as well as the core .NET managed languages (C# and VB .NET).

After covering the preliminaries, the book explores numerous issues that arise in interoperability, including interacting with the Win32 API, dynamically generating source code via System.CodeDOM, creating serviced (COM+) components using managed code, manually editing (and recompiling) .NET metadata, and the process of constructing custom COM/.NET conversion utilities. Both intermediate and advanced developers will welcome the practical information they need to quickly work with COM and COM+ in .NET applications, and learn how to create .NET components that are COM compatible.

Download eBook (6.36 MB PDF file)

Programming VB .NET: A Guide For Experienced Programmers

In Programming VB .NET: A Guide for Experienced Programmers, authors Gary Cornell and Jonathan Morrison carefully explain the exciting new features of Visual Basic .NET. Since VB .NET is, for all practical purposes, a whole new language even for the most experienced Visual Basic programmers, developers need to think differently about many familiar topics. Cornell and Morrison are there to help you with careful discussions of each topic.

All experienced programmers wishing to take advantage of the amazing new powers of VB .NET will benefit from this book’s careful treatment of fundamental topics, including inheritance, interfaces, and exception handling, as well as all the powerful new features, such as stream-based I/O and true multithreading.

Cornell and Morrison write from the point of view of the experienced programmer, with constant references to the changes from earlier versions of VB. Developers learn how to use VB .NET for database programming through ADO.NET and web programming through ASP.NET. After reading Programming VB .NET: A Guide for Experienced Programmers, developers will have a firm grasp of the exciting new VB .NET language and its uses in creating powerful .NET applications.

Download eBook (4.93 MB PDF file)

Writing Perl Modules for CPAN

Writing Perl Modules for CPAN offers Perl developers a comprehensive guide to using and contributing to the Comprehensive Perl Archive Network (CPAN). Starting with a general overview of CPAN's history, network topology, and navigational mechanisms, the book quickly brings you up to speed regarding how to search out and install available modules. However, in the true open source spirit, author and experienced Perl developer Sam Tregar teaches you how to not only use, but also contribute to CPAN via an in-depth discussion of module creation, submission, and maintenance.

Beginning with a survey of basic design principles, Tregar takes care to discuss all issues relevant to developers wishing to create great Perl modules, including choosing a proper name, properly using Perl’s POD (plain old documentation) feature, concepts surrounding functional and object-oriented API development, and much more. Tregar then proceeds with a complete dissertation of how modules should conform to CPAN module specifications, covering required distribution files and coding considerations, in addition to offering advice regarding proper module testing. After demonstrating how to create a module and prepare it for release, Tregar guides you through the CPAN module submission process and discusses module maintenance once the module has been contributed to the CPAN service.

Writing Perl Modules for CPAN is an indispensable guide for anyone wishing to make the most of the CPAN service.

Donwload eBook (3.44 MB PDF file)

A Programmer's Introduction to PHP 4.0

No matter what language you are familiar with, this book will benefit you. Beginning with a rapid introduction to PHP's syntax and basic functionality, you will swiftly understand PHP. The book then steers you toward advanced issues, like PHP's role in database manipulation, sessions, and user interactivity.

Author W.J. Gilmore also examines how PHP can work with XML, JavaScript, and the Component Object Model (COM). He loads the book with practical examples and several projects that can be immediately incorporated on any website. The invaluable A Programmer's Introduction to PHP 4.0 shows you how to make the most of PHP's powerful capabilities, regardless of your current scope of PHP knowledge.

Download eBook (4.2 MB PDF file) – Download Source Code (60k zip file)

I am happy to be back in Redmond and speaking again at next week's meeting of the Seattle .NET Developers Association.  I'll be doing a presentation "Designing Data Access Components and Passing the Data Through the Tiers".  I have given variations of this session in the past, but this time I will also be incorporating some new ideas and lessons learned from a distributed architecture framework that we have been developing.

Here are the details of the meeting.  The meeting is at building 40 on the MS campus - please stop by if you are in town (be sure to print out the inivitation, so that you can get past security).

One of the coolest controls in VS 2005 is the ReportViewer control. It is a powerful control for previewing, printing, and exporting (XLS or PDF) reports based on data in your database.  However, this control is something of weird animal - it is not part of the .NET framework, but is an add-on control that is part of Visual Studio.  This fact results in 2 main issues:

(1)     If you deploy your application on a computer that does not have Visual Studio  2005 installed, you cannot necessarily assume that the ReportViewer control is available on that computer – even after the .NET Framework 2.0 is installed.  This issue is easily addressed by downloading and installing the Report Viewer Redistributable (http://www.microsoft.com/downloads/details.aspx?FamilyID=8a166cac-758d-45c8-b637-dd7726e61367) onto the target computer.  Alternatively, you can build a setup program from within Visual Studio (Professional or better) to deploy your application on other computers.  Once it is detected that your application uses the ReportViewer control, it will automatically be included as part of the setup program for your application.

(2)    The  VB Express and C# Express versions of  Visual Studio do not include the ReportViewer control.  This means that if you are using VB Express or C# Express to develop an application, you must first download and install the Report Viewer Redistributable described above onto your development computer in order to compile the starter kit.  You must also must download and install the Report Viewer Redistributable onto any target machines onto which you are deploying your application.

In addition, VB Express and C# Express do not include a designer for designing reports.

In addition to the first segment that I mentioned was posted last month, there are now a total of 4 segments of that interview available here for your listening pleasure - let me know what you think!

Yosi Taguri from MS Israel posts that the ASP.NET product team will be visiting Israel next month.   There will be a public seminar on March 13th (see Yosi's post for the agenda).  There will also be an opportunity for a few teams to work directly with the ASP.NET team on migration their existing 1.1 applications to 2.0.   Contact Yosi (yosit@microsoft.com) if you think you have a candidate project.
More Posts Next page »