Showing results for WAP - .NET Blog

Apr 3, 2014
1
0

Creating a Custom Scaffolder for Visual Studio

Joost de Nijs
Joost de Nijs

With the release of Visual Studio 2013 last October, we introduced the concept of Scaffolding to Web Application projects.  Scaffolding is the framework on which code generation for MVC and WebAPI is built.  For more information on Scaffolding or the MVC Scaffolders check the following blog post: http://www.asp.net/visual-studio/overvi...

ASP.NET
Feb 24, 2011
0
0

How to compress CSS/JavaScript before publish/package

Web Development Tools Microsoft
Web Development Tools Microsoft

Today I saw a post on stackoverflow.com asking Using Microsoft AJAX Minifier with Visual Studio 2010 1-click publish. This is a response to that question. The Web Publishing Pipeline is pretty extensive so it is easy for us to hook in to it in order to perform operation such as these. One of those extension points, as we’ve blogged about befo...

ASP.NET
Nov 17, 2010
0
0

XDT (web.config) Transforms in non-web projects

Web Development Tools Microsoft
Web Development Tools Microsoft

One of the really cool features that we shipped for Visual Studio 2010 was web.config (XDT) transformations. Because the transformations are so simple and straightforward one of the first questions that someone asks after using it is “how can I use this in my other projects?” Unfortunately this feature is only built into the Web Application Project...

ASP.NET
Nov 10, 2010
0
0

ASP.NET Web Application: Publish/Package Tokenizing Parameters

Web Development Tools Microsoft
Web Development Tools Microsoft

  Today I just saw a question posted on stackoverflow.com asking Why are some Web.config transforms tokenised into SetParameters.xml and others are not? Let me give some background on this topic for those who are not aware of what the question is. With Visual Studio 2010 when you package your application using the Build Deployment Package cont...

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

ASP.NET
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: ...

ASP.NET
Mar 11, 2010
0
0

Issue with dependent assemblies when rebuilding a WAP and the Workarounds

Web Development Tools Microsoft
Web Development Tools Microsoft

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

ASP.NET
Feb 18, 2010
0
0

Workaround: Missing Declarations for Controls in Designer File

Web Development Tools Microsoft
Web Development Tools Microsoft

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

ASP.NET
Oct 29, 2009
4
1

Converting a Web Site Project to a Web Application Project

Web Development Tools Microsoft
Web Development Tools Microsoft

Differences between Web Site Projects (WSP) and Web Application Projects (WAP) are highlighted in blogs such as this one. Based on that, if you feel a WAP would be better for your particular needs than a WSP, but have already created a WSP, you may be asking yourself, “Can I convert my WSP into a WAP, without starting from scratch?”. This posting e...

ASP.NET
May 5, 2009
1
0

Web Deployment: Web.Config Transformation

Web Development Tools Microsoft
Web Development Tools Microsoft

We have earlier discussed about Web Deployment and Web Packaging quite a bit, today I wanted to dive into web.config transformation. If you would like to check out the other topics please read through the earlier blog posts below: Usually web applications go through a chain of server deployments before being finally being deploy...

ASP.NET