CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 General .Net question prior to migrating

Print topic Send  topic

Author Message
Benjamin Krajmalnik
Posted: 02/01/2007, 9:02 AM

I have a fairly general question concerning an upcoming migration from ASP
to VB.Net.
I have quite a few custom classes which I wrote. The normal method which I
currently used was to include the source file and instantiate the class.
I would like to place all of these custom classes in one file and make them
available.

Now, let's assume my project is named "MyProject", and therefore the
project's namespace is "MyProject".
I assume that I would create a file called "MyClasses.vb" and place it on
the projects components directory.
The classes in MyClasses.vb would be placed in the "MyProject" namespace.

Is that all there is to it? Will MyClasses.vb be automatically compiled?

AT deployment time, I assume I only need to publish the bin directory,
themes/styles, and the aspx files, correct?

One last question. If my select query contains fields which are not
physically populated in a grid, do I have access to the recordset values? I
need to use some returned values to either do calculated or conditional data
presentation. I cuold always populate hidden controls, but would prefer not
to if at all possible.

Thanks in advance, as I plunge into ".Net hell" :)

Stan
Posted: 02/02/2007, 7:09 AM

Quote :
Is that all there is to it? Will MyClasses.vb be automatically compiled?

Yes, but you should also enable "All files with extensions" publishing options.

Quote :
AT deployment time, I assume I only need to publish the bin directory,

It's true for the 1.1 .NET Framework. For the 2.0 version, the VB files are required also, since dynamic compilation is used as primary publishing method.

Quote :
do I have access to the recordset values

No, you will need to include hidden fields

Stan
Benjamin Krajmalnik
Posted: 02/05/2007, 10:41 AM

Stan,

Are you sure we need to also provide the .vb files? That sort of defeats
part of going to .Net (not having to provide source code), does it not?
Will codecharge not compile the file into DLL during the publishing process,
so that after that I can just get the DLL and distribute it?

Thanks for the reply.

Stan
Posted: 02/06/2007, 1:10 AM

Benjamin

Yes, CCS is use the dynamic compilation for .NET 2.0 application and source files are compiled on the server side. This is more handy variant for the development time. But you can precompile the site for deployment with one command by using aspnet_compiler utility. You can read about this here http://aspalliance.com/717

Stan
Benjamin Krajmalnik
Posted: 02/06/2007, 7:27 AM

Thanks!

Learn new thing every day.

Brandyn
Posted: 03/28/2007, 8:29 PM

http://de39afd176a41cc688b6b600e8d0d507-t.yj5t4hd.info <a href="http://de39afd176a41cc688b6b600e8d0d507-h.yj5t4hd.info">de39afd176a41cc688b6b600e8d0d507</a> [url]http://de39afd176a41cc688b6b600e8d0d507-b1.yj5t4hd.info[/url] [url=http://de39afd176a41cc688b6b600e8d0d507-b2.yj5t4hd.info]de39afd176a41cc688b6b600e8d0d507[/url] http://de39afd176a41cc688b6b600e8d0d507-b3.yj5t4hd.info ebb85e520deadfe8ff7080af84ede8f8

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.