Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Dear friends,

You know that every change in ASP.NET Project needs a new compiling for updating dll files in bin directory.

However, sometimes the programmer needs to change a name of a hyperlink or gif or some of very small details�

Should the programmer compile hundred pages (for a hard code web site) only because of small updates?

What are the limitations in this field?

is there any chance to preventing a new compile?) :) :p

  • Moderators
Posted

Also, if the changes are only to the aspx file and don't involve renaming of controls or new controls that require server-side handling then simply saving the changes will do. (There is no need to recompile)

 

Also, if you have multiple porjects you can exclude some from the recompile list in the solution properties.

Visit...Bassic Software
Posted
If your project was properly structured (n-tier)

I am not familiar enough ;) with the aspects of this architecture(n-tier)!

Would u please explain about those aspects or introduce an article.

*************************************************

they should be referenced in the web.config, so that a url change doesn't require a new compile.

Would u please show me a code of that? :)

thanks

Posted

N-tiered jsut means that you have layers (usually 3), user interface, business objects/rules and the database and/or objects. The idea is that if its coded correctly, that any one layer can be pulled out and replaced with a different layer and the app will still work. Some examples:

 

1. Replace Oracle with SQL Server

2. Replace a Windows interface with a ASP.NET web interface

3. Replace some VB6 business objects with some VB.NET ones

 

There are plenty of examples on the web.

 

as for web.config.

 

<appSettings>

<!--ConnectionString-->

<add key="ConnectionString" value="server=DEV;database=mydb;uid=db_sys;pwd=" />

</appSettings>

 

Then add a line simliar to this to read it:

 

ConfigurationSettings.AppSettings.Get("ConnectionString")

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...