473,847 Members | 1,729 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.NET page generation with codeDom

Hi,

I am using codeDom to dynamically produce code objects and would like to
extend this to produce aspx page to exploit these and would like advice on
the best approach. I currently produce aspx and aspx.vb files as text files
but have found I have to build the 'site' with visual studio before I can run
it. Can I add/reference the existing pages in the codeDom before building
the assembly, or can I use codeDom to build the aspx.vb codebehind? Any
examples would be much appreciated.

T.I.A

MikeG
Jul 21 '05 #1
0 1117

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

Similar topics

0
1928
by: Ron Bullman | last post by:
Hi, I havent been able to find any documentation about @ in the CodeDom context. The problem is when generating C# code from CodeDom it will associate a @-tag with all C# specific types. Why? And how to configure the CodeDom to generate code without @-tags? Ron A short example follows whic produces following kind of output:
0
1373
by: Aaron A. Anderson | last post by:
I put up a small article comparing code generation with pure CodeDOM and CodeDOM with Refly helping. http://aaronthearchitect.com
1
2299
by: John Livermore | last post by:
Hello, We have an application that uses CodeDom for dynamic in-memory compilation of code. The same code (library) is used by both an ASP.net web site and a Windows Service. The code runs fine in the web environment, but I get file IO errors related to temporary files when it is run in by the Service. I realize that CodeDom has to create temporary files even when doing in-memory compilation. However, by default, the service runs...
16
4253
by: Richard Brown | last post by:
Ok, now I am truely going nuts... probably why I didn't use the Class Builder in VB6 extensively. But, being the 'proper programmer' that I should, I'm trying to bite the bullet and build classes for each of my 'entities' that operate within the program, ie, passenger, vehicle, etc. Then seperate UI classes that link to these. (Partially, because eventually several add-ons will be able to reuse the code in the data classes). My...
5
1324
by: Tim Bond | last post by:
I am using the Codedom classes to generate some code. Generally it is pretty intuitive but I have not been able to determine how to generate the 'not' statement. Specifically I want to be able to generate something like: if not testexpression then ... end if The if is fine it is a codeConditionStatement but I am not sure how to do the 'not'.
0
303
by: MikeG | last post by:
Hi, I am using codeDom to dynamically produce code objects and would like to extend this to produce aspx page to exploit these and would like advice on the best approach. I currently produce aspx and aspx.vb files as text files but have found I have to build the 'site' with visual studio before I can run it. Can I add/reference the existing pages in the codeDom before building the assembly, or can I use codeDom to build the aspx.vb...
0
1521
by: Jan Jones | last post by:
Hi, I have two XSDs both in seperate namespaces, Child is an extension of the abstract Base: <?xml version="1.0" encoding="utf-8"?> <xs:schema id="Base" targetNamespace="http://tempuri.org/Base.xsd" elementFormDefault="qualified" xmlns="http://tempuri.org/Base.xsd" xmlns:mstns="http://tempuri.org/Base.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
0
2269
by: =?Utf-8?B?Q2FtZWw=?= | last post by:
For anyone who has utilised classes under XSD.exe and CodeDOM (please redirect me to another group perhaps if not here) please any ideas on how to translate the multiple namespaces present within multiple XmlSchema , i.e., via xs:import, to multiple output C# namespaces when using CodeDOM? Have no problem passing multiple schemas to XmlSchemaImporter and generating to single namespace, but this is pretty useless in any moderately complex...
1
2507
camel
by: camel | last post by:
For anyone who has utilised classes under XSD.exe and CodeDOM, please any ideas on how to translate the multiple namespaces present within multiple XmlSchema , i.e., via xs:import, to multiple output C# namespaces when using CodeDOM? Have no problem passing multiple schemas to XmlSchemaImporter and generating to single namespace, but this is pretty useless in any moderately complex enterprise where multiple assemblies are being shared which...
0
9730
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
10983
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
10647
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...
0
9482
agi2029
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 project—planning, coding, testing, and deployment—without 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...
1
7882
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
5719
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...
0
5911
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4119
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3164
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.