Saturday, November 27, 2004

.NET Deep Dive Israel Demos

Here you can find the 2 demos that were presented on the convention.

The demos include master pages examples, MVC, Provider design pattern, tracing, role based security with forms authentication samples, code reuse for Visual Studio 2003.

It also contains sample built on Visual Studio 2005 that demonstartes same functionality without (almost) writing code, it also includes WebPart example.

The video

The presentation.

The VS.NET 2003 demo.

The VS.NET 2005 demo.


Sunday, October 24, 2004

Intercept Http requests with HttpModules (ISAPI Filters .NET style)

There are many reasons to inspect incoming requests before they hit actual page's code. It might be helpful for authentication, authorization, logging, content inspection, encryption, signing, input validation and so on. The list does not represent something that might directly relate to business logic, all of those are common actions applicable to any application and as such must not be incorporated into business logic code. Those must be executed in such a way so that application "won't feel" it – the orthogonal way. To implement such functionality we use HttpModules – "ISAPI filters" .NET style with a little difference – it is easier to implement by far. Watch the video (also avail in Hebrew) in full screen mode.

Saturday, October 16, 2004

Build URLs dynamically

Url strings serve developers to make decisions what content to serve to user. After Url examination dynamic content was served after accessing DB and/or redirection to another Url using Redirect or Transform methods. This demo shows another powerful option of rewriting Url while retaining original Url in browser's address bar (also avail in Hebrew). The demo was based on this article.

Friday, October 15, 2004

Introducing ASP.NET 2.0 Wizard Control

Visual Studio 2005 and ASP.NET 2.0 provide developer with more options and more pre shipped server rich controls. There are many scenarios when user is taken through series of steps to provide some information. These scenarios are often called wizards. With VS.NET 2005 and ASP.NET developer can build such functionality with one drag and drop and a couple of clicks. This video shows how (also avail in Hebrew). Even live legend decided to write article (go to Cutting Edge)on the topic, check on one more article too.

Friday, October 01, 2004

Update your app while in prod with reflection

Microsoft calls it Provider Design pattern (part I and part II), GoF called it Abstract Factory Design Pattern, and Roy Osherove called it Plug-In framework (creating and extending). Myself, I just love the idea of decoupling interface and implementation. Patterns and practices group released beautiful EDRA blown with cool stuff including Aspect Oriented Programming (AOP) for executing cross-cutting logic on incoming/outgoing requests. But let me start from something modest first, namely, decoupling interface from implementation and calling it with reflection with tinny trick for performance gain. Go ahead and watch the video (avail also in hebrew).