473,785 Members | 2,924 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

compiled DLL's and performance

does compiling the code behind source using studio give and performance boost?
this is a rephrase of an a question i posted yesterday. To be honist VS.net
is becomming a pain to work with for asp.net. Vb.net and c.net hey, no
problem, but asp.net it seems to create way too much over head and
complication. thanks for listening and would appreciate an opinion.
thanks
kes
Nov 19 '05 #1
13 1250
Anyway it always execute compile code ? What are you seeing exactly ? Is it
the first time you hit a page ? Or each time you access the page ?

Patrice

--

"Kurt Schroeder" <Ku***********@ discussions.mic rosoft.com> a écrit dans le
message de news:F4******** *************** ***********@mic rosoft.com...
does compiling the code behind source using studio give and performance boost? this is a rephrase of an a question i posted yesterday. To be honist VS.net is becomming a pain to work with for asp.net. Vb.net and c.net hey, no
problem, but asp.net it seems to create way too much over head and
complication. thanks for listening and would appreciate an opinion.
thanks
kes

Nov 19 '05 #2
I'm by no means an expert on this, but coming from JSPs and linux, I have a
slightly different perspective than your typical MS/VB/Windows user.

From what I've learned, everything is compiled as far as .net is concerned,
to intermediate language (IL), and further compiled upon execution into
executable code for Windows. On IIS, with ASPX, if things are slow, you
might be dealing with a killed process. That's what I'm running into. One
thing MS did to help stop DOS attacks, they kill the process if it's got no
activity on it for 20m or something like that. Of course you can change it,
or even disable it.

re too much overhead
JSPs are not that bad, but when you start adding in servlet (java's version
of the code behind, I know, I know, it's not exactly the same, but
sufficient for drawing parallels), and modifying the web.xml for every
servlet addition is a pain too! And then when you add in the IDE (I'm using
JB @ w) and then you have two code bases for multiple projects.....uh man it
just gets complicated, and there's only so much ANT tasks can help to
automate. Believe, me, I'm having more fun with VS @ h than I am with
JB/java @ w.

Good luck with it. Keep it up, it will reward you.
Nov 19 '05 #3
When you start two threads with the same question, you probably should post
a followup to your original post. It makes it easier to reply. Plus if you
question wasn't answered, follow up with us, and we will followup with you.

Unless you have a rolling 12 hour post...

bill

"Kurt Schroeder" <Ku***********@ discussions.mic rosoft.com> wrote in message
news:F4******** *************** ***********@mic rosoft.com...
does compiling the code behind source using studio give and performance boost? this is a rephrase of an a question i posted yesterday. To be honist VS.net is becomming a pain to work with for asp.net. Vb.net and c.net hey, no
problem, but asp.net it seems to create way too much over head and
complication. thanks for listening and would appreciate an opinion.
thanks
kes

Nov 19 '05 #4
thanks for responding,
I knew that the pages got compiled on the first hit. I was not asking about
the first time hit or a specific page, but a general question. I hav elearned
according to another post that there is no difference once the source is
compiled first hit by a Browser. The over-head issue was a question about the
VisualStudio.Ne t development environment. It seems to add a lot more
complacation than apears necessary. for example the class creates Private
Subs for the general controls such as buttons and links. That's ok, but it
gets me a little confussed because the same automatic subs are not generated
for some other objects like DataGrid Events. And here the subs need to be
declared as not private. I'm guessing there is a ways to do this correctly,
but i still don't know how.

"Patrice" wrote:
Anyway it always execute compile code ? What are you seeing exactly ? Is it
the first time you hit a page ? Or each time you access the page ?

Patrice

--

"Kurt Schroeder" <Ku***********@ discussions.mic rosoft.com> a écrit dans le
message de news:F4******** *************** ***********@mic rosoft.com...
does compiling the code behind source using studio give and performance

boost?
this is a rephrase of an a question i posted yesterday. To be honist

VS.net
is becomming a pain to work with for asp.net. Vb.net and c.net hey, no
problem, but asp.net it seems to create way too much over head and
complication. thanks for listening and would appreciate an opinion.
thanks
kes


Nov 19 '05 #5
please see my reply to Patrice.
And Thanks for responding.
If i may ask how do you declare a sub for a datagrid event as private? All
the subs generated by VS.NET are but gatagrid events ar enot autogenerated.
thanks
kes

"Flip" wrote:
I'm by no means an expert on this, but coming from JSPs and linux, I have a
slightly different perspective than your typical MS/VB/Windows user.

From what I've learned, everything is compiled as far as .net is concerned,
to intermediate language (IL), and further compiled upon execution into
executable code for Windows. On IIS, with ASPX, if things are slow, you
might be dealing with a killed process. That's what I'm running into. One
thing MS did to help stop DOS attacks, they kill the process if it's got no
activity on it for 20m or something like that. Of course you can change it,
or even disable it.

re too much overhead
JSPs are not that bad, but when you start adding in servlet (java's version
of the code behind, I know, I know, it's not exactly the same, but
sufficient for drawing parallels), and modifying the web.xml for every
servlet addition is a pain too! And then when you add in the IDE (I'm using
JB @ w) and then you have two code bases for multiple projects.....uh man it
just gets complicated, and there's only so much ANT tasks can help to
automate. Believe, me, I'm having more fun with VS @ h than I am with
JB/java @ w.

Good luck with it. Keep it up, it will reward you.

Nov 19 '05 #6
Hi, Kurt.

As others have already expressed, there's
very little or no performance boost, except
for a very minimal one for the first user.

I understand your point about
VS.NET being a lot of overhead.

Nevertheless, some of its features are essential
if you don't want to spend years developing an app.

Intellisense, integrated debugging, point-and-shoot property
settings, integrated help with F1, and many other features,
like deployment projects, integrated source code management,
etc., make VS.NET the tool of choice for developing .NET apps,
ASP.NET included.

For small-project developers who just want to be
able to create websites, and who don't need the
enterprise features built into VS.NET, Microsoft
is releasing Visual Web Developer, which is like
VS.NET, but geared only for ASP.NET development.

You might find it worthwhile to
start familiarizing yourself with it.

It's way above Web Matrix, which it substitutes.

The release of ASP.NET 2.0 is not too far away,
so this is the right time to start checking out VWD.

http://lab.msdn.microsoft.com/express/vwd/default.aspx

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=============== ======

"Kurt Schroeder" <Ku***********@ discussions.mic rosoft.com> wrote in message
news:F4******** *************** ***********@mic rosoft.com...
does compiling the code behind source using studio give and performance
boost?
this is a rephrase of an a question i posted yesterday. To be honist
VS.net
is becomming a pain to work with for asp.net. Vb.net and c.net hey, no
problem, but asp.net it seems to create way too much over head and
complication. thanks for listening and would appreciate an opinion.
thanks
kes

Nov 19 '05 #7
saw your posting from early this morning, thanks you. comment noted.

"William F. Robertson, Jr." wrote:
When you start two threads with the same question, you probably should post
a followup to your original post. It makes it easier to reply. Plus if you
question wasn't answered, follow up with us, and we will followup with you.

Unless you have a rolling 12 hour post...

bill

"Kurt Schroeder" <Ku***********@ discussions.mic rosoft.com> wrote in message
news:F4******** *************** ***********@mic rosoft.com...
does compiling the code behind source using studio give and performance

boost?
this is a rephrase of an a question i posted yesterday. To be honist

VS.net
is becomming a pain to work with for asp.net. Vb.net and c.net hey, no
problem, but asp.net it seems to create way too much over head and
complication. thanks for listening and would appreciate an opinion.
thanks
kes


Nov 19 '05 #8
So this is not a performance problem ?

Granted there are some plumbing going on behind the scene but it should
really show up only on rare occasions and is likely needed.

..NET also creates some code to perform actions done "visually" (is this
those private subs you are talking about or do yu mean protected variable
declarations ?). I don't see those "need to be declared as *not* private"
procedures you are talking about. AFAIK subs handling datagrid events are
private and you have to write them ???..

You may want to give us a precise sample of the code you are referring to...

ASP.NET 2.0 should still hide a bit more of this plumbing (such as having a
declaration in the ASPX page doesn' t require to have a programmatic
declaration in the code behind + DataSource controls are not creating code
etc...).
Patrice

--

"Kurt Schroeder" <Ku***********@ discussions.mic rosoft.com> a écrit dans le
message de news:F7******** *************** ***********@mic rosoft.com...
thanks for responding,
I knew that the pages got compiled on the first hit. I was not asking about the first time hit or a specific page, but a general question. I hav elearned according to another post that there is no difference once the source is
compiled first hit by a Browser. The over-head issue was a question about the VisualStudio.Ne t development environment. It seems to add a lot more
complacation than apears necessary. for example the class creates Private
Subs for the general controls such as buttons and links. That's ok, but it
gets me a little confussed because the same automatic subs are not generated for some other objects like DataGrid Events. And here the subs need to be
declared as not private. I'm guessing there is a ways to do this correctly, but i still don't know how.

"Patrice" wrote:
Anyway it always execute compile code ? What are you seeing exactly ? Is it the first time you hit a page ? Or each time you access the page ?

Patrice

--

"Kurt Schroeder" <Ku***********@ discussions.mic rosoft.com> a écrit dans le message de news:F4******** *************** ***********@mic rosoft.com...
does compiling the code behind source using studio give and
performance boost?
this is a rephrase of an a question i posted yesterday. To be honist

VS.net
is becomming a pain to work with for asp.net. Vb.net and c.net hey, no
problem, but asp.net it seems to create way too much over head and
complication. thanks for listening and would appreciate an opinion.
thanks
kes


Nov 19 '05 #9
thanks again, and i have a question,
VS. net auto defines the subs as private in created class. How can sub
created manuelly be declared as private, or should they not be? Reason i'm
asking is that vs.net does not create subs based on events raised by a
datagrid.
thank you

"William F. Robertson, Jr." wrote:
When you start two threads with the same question, you probably should post
a followup to your original post. It makes it easier to reply. Plus if you
question wasn't answered, follow up with us, and we will followup with you.

Unless you have a rolling 12 hour post...

bill

"Kurt Schroeder" <Ku***********@ discussions.mic rosoft.com> wrote in message
news:F4******** *************** ***********@mic rosoft.com...
does compiling the code behind source using studio give and performance

boost?
this is a rephrase of an a question i posted yesterday. To be honist

VS.net
is becomming a pain to work with for asp.net. Vb.net and c.net hey, no
problem, but asp.net it seems to create way too much over head and
complication. thanks for listening and would appreciate an opinion.
thanks
kes


Nov 19 '05 #10

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

Similar topics

22
2439
by: Ajay | last post by:
hi! is there an authoritative source on the performance of scripting languages such as python vs. something like java, c, c++. its for a report, so it would be awesome if i could quote some well-known authority on this. thanks
2
3604
by: Ed | last post by:
I want to pay a monthly fee to a hosting company to host my ASP application. I have some propriety designs in my ASP application which I'm reluctant to expose the source code. Unfortunately, with ASP, it's all source code. Is there a way to "compile" my ASP application so that when I upload the application to the hosting company, my propriety work will remain unrevealed? Second question, if I update my ASP applcation to ASP.NET, would...
0
1430
by: Matt Billock | last post by:
Hello all, I was wondering if anyone could provide me with some assistance with and error I have been observing. Our current set of framework .dlls defines custom user controls in an assembly called Architecture.Web.DLL. One of the controls within that assembly references an enumeration in another framework .DLL - Architecture.services.dll. Both assemblies are strongly named. The target deployment scenario for our framework is to have...
5
2321
by: Bern McCarty | last post by:
I have a DLL written in C++ (it's really C code that was adjusted to compile OK as C++) that I compile successfully into IL with the /CLR switch of Visual C 7.1. I use the resultant library successfully from other C++ code (both native and managed) and it works fine. I would like to figure out the shortest and most convenient path to making this library callable from other ..NET languages. The function signatures in this librariy's API are...
4
5072
by: BH | last post by:
I'm working on several ASP.NET projects at the same time. I have a separate web server and each has its own solution folder on my local PC. The strange thing I noticed is that one of the projects, when compiled in VS.NET, doesn't automatically update the DLL on the server. Instead, the DLL just sits in the VSWebCache on my local PC. However, the other projects I;m working on don't have this problem. I have spent quite a bit of time...
7
1095
by: Bogdan Nedelcu | last post by:
Hello, I have some projects which have lot of aspx files. I notice that for each file, the ASP.NET compiles one .DLL in the Temporary ASP.NET folder + 3 or for aditional files. I think this slows the system down. Is there any possibility to put all these files in one DLL - like to precompile the whole site ?
1
2412
by: Jed | last post by:
I have a DLL that I compiled to CodeAsset.dll. The version is 1.1.0.0. If I rename the file from CodeAsset.dll to CodeAsset.1.1.dll, reference it in a web project, recompile the web project, and the newly named file is in the bin directory, shouldn't the web project run fine? I did this and instead I get the following error: The located assembly's manifest definition with name 'CodeAsset.1.1' does
16
6745
by: John | last post by:
Does the length of my C variable names have any affect, performance-wise, on my final executable program? I mean, once compiled, etc., is there any difference between these two: number = 3; n = 3; I know its setting aside storage for the variable itself; does it also use up more storage if the variable name is longer? I realize it would probably take quite a lot of long variable names to make any impact if so, but I was just curious...
40
2379
by: castironpi | last post by:
I'm curious about some of the details of the internals of the Python interpreter: I understand C from a hardware perspective. x= y+ 1; Move value from place y into a register Add 1 to the value in the register Move the addition's result to place x
0
9643
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10315
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10147
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10085
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5379
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2877
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.