Click here to Skip to main content
15,891,621 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionASP.NET Forums download? [modified] Pin
NaNg1524120-Jul-09 9:00
NaNg1524120-Jul-09 9:00 
AnswerRe: ASP.NET Forums download? Pin
David Mujica20-Jul-09 9:40
David Mujica20-Jul-09 9:40 
QuestionProblem with global.asax Pin
AprNgp20-Jul-09 8:57
AprNgp20-Jul-09 8:57 
AnswerRe: Problem with global.asax Pin
pthalacker7-Aug-09 10:43
pthalacker7-Aug-09 10:43 
QuestionDynamically Creating WebServices Pin
BenClark20-Jul-09 6:05
BenClark20-Jul-09 6:05 
AnswerRe: Dynamically Creating WebServices Pin
Abhijit Jana20-Jul-09 7:33
professionalAbhijit Jana20-Jul-09 7:33 
GeneralRe: Dynamically Creating WebServices Pin
Ian McCaul20-Jul-09 7:55
Ian McCaul20-Jul-09 7:55 
GeneralRe: Dynamically Creating WebServices Pin
BenClark20-Jul-09 8:24
BenClark20-Jul-09 8:24 
Thanks for the quick response.

The way I need it to work is as follows:
1. Using a text editor, a user creates a C# method. The method will have one or more parameters and a return type.
The user will save the code into the database.
2. The server application will read the code from the database.
3. It will compile the code into an assembly.
4. It will create a Webmethod to match the method description of the C# code it just compiled.
5. When a user calls the WebMethod using a browser, etc., the newly compiled
code will be called by the WebMethod which will process using the users compiled code and then return a result.

The WebMethods will be created once and will stay in place as long as the server application is running.
The WebMethods will be called many, many times by users/applications.
Their could be one or dozens of WebMethods created this way.

Visual Studio will not be installed on the server.
The server application will use the CSharpCodeProvider() to compile the code.

The server application will NOT know anything about the webmethods or the C# code.
It only know to fetch the code, compile it and create a WebMethod to call the code.

As far as using IIS, I would rather use
using System.Web.Hosting;
which will not depend on any Web Server of any kind.

I found an awesome example of this at http://msdn.microsoft.com/en-us/magazine/cc163879.aspx[^]

Thanks
Ben Clark
GeneralRe: Dynamically Creating WebServices Pin
Abhijit Jana20-Jul-09 8:40
professionalAbhijit Jana20-Jul-09 8:40 
GeneralRe: Dynamically Creating WebServices Pin
Ian McCaul20-Jul-09 9:01
Ian McCaul20-Jul-09 9:01 
QuestionNested ListView Pin
megivimal20-Jul-09 4:50
megivimal20-Jul-09 4:50 
AnswerRe: Nested ListView Pin
Brij20-Jul-09 6:07
mentorBrij20-Jul-09 6:07 
Questionsearchbox Pin
sh_donya20-Jul-09 4:30
sh_donya20-Jul-09 4:30 
AnswerRe: searchbox Pin
Abhishek Sur20-Jul-09 5:02
professionalAbhishek Sur20-Jul-09 5:02 
AnswerRe: searchbox Pin
Brij20-Jul-09 6:00
mentorBrij20-Jul-09 6:00 
GeneralRe: searchbox Pin
sh_donya21-Jul-09 7:25
sh_donya21-Jul-09 7:25 
AnswerRe: searchbox Pin
Abhijit Jana20-Jul-09 6:18
professionalAbhijit Jana20-Jul-09 6:18 
QuestionPie charts : positioning of char area and legends seperately dynamically. Pin
williams.christine20-Jul-09 4:01
williams.christine20-Jul-09 4:01 
AnswerRe: Pie charts : positioning of char area and legends seperately dynamically. Pin
Manas Bhardwaj20-Jul-09 4:05
professionalManas Bhardwaj20-Jul-09 4:05 
GeneralRe: Pie charts : positioning of char area and legends seperately dynamically. Pin
williams.christine20-Jul-09 4:09
williams.christine20-Jul-09 4:09 
QuestionMessageString method is not giving action Width [modified] Pin
Kumaran21cen20-Jul-09 3:47
Kumaran21cen20-Jul-09 3:47 
AnswerRe: MessageString method is not giving action Width Pin
Abhishek Sur20-Jul-09 3:58
professionalAbhishek Sur20-Jul-09 3:58 
QuestionHow to hide urls from popups in IE-7 Pin
Manprit.bagga20-Jul-09 3:17
Manprit.bagga20-Jul-09 3:17 
AnswerRe: How to hide urls from popups in IE-7 Pin
Aman Bhullar20-Jul-09 3:23
Aman Bhullar20-Jul-09 3:23 
AnswerRe: How to hide urls from popups in IE-7 Pin
Abhishek Sur20-Jul-09 4:01
professionalAbhishek Sur20-Jul-09 4:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.