April 12, 2010

Blog Archives

Visual Web Developer 2010 Express has Arrived!

Microsoft Visual Web Developer 2010 Express is a free and robust development environment for building, testing and deploying Web applications across the Microsoft Web Platform including ASP.Net, Internet Information Services and SQL Server. Unleash your creativity with powerful design surfaces for building standards-based Web applications and services. With Visual Web Developer 2010 Express, you can work with Web Standards, JavaScript and ASP.NET. Work within a personalized environment, targeting established and emerging web technologies, including rich internet applications based on AJAX or Silverlight, cloud and web services. Integrated debugging tools let you find and fix bugs quickly and easily to help ensure high quality solutions. Visual…(read more)

0

ASP.NET/HTML Spell Checker 2.3 is available for Visual Studio 2010

ASP.NET/HTML Spell Checker 2.3 for Visual Studio 2010 has been posted on Visual Studio Gallery (also accessible from Visual Studio Start page in 'Extending Visual Studio' section). Direct link: http://visualstudiogallery.msdn.microsoft.com/en-us/0db4814c-255e-4cc6-a2c2-a428de7f8949 What's new in version 2.3: VS 2010 version installs from gallery as Visual Studio Extension package (VSIX) In VS 2010 suggestion list is invoked via right button click (instead of double click as in earlier versions). Fixed bug: Fixing misspelled word it may also remove punctuation that immedialy follows it. For additional information please refer to readme.htm included in the download – you can find it in the extension directory, typically C:\Users\USER_NAME…(read more)

0

Tip#102: Did you know… How to specify tag specific formatting

Let’s see this with an example.  I have the following html code on my page. Now if I format the document by selecting Edit –> Format document (or Ctrl K, Ctrl D) The document becomes I want the content inside td should remain on the same line…(read more)

0

Extending the Web Publishing Pipeline to package database project deployed SQL file

A Visual Studio solution file may contain both database project and a web application project.  When deploying (not building) the database project, it can generate a .sql file containing the full sql file or an incremental upgrade file against a database.  This blogs walkthrough one way to package database project generated sql file into the web application project’s package.  This solution works for team build scenario as well.   1. Create a Web Application Project 2. Add 2 new “SQL Server 2008 Database Project” to the solution 3. In each of the database project, add a sample table and make sure build and deploy are successful.  Check the deployed SQL directory %database project dir%\sql\%configuration%\ making sure…(read more)

0

Pre-Order Visual Studio 2010 Professional upgrade today, and save hundreds

Microsoft Visual Studio 2010 Professional will launch on April 12 but you can beat the rush and secure your copy today by pre-ordering at the affordable estimated retail price of $549, a saving of $250. If you use a previous version of Visual Studio or any other development tool then you are eligible for this upgrade. Along with all the great new features in Visual Studio 2010 (see www.microsoft.com/visualstudio ) Visual Studio 2010 Professional includes a 12-month MSDN Essentials subscription which gives you access to core Microsoft platforms: Windows 7 Ultimate, Windows Server 2008 R2 Enterprise, and Microsoft SQL Server 2008 R2 Datacenter. So visit http://www.microsoft.com/visualstudio/en-us/pre-order-visual-studio-2010 to check out all the…(read more)

0

Issue with dependent assemblies when rebuilding a WAP and the Workarounds

In Visual Studio 2010, the dependent assembly of a custom control assembly will be deleted from the project’s Bin folder on project clean or rebuild if the project does not contain a reference to that dependent assembly. The result will be a WAP that successfully builds but fails at runtime. When adding a control from such a custom control assembly, both the custom control assembly and the dependent assembly will be added to the bin folder of the WAP. However, only the reference to the primary assembly will be added automatically to the references node of the project, but the reference to the dependent assembly will not. If the dependent assembly is not required at the compile time, then usually, users would not add it to the references node…(read more)

0

Hotfix for “Issue with Auto-Generated Designer Files not Adding Controls”

A hotfix is now available for issues most commonly described as " Controls are not being recognized in the code-behind " and " Editing existing .aspx regenerates .aspx.designer.(cs), but most of the controls are now missing ”. This hotfix can be downloaded from: http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=27117 The update addresses the following Connect bugs: http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=532641 : Cannot embed standard asp.net controls in Ajax Control Toolkit TabContainer http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=533071 : Controls in CreateUserWizard WizardStep not visible as before http://connect.microsoft…(read more)

0

How to package and deploy COM component

I’ll use a walkthrough example to show how to package a web application with speech API COM component using Visual Studio 2010.  I wrote and tested the sample in Win7 x86 with IIS7.5, and packaged and manually installed to win2k3 x86 IIS6 (which only had 3.5 framework installed). 1. Create a C# 3.5 web application 2. Add COM reference to “Microsoft Speech Object Library” 3. In Default.aspx, add the following between <div> < asp : ScriptManager ID ="ScriptManager1" runat ="server"> </ asp : ScriptManager > < asp : UpdatePanel ID ="UpdatePanel1" runat ="server"> < ContentTemplate > < asp : TextBox ID ="TextBox1" runat ="server" Width ="274px">…(read more)

0

How to package COM component

If we want to package and deploy COM component for a web application only, we can simply reference them and change their “Copy Local” property to “True”.  For example, we can do the following to package a MVC project from VS2010. Create a MVC project In its references, change the following three assemblies “Copy Local” property value to True. System.Web.Mvc System.Web.Routing System.Web.Abstractions You can multi-select them and set the value together. Right click the project node and select “Build Deployment Package” Examine the package, you will see the above assemblies' corresponding dll files are included in the package’s bin directory.   Deploy the above package to a 4.0 site, no matter if the corresponding MVC runtime is…(read more)

0

Workaround: Missing Declarations for Controls in Designer File

We have seen some customers report the issue that certain controls are not getting generated correctly in the designer file in Visual Studio 2010 RC for the ASP.Net Web Application Projects. We are currently working on a fix for this issue for the final RTM release. Workaround: You can work-around this issue by declaring the missing controls in the code behind file for the ASPX page. Example: When you add a Button control with ID as “Button1” to the aspx page normally you should see the following code be generated in the designer file for this control. VB: Protected WithEvents Button1 As Global.System.Web.UI.WebControls.Button C#: protected global::System.Web.UI.WebControls.Button Button1; If this code is not being generated in the designer…(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 :)