Question:
I was playing around with a very simple example of a MVC4 web sockets
echo chat application.
I was surprised that almost everything web-socket is implemented.
I got the runtime-error HttpApplication.GetType() not implemented, which
I think is so easy I can fix it myself.
But
I don't know how good it is for a student project,
but one of the things that have annoyed me quite a bit in the past
is the lack of automatic indentation in MonoDevelop.
If you copy-paste code from one place to another
(e.g. stackoverflow post to your program),
you have a horrible mess
Horray, used mono 3.0.3 stable, and use_chuncked = false; fixed it.
Thanks ! ;)
nginx defines this fastcgi parameter:
fastcgi_paramGATEWAY_INTERFACECGI/1.1;
So here a proper patch (tested - works, maybe add ordinalignorecase to
startswith ?):
added patch
On 02/11/2013 11:21 PM, Andres G. Aragoneses wrote:
Looks about right. Do you mind posting a patch in the bug or propose a
pull request?
On 11/02/13 20:12, quandary wrote:
Horray, used mono 3.0.3 stable, and use_chuncked = false; fixed it.
Thanks ! ;)
nginx defines
Yep, indeed that sounds like that.
And I just tested.
Added WriteFile.ashx and Transmit.ashx
and testet with
http://www.daniel-steiger.ch/WriteFile.ashx
http://www.daniel-steiger.ch/Transmit.ashx
and
http://www.daniel-steiger.ch/WriteFile.ashx?myfile=avatar100.png
to a Remote
File Inclusion http://en.wikipedia.org/wiki/Remote_file_inclusion
vulnerability.
On Sun, Feb 3, 2013 at 9:38 PM, quandary quandar...@hailmail.net
mailto:quandar...@hailmail.net wrote:
Yep, indeed that sounds like that.
And I just tested.
Added WriteFile.ashx
to prevent directory traversal.
.NET request validation:
http://msdn.microsoft.com/en-us/library/hh882339.aspx
On Sun, Feb 3, 2013 at 10:34 PM, quandary quandar...@hailmail.net
mailto:quandar...@hailmail.net wrote:
Oh wonderful, it's called remote file inclusion.
I suspected
Question:
I am about to deploy a .NET 4 application on Windows.
Since my application runs on Linux as well, I'm pretty sure it will run
fine on the Windows version of mono.
I'd like that users that don't have the .NET framework installed can use
my application as well, even when they have no
Hi !
I have my ASP.NET MVC3 Razor WebApplication running on a Linux server
with nginx via fastcgi-mono-server4.
So far everything works fine.
But I have a question:
When I start up fastcgi-mono server, I need this
fastcgi-mono-server4
/applications=www.domain1.xyz:/:/var/www/www.domain1.xyz/
Hi,
I've ripped System.Data.Odbc out of mcs/class, to hold an extended
little debug-session last Sunday.
Overall, the good message is, that so far, it seems to be working
perfectly with Sybase, which is strange, but all I need at the moment.
I was also reattempting to read some tables in
Hi,
I was just creating a custom database session handler.
There were some examples on codeproject.com and MSDN, but they were all
buggy (worked fine as long as timeout=1, but booom when timeout=480...)
So after 3 hours of debugging, I was fed-up and took the mono
SqlSessionHandler for
You could, but this is not how security evolves ;)
xD I know. But for now, a quick and dirty hack is better than half a
year of work.
Looking at:
mono/metadata/loader.c:mono_lookup_pinvoke_call
I just wanted to say, that looking at the source file, this line hurt my
eye:
if (strstr
I disagree on the small size.
My model names weren't that much larger, even though they had a path.
Even on a small name like kernel32.dll it will compare 4 letters 8
times before finding a match.
But i agree on not touching tested code ;)
However, filing this as a bug...
It honestly isn't one,
Is it possible to run a mono server (xsp4/mono-fastcgi-server4)
as medium/low trust ?
e.g. to disallow pinvoke
(I want to create a mono web-hosting-service )
?
If not, are there any workarounds to achive something similar, e.g.
Linux permissions/ SE Linux ?
the lack of '\0'.
But then again, that's not certain.
On 08/08/2011 11:31 AM, Robert Jordan wrote:
On 06.08.2011 12:43, quandary wrote:
I assume I now have to write a C test program and see what goes wrong.
I suppose odbc32.dll maps to
unixodbc-dev: /usr/lib/libodbc.so
Is that right
Hi, question:
In short, I want to know how I can debug ODBC with mono.
Because
A) My code just freezes at (string) reader[BEZEICHNUNG];
and
B) mono --debug myfile.exe shows no messages
Since the available memory goes down for as long as the program runs, my
guess is that
(string)
at Mono.Debugging.Soft.SoftDebuggerSession.OnNextLinem__9
(System.Object ) [0x0] in filename unknown:0
On 08/06/2011 11:00 AM, quandary wrote:
Hi, question:
In short, I want to know how I can debug ODBC with mono.
Because
A) My code just freezes at (string) reader[BEZEICHNUNG];
and
B) mono --debug myfile.exe shows
It's true that p/Invoke + InterOp services do not form a complete solution.
However, creating a interface in managed code across platforms isn't
very difficult.
All you need to do is to pack a x86x64ARMPPC LinuxWindowsMac
version of the native dll into the .NET dll's ressources, then stream
the
Approach 4 worked well for me so far.
Declare delegates, then use an abstract class for dlopen/LoadLibrary,
based on OS.
Write once - use infinite times.
The real question is:
Do you have write access to a temporary directory, and can the
webserver-process read from there ?...
As to the large
be restricted to
Spain mostly, or southern UE when possible.
Greets.
On Tue, Jul 5, 2011 at 10:49 PM, Quandary quandar...@hailmail.net
mailto:quandar...@hailmail.net wrote:
I plan on setting up a website on mono support.
It will:
- Collect paid support request and people able to do
I plan on setting up a website on mono support.
It will:
- Collect paid support request and people able to do paid support
(rent-a-coder style)
- Collect bug reports (and bounties anybody sets out to get a specific
bug fixed)
- Provide a list of people searching and offering
What exactly are you trying to accomplish ?
What's that COM-dll supposed to do ?
Is it really irreplacable ?
In my experience, it was never necessary, except to accomplish windows
specific things, such as switching off the windows firewall, in which
case a simple if(!Environment.OSVersion.Platform
, nekresh wrote:
On Thu, Jun 9, 2011 at 8:33 PM, Cosmin Ciuraru cosmin.ciur...@gmail.com
wrote:
Thank you for your answer, Quandary.
I try to use the Acrobat SDK in order to fill in a pdf and digitally sign
it. In order to do that, I use the Javascript part of the SDK and the
JSObject can be used
string is different for the same image...
Very strange.
I have not yet tested whether the string created on Linux will work on
Windows, but I suppose so.
On 06/04/2011 08:19 PM, Quandary wrote:
Hi,
Question on the below code (with mono 2.10.2):
I'm converting an image to base64 string
Is there anyone left to fix the bugs if I file them ?
But yes, you're right, I just checked.
If I start it like this:
/usr/lib/banshee-1# ./Banshee.exe
then it works
When I start it like this:
/usr/lib/banshee-1# mono Banshee.exe
or like this
/usr/lib/banshee-1# mono Banshee.exe
then I get
System.Web.WebPages.Deployment.dll
System.Web.Razor.dll
Cheers,
Tomasz Kubacki
Dnia 2011-05-02, pon o godzinie 07:19 +0200, Quandary pisze:
Nope, doesn't go away.
Besides, I don't use Entity, it was just referenced by a JQuery example
I integrated (with removing everything Entity).
On 05/01/2011 08:56 PM
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x0] in filename unknown:0
On 05/01/2011 01:09 AM, Robert Jordan wrote:
On 30.04.2011 23:08, Quandary wrote:
Hi,
I'm trying to get ASP.NET MVC3 with Razor to run
Nope, doesn't go away.
Besides, I don't use Entity, it was just referenced by a JQuery example
I integrated (with removing everything Entity).
On 05/01/2011 08:56 PM, Marek Habersack wrote:
On Sun, 01 May 2011 18:52:21 +0200
Quandary quandar...@hailmail.net wrote:
Hey,
Thanks Robert
Hi,
I'm trying to get ASP.NET MVC3 with Razor to run on Linux.
I localcopied all necessary dll's
(
System.Web.Helpers.dll
System.Web.Mvc.dll
System.Web.Razor.dll
System.Web.WebPages.dll
)
and referenced them in the mono project.
I recompiled (recompilation went fine)
but the page execution ends
Hi,
Probably it was removed because it doesn't work with ASE 15.5, which is
the current version.
I tried it, and it just didn't work.
If you find a driver that works, let me know.
I wanted to try how compatible Sybase is with MS-SQL, since they have a
common ancestor.
Couldn't get Sybase to
Hi,
Did you run ./configure ?
./configure
make
make install
And why are you using the trunk to compile mono 2.8 ?
Mono 2.10 is release-stable by now.
See:
http://ubuntuforums.org/showthread.php?t=1591370
Kind regards
Stefan
On 04/17/2011 04:42 AM, nmccready wrote:
nmccready$ make
make:
Hi,
From my experience, MinGW is usually faster.
But it probably depends on the version of gcc they both use.
However, speed is not the main issue.
The main difference is, MinGW links against the native Windows libc
runtime (crtdll.dll),
while Cygwin links against the Cygwin libc (cygwin1.dll).
another broken sample that brakes compilation, just as with
mono-getoptions.
On 04/17/2011 10:31 AM, Quandary wrote:
Hi,
I'm now trying to get SQL Syntax highlighting to work with GTK.
And I already had 2 problems just getting the gtksourceview sample to
work...
Problem 1 (file: gtksourceview
Hi,
I'm working on getting the ICSharpCode.TextEditor running on Linux for
highlighting SQL.
Basically, the main stuff is from here:
http://www.codeproject.com/Articles/111969/Extending-ICSharpCode-TextEditor-Syntax-Highlighti.asp
I downloaded ICSharpCode.TextEditor sources and fixed the system
Bug filed in 2008...
just how many decades can it take...
On 04/09/2011 09:07 PM, Robert Jordan wrote:
On 09.04.2011 20:42, Quandary wrote:
Oh, and I still forgot:
The cursor is not visible, and it doesn't become visible when one clicks
on the edit area...
That's also a bug.
And a quite
MonoDevelop (2.6 Beta) seems to generate executables with this .exe.config:
startupsupportedRuntime version=v4.0
sku=.NETFramework,Version=v4.0//startup/configuration
When I let this run, the system complains about v4 not available (I've
compiled 2.10.1 from sources), and switches to v1, which
Oh, and I still forgot:
The cursor is not visible, and it doesn't become visible when one clicks
on the edit area...
That's also a bug.
And a quite terminal one I might add.
For a syntax-highlighting control where you should be able to edit text
at least.
Because you should see where the cursor
Question:
Is the below courtesy of mono 2.10.x ?
Or is it just DBus bitching about UID = 0 in secrecy ?
First, banshee complained about missing Banshee.Services.dll.
Then I added /usr/lib/banshee-1 into /etc/ld.so.conf.d/banshee.conf.
and did /sbin/ldconfig
Now I get this:
Unhandled
I'll second that motion.
It's annyoing, and breakes all automated compile install scripts.
Am 28.03.2011 00:54, schrieb danger89:
Wow thanks! Please people fix this in the official download/git/svn/...
--
View this message in context:
So what you're saying is that
System.Runtime.InteropServices.UnmanagedType.LPStructArray
is inexistant, so there can be no
[MarshalAs(UnmanagedType.LPStructArray)]
Basically, one could add a property at the end and rename the IntPtr
variable ?
Or would that shift the offsets ?
In which case
Hi everyone,
I have a problem with dl_iterate_phdr.
(man 3 dl_iterate_phdr)
You find the (till now unanswered) question on stackoverflow, I'm not
inclined to retype everything here again, so below the link:
http://stackoverflow.com/questions/5447282/c-howto-marshal-intptr-to-an-array-of-struct
attribute:
[StructLayout(LayoutKind.Sequential)]
Hope this helps!
-- Tom
On 27 March 2011 16:43, Quandary quandar...@hailmail.net wrote:
Hi everyone,
I have a problem with dl_iterate_phdr.
(man 3 dl_iterate_phdr)
You find the (till now unanswered) question on stackoverflow, I'm not
inclined
Hi,
Question: Why does the below code (to take a thumbnail of a website)
hang forever at:
while (wb.ReadyState != WebBrowserReadyState.Complete) {
Application.DoEvents(); }
? It works with .NET on Windows.
And furthermore, is it possible to take a WebSite Thumbnail with
webkit-sharp ?
I
Question:
I started porting XSendEvent of KeyboardKeys from C to C#.
I have only one minor question:
Consider the below method ResizeWindow:
How can I set XSetErrorHandler to a managed code (C#) function ?
Delegate ?
// gcc -o xwinspy xwinspy.c -L/usr/X11R6/lib -lX11
// ERROR HANDLER, GENERIC
Thanks, wow that was fast.
I'll take not throwing Exceptions into consideration.
Wonder what happens, can't wait to try it out.
Stefan
Am 23.03.2011 13:34, schrieb Oskar Berggren:
You need to define delegate that matches the signature of the
callback, and pass this down from managed code. The
If it's really a Permission denied exception, then it looks to me like
you might need root rights.
Thats a standard requirement on raw ports anyway.
Am 13.03.2011 23:31, schrieb Mrhyde88:
Hi guys
im just starting with Mono on linux, and im having problems getting the
serial port to work,
What, only SendKeys to WinForms, are you serious ?
That doesn't make much sense.
The SendKeys function is just a static method that resides in
System.Windows.Forms,
and has nothing to do with WinForms otherwise.
It sends KeyEvents to the Windowing system, which happens to be the
WinAPI on
Visit my tutorial
http://ubuntuforums.org/showthread.php?t=1591370
Worked fine for me, just one hour ago I installed 2.10.1 on the server
after I test-installed it on my destkop a week or two ago.
Never had much problems with the stable sources, except that annoying
thing with
Hi,
I'm writing a fully managed remote-desktop clone.
I encountered a problem:
I wanted to take a screenshot in managed code, as described here:
http://jalpesh.blogspot.com/2007/06/how-to-take-screenshot-in-c.html
(first comment for proper code)
Which gets me this on mono 2.6.7 and 2.10.1
One additional bug:
If in SetFormDesign (called in Form1.Form1_Load)
I set this.ShowInTaskbar = false;
private void SetFormDesign()
{
//this.Opacity = 50;
this.FormBorderStyle = FormBorderStyle.None;
this.ShowIcon = false;
this.Text
Question: I was working over midday on getting LINQ and Linq.Dynamic to
work on .NET Framework 2.0.
It took me about one hour, now it's working (at least on my example),
and it's using the required source libraries from mono.
Now I was thinking on uploading the result to GoogleCode/CodePlex,
I can affirm this, EPPlus works on the .NET framework doing just this.
But Windows might just not dispose the stream immediately, or reset it
to NULL or read-protect the memory.
So, if it's not a bug in mono, and - since it works on Windows - that
would mean it's a bug in the .NET
mono 2.10 works fine on ubuntu
See my thread here on how to compile it yourselfs (just replace 2.8 with
2.10):
http://ubuntuforums.org/showthread.php?t=1591370
It takes about 30 minutes to 1 hour on a moderately modern computer.
An ideal in-between supper task.
I also tried EPPLUS on Linux
I have been busy 'cloning' something RAC-like with ASP.NET MVC / JQuery
and nHibernate.
However, it's not quite finished yet.
Adding it to github would just be a licensing question,
as the final result would be worth several weeks/months of work.
OpenSource if fine for me, I'm just not too much
What exactly do you need fixed ?
If you're searching for an ultra-cheap, ultra-UNreliable solution for
outsourcing an ultra-work-insentive fix,
go to
www.rentacoder.com
Else, I'd be interested, but since I'm otherwise employed, my time is
very limited.
And what distro would you need it for
Hi,
I've made a little browser window according to this one:
http://huseyincakir.wordpress.com/2010/01/22/mono-webbrowser-with-webkit-gtk-not-winforms/
Furthermore, I got GTK# and Glade applications working on Windows.
My understanding is that I could also use the very same webkit-sharp.dll
on
Try to compile the stable sources first:
http://ubuntuforums.org/showthread.php?t=1591370
On 02/07/2011 12:19 PM, Anton Andreev wrote:
Hi,
I could not compile it with the instructions here:
http://www.mono-project.com/Compiling_Mono_From_Git
I entered this command:
git clone
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Does mono 2.4 or 2.6 on Linux really work with Sybase ASE (I use 15.5)?
I just tested with the below code, and I am not able to establish a
connection to my ASE 15.5 database. Connection refused.
Since sa had a blank password, I thought it might be
For reproduction example program, see my C# post here:
http://stackoverflow.com/questions/4107683/controling-cmd-exe-from-winforms/4118494#4118494
Note that I have replaced cmd.exe with /usr/bin/gnome-terminal and
/usr/bin/bash
but it doesn't work as in windows.
Bash throws an unhandled
Maybe you should add this statement to:
http://www.mono-project.com/EntityFramework
After reading that page I had the impression we were to have it in about
1 to 2 years from now.
Fortunately I smelled something fishy about a Microsoft-made ORM wrapper
and used nHibernate instead.
I
Question: When compiling mono 2.8 et al on Ubuntu 10.04 from the stable
tarballs, i get this:
error CS0006: cannot find metadata file `Mono.GetOptions.dll'
Compilation failed: 1 error(s), 0 warnings
The error seems to be in:
/root/sources/mono-2.8/download/gnome-sharp-2.24.1/sample/gnomevfs
, since this is a sample, you
can just remove it from the Makefile.
In the meantime, we should get the sample rewritten to use the new
Mono.Options.
On Sat, Oct 9, 2010 at 6:23 AM, Quandary quandar...@hailmail.net
mailto:quandar...@hailmail.net wrote:
Question: When compiling mono 2.8 et
62 matches
Mail list logo