Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2007

Tip: Looking for answers? Try searching our database.

Windows.Forms in ASP code-behind

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
justin - 18 Oct 2007 16:22 GMT
I thought I posted this an hour ago, but don't see it. I'm sorry if
it's shown twice.

Hello, recently I was working on a project where I needed to automate
PDF generation. I found two open source libraries that I liked, but
the best one required the Windows.Forms class to be used in the C#
code-behind. When I tested the library, this worked fine in Visual
Studio 05.

What I was wondering was, are there performance concerns or security
concerns in using the Windows.Forms library in an ASP.NET website?
Will using it impact my scalability? All thoughts are welcomed, thank
you.
dgk - 19 Oct 2007 13:07 GMT
>I thought I posted this an hour ago, but don't see it. I'm sorry if
>it's shown twice.
[quoted text clipped - 9 lines]
>Will using it impact my scalability? All thoughts are welcomed, thank
>you.

I'm no expert but I can't see why it would have any impact. It isn't
needed on the client, only the server. It's just like any other dll
that you might need a reference to. It's part of the framework.
Mark Rae [MVP] - 19 Oct 2007 14:19 GMT
> I'm no expert but I can't see why it would have any impact. It isn't
> needed on the client, only the server. It's just like any other dll
> that you might need a reference to. It's part of the framework.

Indeed. I often do this in reverse, as it were, i.e. use System.Web
namespaces in WinForms apps.

The WebForms ListItem object, e.g., is a bit simpler to work with than its
WinForms equivalent, especially if you don't need anything more than a value
and a text property...

Signature

Mark Rae
ASP.NET MVP
http://www.markrae.net


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.