473,800 Members | 2,696 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1585
Hi Chris,

You can check out the Microsoft.CShar p 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*********@ho tmail.com> wrote in message
news:u4******** *****@TK2MSFTNG P12.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
1801
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 little time, we have data retrieval classes and a struts based MVC. I'm contemplating a CallManager to hold call variables critical for tracking and writing. Since there are sever small tables it reads from, I am loading those into memory with a...
2
3759
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 (the first was required for Python 2.3.3 on RedHat 9): ../configure --prefix=/net/python --enable-unicode=ucs4 ../configure --prefix=/net/python ../configure --prefix=/net/python --enable-unicode=ucs2 All of these result in the ominous message...
0
2081
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 launches. I get "Please Wait While WIndows Configures Visual Studio .NET Enterprise." Then another box pops up saying: "Error 1706. No valid source could be found for product Visual Studio .NET Enterprise Architect. Then Windows Installer...
2
1628
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 the best way to approach this task and came across the IBuySpy starter pack from Microsoft but felt the design fell somewhat short of the offerings from something like www.oscommerce.com I then found www.dotnetnuke.com but this seemed more like...
2
1277
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 built, would you like to build now?" but when I say "Yes" it came up with an error "System can not find the file specified" It worked well for me in framework 1.1
0
923
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 seperated. Basically I want to learn good design and I would like to look at code now after I have read about EL. Any suggestions for such apps? I prefer complete apps than code snippets. Thanks.
6
2661
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. so far I have built a traditional app, switchboard, forms, etc. Part of this app is to automate the forms they previously prepared manually. After the app was built and works just fine, I find out there are several case managers using MS word...
2
2089
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 functions ( or am I missing something) But the worst thing is that it appears to cache the results of views and doesnt refresh from the source.
4
1503
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 these technologies, but from just looking at their feature set, I noticed that they don't exactly share the same features, for example ES offers services such as just-in-time activation and object pooling that I don't see in EL. I need to know if I...
0
9691
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
9551
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
9092
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
7582
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
6815
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();...
0
5473
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...
1
4150
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3765
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2948
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.