473,424 Members | 1,708 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,424 software developers and data experts.

Building C# Enterprise Apps

I work with a lot of development tools such as Seebeyond and Jacada,
enterprise tools written in java that allow developers to code and deploy
business processes. These tools are designed for developers. When using
these tools I basically write java code and when these apps are deployed
they run as a standalone service/application. My question is how such
applications are written and if this is possible in C#.

For example, assume I have written a c# application with an area that
allows the user to write their own c# code. This code could extend a
current application or be a new one. Once the developer is complete, they
will click on a button that will compile and save the code, and then pick
the location and schedule for it to run. How would this application be
designed? Behind the scenes I assume that this code will be compiled into a
class and then somehow run at a scheduled interval (for example if the user
choose to write a snippet that polled a directory and then picked up files
and ftp's them to another location every 5 mins).

Are there classes in the .net framework that faciliate this type of design
(compiling, deployment, etc?)
Nov 17 '05 #1
2 1573
Hi Chris,

You can check out the Microsoft.CSharp namespace for the c# compiling
support in .NET Framework.
As for the deployment, you can check out the Assembly class (especially its
Load and LoadFrom methods), and probably the AppDomain class if you need to
load/unload the dynamically compiled assemblies "on the fly".

--
Sincerely,
Dmytro Lapshyn [Visual Developer - Visual C# MVP]
"Chris Fink" <ch*********@hotmail.com> wrote in message
news:u4*************@TK2MSFTNGP12.phx.gbl...
I work with a lot of development tools such as Seebeyond and Jacada,
enterprise tools written in java that allow developers to code and deploy
business processes. These tools are designed for developers. When using
these tools I basically write java code and when these apps are deployed
they run as a standalone service/application. My question is how such
applications are written and if this is possible in C#.

For example, assume I have written a c# application with an area that
allows the user to write their own c# code. This code could extend a
current application or be a new one. Once the developer is complete, they
will click on a button that will compile and save the code, and then pick
the location and schedule for it to run. How would this application be
designed? Behind the scenes I assume that this code will be compiled into
a class and then somehow run at a scheduled interval (for example if the
user choose to write a snippet that polled a directory and then picked up
files and ftp's them to another location every 5 mins).

Are there classes in the .net framework that faciliate this type of design
(compiling, deployment, etc?)


Nov 17 '05 #2
You can compile "on the fly" with Reflection.Emit(). That solves part of the
problem. Knowing what code requires some type of framework to run the code
in, but it is easy enough to set up this Framework.

Before spending a huge amount of time, check SOurceForge.net, as someone may
have this type of project built already. Also, www.gotdotnet.com has
workspaces that you can check for source projects.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
"Chris Fink" wrote:
I work with a lot of development tools such as Seebeyond and Jacada,
enterprise tools written in java that allow developers to code and deploy
business processes. These tools are designed for developers. When using
these tools I basically write java code and when these apps are deployed
they run as a standalone service/application. My question is how such
applications are written and if this is possible in C#.

For example, assume I have written a c# application with an area that
allows the user to write their own c# code. This code could extend a
current application or be a new one. Once the developer is complete, they
will click on a button that will compile and save the code, and then pick
the location and schedule for it to run. How would this application be
designed? Behind the scenes I assume that this code will be compiled into a
class and then somehow run at a scheduled interval (for example if the user
choose to write a snippet that polled a directory and then picked up files
and ftp's them to another location every 5 mins).

Are there classes in the .net framework that faciliate this type of design
(compiling, deployment, etc?)

Nov 17 '05 #3

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

Similar topics

3
by: James | last post by:
We are writing a web based application which primarily will serve information to run an ivr. Based on our current IVR getting 1000000 hits a week, this is going to be heavy duty. We have very...
2
by: Russell E. Owen | last post by:
I'm trying to build Python 2.3.4 from source on a RedHat Enterprise machine for installation in a net-wide accessible directory /net/python. I tried all of the following variants of ./configure...
0
by: | last post by:
A problem has recently started to occur when building the MSI file for a project I am working on. Now, for some reason as soon as the setup proj tries to build the MSI file the Windows Installer...
2
by: Carl Gilbert | last post by:
Hi I was looking to build an E-Commerce web site using ASP.NET. I work with VB.NET and know some HTML so I imagine the learning curve for ASP.NET shouldn't be too steep. I was looking for...
2
by: Andy | last post by:
Hello, I am having problem using the Enterprise Libray 2005 in the new .NET 2.0 framework. When I started opening the Enterprise Libray Configuration it said "Enterprise Library has not been...
0
by: John.Den | last post by:
I am planning to use the Enterprise Library for a new project. I am looking for a good architected sample application which uses EL and where the data layer, business layer and UI are clearly...
6
by: Bob Alston | last post by:
Looking for someone with experience building apps with multiple instances of forms open. I am building an app for a nonprofit organizations case workers. They provide services to the elderly. ...
2
by: grant | last post by:
Man do I struggle with Enterprise Manager as a graphical tool for building views etc. Its flaky and hangs frequenlty so i have to kill it with the task manager and re open it. You cant debug...
4
by: =?Utf-8?B?QmVu?= | last post by:
Hi, I was wondering whether the Enterprise Library replaces Enterprise Services as a framework for providing services for enterprise apps, or it supplements it. I know nothing of either of...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
0
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...
1
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...
0
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,...

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.