Home / ASP.NET Weblogs

June 2009 - Posts

Posted to:

Tip #82: Did you know... How to migrate Visual Studio 2005 Web Application Project to Visual Studio 2008

Following steps highlight how a Visual Studio 2005 Web application project can be migrated to Visual Studio 2008. Take backup of the original project Open Visual Studio 2008 Click File -> Open Project and browse to the folder to open the project You...
Posted to:

Tip #81: Did you know... How to Select the CSS Schema for Intellisense and CSS Properties?

In Visual Studio 2008, there is a Style Sheet Toolbar (visible only when a CSS file is active) which allows the user to select a CSS Schema, as seen in this screen shot:   However, this setting only affects the CSS editor, not the Intellisense in...
Posted to:

Developing for the Clouds

I wanted to start a conversation with everyone on the thoughts around Cloud Computing.  I have been using Azure for a while now and I have found some interesting things out about it. Before I start talking about those things though, I wanted to see who was planning on using this technology or who is already using it.  This would include other Cloud solutions as well. If you are, what are you planning to do in the Cloud?  How are you going about setting up testing, development, maintaining, monitoring in the Cloud? I think that Cloud Computing is the future in a lot of ways and feel like things are going to change in a fundamental way in the not to distant future because of Cloud Computing.  Do you agree? Please keep in mind...
Filed under: , ,
Posted to:

24 JavaScript Best Practices for Beginners

I wanted to share a great article by Jeffery Way over on Nettuts+ on best practices for JavaScript developer. If your developing web applications, sooner of later JavaScript is inevitable. I hope you find it useful. [ Read the article HERE ] Technorati Tags: javascript Read More...
Filed under: ,
Posted to:

Visual Studio 2010 .net debugging resource

If my post on dump debugging in VS 2010 peaked your interest, here is a list of a number of other new debugging features coming up in 2010 http://blogs.msdn.com/ms_joc/archive/2009/05/27/dev10-beta1-free-at-last.aspx I for one will be following the blog to get the scoop… On a related note, John Robbins also wrote a nice post about historical debugging in VS2010,  I haven’t tried it yet but I can already see a number of ASP.NET scenarios where it can be applied. http://www.wintellect.com/CS/blogs/jrobbins/archive/2009/06/16/how-does-vs2010-historical-debugging-work.aspx Laters, Tess Read More...
Filed under: ,
Posted to:

ASP.Net MVC for Visual Studio 2010 Beta1 Codeplex

ASP.Net MVC for Visual Studio 2010 is available for download here: http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=28527 . There is no new functionality but you should be able to upgrade your applications to target the 4.0 framework (or leave them as is) if you would like to play with ASP.Net MVC on Dev10. Please read the release notes for a couple of gotchas. If you never read release notes, please note the following: If you are working with Visual Studio Team System 2010 and the Historical Debugger is enabled, Visual Studio might occasionally crash. If you experience this problem, disable the Historical Debugger. You can disable the Historical Debugger in Tools->Options. Note that this will be fixed in Beta 2. Hope this...
Posted to:

Tip #81: Did you know... How to use Web.Config transformation

With Visual Studio 2010 Beta1, we introduced a new feature called Web.Config transformation to help ease the development process of a web application. At different stages during the life cycle of a project, the user usually needs to modify some environment...
Posted to:
by: 
06-17-2009, 11:34 AM

A new and improved ASP.NET MVC T4 template

A couple weeks ago, I blogged about using a Build provider and CodeDom to generate strongly typed MVC helpers at runtime. I followed up a few days later with another version that used T4 templates instead, making it easier to customize. And now I’m back with yet another post on this topic, but this time with a much simpler and improved approach! The big difference is that I’m now doing the generation at design time instead of runtime. As you will see, this has a lot of advantages. Drawbacks of the previous runtime approach Before we go and re-invent the wheel, let’s discuss what the issues with the runtime T4 approach were, and how this is solved by this new approach. Complex configuration : to enable the runtime template, you had to add a DLL...
Filed under: , ,
Posted to:

You can do the TODOs today too!

If you’re anything like me, you probably litter your code with TODO comments, postponing random tasks for the sake of moving the project forward. And there is of course a non-zero probability that you are going to ship with those comments still in. So I want to propose the following call to action to all readers of this blog: open your current project and start implementing what’s in those TODOs today . Finding the TODOs is easier than you think. In Visual Studio, open the task list window (CTRL+T), open that drop-down menu and choose “Comments”: Once you’ve done that, Visual Studio brings you a list of all those TODO comments: You can now go through those one by one (double-clicking on the TODO in the task list takes you there) and delete them...
Filed under: ,
Posted to:

Updates to FTP publishing in Visual Studio 2010

With VS2010, we introduced “web deployment tool” as the new publish method; at the same time, FTP publish is still available and supported in VS2010. In web application project system, because we centralized main deployment workflow, so some new features usually introducd at the same time with “web deployment tool” is also available to FTP publish. This includes a most important one “web.config transformation”. You can refer Vishal’s post for more detail of how to author transformation files. In this post I will use a simple case to just show how the transformation is wired even you still use publish methods like FTP or plain file system copy. 1. Create a new web application project 2. Expand the “web.config” node (If you create a Visual Basic...

« First ... < Previous 2 3 4 5 6 Next > ... Last »

Archives