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


Similar Messages:

C# - Helicon ISAPI Rule To Rewrite A Old Url To New One And Check Query String Pattern?

Mar 3, 2011

I have the following url which i want to write a helicon RewriteRule rule
it should check the pattern startat=/mypage.asp and then only executeOriginal urlhttp://www.test.com/welcome.asp?tartat=/mypage.asp&value1=23&value2=3434&value3=1&value4=someothervaluethe new url http://www.test.com/mynewpage.hcx?startat=/mypage.asp&value1=23&value2=3434&value3=1&value4=someothervalue

View 1 Replies

What Is ISAPI Or ISAPI Extension Or Filters

Feb 6, 2011

What is ISAPI or ISAPI extension or filters? The more I read the more I am confused.

View 5 Replies

Forms Data Controls :: Provide The Filter Functionality To Gridview Like The Excel Filter?

Oct 31, 2010

I need good css for Gridview just like the mac css

can we provide the filter functionality to gridview like the excel filter.

View 3 Replies

MVC :: Securing Actions/controllers - Create A Custom Filter Or Use Built-in Filter?

Jan 1, 2010

In securing actions/controllers, do I have to create a custom filter or use MVC built-in filter?

To use the built-in attribute Authorize() on an action/controller or create a separate class that inherits the ActionFilterAttribute which has a method (OnActionExecuting) to override and do the authentication there?

View 2 Replies

Active Directory/LDAP :: Nested Groups Filter/create A Filter Which Will Return All The Users Which Belong To One Of The "kuku"s Group?

Mar 9, 2010

In my organization we use nested groups. For a particular usage, we have a group (let's assume that the group name "kuku"), and the names of all the nested groups under it contains "kuku" as well.

We may assume that no other group in the LDAP has "kuku" in the name.

I need to create a filter which will return all the users which belong to one of the "kuku"s group.

Obviously, using this filter will bring only the head kukus

(&(&(objectclass=user)(objectclass=person))(memberOf=CN=kuku,cn=...rest of the group DN...))

How can I use wild card to fetch all users which belong to any kuku?

For example: (&(&(objectclass=user)(objectclass=person))(memberOf=CN=.*kuku.*))

View 1 Replies

C# - Run Both Authorize Filter And Action Filter On Unauthenticated MVC Request

Mar 17, 2010

I have decorated my base controller with a couple of action filters. They work fine.

One of those filters sets up the request - does things like set the culture based on the domain, etc.

I also have a handful of actions that require authorization using the Authorize attribute.

My problem is that when an user attempts to request a page they are not authorized to access, the authorization filter kicks in and redirects them to a page telling them that they cannot vie the page.

The issue is that the action filters never run so the culture and other request data is never set. This effectively causes language to be wrong in the view and other data to be missing.

I know that authorization filters run first but my question is this: How can I design this such that I can ensure that certain methods are always run before the view is returned, regardless of the authorization.

View 1 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

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

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

Does An Action Filter Override A Controller Filter

Aug 25, 2010

does a action filter override a controller filter?

View 2 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

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







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