| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi; When we add a reference to a web app, where is that information stored? There is no project file, it's not in the web.config or solution file. ??? - thanks - dave david@at-at-at@windward.dot.dot.net Windward Reports -- http://www.WindwardReports.com me -- http://dave.thielen.com Cubicle Wars - http://www.windwardreports.com/film.htm |
|
#2
| |||
| |||
| On 6 Sep, 18:26, David Thielen <thie...@nospam.nospam> wrote: > Hi; > > When we add a reference to a web app, where is that information > stored? There is no project file, it's not in the web.config or > solution file. > > ??? - thanks - dave > > david@at-at...@windward.dot.dot.net > Windward Reports --http://www.WindwardReports.com > me --http://dave.thielen.com > > Cubicle Wars -http://www.windwardreports.com/film.htm Hi David Beg to differ. It IS stored in web.config Look in section: <system.web> <compilation> <assemblies> <add assembly=" ... (the reference goes here) HTH |
|
#3
| |||
| |||
| "David Thielen" <thielen@nospam.nospam> wrote in message news:59f5c4h8oc048ch8dq38ek02cpo5ca87k7@4ax.com... > Hi; > > When we add a reference to a web app, where is that information > stored? There is no project file, it's not in the web.config or > solution file. David, if you are using a Web Application Project (and you should be), then your references are in the project file, just like any other project. -- John Saunders | MVP - Connected System Developer |
|
#4
| |||
| |||
| I've never seen a reason to use a web application. it just leads to bad coding practices (pages calling global methods on other pages, etc). -- bruce (sqlwork.com) John Saunders wrote: > "David Thielen" <thielen@nospam.nospam> wrote in message > news:59f5c4h8oc048ch8dq38ek02cpo5ca87k7@4ax.com... >> Hi; >> >> When we add a reference to a web app, where is that information >> stored? There is no project file, it's not in the web.config or >> solution file. > > David, if you are using a Web Application Project (and you should be), > then your references are in the project file, just like any other project. > |
|
#5
| |||
| |||
| "bruce barker" <nospam@nospam.com> wrote in message news:ukTYL0HEJHA.4040@TK2MSFTNGP02.phx.gbl... > I've never seen a reason to use a web application. it just leads to bad > coding practices (pages calling global methods on other pages, etc). Huh? That doesn't happen if you don't _permit_ it to happen! If you permit bad coding practices, then that's what you'll get. I just did the same thing in a web site project. It doesn't prevent bad habits at all. What makes you think that a web site project prevents this? -- John Saunders | MVP - Connected System Developer |
|
#6
| |||
| |||
| "Stan" <googlestan@philhall.net> wrote in message news:95720f5f-ab50-4af8-bd4c-5cfa2a81e0c1@l42g2000hsc.googlegroups.com... > On 6 Sep, 18:26, David Thielen <thie...@nospam.nospam> wrote: >> Hi; >> >> When we add a reference to a web app, where is that information >> stored? There is no project file, it's not in the web.config or >> solution file. >> >> ??? - thanks - dave >> >> david@at-at...@windward.dot.dot.net >> Windward Reports --http://www.WindwardReports.com >> me --http://dave.thielen.com >> >> Cubicle Wars -http://www.windwardreports.com/film.htm > > Hi David > > Beg to differ. It IS stored in web.config > > Look in section: > > <system.web> > <compilation> > <assemblies> > <add assembly=" ... (the reference goes here) > In addition the anything in the bin folder is assumed to be referenced and the solution file will contain info related to other projects that are referenced by the web site. -- Anthony Jones - MVP ASP/ASP.NET |
|
#7
| |||
| |||
| It must be the Bin rule as it's not in web.config. Is there anyway to force it to be added there so I don't have to look up the full assembly name (public key, etc)? thanks - dave On Sun, 7 Sep 2008 13:20:23 +0100, "Anthony Jones" <AnthonyWJones@yadayadayada.com> wrote: >"Stan" <googlestan@philhall.net> wrote in message >news:95720f5f-ab50-4af8-bd4c-5cfa2a81e0c1@l42g2000hsc.googlegroups.com... >> On 6 Sep, 18:26, David Thielen <thie...@nospam.nospam> wrote: >>> Hi; >>> >>> When we add a reference to a web app, where is that information >>> stored? There is no project file, it's not in the web.config or >>> solution file. >>> >>> ??? - thanks - dave >>> >>> david@at-at...@windward.dot.dot.net >>> Windward Reports --http://www.WindwardReports.com >>> me --http://dave.thielen.com >>> >>> Cubicle Wars -http://www.windwardreports.com/film.htm >> >> Hi David >> >> Beg to differ. It IS stored in web.config >> >> Look in section: >> >> <system.web> >> <compilation> >> <assemblies> >> <add assembly=" ... (the reference goes here) >> > >In addition the anything in the bin folder is assumed to be referenced and >the solution file will contain info related to other projects that are >referenced by the web site. david@at-at-at@windward.dot.dot.net Windward Reports -- http://www.WindwardReports.com me -- http://dave.thielen.com Cubicle Wars - http://www.windwardreports.com/film.htm |
|
#8
| |||
| |||
| Is there a good url that explains using the Web Application Project approach? thanks - dave On Sat, 6 Sep 2008 18:30:55 -0400, "John Saunders" <no@dont.do.that.com> wrote: >"David Thielen" <thielen@nospam.nospam> wrote in message >news:59f5c4h8oc048ch8dq38ek02cpo5ca87k7@4ax.com.. . >> Hi; >> >> When we add a reference to a web app, where is that information >> stored? There is no project file, it's not in the web.config or >> solution file. > >David, if you are using a Web Application Project (and you should be), then >your references are in the project file, just like any other project. david@at-at-at@windward.dot.dot.net Windward Reports -- http://www.WindwardReports.com me -- http://dave.thielen.com Cubicle Wars - http://www.windwardreports.com/film.htm |
|
#9
| |||
| |||
| "David Thielen" <thielen@nospam.nospam> wrote in message news:0tc8c4176qn0t4i5v96rdh3ec7f0dstgbo@4ax.com... > Is there a good url that explains using the Web Application Project > approach? David, I don't know of any such URL, and I wish I did. It would be much easier to explain that way. Just consider a couple of things: 1) Web Application Projects is what everyone successfully used in .NET 1.0 and 1.1 2) Everything else you create in Visual Studio is a project. Web Sites are the only exception 3) Microsoft thought Web Sites were so great that the got rid of Web Application Projects in Visual Studio 2005 4) They reacted quickly to the outrage and restored them in Visual Studio 2005 SP1 - a very quick service pack In my opinion, if you are creating an application that happens to be web-based, then you should use a Web _Application_ Project. If you are creating a web site, for instance, your company's web site, then go ahead and use a Web Site (though maybe you should consider using Expression Web or something instead). There is no excuse for using the "Web Site" technique for web services, BTW. The "Web Site" paradigm is that whatever you happen to have in the folder you designated as a web site is part of the web site, whether you have pages, images, or whatever. That kind of looseness should not apply to a web service. -- John Saunders | MVP - Connected System Developer |
|
#10
| |||
| |||
| "David Thielen" <thielen@nospam.nospam> wrote in message news:uqc8c4h1grolv1gl33hlkk1mikk9efugth@4ax.com... > It must be the Bin rule as it's not in web.config. Is there anyway to > force it to be added there so I don't have to look up the full > assembly name (public key, etc)? > Find the dll and drop a copy of it in the bin folder. Job done. -- Anthony Jones - MVP ASP/ASP.NET |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.