Can anyone offer some advice on this.
I have a large web based application, 100+ aspx pages, 100's of
webUserControls etc. While all of the system is structued & layered as n-tier
we cannot seem to spilt the web application up into discreet modules. i.e.
there is a core services framework that all areas of the application use but
majoiry of the modules we have in the application are standalone or talk to
other modules through variuos interfaces.
However I would like like to stop deveoping this as a single humongous web
site (as it keeps on growing) and develop individual web application modules
that can be more easily version controlled. As you can imagine one change
means a complete upgrade of an enitire site rather than just a small module.
It seems very difficult (impossible) to "Share" components such as custom
web user controls across different web projects while developing.
All the modules & framework when deployed should sit in a single IIS web
application area on the server.
Has anyone done this or have any suggestions, Is it even possbile?
Regards
Toby 12 1016
It's not too difficult. You just partition the web layer up as seperate web
projects, which will each output a different assembly containing part of your
site, and will contain the from end (aspx, ascx) files also.
The key thing that you have to do is Remove the application setting on
Virtual Directories created for each module of the application when you set
it up as a Web project in Visual Studio. Otherwise you will get a message
saying that you can't access controls within other modules because they are
in a differnt application.
This means however that all the assemblies of your different web modules
will need to go in a Bin folder underneath the root of your website.
Unfortunately web projects refuse to allow you to target built assemblies to
anywhere outside their project folder, therefore you'll need a script or
something which is run after a completed build to copy newly built assemblies
into the website root where the website will expect them.
HTH,
Cam
"TobyRiley" wrote: However I would like like to stop deveoping this as a single humongous web site (as it keeps on growing) and develop individual web application modules that can be more easily version controlled. As you can imagine one change means a complete upgrade of an enitire site rather than just a small module.
thankyou for further proof
that developing sophisticated
web applications in .net is a joke
if ms simply allowed for codeblocks in
methods and classes
your problem would be solved
Cam wrote: It's not too difficult. You just partition the web layer up as seperate web projects, which will each output a different assembly containing part of your site, and will contain the from end (aspx, ascx) files also.
The key thing that you have to do is Remove the application setting on Virtual Directories created for each module of the application when you set it up as a Web project in Visual Studio. Otherwise you will get a message saying that you can't access controls within other modules because they are in a differnt application.
This means however that all the assemblies of your different web modules will need to go in a Bin folder underneath the root of your website. Unfortunately web projects refuse to allow you to target built assemblies to anywhere outside their project folder, therefore you'll need a script or something which is run after a completed build to copy newly built assemblies into the website root where the website will expect them.
HTH, Cam
"TobyRiley" wrote:
However I would like like to stop deveoping this as a single humongous web site (as it keeps on growing) and develop individual web application modules that can be more easily version controlled. As you can imagine one change means a complete upgrade of an enitire site rather than just a small module.
Hey troll,
You fail to appreciate that these issues are actually down to Visual Studio,
not ASP.NET, and that they pale into insignificance compared to the problems
created by your desire to mix logic and presentation layer.
When you actually work on a software engineering project where more than one
developer works on more than half a dozen web pages then see what you think.
I can tell you from experience that your proposals here and in other threads
are naive at best.
Now back under your bridge!
Rgds,
C.
"John Rivers" wrote: thankyou for further proof that developing sophisticated4 web applications in .net is a joke
if ms simply allowed for codeblocks in methods and classes
your problem would be solved
Thanks for your insight & quick reply, I will try this out. I'm now wonerding
if has been made any eaiser in VS 2005 (or could I extend the dev environment
to ease such a deveopment.)
Regards
Toby
"Cam" wrote: It's not too difficult. You just partition the web layer up as seperate web projects, which will each output a different assembly containing part of your site, and will contain the from end (aspx, ascx) files also.
The key thing that you have to do is Remove the application setting on Virtual Directories created for each module of the application when you set it up as a Web project in Visual Studio. Otherwise you will get a message saying that you can't access controls within other modules because they are in a differnt application.
This means however that all the assemblies of your different web modules will need to go in a Bin folder underneath the root of your website. Unfortunately web projects refuse to allow you to target built assemblies to anywhere outside their project folder, therefore you'll need a script or something which is run after a completed build to copy newly built assemblies into the website root where the website will expect them.
HTH, Cam
"TobyRiley" wrote:
However I would like like to stop deveoping this as a single humongous web site (as it keeps on growing) and develop individual web application modules that can be more easily version controlled. As you can imagine one change means a complete upgrade of an enitire site rather than just a small module.
I hope so, as it's not particularly intuitive at the moment. I've generally
found that as long as you split your code base in such a manner that most
updates will be constrained to single modules, then it doesn't cause too many
problems (apart from being a little difficult to set up new development
environments for new starters etc.)
"TobyRiley" wrote: Thanks for your insight & quick reply, I will try this out. I'm now wonerding if has been made any eaiser in VS 2005 (or could I extend the dev environment to ease such a deveopment.)
Found this which was useful as well. Post build events used to copy assemblies.
CTO http://www.codeproject.com/aspnet/SubWebSolution1.asp
Regards
Toby
"Cam" wrote: I hope so, as it's not particularly intuitive at the moment. I've generally found that as long as you split your code base in such a manner that most updates will be constrained to single modules, then it doesn't cause too many problems (apart from being a little difficult to set up new development environments for new starters etc.)
"TobyRiley" wrote:
Thanks for your insight & quick reply, I will try this out. I'm now wonerding if has been made any eaiser in VS 2005 (or could I extend the dev environment to ease such a deveopment.)
you are silly
its a simple problem
easily solved in classic asp by creating
a set of libraries and include files
some of which are under the control of designer
some of which are under the control of developer
by using normal everyday coding features such as
callbacks
classes
class interfaces
which are all available in vbscript by the way
you can quickly create multi-brandable, skinnable
web applications with very complex client and server
side implementations in an easy to manage way
plus combine this with vb6 activex dlls
and you have a great solution
the problem with classic asp was that most people
don't have the imagination and flair to use it
properly
the problem with asp.net is that it is fantastic
but for some unknown reason they don't let us use code blocks in
methods and classes for presentation
which is utterly ridiculous
now run along you before i eat you
Cam wrote: Hey troll,
You fail to appreciate that these issues are actually down to Visual Studio, not ASP.NET, and that they pale into insignificance compared to the problems created by your desire to mix logic and presentation layer.
When you actually work on a software engineering project where more than one developer works on more than half a dozen web pages then see what you think. I can tell you from experience that your proposals here and in other threads are naive at best.
Now back under your bridge!
Rgds, C.
"John Rivers" wrote:
thankyou for further proof that developing sophisticated4 web applications in .net is a joke
if ms simply allowed for codeblocks in methods and classes
your problem would be solved
Even a fool can be thought wise if he simply keeps his mouth shut.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
Paranoia is just a state of mind.
"John Rivers" <fi*****@btinte rnet.com> wrote in message
news:11******** **************@ z14g2000cwz.goo glegroups.com.. .
thankyou for further proof that developing sophisticated web applications in .net is a joke
if ms simply allowed for codeblocks in methods and classes
your problem would be solved
Cam wrote: It's not too difficult. You just partition the web layer up as seperate web projects, which will each output a different assembly containing part of your site, and will contain the from end (aspx, ascx) files also.
The key thing that you have to do is Remove the application setting on Virtual Directories created for each module of the application when you set it up as a Web project in Visual Studio. Otherwise you will get a message saying that you can't access controls within other modules because they are in a differnt application.
This means however that all the assemblies of your different web modules will need to go in a Bin folder underneath the root of your website. Unfortunately web projects refuse to allow you to target built assemblies to anywhere outside their project folder, therefore you'll need a script or something which is run after a completed build to copy newly built assemblies into the website root where the website will expect them.
HTH, Cam
"TobyRiley" wrote:
> However I would like like to stop deveoping this as a single humongous > web > site (as it keeps on growing) and develop individual web application > modules > that can be more easily version controlled. As you can imagine one > change > means a complete upgrade of an enitire site rather than just a small > module.
For one thing, use custom Server Controls rather than User Controls, as they
can be re-used easily in any web application.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
Paranoia is just a state of mind.
"TobyRiley" <To*******@disc ussions.microso ft.com> wrote in message
news:2B******** *************** ***********@mic rosoft.com... Can anyone offer some advice on this.
I have a large web based application, 100+ aspx pages, 100's of webUserControls etc. While all of the system is structued & layered as n-tier we cannot seem to spilt the web application up into discreet modules. i.e. there is a core services framework that all areas of the application use but majoiry of the modules we have in the application are standalone or talk to other modules through variuos interfaces.
However I would like like to stop deveoping this as a single humongous web site (as it keeps on growing) and develop individual web application modules that can be more easily version controlled. As you can imagine one change means a complete upgrade of an enitire site rather than just a small module.
It seems very difficult (impossible) to "Share" components such as custom web user controls across different web projects while developing.
All the modules & framework when deployed should sit in a single IIS web application area on the server.
Has anyone done this or have any suggestions, Is it even possbile?
Regards
Toby This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Bob |
last post by:
Hallo,
I have to make a web application in Javascript/ASP for tenniscourt
reservation (based on Access database). I would like to do everything with
one page, because the user must be able to change his day, hour or
tenniscourt choice before really reserving it . I tried like this:
The first SELECT contains the date (next 30 days) and is filled dynamically.
No problem.
When the date is chosen (by clicking), the second SELECT must...
|
by: Marquisha |
last post by:
If this is off-topic, please forgive me. But I thought this might be
the perfect spot to get some advice about how to proceed with a
project.
Working on a Web site design for a nonprofit organization, and I'm
donating the work. Haven't done Web work in a while, and things have
changed since I last did anything of this magnitude. I'm looking for
a solution that will enable me to edit pages easily and in totally
WYSIWYG fashion, while...
|
by: Alex Shefer |
last post by:
I have ASP.NET web application running on Microsoft Server 2003.
It works fine for many clients but one of my clients gets a "File
Download" dialog "Some files can harm your computer" trying to see
aspx page.
Can it some browser problem, wrong browser security settings ?
Thank you,
Alex Shefer
|
by: yuyazhang |
last post by:
Hi ,
I am a graduate , I have had some basic knowlege about C++ ! but
I find that I can't master it , I am disappoint for that . who give me
some advice about ways which master it and some good books 。I will
be pleasure.
Thank you in advance!
|
by: johannblake |
last post by:
First off, I am NOT a beginner. I have lots of experience developing
professional web sites and am a professional software developer.
Unfortunately I've been out of web site development for the past 2
years but would like to get back into it. What I need is some advice to
get me up-to-date on what is the best (or one of the best) ways of
developing web sites and web applications.
The following are my requirements:
* Static web pages...
| |
by: vishsid3 |
last post by:
Hi guys , I am new to this forum .
can anybody plz tell me - "how can I run a c executable in some
directory ,while the executable is in some other directory "
I am new to unix and c ,so any pointers for help will be of great
value.
thanx in advance .
|
by: Digital Puer |
last post by:
I'm not the world's greatest C++ programmer, so I had a hard
time with these. Some help would be appreciated.
1. Comment on the declaration of function Bar() below:
class Foo
{
static int Bar(int i) const;
}
(I said that since Bar is a static method, it can only access
|
by: =?Utf-8?B?RW1tYSBIb3Bl?= |
last post by:
Hi All,
I need some advice please. I have very good knowledge of MS Access, Excel
etc, reasonable knowledge of VBA and some very basic knowledge of VB6 and
virtually non-existant knowledge of web based 'stuff'.
I wish to build an application which will allow the user to enter a company
and some information about it, once certain information is added, it will
allow the user to run certain reports. This information needs to be stored...
|
by: jon121970 |
last post by:
I'm new here.. I am hoping to get some Professional Advice.
I want to start my own online Auction. I anticipate it will grow into a high volume/high traffic online auction. I need some Recommendations as to what platform and what is the best configuration this Auction should be designed in to handle high volume(i.e. Php or ASP or CGI, Mysql)?
I've seen some other Auction scripts out there.. but I really don't know the best design for an...
|
by: azrael |
last post by:
I am starting to work on a application and need some advice.
I am planing to develop a desktop application which would have some
usage, but also it should be able to comunicate to a web server which
hosts a php web application. So I wanted to ask if someone has some
expirience with connecting PHP webapplications with Python desktop
applications. Could someone at leaset point me to the right direction
where to look for informations.
...
|
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...
| |
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,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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...
| |