CodeAttest

Martin Kulov's Blog

CodeAttest, Software testing, Quality assurance, Web Service Enhancements, VS Team System, Indigo, upcoming releases from Microsoft and anything else I find interesting to be shared.

January 25, 2008

Precompiled sites and VirtualPathProvider

Coskun Sunali posted an amazing article how you can set up VirtualPathProviders to run when using Precompiled sites.

Do you know that even MS do not use VPP in precompiled sites? Check this out.

This is just an example what you can achieve with Reflector and a lot of patience.

(The support for VPP is explicitly disabled in precompiled sites by Microsoft. We do not know the reasons why they did it, so please you this fix with careful testing :).)

Good work Josh!

Labels: ,


# posted by Martin Kulov @ 3:27 AM |




January 22, 2008

COMException loading solution

Happy New Year to all of you! I hope that my blog will keep helping you solve problems that are really tough to find.

Recently I bumped into a very strange problem when I tried to open a fresh new solution from the source control and then I got a strange error -  Microsoft Visual Studio - System.Runtime.InteropServices.COMException:

System.Runtime.InteropServices.COMException

I wonder what the Cancel button will do here, but that is a different story.

A quick look at Solution Explorer, showed that all projects were loaded successfully except one - a Web Application Project.

I put some time to dig in with WinDbg and then I got some tips on what is going on.

In order to load the Web Application Project you must make sure that the URL that the project is using, is valid and can be resolved. This can happen pretty often since when you download a project from source control for the first time, it is highly unlikely that you will have the web site already set up.

And important note that I have to make also is that if you are running Vista, you should run in elevated privileges as well.

Using Web Application Projects is not really my choice for web site development. I would rather choose the new Web Site model. I hope that I will have the time to go further into this topic here.

The problem is reported to Microsoft and will be fixed in VS2008 SP1 (no date has been announced yet).

Labels: , ,


# posted by Martin Kulov @ 12:22 AM |




December 12, 2007

ASP.NET 3.5 Extensions Preview is Released

The preview version of ASP.NET 3.5 Extensions is released. The Extensions are a new set of tools and controls that will be added onto existing release of ASP.NET with .NET 3.5. This will make possible for web developers to get the latest updates on ASP.NET without having to wait 1-2 years more for the next release of .NET Framework.
It also includes ADO.NET Entity Framework Beta 3, which you can also download as a separate file here (you do not need to download it if you have ASP.NET 3.5 Extensions Preview installed already).


What’s in the Extensions Release?

ASP.NET MVC
ASP.NET MVC provides model-view-controller (MVC) support to the existing ASP.NET 3.5 runtime, which enables developers to more easily take advantage of this design pattern. Benefits include the ability to achieve and maintain a clear separation of concerns, as well as facilitate test driven development (TDD).

The ASP.NET MVC Toolkit provides HTML rendering helpers and dynamic data support for MVC.

ASP.NET Dynamic Data
ASP.NET Dynamic Data helps developers build a fully customizable, data-driven app quickly. It provides a rich scaffolding framework that allows rapid data driven development without writing code, yet it is easily extendible using the traditional ASP.NET programming model.

ASP.NET AJAX
New additions to ASP.NET AJAX include support for managing browser history (Back button support).

ADO.NET Entity Framework
ADO.NET Entity Framework is a new modeling framework that enables developers to define a conceptual model of a database schema that closely aligns to a real world view of the information. Benefits include easier to understand and easier to maintain application code that is shielded from underlying database schema changes.

ADO.NET Data Services
ADO.NET Data Services provide new services that find, manipulate and deliver data over the web using simple URIs. Benefits include an easy and flexible way to access data over the web, while enabling the separation of presentation and data access code.

Silverlight Controls for ASP.NET
You can integrate the rich behavior of Microsoft Silverlight into your Web application by using two new ASP.NET server controls: a MediaPlayer server control that enables easy integration of media sources such as audio (WMA) and video (WMV) into your Web application, and a Silverlight server control that allows an ASP.NET page to reference both XAML objects and their event handlers.

Labels: ,


# posted by Martin Kulov @ 12:41 AM |




This page is powered by Blogger. Isn't yours?

 




RSS Aggregate this blog


Communities to Communities 2008

DevReach - The Premier Conference for Microsoft Technologies in Bulgaria



Bulgarian Association of Software Developers

SofiaDev .NET User Group

International Association of Software Architects



Microsoft Most Valuable Professional

Microsoft Certified Trainer

Microsoft Certified Professional Developer

Microsoft Certified Technology Specialist

Microsoft Certified Solution Developer

Microsoft Certified Application Developer

View Martin Kulov's profile on LinkedIn



Recent posts




History




 
Copyright © 2004-2007 CodeAttest Ltd. All Rights Reserved.