Are you ready for 2008?

Events June 6th, 2007

Microsoft’s best professionals in Team System, ASP.NET, Architecture, WCF, WF, SQL Server and more, open three days of concentrated courses. You can check the courses list here.

I will be talking about VSTS for DB Professionals. You can read more about it here.

R U Ready 2008?

Tags: ,

ASP.NET 2.0 – Web Site vs Web Application project

Software Development, Team System June 4th, 2007

A common question by asp.net developers is what project model should I use for asp.net application? Web Site project (which introduced with VS 2005) or Web Application project (which delivered as add-in for VS 2005 and built-in within VS 2005 SP1)?

There is no thumb rule. Every project model has it’s own advantages (and diss-advantages off course…). I hope this post will help you to understand better the differences between 2 of them.

Web Application project model

  • Provides the same Web project semantics as Visual Studio .NET 2003 Web projects.
  • Has a project file (structure based on project files).
  • Build model – all code in the project is compiled into a single assembly.
  • Supports both IIS and the built-in ASP.NET Development Server.
  • Supports all the features of Visual Studio 2005 (refactoring, generics, etc.) and of ASP.NET 2.0 (master pages, membership and login, site navigation, themes, etc).
  • Using FrontPage Server Extensions (FPSE) are no longer a requirement.

Web Site project model

  • No project file (Based on file system).
  • New compilation model.  (Read here or here for more details) and …
  • Dynamic compilation and working on pages without building entire site on each page view.
  • Supports both IIS and the built-in ASP.NET Development Server.
  • Each page has it’s own assembly.
  • Different code model.  (Read here for more details)

Ok, all is great, but you want to create your web site now. Which model should you use?

  • You need to migrate large Visual Studio .NET 2003 applications to VS 2005? use the Web Application project.
  • You want to open and edit any directory as a Web project without creating a project file? use Web Site project.
  • You need to add pre-build and post-build steps during compilation? use Web Application project.
  • You need to build a Web application using multiple Web projects? use Web Application project.
  • You want to generate one assembly for each page? use Web Site project
  • You prefer dynamic compilation and working on pages without building entire site on each page view? use Web Site project
  • You prefer single-page code model to code-behind model? use Web Site project.

Tags: , , , , ,

Secure your application

Software Development June 2nd, 2007

Worried about security? Microsoft has published patterns & practices Security Checklists Index for .NET framework 1.1 & 2.0.

You can find there:

  • Architecture and Design Review Checklists
  • Code Review Checklists
  • Deployment Review Checklists

Take care…

Tags: ,

Free Download: Refactor!™ for ASP.NET

Software Development June 1st, 2007

Refactor! for ASP.NET version 2.2 by Developer Express is freely available to all ASP.NET 2.0 developers.

This release includes refactorings dedicated to ASP.NET development.

Great tool!

Tags: , , ,