background preloader

Dev tips & tricks

Facebook Twitter

Remote debugging ASP.NET applications using Visual Studio 2008 - Blog of "Brian Murphy-Booth" a.k.a. "Brian Booth" Friday, May 23, 2008 10:21 AM brian-murphy-booth If you have recently upgraded a Visual Studio .NET 2003 ASP.NET application project or a Visual Studio 2005 Web Application project to a Visual Studio 2008 ASP.NET Web Application project you may have noticed the following popup. Needless to say this makes it a little more difficult to connect remotely to your project in order to run and debug it: At this point I can only guess as to why connecting to a remote web application project no longer seems to work. I do have a few guesses but I won't bother mentioning what they are because inevitably somebody will tell me my guesses are wrong.

Instead I thought I would share with you a relatively simple way to get back to work and remotely debug anyway. In a nutshell, to remotely debug we want to run two instances of Visual Studio. Here are the steps. Install the Visual Studio 2008 Remote Debugger on your remote machine. To find the application pool name go into the properties of your application. Cutting Edge - Objects and the Art of Data Modeling. Many of today’s apps are built around a single data model, typically persisted to a data store via an object-relational mapper (ORM) tool. But sometimes—for several different reasons—you may need more flexibility, which requires multiple models.

In this article, I’ll discuss some strategies you can use to handle these situations and develop more layered and robust applications. Using different models clearly makes the whole application more complex, but it’s a sort of necessary, positive complexity that makes the whole project more manageable. Understanding when one model of data just doesn’t fit all use cases is the challenge for the architect.

Different parts of a software application may have their own model of data. The way in which you represent data at the UI level is different from the way in which you organize data in the middle tier, and it may be even different from how the data is physically persisted in some data store. How do you design this model? A More General Architecture. C# - What is the best MVC3 solution structure. Download LINQPad. Patterns & practices: Project Silk.

Creating a Web App from Scratch.