| Greg 的个人资料Greg Olsen - Yellow Duck...照片日志列表 | 帮助 |
|
|
4月7日 Debug ASP Pages with Visual Studio 2005I was given the task recently to redesign some old classic ASP pages which needed to consume a .NET Web Service. However, I wanted to debug the objects floating around in my ASP code. If you need to do this as well and want to find out how, then keep reading on.
Below you will find a document download which outlines the steps required to successfully debug ASP pages within Visual Studio 2005. Make sure you have debugging enabled within IIS as well.
Summary of the steps required to debug your ASP Page:
1. View your ASP page within Visual Studio 2005. Open and existing file or view your file within Solution Explorer. 2. Set a breakpoint on the ASP code line where you wish the debugger to hit. 3. View the ASP page in the web browser (without debugging). 4. Download the file listdlls.exe from http://technet.microsoft.com/en-us/sysinternals/bb896656.aspx 5. Run listdlls.exe with the command of listdlls -d asp.dll from command line and find which dllhost.exe loaded the asp.dll. 6. Within Visual Studio, from the toolbar menu select Debug | Attach to Process a. Locate the process by its process ID and attach to this process. 7. Refresh the page (or F5) in the web browser. You should see the breakpoint get hit. 8. Use QuickWatch within Visual Studio to explore the objects. Here is the detailed steps document download (Microsoft Word 2003 document):
Enjoy!
Greg Olsen Yellow Duck Guy 12月16日 Visual Studio 2008 Presentation SlidesIf you are after the Powerpoint slides from the recent Visual Studio 2008 presentation delivered by Darryl Burling then you can find it via the link below:
Greg Olsen Yellow Duck Guy 12月7日 Visual Studio 2008 Presentation in Palmerston NorthMy home town (i'm now a JAFA in Auckland) of Palmerston North is going to get a slice of the new and cool Visual Studio (VS) 2008 presented my Darryl Burling of Microsoft NZ.
What is the topic of the presentation? "An overview of Visual Studio 2008" What is it all about? i.e. Presentation Summary? Daryl will go through the new and cool features of VS 2008. "Explore all the new Visual Studio 2008 features, from language enhancements; improved designers; Web and smart-client development tools; to Visual Studio Team System, a suite of software lifecycle management tools poised to transform how you deliver software for Windows Vista, the 2007 Microsoft Office system, and the Web." (2007, http://blogs.msdn.com/darrylburling/archive/2007/11/28/visual-studio-in-palmerston-north.aspx) Where, When, What time? -Novotel Palmerston North, 175-185 Cuba Street -Registration and morning tea will be open from 8.30am -Presentation will be from 9am-10.30am Quick I want to register? Goto here: http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032361457&Culture=en-NZ I have attended this session myself in Auckland and encourage anyone in Palmy (Palmerston North) or nearby to check it out.
Yellow Duck Guy Greg Olsen 11月20日 Visual Studio 2008 RTM ReleasedJust in the last few days Visual Studio 2008 and .NET Framework 3.5 have been released publically.
Here are all the download links ..
Visual Studio 2008 Team Suite (90 day trial)
Team Foundation Server (90 day trial)
http://www.microsoft.com/downloads/details.aspx?FamilyId=B0155166-B0A3-436E-AC95-37D7E39A440C&displaylang=en
.NET Framework 3.5 Runtime (this is required for 3.5 applications to run when deployed) http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en Visual Studio 2008 is also available via MSDN for subscribers.
We have been waiting for this and predicted it was delivered by Christmas! Yellow Duck Guy Greg Olsen 8月30日 Visual Studio 2008 Beta 2 - "Feature-Complete"Well there has been a bit of a change at Microsoft with the focus and methodologies used to to build Visual Studio 2008 Beta 2 according to the information I have received and read. The focus was getting the product to be "Feature-Complete". Allowing for more usable and stable release. Page 2 of the of this EWeek Article outlines some interesting comments and information about this focus. I have placed a summary below. But I recommend you read the article if you have a spare 5 minutes. Some of the new Feature-Complete features include:
There is also a statement within the article that Visual Studio 2008 Beta 2 is "... pretty much what you're going to see with the final version". Each of the features within Visual Studio 2008 was allocated to a feature team which included a "handful of developers, a handful of testers and a couple of program managers". So those teams focused on the features primarily and submitted that feature(s) when they were completed. - Certainly makes you think whether you could be developing your software this way? Interesting. Yellow Duck Guy 8月16日 Visual Studio 2008 - Multi-targeting with .NET FrameworksWell if you haven't heard, Visual Studio 2008 supports Multi-targeting with .NET Frameworks 2.0, 3.0, 3.5.
What does this mean for me? Well this means you can build applications targeted for a specific framework listed above with the one Visual Studio tool/IDE. This excludes .NET Framework 1.1 and below - sorry it looks like it was a mission to go back that far! One thing I have noticed when opening solutions created in Visual Studio 2005 with .NET 2.0, that I was prompted when opening in VS 2008 to upgrade the solution to VS 2008. But again you can set the target to .NET Framework 2.0. Also if you are a .NET developer you really don't want to have multiple copies of Visual Studio on your machine (or Virtual Machine) - can't we just have one? Well you now can if you develop from .NET Framework 2.0 and above. Its still ok to have Visual Studio 2003 and Visual Studio 2008 installed side-by-side. But once you move to .NET 2.0 you can ditch Visual Studio 2003 off your machine - unless you still need to support older applications. If you have only just begun with .NET 1.1 then I suggest you probably should upgrade to at least .NET 2.0 so you can keep moving along. So the great advantage I see with Multi-targeting with Visual Studio 2008 is that you can move directly to Visual Studio 2008 and continue working on your .NET 2.0 applications but now with the new IDE - now that's cool! Multi-targeting is limited though within the Express versions of Visual Studio. I have been told that you do not get the dropdownlist of .NET Frameworks within the New Project Dialog Menu. So remember this. Here is a snapshot of the New Project Dialog Menu showing the different targeted frameworks ...... Yellow Duck Guy Visual Studio 2008 - Beta 2 - I'm using it!Well a few days ago I installed Visual Studio 2008 Beta 2 on my home Vista (Ultimate) machine and i'm liking it! Nice easy install, around 1.2GB after deselecting the options which I didn't need. I must say VS 2008 seems to be a lot more stable once installed on Vista than VS 2005 on Vista so i'm pretty happy. There is quite a few new things with Visual Studio 2008 which I couldn't possibly cover with this one post. So for now I will just show the nice install logos and post the cool stuff as I work thought it all. Shouldn't take me to long, i.e. posting stuff within the next few days. First lot of postings will include things like the namespaces added to every new Web page, publishing Web sites, targeting .net frameworks, new designer tools etc etc the list goes on ... stay tuned!
Original Setup Screen - not much changed here ...
Now some nice blue images captured from the install process ...
I'm liking this blue ... :-) Yellow Duck Guy 8月15日 Visual Studio Tools for Office (VSTO) - Ribbon DesignerThe latest version of Visual Studio Tools for Office (VSTO) is the Ribbon Designer. The Ribbon Designer makes it easy to customize the Ribbon in your Office applications. In VSTO 2005 SE, you could add a Ribbon Item to your project but most of the work was done manually via XML. In VSTO "Orcas" (Beta 2 is the current latest version) there is a designer that lets you customize the Ribbon in the same way you'd customize a Windows Form. This means you can simply drag and drop controls from the Visual Studio toolbox onto the designer. You can then set properties of the controls, and write code in the event handler of the control. Now this is cool ! I will have to have a play with this stuff in more detail in the next few weeks. In the mean time if you are interested then you probably should get a hold of the tools and give it a go. I'm currently using DevExpress ( http://www.devexpress.com ) XtraBars Ribbon Control within a Windows Application at the moment but it will be good to see how they both compare. Yellow Duck Guy 7月7日 How to ALWAYS show Solution within Solution Explorer with Visual Studio 2005Well yesterday I started another Visual Studio 2005 project. I created the project and all looked good. I then noticed my Solution (.sln) was not showing in the Solution Explorer with Visual Studio 2005. I remember I had this issue before and needed to remember how I enabled this in the view. So after hunting around in the Options section from the File menu I found it. Before: After: How to enable: If you want to always show the solution in the solution explorer, do the following: Hope this helps! Yellow Duck Guy |
|
|