Can Compiling The Whole .net Website On Mono At Once
Dec 2, 2010
am compiling the asp.net web application page by page using "gmcs" command in Mono.ut i want to compile the whole asp.net website at once using Mono command.
gmcs /t:library /out:bin/AJAX.dll -r:System.dll -r:System.Web.dll -r:bin/AjaxControlToolkit.dll Default.aspx.cs Default.aspx.designer.cs I do not want to do like the above one, instead i want to compile the whole folder containing files at once.
View 1 Replies
Similar Messages:
Feb 13, 2011
I need to have a textbox on a ASP.NET page in which a user would paste code and select one of the preset languages (C#, VB.NET, Python, Ruby etc) and I need to verify if the code compiles successfully. If it doesn't, then I need to show the errors and warnings with line numbers.
View 1 Replies
Mar 1, 2010
I have an ASP .NET web application which on the backend is talking to an ASMX web service. We have counted and the average wait time for the initial request is 20s. I am wondering if there is a way I can send the web service up to the server precompiled, thus negating the need for compilation.We have also noticed that IIS tends to recycle its worker threads and this also causes a compilation. The process itself is not accessed terribly often, but it needs to be much quicker when it is
View 5 Replies
Feb 16, 2011
I have developed a Crystal Reports enabled website in asp.net. Now client requirement is that this project should work on Mono also. I have found that crystal reports are not compatible with Mono.?
View 2 Replies
Mar 14, 2011
I have developed my asp.net application along with crystal report ..
It was working fine before ... When i removed the add reference from my project of crystal report .... It started to show me error while building my application
The type 'CrystalDecisions.Web.CrystalReportSource' exists in both 'c:WINDOWSassemblyGAC_MSILCrystalDecisions.Web10.2.3600.0__692fbea5521e1304CrystalDecisions.Web.dll' and c:WINDOWSassemblyGAC_MSILCrystalDecisions.Web10.5.3700.0__692fbea5521e1304CrystalDecisions.Web.dll'
View 10 Replies
Aug 17, 2010
Apparently, DNN installations do not like to be precompiled (they won't be able to find any localized strings then). Our installation is safely put in SVN, which means I cannot just copy the whole directory. To publish everything, I need to copy the whole website directory without the SVN files and directories. So far, I've been messing with good old DOS commands, which is time consuming and error prone.
an MS-Built script or step to do just this? Or can I do this using default Visual Studio 2010 commands?
Note: this is a website, not a web application.
View 3 Replies
Mar 7, 2011
I understand I can use either the CodeDOM or Mono for compiling and executing C# code on the fly. Which of these are suggested given the security concerns of executing code and flexibility? EDIT: I need to create an editor in which any user can enter code and choose to execute it. My concern is that if they have malicious code (accessing the file system for example) then I need to take precautions to prevent this from happening. How would I do this using CodeDOM or Mono?
View 2 Replies
Nov 25, 2010
I'm looking for a CMS running under Mono framework: this is needed to have it deployed on Linux-based (Ubuntu/Debian) machines.
told me about OrchardCMS, but it seems it's not compatible yet.They also told me about Umbarco, but I haven't found any information on compatibility.
View 1 Replies
May 21, 2010
I am not sure if XSP2 is using mono or .NET in my Windows box.How can I be sure?
View 3 Replies
Jan 24, 2010
I have an ASP.NET application which I'd like to try running on Mono, just as an experiment. When I bring the application as it is to Mac, start xsp2 on the directory, it runs as I would imagine it should. That is, it crashes on because of the file system path differences ( vs / in directories).
This is where I would like to open it in MonoDevelop and fix the problems. But since it was website, it doesn't have .csproj file. And it seems that there's no .sln file either, since Visual Studio stores those to some random directory by default. In Visual Studio you could open the project with Open -> Web site... -> Local IIS etc., but I see no such thing in Mono.Is there a way to open a directory as a web site or somehow generate the .csproj file?
View 4 Replies
Mar 29, 2011
I need to get my C# Web Application in VS 2008 Professional to compile. I have 2 projects in one solution.The first project, PowerMeter has an App_Code folder with namespace Inov.PowerMeter and the associated .aspx.cs files in the app reference it by using Inov.PowerMeter;. This code compiles fine and builds the powermeter.dll correctly. I have a second project called QuickMeter. The app_code for this creates a namespace Inov.Quickmeter and the aspx.cs files reference it correctly. But this doesn't compile.
View 1 Replies
Oct 24, 2010
i have mapped *.xyz extension to my own custom handler in asp.net and can run it on Windows asp.net.
How can I do the same thing on mono (Linux/Apache - ubuntu)?
I have this in my web.config:
<httpHandlers><add path="*.xyz" verb="*" type="MyCustomHandler,...">...
I also added similar things to mod_mono.conf and several other files but still I get http 404 The resource cannot be found.
View 1 Replies
Oct 2, 2010
Apparently Mono replaces references to SQL Server membership provider with sqlite membership provider (see ASP.NET_Settings_Mapping). Is there any way to convince Mono to use SQL Server for the membership provider?
When I try to log in to my web app, I get the following:
System.Configuration.Provider.ProviderException: Operation aborted due to an exception (see Trace for details).
at System.Web.Security.SqliteMembershipProvider.ValidateUser (string,string) <0x003bb>
at DirectMail.Controllers.AccountMembershipService.ValidateUser (string,string) [0x00000] in [file].cs:404
at DirectMail.Controllers.AccountController.ValidateLogOn (string,string) [0x00040] in [file].cs:346
at DirectMail.Controllers.AccountController.LogOn (string,string,bool,string) [0x00000] in [file].cs:79
at (wrapper dynamic-method) System.Runtime.CompilerServices.ExecutionScope.lambda_method (System.Runtime.CompilerServices.ExecutionScope,System.Web.Mvc.ControllerBase,object[]) <0x001c1>
at System.Web.Mvc.ActionMethodDispatcher.Execute (System.Web.Mvc.ControllerBase,object[]) <0x00028>
at System.Web.Mvc.ReflectedActionDescriptor.Execute (System.Web.Mvc.ControllerContext,System.Collections.Generic.IDictionary`2<string, object>) <0x0015b>
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod (System.Web.Mvc.ControllerContext,System.Web.Mvc.ActionDescriptor,System.Collections.Generic.IDictionary`2<string, object>) <0x00036>
at System.Web.Mvc.ControllerActionInvoker/<InvokeActionMethodWithFilters>c__AnonStoreyB.<>m__E () <0x00092>
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter (System.Web.Mvc.IActionFilter,System.Web.Mvc.ActionExecutingContext,System.Func`1<System.Web.Mvc.ActionExecutedContext>) <0x00125>
The top of the file /usr/local/etc/mono/4.0/settings.map on one Debian Linux machine is:
<?xml version="1.0" encoding="utf-8" ?>
<settingsMap>
<map sectionType="System.Web.Configuration.MembershipSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
mapperType="Mono.Web.Util.MembershipSectionMapper, Mono.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756"
platform="Unix">.......
View 2 Replies
Jun 28, 2010
I have made a very simple Asp.net web site with a WCF service - "Person.svc" - that runs fine when hosted on Asp.Net development server(visual web developer 2010), but if I host on Mono's XSP 2 and access some parse error is thrown. Can WCF services live inside a XSP Web site?
View 2 Replies
Feb 27, 2011
I'm trying to run any application on XSP4 web server using new Mono 2.10 (downloaded from windows installer bundle). I have already tried to run simple ASP.NET MVC2 project and ASP.NET. Both were simple applications stubs. In all cases in browser under localhost:XXXX it seems that page is loading but nothing happens. With Mono 2.8 it works without any problems. Any suggestions how I can debug or solve this problem?PS. My windows firewall is turned off so it shouldn't be problem.
View 1 Replies
Nov 25, 2010
I need to compile a class library (DLL) from an ASP.NET source. Now when I try to build it says this:
The type
'System.ComponentModel.ISupportInitialize'
is defined in an assembly that is not
referenced. You must add a reference
to assembly 'System, Version=2.0.0.0,
Culture=neutral,
PublicKeyToken=b77a5c561934e089'.
Now I know that I have to put it in the web.config file. But there is no web.config file it's just the source of the dll that needs to be compiled.
View 1 Replies
Mar 31, 2011
i have a website, i want to place the compile code on the production server, now i took the code on the local machine and trying to compile source code on local machine, but whenever i compile the code, in one of my control(ascx.cs) file i am getting error that the control does not exists in current context, i checked everything, Inherits, CodeFile, even in the code behind(.cs) file, everything is perfect, even i get the control id in the intellisense, when i remove the control and again add the same using intellisense, the errors gets removed but after i publish site, the same error comes again
View 2 Replies
Aug 5, 2010
I just discovered that a (simple) website I'm working on will be deployed to a server running framework 2.0. My quandry is that I started it using VS2010 and framework 4.0.
Is the solution as simple as changing the compile to options? I'm assuming that I'll have to remove the Listview controls I am using as they didn't get introduced until 3.5 (i think).
Am I basically correct with this or am I missing something?
View 1 Replies
Dec 5, 2011
I notice whenever I try to build my asp.net website that I have been working on it compiles as a dll rather than as an actual web site. I don't know why but it seems to happen with all my asp.net project for the past couple of days. I might have accidentally change the output settings. However, I output type select that is set to "Class Library" but the selection to greyed out so I can not change it. How do I change the settings?
View 5 Replies
Nov 21, 2010
I tried searching a bit and didn't find an answer. Does the Razor View Engine work in Mono?
View 3 Replies
Feb 12, 2011
I want to use sqlite database in my asp.net project. I prefer linq, but I don't know which linq provider is compatible with mono platform?
View 1 Replies
Apr 13, 2010
When I make changes to a file, Mono ASP.NET doesn't see my changes, I have to do this:
sudo /etc/init.d/apache2 restart
I remember when Mono ASP.NET executes ASP.NET it caches the compilation somewhere. Before, when the updated page doesn't come up, I just delete that cached compiled code. I just forgot the exact path
How to make Mono ASP.NET detects the changes I made in program, without restarting the web server?
View 2 Replies
Jan 20, 2011
Previously, I've only used Microsoft-centric solutions, but for an upcoming ASP.Net project I'm considering using Mono and hosting it on a Linux Amazon EC2 instance. Based on the responses to my previous question, this sounds doable. However, I'm most comfortable with VB.Net and I'm wondering how well Mono supports it.
Does anyone have first-hand experience writing ASP.Net applications for Mono using VB.Net? If so, I'd like to know how it went, what kind of compatibility issues you ran into, and if you consider Mono's VB.Net support ready for use on a production site? I know Mono's C#.Net support is very good, so that's my fall-back plan, but I'd really prefer to use VB.Net.
View 4 Replies
Feb 10, 2011
I already have ASP.NET hosting, but I'm not sure how to run my application off Neo4j, since it requires a Java stack.
It seems my only options are:
Get separate Java/Linux hosting, and install Neo4J there, utilizing it as a database server. Get Neo4J-as-a-service, (akin to what MongoHQ does for MongoDB users) but I haven't had any luck finding providers. Move my whole application to Mono and then put it all on Java/Linux hosting and install Neo4j.
View 1 Replies
May 7, 2015
Need to execute .aspx page & .vb code from PHP server.
Therefore i have downloaded MONO for windows from link: [URL] .... And installed as per the guidelines provided on website: [URL] .... Now, how should i use it on PHP Server .....?
View 1 Replies