Thoughts from Dan Miser RSS 2.0
 Friday, March 03, 2006
First things first: I hate that ASP.NET forces you to put all assemblies in a bin subdirectory. To make matters worse, there is no way to change the private probing path in an ASP.NET application. Couple this with the directory structure that VS.NET creates for projects (e.g. MyProject\bin\Debug), and you end up with the fact that you can't simply create a virtual directory that points to the location of your assemblies that were generated by doing a build in VS.NET

I couldn't find anything to easily deploy my project with remote objects and a web.config to an ASP.NET virtual directory. I did see some documentation about Visual WebDeveloper, but I don't have that installed here. Perhaps I didn't install it when I installed VS.NET. Regardless, I really don't want to go back to install this since I'm not creating aspx pages and the like, but I do want to host my remoting objects in IIS (more details on this in a later post).

What I ended up doing was using the post-build Build Event to create events to copy the files over to the IIS directory, e.g.:

copy $(TargetDir)\*.* \inetpub\wwwroot\tipnet\bin
copy $(ProjectDir)\web.config \inetpub\wwwroot\tipnet

At least this way, my IIS files stay in sync with what I just compiled. It might not be the most beautiful thing ever, but it works.

Friday, March 03, 2006 10:05:00 AM (Central Standard Time, UTC-06:00)  #    Comments [2] -

Tracked by:
http://9qe-information.info/96697651/link-www-travel-lastminute-info.html [Pingback]
http://9qi-information.info/16072207/lamiere-ondulate.html [Pingback]
http://9of-information.info/30405695/used-to-be-a-barn-cat.html [Pingback]
http://9of-information.info/76271030/index.html [Pingback]
http://9oh-information.info/90877479/maryknoll-japanese-catholic-center.html [Pingback]
http://9oc-information.info/55555115/computer-chatter-box.html [Pingback]
http://9ov-information.info/38814458/index.html [Pingback]
http://9qb-information.info/12394533/index.html [Pingback]
http://9sa-information.info/74069402/index.html [Pingback]
http://9ra-information.info/36196550/index.html [Pingback]
http://9ry-information.info/13514290/index.html [Pingback]
http://9ru-information.info/36090459/index.html [Pingback]
http://9sk-information.info/44583954/welcome-computer.html [Pingback]
http://9sk-information.info/74628724/augurio-natale-innamorato.html [Pingback]
http://9sm-information.info/12424366/index.html [Pingback]
http://9sn-information.info/44525285/tatangelo-jpg.html [Pingback]
http://9uaea-le-informazioni.info/13177968/rivenditori-scarpa-bikkembergs.html [Pingback]
http://9uaem-le-informazioni.info/08515837/pratonevoso-cam.html [Pingback]
http://9uaem-le-informazioni.info/91679516/index.html [Pingback]
http://9uaep-le-informazioni.info/90234982/consulenza-tecnica-prova.html [Pingback]
http://9uaej-le-informazioni.info/91159606/spigola-allevamento.html [Pingback]
http://9uaem-le-informazioni.info/03918319/index.html [Pingback]
http://9uafg-le-informazioni.info/09294318/index.html [Pingback]
http://9uaen-le-informazioni.info/48652994/index.html [Pingback]
http://9uahg-le-informazioni.info/79468634/index.html [Pingback]
http://9uagh-le-informazioni.info/85386713/index.html [Pingback]
http://9uahk-le-informazioni.info/04768332/index.html [Pingback]
http://9uagf-le-informazioni.info/84367493/index.html [Pingback]
http://9uagc-le-informazioni.info/09995559/index.html [Pingback]
http://9uahi-le-informazioni.info/68235201/obiectiv-de-suceava.html [Pingback]
http://9uagk-le-informazioni.info/69512299/index.html [Pingback]
Saturday, March 04, 2006 12:51:00 AM (Central Standard Time, UTC-06:00)
Hey Dan,

Are you using 2.0? If so, have you looked at aspnet_compiler.exe in the framework directory. If not, it's worth a look with it you can use the command line to build your app.



-Steve
Sunday, March 05, 2006 7:19:00 PM (Central Standard Time, UTC-06:00)
dotNet is all about the XCopy deploy. I have no idea why they've decided to return to the old way of deploying code, but there it is. It does have a certain direct charm.



And having a fixed structure to deploy into can be useful, esp. since asp.net protects your code from being stripped via IIS (unless you change the filters of course)
Xepol
Comments are closed.
Navigation
Archive
<September 2008>
SunMonTueWedThuFriSat
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2008
Dan Miser
Sign In
Statistics
Total Posts: 308
This Year: 23
This Month: 1
This Week: 0
Comments: 604
All Content © 2008, Dan Miser
DasBlog theme 'Business' created by Christoph De Baene (delarou)