mono

Host ServiceStack, MVC3 or MVC4 on mono or windows and what is the state of mono

纵然是瞬间 提交于 2020-01-12 03:52:17
问题 I am trying to decide what stack to use for a new web based backoffice system. We develop in C# and are going to use ServiceStack and/or ASP.NET MVC. Our customer prefers hosting on a Linux server, so this rules out MVC4 as this is not supported by Mono. Additionally we are worried about the state of the mono-fastcgi-server needed to run ASP.NET on Mono because of posts like this https://serverfault.com/questions/330298/stopping-fastcgi-mono-server-gracefully-website-content-updating-with-no

linux上的DotNET,安装mono和Jexus心得体会

一个人想着一个人 提交于 2020-01-11 15:46:16
首先感谢<Linux DotNET 中文社区>的技术支持,特别是 yvnei 在我遇到安装困难时的指导。 当前,在Linux系统上架设ASP.NET网站、建设WEB应用工程项目已经在国内流行起来,而“Mono+Jexus”架构模式是Linux承载ASP.NET企业级应用的极为重要的架构方式.本文主要基于该社区的技术资料,外加一点我个人在搭建“Mono+Jexus”架构时的一点心得体会。关于“Mono+Jexus”架构模式更多详细内容,请访问 http://www.linuxdot.net/ 。 系统:Ubuntu服务器版12.04,安装过程中只选择了OpenSSH。 一、编译环境 这个是新安装的系统,得先构建一个编译环境,以顺利完成对mono源文件的编译安装。以下命令可以完成编译环境的构建: sudo apt-get install build-essential sudo apt-get install automake autoconf 二、安装libgdiplus和mono所依赖的库文件 接下来要安装一些库文件,执行以下命令安装所需要的库文件: sudo apt-get install bison libglib2.0-dev sudo apt-get install libgif-dev libtiff4-dev libpng12-dev libexif-dev

How to print formatted html in Linux server

核能气质少年 提交于 2020-01-11 13:01:51
问题 ASP.NET MVC 4 application runs in Debian Squeeze Linux using Mono. Controller creates html document like code below. html contains simple positioning divs and formatting instructions. Linux server is running in internet provider and there are no desktop components installed. Additional components can installed if required. This is older, squeze x64 linux. How to print this html file to Samsung printer connected to server ? It there some executable which can used for this ? wkhtmltopdf and

How to print formatted html in Linux server

浪子不回头ぞ 提交于 2020-01-11 13:01:26
问题 ASP.NET MVC 4 application runs in Debian Squeeze Linux using Mono. Controller creates html document like code below. html contains simple positioning divs and formatting instructions. Linux server is running in internet provider and there are no desktop components installed. Additional components can installed if required. This is older, squeze x64 linux. How to print this html file to Samsung printer connected to server ? It there some executable which can used for this ? wkhtmltopdf and

CorePlot MonoMac bindings crashing

孤街醉人 提交于 2020-01-11 11:47:08
问题 I am trying to use the CorePlot 0.9 binding for monomac, but that seems to be a hard task. The monotouch sample builds and runs without any problems, but I don't need that one. Since only a CorePlotiOS.dll was present in the binding, I had to build one for osx myself, but first of af all, no bmake.exe was present, so I had to download the monomac source and build it myself first. Then I tried to build the CorePlotOSX.dll but that caused some compilation problems. Looking at the build-script

“Cannot start Omnisharp because Mono version >=3.10.0 is required”

半世苍凉 提交于 2020-01-11 04:23:05
问题 I just installed Visual Studio Code and when I started it, it gives me this error. When I try to execute my example application, it gives me TypeLoadExceptions . Cannot start Omnisharp because Mono version >=3.10.0 is required 回答1: When you installed it, you probably used sudo apt-get install mono-complete In my case, this installed Mono 3.2.8 which is evidently lower than 3.10.0. I couldn't manage to upgrade my Mono installation to a more recent version until I found this workaround: sudo

IronPython ImportException: No module named logging

雨燕双飞 提交于 2020-01-11 03:06:10
问题 I got ironpython working fine on mono, but it doesn't import the logging module. Executing this code: ScriptEngine engine = Python.CreateEngine(); dynamic logging = engine.ImportModule("logging"); yields the following error: IronPython.Runtime.Exceptions.ImportException: No module named logging The IronPython assemblies I have included are up-to-date: IronPython.Modules.dll, Microsoft.Dynamic.dll, Microsoft.Scripting.dll, Microsoft.Scripting.Metadata.dll. How can I make use of the logging

Mono for Android, code obfuscation

徘徊边缘 提交于 2020-01-10 19:43:26
问题 As everybody knows, piracy becomes a very serious issue on Android. Does Mono for Android provide code obfuscation when compiling to native code? 回答1: Mono for Android does not provide this functionality, however you can still use a third-party tool for obfuscation. As Mono for Android produces CIL assemblies that are JITed by the Mono runtime on the Android device you need to obfuscate these .NET assemblies. Therefore tools like the Android obfuscator Proguard will not help you. The below

The Mono .NET framework and WMI

家住魔仙堡 提交于 2020-01-09 10:11:26
问题 We have a .NET project that uses WMI and are interested in porting it to the Mono framework. It appears Mono does not support WMI. Are there any libraries that can add WMI support? Basically we would want to access a Windows server using WMI from a Linux/OS X box. 回答1: Windows Management Instrumentation is a Microsoft implementation of WBEM (Web-Based Enterprise Management). There are open-source implementations (eg openPegasus) that you might be able to use a client, but there's no telling

The Mono .NET framework and WMI

浪子不回头ぞ 提交于 2020-01-09 10:11:11
问题 We have a .NET project that uses WMI and are interested in porting it to the Mono framework. It appears Mono does not support WMI. Are there any libraries that can add WMI support? Basically we would want to access a Windows server using WMI from a Linux/OS X box. 回答1: Windows Management Instrumentation is a Microsoft implementation of WBEM (Web-Based Enterprise Management). There are open-source implementations (eg openPegasus) that you might be able to use a client, but there's no telling