The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Distributing ASP.NET Whidbey Applications/Controls

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Scott Watermasysk

Posts: 661
Nickname: scottwater
Registered: Aug, 2003

Scott Watermasysk is an ASP.NET developers. He wrote the .Text blog engine.
Distributing ASP.NET Whidbey Applications/Controls Posted: Nov 17, 2003 6:01 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Scott Watermasysk.
Original Post: Distributing ASP.NET Whidbey Applications/Controls
Feed Title: ScottW's ASP.NET WebLog
Feed URL: /error.aspx?aspxerrorpath=/blog/rss.aspx
Feed Description: ASP.NET and Blogging
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Scott Watermasysk
Latest Posts From ScottW's ASP.NET WebLog

Advertisement

Charles Cook wrote about the new precompilation features of Whidbey and also mentioned GAD's new article, “New Code Compilation Features in ASP.NET Whidbey

For those looking to distribute ASP.NET applications this is a much needed new feature. Along with this, the new Web Resource feature which allows you to easy add and reference items such as images and CSS files directly from compiled assemblies.

To use Web Resource, you add something like this (usually in your assembly.cs file)
[assembly: WebResource(“Smile.gif”, “image/gif”)]

Then, when you need to retrieve this item use  Page.GetWebResourceUrl which will return (and cache) a url to your web resource. The caching takes advantage of LastModifiedDate file attributes so that on future requests, the item might not have to be reserved from IIS. In addition, the resource url includes a date querystring parameter so that it will be get updated as you make changes to your assembly.

For more info on WebResource, check out Nikhil Kothari's excellent PDC presentation.

Read: Distributing ASP.NET Whidbey Applications/Controls

Topic: Network Connections, or SneakerNet Evolved Previous Topic   Next Topic Topic: Generics Algorithms

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use