Re: Add Reference
- From: Robert Zurer <robertnospam@xxxxxxxxx>
- Date: Tue, 13 Dec 2005 05:01:31 -0500
In article <586F1D14-A8D1-4A8B-B470-61DE4A616532@xxxxxxxxxxxxx>,
RobertZurer@xxxxxxxxxxxxxxxxxxxxxxxxx says...
> My first ASP.NET 2.0 app.
>
> I added a reference to a class library containg the types I want to as a
> source of data to populate my pages. The dll and all the dlls it uses appear
> in the newly created bin folder.
>
> I add the using directive to the page and try to call the type but I keep
> getting an error that a type in one temporary folder conflicts with another
> type in another tempory folder. The assemblies are not strongly named.
>
> How are dlls added in 2.0? What am I doing wrong? I read the various FAQs to
> no avail. Can anyone help. Thanks
>
>
>
Sorry to the group.
After another few hours of grief, I downloaded the PayPal-enabled eCommerce
Starter Kit End-To-End Sample at
http://www.commercestarterkit.org/
I found out that
1 - The page can't use the reference directly but...
2 - A page can talk to a class in the App_Code folder
3 - The class in the App_Code folder can use the added reference
4 - Life is good.
If anyone can explain why that is I would appreciate it. A different paradigm
for sure. The fact that there is no namespace in the page's code behind is
going to take some further time to understand/
As it's still early, I have put off buying a book. I'm looking for one that
focuses more on what is new in 2.0 under the hood. One that wasn't written in
the early beta stages. Any recommendations?
TIA
Robert Zurer
.
- Prev by Date: Re: Why Redraw of the whole page when paginating?
- Next by Date: How can I gather the user languages for IE and FireFox?
- Previous by thread: Outlook 2003 and ASP.NET
- Next by thread: How can I gather the user languages for IE and FireFox?
- Index(es):
Relevant Pages
|