Skip to content
Skip to breadcrumbs
Skip to header menu
Skip to action menu
Skip to quick search
Quick Search
Browse
Pages
Blog
Labels
Attachments
Mail
Advanced
What’s New
Space Directory
Feed Builder
Keyboard Shortcuts
Confluence Gadgets
Log In
Sign Up
Dashboard
Maven User
Copy Page
You are not logged in. Any changes you make will be marked as
anonymous
. You may want to
Log In
if you already have an account. You can also
Sign Up
for a new account.
This page is being edited by
.
Paragraph
Paragraph
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Preformatted
Quote
Bold
Italic
Underline
More colours
Strikethrough
Subscript
Superscript
Monospace
Clear Formatting
Bullet list
Numbered list
Outdent
Indent
Align left
Align center
Align right
Link
Table
Insert
Insert Content
Image
Link
Attachment
Symbol
Emoticon
Wiki Markup
Horizontal rule
tinymce.confluence.insert_menu.macro_desc
Info
JIRA Issue
Status
Gallery
Tasklist
Table of Contents
Other Macros
Page Layout
No Layout
Two column (simple)
Two column (simple, left sidebar)
Two column (simple, right sidebar)
Three column (simple)
Two column
Two column (left sidebar)
Two column (right sidebar)
Three column
Three column (left and right sidebars)
Undo
Redo
Find/Replace
Keyboard Shortcuts Help
<h1>Structure of ASP projects</h1> <p>In Visual Studio you can build and publish a web application using right click in a ASP.NET project -> Publish</p> <p>A simple Web Application in ASP .NET will generate:</p> <table class="confluenceTable"><tbody> <tr> <td class="confluenceTd"><p> / </p></td> <td class="confluenceTd"><p> *.aspx </p></td> <td class="confluenceTd"><p> ASP pages </p></td> </tr> <tr> <td class="confluenceTd"><p> / </p></td> <td class="confluenceTd"><p> Web.config </p></td> <td class="confluenceTd"><p> </p></td> </tr> <tr> <td class="confluenceTd"><p> /bin/ </p></td> <td class="confluenceTd"><p> artifact.dll </p></td> <td class="confluenceTd"><p> project assembly </p></td> </tr> <tr> <td class="confluenceTd"><p> /bin/ </p></td> <td class="confluenceTd"><p> artifact.pbd </p></td> <td class="confluenceTd"><p> program debug database </p></td> </tr> <tr> <td class="confluenceTd"><p> /bin/ </p></td> <td class="confluenceTd"><p> *.dll </p></td> <td class="confluenceTd"><p> assemblies required </p></td> </tr> </tbody></table> <p>This can be deployed to IIS</p> <p>The normal compilation using the dotnet compiler plugin seems to already generate proper dlls.</p> <h2>Implementation <a href="http://jira.codehaus.org/browse/NMAVEN-200">NMAVEN-200</a></h2> <p>Create a <code>dotnet:asp</code> (for 0.16+) / <code>aspnet</code> (for 0.14) type that generates the dll in <code>target/artifactId/bin</code> and copies all aspx files to <code>target/artifactId</code></p> <p>Zip that folder and install it in the repo, in the future create a msi package</p> <table class="wysiwyg-macro" data-macro-name="code" data-macro-default-parameter="xml" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e2NvZGU6eG1sfQ&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre> <assembly xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/assembly-1.1.0-SNAPSHOT.xsd"> <id>dist</id> <formats> <format>zip</format> </formats> <fileSets> <fileSet> <directory>${basedir}/target</directory> <outputDirectory>/bin</outputDirectory> <includes> <include>**/*.dll</include> </includes> </fileSet> <fileSet> <directory>${basedir}</directory> <outputDirectory>/</outputDirectory> <includes> <include>web.config</include> <include>**/*.aspx</include> </includes> </fileSet> </fileSets> </assembly> </pre></td></tr></table> <h1>Precompilation of ASP pages</h1> <p>The SDK provides a ASP .NET precompiler <code>aspnet_compiler</code> that can be used to check for errors in the ASP pages <a href="http://www.odetocode.com/Articles/417.aspx">2</a> </p> <h2>Implementation <a href="http://jira.codehaus.org/browse/NMAVEN-199">NMAVEN-199</a></h2> <p>Create an aspx-compiler-mojo for <code>aspnet_compiler</code> executable, and run</p> <table class="wysiwyg-macro" data-macro-name="code" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e2NvZGV9&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre> aspnet_compiler.exe -v /artifactId -p artifactId\ -u -f target\artifactId </pre></td></tr></table> <h1>Visual Studio Addin</h1> <p>The Addin needs to recognize Web and Webservices projects in project import</p> <h2>Implementation <a href="http://jira.codehaus.org/browse/NMAVEN-201">NMAVEN-201</a></h2> <p>Recognize Web and Webservices projects by checking the packaging</p> <h1>Issues</h1> <img class="editor-inline-macro" src="/plugins/servlet/confluence/placeholder/macro?definition=e2ppcmFpc3N1ZXM6YW5vbnltb3VzPXRydWV8dXJsPWh0dHA6Ly9qaXJhLmNvZGVoYXVzLm9yZy9zci9qaXJhLmlzc3Vldmlld3M6c2VhcmNocmVxdWVzdC1yc3MvdGVtcC9TZWFyY2hSZXF1ZXN0LnhtbD8mcGlkPTExNDgyJmNvbXBvbmVudD0xMzQ2NSZzb3J0ZXIvZmllbGQ9cHJpb3JpdHkmc29ydGVyL29yZGVyPURFU0MmdGVtcE1heD0xMDAwfQ&locale=en_GB&version=2" data-macro-name="jiraissues" data-macro-parameters="anonymous=true|url=http://jira.codehaus.org/sr/jira.issueviews:searchrequest-rss/temp/SearchRequest.xml?&pid\=11482&component\=13465&sorter/field\=priority&sorter/order\=DESC&tempMax\=1000"> <h1>References</h1> <ol> <li><a href="http://msdn.microsoft.com/en-us/library/aa479386.aspx">Using IIS with Microsoft Visual Studio 2005 and the New Web Project System</a></li> <li><a href="http://www.odetocode.com/Articles/417.aspx">Precompilation In ASP.NET 2.0</a></li> </ol>
Please type the word appearing in the picture.
Attachments
Labels
Location
Watch this page
< Edit
Preview >
Loading…
Save
Cancel
Next hint
search
attachments
weblink
advanced