.NET Blog

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

Latest posts

The Aspnet Compiler Build Task in Visual Studio 2010 ASP.Net MVC 2 Projects
May 14, 2010
0
0

The Aspnet Compiler Build Task in Visual Studio 2010 ASP.Net MVC 2 Projects

Web Development Tools Microsoft
Web Development Tools Microsoft

If you crack open the project file in an ASP.Net MVC 2 application (in notepad or unload your project and then click “Edit *.proj”), you will notice an interesting line. <MvcBuildViews>false</MvcBuildViews> This is an option to enable a post build task that will run the Asp_net compiler. This command will compile your aspx pages and report any errors in the pages at design time. Ordinarily the compiler runs before your site loads for the first time after making a change. This is why you can debug a website or web application with errors in the markup and not see an error until actually ru...

Silverlight Tips of the Day Update
May 12, 2010
0
0

Silverlight Tips of the Day Update

Web Development Tools Microsoft
Web Development Tools Microsoft

If you are interested in Silverlight 4 based Tips of the Day head over to my new Silverlight blog!So far I have over 20 postings as follows: Thank you, --MikeBlog Site: http://www.michaelsnow.com

CLR Inside Out – Production Diagnostics Improvements in CLR 4
May 7, 2010
0
0

CLR Inside Out – Production Diagnostics Improvements in CLR 4

CLR Team
CLR Team

  The new installment of the “CLR Inside Out” column in MSDN Magazine is now available on line.  This month we have an article from Jon Langdon on Production Diagnostics Improvements in CLR 4.  This article talks about some of the new diagnostics features we added in .NET Framework 4 and focuses on how they enable tools that help you find and fix those issues that seem to show up only after you've released your application.You can find a list of all “CLR Inside Out” articles here.  As always, please let us know if you have topics you’d like to see covered in ...

Another Error Creating Control in the Design View with Object Reference Not Set in Visual Studio 2010
May 6, 2010
0
0

Another Error Creating Control in the Design View with Object Reference Not Set in Visual Studio 2010

Web Development Tools Microsoft
Web Development Tools Microsoft

In a previous blog, Controls State: "Error Creating Control" in the Design View in Visual Studio 2010, I have discussed about an Error Creating Control issue related to accessing the Session state in the OnInit() method. Since then, I have discovered that the Error Creating Control will also show in the design view if we try to access any object not being instantiated at the design time inside the OnInit() method. For example, in a web application project, in a code-behind file that is adding controls dynamically to a page, similar to what was discussed in the article How To Dynamically Add Controls to...

Hosting for ASP.NET 4.0 & Web Deploy from ORCS Web, DiscountASP, and MaximumASP
May 5, 2010
0
0

Hosting for ASP.NET 4.0 & Web Deploy from ORCS Web, DiscountASP, and MaximumASP

Web Development Tools Microsoft
Web Development Tools Microsoft

Visual Web Developer 2010 Express offers a great set of features for deploying web applications seamlessly.  One of the key features is the ability to publish your web application from VS 2010 to a remote hosted web server along with its dependencies like SQL Server database using “Web One Click Publish”.  VS 2010 integrates Microsoft Web Deployment Tool (MsDeploy.exe) to provide a fast, reliable and cohesive way of deploying web applications.  Learn more about Visual Studio 2010 Web Deployment Features.And now that you have been introduced to Web Deployment, you may be looking for a ho...

NGen: Walk-through Series
May 3, 2010
0
0

NGen: Walk-through Series

CLR Team
CLR Team

The CLR Code Generation team blog has a series of new posts featuring hands-on style content around how to use the NGen technology and how to measure performance benefits from it. You can find the series here.

Visual Studio 2010 support with SQL Server
May 3, 2010
0
0

Visual Studio 2010 support with SQL Server

Web Development Tools Microsoft
Web Development Tools Microsoft

We’ve been getting a few questions by our users about Visual Studio 2010’s support for SQL Server versions.  So I thought it would be good to address them here (when one person asks a question, there are probably others thinking the same question.) Visual Studio 2010 only supports SQL Server 2005+ Visual Studio 2010’s design time data tooling only supports SQL Server 2005 (including express editions) or later.  What this means is that you will not be able to connect through the Server/Database Explorer to any older versions of SQL Server or use any of the data design tools that require Visual Studio to ...

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 ...