April 22, 2010

Blog Archives

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

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: This will include all files within the project file. All files in this project folder: This will include all files in the source project folder, including those not…(read more)

0

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

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, check out the link: http://technet.microsoft.com/en-us/library/dd722796(WS.10).aspx ) In the RC release of VS 2010, We added support for two more msdeploy technologies that target specific deployment…(read more)

0

Web Deployment Projects Released to Beta (WDP for VS 2010)

  Our team recently released WDP for VS 2010… The key features to note for WDP for VS 2010 are: All the core features of WDP 2008 Migration from WDP 2008 to WDP 201o Multi-Targeting support in WDP 2010 Support Web Deploy Packages in the WDP project.. You can read more about the above features on our team blog at Visual Web Developer Team Blog Download WDP 2010 Beta by clicking here!! The guidance around using WDP 2010 is Use it if you want to migrate to VS 2010 and are currently using WDP for VS 2008 Use it for TeamBuild/MSBuild based deployment of Web Site Projects in VS 2010… Use them for Web Application Projects (WAPs) if you feel it is extremely important for you to pre-compile/merge your projects… If not then you can use Web Deployment…(read more)

0

Rendering Issue in Visual Studio 2010 when Accessing the Session State in the OnInit() Method

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 in the <configuration>\<system.web>\<httpModules> section in the application configuration.”. Screen shot of the error: However…(read more)

0

Issues between Visual Studio, Microsoft Wireless Laser Mouse and Windows 2008 Server

Quite some time ago, when Vista just went RTM, Risk Strahl discovered that when he used Microsoft Wireless Laser Mouse, code intellisense and markup validation in Visual Studio stopped working. Since several activities in VS are done in a background on idle (not to be confused with background threads – idle processing is performed on the main thread), it was clear that VS was not getting any idle time slots, i.e. something was keeping OS busy. We tracked the issue down some third party applications as well as to a bug in Microsoft Wireless Mouse driver that was keeping OS busy and prevented OS from going to sleep or launching screen saver. See Knowledge Base topic for details and workarounds/updates. What about Windows 7? The fix was included…(read more)

0

Silverlight 4 Tools Released

This morning we released Silverlight 4 Tools for Visual Studio 2010! The link to download and installs the tools is http://go.microsoft.com/fwlink/?LinkId=177508 .  The tools will install: Silverlight 4 RTM Developer Runtime Silverlight 4 Tools RC for VS 2010 Silverlight 4 SDK RTM Silverlight 4 Tools RC Package WCF RIA Services RC Note that this is the RC release of the Silverlight 4 tools. With these tools you can start developing Silverlight 4 applications using Visual Studio 2010. If you are not familiar with what’s new in SL 4 check out Tim’s blog here: http://timheuer.com/blog/archive/2009/11/18/whats-new-in-silverlight-4-complete-guide-new-features.aspx If you haven’t already downloaded VS 2010, you can get the free Express version…(read more)

0

Web Deployment Demos, Slides & Videos for VS 2010 launch

I have been dormant for ever, have been keeping busy on a very exciting project… Anyways April 12th 2010 was a big day with VS 2010 formally launching…  Few days back I asked Twitter whether people needed a ready made talk to talk about VS 2010 Web Deployment as part of the community launch events of VS 2010 and got a lot of asks for the content so here it is…  Titles & Abstract I would recommend you do not use are below… :-)   The reason I say that is coz VS 2010 & Web Deploy are way more exciting than the way I present here; so get creative and make a fun abstract & title…  The only reason I have them descriptive is so that you know what are the key items to put in there… Title : Web Deployment with VS 2010 &…(read more)

0

Visual Studio 2010 Web Deployment Projects Beta – Available Now

If you’ve been using Web Deployment Projects in Visual Studio 2008 or 2005, you can upgrade to VS 2010 without hesitation now with the availability of Visual Studio 2010 Web Deployment Projects Beta. The power tool named “Web Deployment Projects” originally shipped as an out-of-band update for both Visual Studio 2005 and 2008 . This power tool provided a simplistic way to replace config sections and to integrate the ASP.NET pre-compiler and merge utilities into Visual Studio’s build process. Although Visual Studio 2010 includes a powerful new packaging and deployment technology based on MSDeploy, it is not backward compatible with the previous releases of Web Deployment Projects. To address this incompatibility we’ve ported the original Web…(read more)

0

Tip #103: Adding the New Website and Open Website buttons to the VS2010 Start Page

In the new VS2010 UI, the start page has been completely re-written.  Part of the changes made were to hide the New Website and Open Website buttons.  Basically it went from the old look in VS2008: To the new look in VS2010: Of course, ASP.NET…(read more)

0

Visual Studio 2010 MVC 2 Upgrade Wizard

Prior to the RTM release of Visual Studio 2010, the only way to upgrade an ASP.Net MVC 1 application to ASP.Net MVC 2 was to use Eilon Lipton’s tool . With the release of Visual Studio 2010 you will now be able to open your MVC 1 projects in Visual Studio 2010 and upgrade them to ASP.Net MVC 2 projects. Also, you can upgrade the target framework of the project to 4.0 or continue to target the 3.5 framework. When you first open an ASP.Net MVC 1 application in Visual Studio 2010, you will see the familiar Visual Studio Conversion Wizard. ASP.Net MVC specific code runs during this wizard and updates all System.Web.MVC references from version 1 to version 2. The wizard also updates the version numbers in the project’s Web.config and the Views folder…(read more)

0

About

ASP Experts...All the latest news related to asp.net and web development in one location. We do the work for you so you don't have to :)