473,324 Members | 2,581 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

compiling asp.net code as in vb6

hi
i am a beginner in asp.net , but have experience in vb6

my q is can asp.net source code be compiled and make an exe as done
in vb6.
so that users cannot manipulate the source.

my developing scenario is that which have a lan network ,but later on
may be connected to internet....(which is optional)

the users can access iis and view all the pages (i didnt go deep into
network security and somebody else do the network admin.)

what about writing classes and making dlls....
couldnt do much research in this area.
a straight forward answer will be much appreciated
and hope i havent landed in the wrong group.
thank you

Jun 28 '07 #1
4 1143
On Jun 28, 3:26 pm, Arejan <areejan2...@yahoo.comwrote:
hi
i am a beginner in asp.net , but have experience in vb6

my q is can asp.net source code be compiled and make an exe as done
in vb6.
so that users cannot manipulate the source.

my developing scenario is that which have a lan network ,but later on
may be connected to internet....(which is optional)

the users can access iis and view all the pages (i didnt go deep into
network security and somebody else do the network admin.)

what about writing classes and making dlls....
couldnt do much research in this area.
a straight forward answer will be much appreciated
and hope i havent landed in the wrong group.
thank you
Use code-behind http://www.google.com/search?hl=en&q...behind+asp.net

Jun 28 '07 #2
code behind is not required. asp.net can reference .net dlls (or library
projects) for components.

in a asp.net web site you can put class files in the app_code folder.

with the deployment project or aspnet_compiler if not using vs2005, you
can precompile the site to dll's. the aspx pages will exits but be
empty. this step creates a new site dir and subfolders, that just xcopy
to the server.

-- bruce (sqlwork.com)

Alexey Smirnov wrote:
On Jun 28, 3:26 pm, Arejan <areejan2...@yahoo.comwrote:
>hi
i am a beginner in asp.net , but have experience in vb6

my q is can asp.net source code be compiled and make an exe as done
in vb6.
so that users cannot manipulate the source.

my developing scenario is that which have a lan network ,but later on
may be connected to internet....(which is optional)

the users can access iis and view all the pages (i didnt go deep into
network security and somebody else do the network admin.)

what about writing classes and making dlls....
couldnt do much research in this area.
a straight forward answer will be much appreciated
and hope i havent landed in the wrong group.
thank you

Use code-behind http://www.google.com/search?hl=en&q...behind+asp.net
Jun 28 '07 #3
asp.net is compiled and does not get served to the client - You need to
think outside of the vb6 (compiled application) box.

asp.net is used specifically for web applications - you would not compile
and distribute an asp.net project. Rather, you would develop an asp.net
application, and it would run in IIS and serve web pages to the clients.
Your code is never served - just the result of what your code produces is.
I know it's confusing when you first transition into writing applications
for the web, but once you learn it it opens you up to having a website that
anyone with a web browser can view, rather than a stand-alone application
that needs to be downloaded and installed on each client computer. Hope
this helps.
"Arejan" <ar*********@yahoo.comwrote in message
news:11**********************@j4g2000prf.googlegro ups.com...
hi
i am a beginner in asp.net , but have experience in vb6

my q is can asp.net source code be compiled and make an exe as done
in vb6.
so that users cannot manipulate the source.

my developing scenario is that which have a lan network ,but later on
may be connected to internet....(which is optional)

the users can access iis and view all the pages (i didnt go deep into
network security and somebody else do the network admin.)

what about writing classes and making dlls....
couldnt do much research in this area.
a straight forward answer will be much appreciated
and hope i havent landed in the wrong group.
thank you

Jun 28 '07 #4
On Jun 28, 5:31 pm, bruce barker <nos...@nospam.comwrote:
code behind is not required. asp.net can reference .net dlls (or library
projects) for components.

in a asp.net web site you can put class files in the app_code folder.

with the deployment project or aspnet_compiler if not using vs2005, you
can precompile the site to dll's. the aspx pages will exits but be
empty. this step creates a new site dir and subfolders, that just xcopy
to the server.
It's just another approach and as far as I remember it doesn't work
with user controls.

Jun 28 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: modemer | last post by:
Hello, I got weird compiling message similar like following when I compiled my simple code on Sun 5.8 with CC WorkShop 6 update 2 C++ 5.3. CC -g -o myclass.o -c myclass.cpp CC -g -o main.o...
0
by: David W. Fenton | last post by:
Today I was working on a hideous old app that I created a long time ago that does a lot of showing/hiding/resizing of fields on one of the forms. I had used constants to store reference values for...
4
by: Aaron Queenan | last post by:
When I build a C++ library to .NET using the managed C++ compiler, I get the following error message: Linking... LINK : error LNK2020: unresolved token (0A000005) _CrtDbgReport LINK : error...
2
by: Rudy Ray Moore | last post by:
Hi guys, I just upgraded to "Visual Studio .net 2003 7.1 c++" from VS6. Some things I like (proper for loop variable scoping, for example), but some other things are troubling me. One...
10
by: Christina N | last post by:
When compiling my ASP.Net application, VS puts the new DLL under the local cached directory 'VSWebCache' in stead of on the server. How can I make it save the DLL file on the server when compiling?...
2
by: Justin Naidl | last post by:
A group of friends and I are doing a RPG (role-playing game) maker for a school project. It occured to us, however, that if you want the user to be able to have almost complete control over the...
8
by: WebSnozz | last post by:
I have an application written in C that does a lot of low level stuff. It does a lot of things like casting from void*'s. I want to create a new GUI for it in either C# or MC++, but reuse the...
21
by: onkar | last post by:
#include<stdio.h> int i; int i; int main(){ printf("i=%d\n",i); return 0; } Note : I am using gcc-3.4.3 on i386-redhat-linux
10
by: Tomás Ó hÉilidhe | last post by:
I'd post this on a gcc newsgroup but I'd be more productive talking to the wall. Anyway, let's say someone throws some source code at you for a particular program and says, "Just compile it, it...
0
by: =?Utf-8?B?amVmZmVyeQ==?= | last post by:
i need help compiling code dynamically it may involve some reflection so if any one is any good in that field or compiling code this would be a great time to show me what you know. by the way my...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.