CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.vs_2005_web_application_projects Tags:
Item Type: NewsGroup Date Entered: 5/9/2006 7:52:07 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 13 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
GMan6
Asp.Net User
Using Reflection to load WAP's child WSP's App_Code library5/9/2006 7:52:07 PM

0/0

I am currently running a WAP with 2 sub web WAPs and a sub WebSite.  I want to load the child web SITE project's App_Code dll, but cannot figure out how, since if I do:

oAssembly = Reflection.Assembly.Load(

"App_Code")

It doesn't find the library (since the child sites are not applications) and its not part of the parent project.  Is there any way to specify the way to load the child web site's app_code dll to access some classes I have in it?

Greg Fricke

mbund
Asp.Net User
Re: Using Reflection to load WAP's child WSP's App_Code library5/9/2006 10:06:01 PM

0/0

We would recommend you move the code you want to share in App_Code to its own class library. This way, your Web Site and Web App can access it.

When a Web Site is dynamically compiled, the App_Code folder is compiled into an assembly which has a non-deterministic name so you cannot load it from within a Web App.


-Mike-

GMan6
Asp.Net User
Re: Using Reflection to load WAP's child WSP's App_Code library5/12/2006 4:17:15 PM

0/0

Well the code I have in the App_Code is a class  that returns a generics list of a model that I want to use as a rdlc reporting data source in a report in the web site sub web, since the web site datasource window is non functional (as per the FAQ sticky and my research with MS) with WAP's until SP1.

So since you claim it is non-dterministic, I am in trouble eh?

 

3 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
Using Reflection to load WAP's child WSP's App_Code library - ASP ... Using Reflection to load WAP's child WSP's App_Code library ... Channel 10: What ’s New With Windows Media Center in Windows 7. IIS.NET ...
Wielka encyklopedia komputerów 56 kb/s), 477. 56000 bps modem (modem o szybkości. 56 000 b/s), 477. 568A, 14. 568B, 14 ...... Access Gateway, mobilna przeglądarka Openwave, WAP i T9. ...
Question about controling SSL using web.config - ng.asp-net-forum ... using reflection to load wap's child wsp's app_code library · help with membership · error occurred when trying to edit an existing user ...




Search This Site:










problems with aspx pages in web application project

problems with file upload

web reference.vb file not generated???

connecting vstudio 2005 prof to fp 2002

master pages question

copy web site tool blunder !!!

wap and wdp in a team build environment

compiler problem error cs0433

constant problems with generation of designer file

desperate need of help - "attempted to read or write protected memory"

file system / source control usability issue

post-publish events

pages in a wap named "wizard" always fail to load

converting web site into web application

using msbuild with web application projects

relatedfiles for webapp project

studio automatically converting wap to web site

vstudio 2005 sp1 and web site / web app projects

web site project to wap – app_code directory conversion issue

help regarding a project

clean install of sp1, can't open web app projects

old_app_code directory problem

help with simple data access!!!

sampling/instrumentation on web project

designer file not updating in certain scenarios...

how do i publish a 2.0 website and get it put all it's dll info into one dll?

web application project and asp.net folders

bug: case matters

embedding scripts in the web application dll

problem with ifilter during pdf 2 text conversion

  Privacy | Contact Us
All Times Are GMT