Converting ASP.NET App To Mono Without .csproj And .sln?

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


Similar Messages:

.net - Delete Unnecessary References From Csproj

Nov 5, 2010

Existe a possibility to remove or identify all my references in my csproj is not used, if yes its cool for create a most speed and more easy to deploy software? anyone have ideias?

View 1 Replies

C# - Could Not Find File 'objDebugOldProjectName.csproj.FileListAbsolute.txt

Mar 18, 2011

I'm trying to publish project (tools vs2010), but cannot all the time getting the error below. I paste to my projects files from another project and then I changed namespace (OldProjectName) to the parent project (NewProjectName). But it still getting information from somewhere about old project.

I cleaned solution, builded, rebuilded. Closed and reopened again and all the time the same error.

I'm able to build project but publish it.

Error 1 Copying file objDebugOldProjectName.csproj.FileListAbsolute.txt to objDebugPackagePackageTmpobjDebugOldProjectName.csproj.FileListAbsolute.txt failed. Could not find file 'objDebugOldProjectName.csproj.FileListAbsolute.txt'. 0 0 NewProjectName

View 1 Replies

C# - How To Repair/Rebuild .csproj File From Code Files

Jan 10, 2011

I was working on a .Net 2.0 application. Late at night I upgraded it to .Net v.4. Then, as SVN was complaining I started to do manual conflict resolution. Even later than that I tried to check in my changes, then hit some conflicts so manually merged changes from the two different .csproj files.

I can't get back to where I was and rolling back to the previous version makes me lose all the code that has been written for it.

So I'm looking for a quick/dirty and reliable way of making sure my application code doesn't get lost?

View 1 Replies

Visual Studio :: Setting Startup Page Of A Web App In CSPROJ?

Feb 25, 2010

Is there a way the Start page can be saved in the Project file of a Web Application project.

Right now it saves in the user file, I tried moving the tag in the CSProj file along with the IIS VD creation tag, but it didnt worked.

View 1 Replies

Open Web Application In 2003 Server With VS2005 When Error Csproj Is Not Installed?

Nov 24, 2010

application for project.....csproj is not installed. Make sure the application for the project type (.csproj) is installed

View 2 Replies

C# - Use CodeDOM Or Mono - .NET?

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

Visual Studio :: Could Not Write Lines To File "objDebugTaxCalculatorComponent.csproj.FileListAbsolute.txt"

Dec 18, 2010

I have a simple class called TaxCalculator when I build solution the building doesn't complete and error list shows this message

" Error 1 Could not write lines to file "objDebugTaxCalculatorComponent.csproj.FileListAbsolute.txt". The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. TaxCalculatorComponent"

View 1 Replies

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

Mono Compatible CMS For Linux?

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

.net - The XSP2 Web Server Always Uses Mono?

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

How To Map A Custom File Extension To Mono

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

Mono With SQL Server Membership Provider?

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

C# - Host A WCF Service Using Mono's XSP Web Server?

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

XSP4 From Mono 2.10 Not Working Under Windows?

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

Does The Razor View Engine Work For Mono

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

C# - What Linq Provider To Sqlite On Mono Platform

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

How To Refresh Mono Page Without Restarting The Web Server

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

Is Mono's VB.Net Support Ready For A Production Site

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

Mono - Hosting A Web Application Backed By Neo4j?

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

IIS Configuration :: Use MONO PHP Server To Host Websites

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

Mono Alternative For IIRF Isapi Rewrite Filter?

Mar 28, 2011

I'm moving some ASP.NET projects from IIS to Cherokee/nginx and I need a solution for url rewriting. I'm using IIRF (great project) but this works only on IIS.

View 2 Replies

Make .net Crystal Report Website To Mono Compatible?

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

Does <httpRedirect> In Web.config Work In A Mono Setup? Or Is It IIS7 Specific?

May 11, 2010

We had some content restructure recently and I'd like to put in some redirect rules into web.config so bookmarks to the old pages can get routed to their new locations/pages.I tried using this approach:

<location path="~/product/productA.aspx">
<system.webServer>
<httpRedirect enabled="true" destination="~/product/category/productA.aspx" exactDestination="false" childOnly="true" httpResponseStatus="Permanent" />
</system.webServer>
</location>

But all I'm getting when I go to "[URL] is our http 404 page.Am I doing something wrong, or is the httpRedirect tag in web.config not supported in mono?

View 1 Replies

HttpHandler To Handle All Kinds Of URL's In Mono Apache/XSP In Order To Build A REST Service?

Apr 2, 2010

I want to develop my own REST service, so I've created an IHttpHandler that is configured with verb="*" and path="*", the the application in ~/MyRESTsrv/ will handle any derived URL.

This approach works good in IIS7 with "integrated mode" and apparently in IIS6 if you map all the extensions to "aspnet_isapi.dll".

Is this possible in Apache/XSP with Mono? Do I have to do something special or it will work out of the box?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved