.NET Blog

Free. Cross-platform. Open source. A developer platform for building all your apps.

Latest posts

General Performance Improvements in VS2010 since Beta2
Apr 30, 2010
0
0

General Performance Improvements in VS2010 since Beta2

Web Development Tools Microsoft
Web Development Tools Microsoft

When we released Beta2 in Oct 2009, there was a lot of customer excitement about the super cool features in VS 2010. However, one recurring complaint from customers was that the performance of VS 2010 was not on par with Orcas. Customers were experiencing general slowness in a lot of features that was hindering them with daily operations. We heard you all loud and clear. Since then our team has put in a lot of hard work to deliver a first class experience in Web Developement and have fixed a lot of performance issues seen in Beta2. The most notable ones are 1. Switching to Desiger from Editor 2. Gener...

VWD Available on Web Platform Installer (Now in Four Languages)
Apr 29, 2010
0
0

VWD Available on Web Platform Installer (Now in Four Languages)

Web Development Tools Microsoft
Web Development Tools Microsoft

< p>Visual Web Developer 2010 Express is available for installation via the Web Platform Installer at http://microsoft.com/express/web.  The English SKU was published on April 12th, French, German and Japanese went live on April 27th and Spanish, Italian, Russian, Simplified Chinese, Traditional Chinese, and Korean will be released soon. < p>Running the Web Platform Installer on an operating system of one of the available languages automatically selects that language of Visual Web Developer 2010 Express (VWD) to be installed.  You can select a different language by using the Options link ...

Design View Performance Improvements
Apr 28, 2010
0
0

Design View Performance Improvements

Web Development Tools Microsoft
Web Development Tools Microsoft

Hi, I’m Dan Chartier, I work on the Web Tools designer and helped improve its performance in Visual Studio 2010. For some background, Visual Studio 2008 completely replaced the original trident (Internet Explorer) designer with the FrontPage designer (which is also used by Expression Web). While we gained many improvements with this change, we received customer complaints about various performance problems that we wanted to address in 2010. In general, the designer is quite fast.  This is especially true when editing pure HTML documents, which is what it was originally designed to do well. However, the designer ...

Debugging with the Right Tools
Apr 23, 2010
0
0

Debugging with the Right Tools

maoni
maoni

Wow, it’s been almost a year since I last blogged J We just shipped CLR V4.0. Yay!   An internal email thread prompted me to write this blog entry – one very powerful tool I wanted to point out when you need to debug/investigate issues is your debugger (if your debugger is also windbg/cdb that is J since that’s what I use and that’s what I will talk about in this article).   For those of you who are interested in investigating memory related issues at all, whether it’s because you don’t like your current app’s memory usage or you simply want to improve, learning to use the debugger is invaluable. If yo...

Framework .NET 3.5 Sp1 required for targeting frameworks 2.0, 3.0 or 3.5 (multi-targeting) using Visual Studio 2010
Apr 22, 2010
0
0

Framework .NET 3.5 Sp1 required for targeting frameworks 2.0, 3.0 or 3.5 (multi-targeting) using Visual Studio 2010

Web Development Tools Microsoft
Web Development Tools Microsoft

We have had some customers ask why they are unable to target earlier frameworks .NET 2.0, 3.0 or 3.5 using Visual Studio 2010. Targeting earlier frameworks (also known as Multi-targeting) is in-fact fully supported in VS 2010, but there is a pre-requisite that .NET Framework 3.5 Sp1 must be installed on the machine for VS 2010 to be able to target any of the earlier frameworks 2.0, 3.0 or 3.5. During VS 2010 installation, only the latest 4.0 version of the .NET framework will be installed on your machine as part of the Visual Studio installation. So if 3.5 Sp1 was not already present on your machine, you will see...

Web Deployment: Excluding Files and Folders via the Web Application’s Project File
Apr 22, 2010
0
0

Web Deployment: Excluding Files and Folders via the Web Application’s Project File

Web Development Tools Microsoft
Web Development Tools Microsoft

Web Deployment (see this posting for an overview) offers a set of pre-determined options to allow users to include the most common sets of files for deployment.  These options are as follows and can be found under the “Items to deploy” section on the Package / Publish Web property page.   Only files needed to run this application:  This will include only the files required to run the application.  Specifically, files to be included will be those found in the bin folder and those files whose Build Action property = Content (such as .aspx, .ascx, and .master). All files in this project: ...

One-Click Publish – What’s New Since Beta 2
Apr 20, 2010
0
0

One-Click Publish – What’s New Since Beta 2

Web Development Tools Microsoft
Web Development Tools Microsoft

Publishing using MSDeploy In-Process Deployment or Remote Agent Through the Beta 2 release, VS 2010 had only supported publishing to servers using MSDeploy's IIS deployment handler technology integrated with the “Web Management Service”, a.k.a. WMSVC. As long as you had an account on a hosting server using WMSVC, you could use MSDeploy to update your web content. This is the msdeploy technology most people will use when publishing to a hosted site and, therefore, was released first. (In case you are interested in how the server should be configured, che...

Upgrade or Uninstall of Office 2007 might cause VS 2008 Web designer to hang
Apr 19, 2010
0
0

Upgrade or Uninstall of Office 2007 might cause VS 2008 Web designer to hang

Web Development Tools Microsoft
Web Development Tools Microsoft

Update (5/3/2010): In addition to the VS designer surface not loading, there are other actions that will cause a hang.  Working with CSS increases your chances of seeing this issue.  For example, bringing up the CSS Manage Styles dialog, the CSS property grid, or CSS Apply Styles dialog can all cause the hang.  Another case where you may reproduce the problem is if you have CSS code in your page, including <style> blocks, <link> tags, or bringing up CSS intellisense.  In those cases, pasting code or basic editing and formatting might hang VS. ______________...

Controls State: “Error Creating Control” in the Design View in Visual Studio 2010
Apr 15, 2010
0
0

Controls State: “Error Creating Control” in the Design View in Visual Studio 2010

Web Development Tools Microsoft
Web Development Tools Microsoft

In VS 2010, if you are accessing the Session state in the OnInit(…) method of your page, similar to the following code snippet: then you will encounter an “Error Creating Control” for ASP.NET controls when viewing the Design view of the page. For example, if you have an ASP.NET button control on the page, the designer will display the error: “Error Creating Control – Button1 Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System. Web.SessionStateModule or a custom session state module is included ...