MVC 4 + wep api

106 views
Skip to first unread message

Christian Setzkorn

unread,
Nov 30, 2013, 6:19:55 AM11/30/13
to S#arp Architecture
Hi,

I have asked this question before, but are their any intentions to support MVC 4? I am also very much interested in web api support especially having a web api Transaction attribute. Are there any intentions to support web api? Thanks.

Christian

Sandor Drieënhuizen

unread,
Dec 1, 2013, 5:34:12 AM12/1/13
to sharp-arc...@googlegroups.com
Hi Christian,

There's MVC 4 and WebAPI support in the develop branch on GitHub. You should build it yourself and include the resulting dll's in your project instead of referencing the NuGet package.
Mind that the develop branch is not an official release but in my experience, it is stable enough.

Cheers,
Sandor.

Christian Setzkorn

unread,
Dec 1, 2013, 5:56:59 AM12/1/13
to S#arp Architecture

Thanks i saw this. I also saw a not working attempt for a transaction attribute for web api. I might have some time over xmas to give this a go as well ...

--
You received this message because you are subscribed to the Google Groups "S#arp Architecture" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sharp-architect...@googlegroups.com.
To post to this group, send email to sharp-arc...@googlegroups.com.
Visit this group at http://groups.google.com/group/sharp-architecture.
For more options, visit https://groups.google.com/groups/opt_out.

Sandor Drieënhuizen

unread,
Dec 1, 2013, 6:09:54 AM12/1/13
to sharp-arc...@googlegroups.com
Are you sure you're using the Transaction attribute from SharpArch.NHibernate.Web.Http?

And how does it not work? For me, the transaction is created and nicely rolled back when an exception is thrown within an WebAPI action method that is decorated with the Transaction attribute.

Sandor

On Sunday, December 1, 2013 11:56:59 AM UTC+1, csetzkorn wrote:

Thanks i saw this. I also saw a not working attempt for a transaction attribute for web api. I might have some time over xmas to give this a go as well ...

On 1 Dec 2013 10:34, "Sandor Drieënhuizen" <san...@subspace.nl> wrote:
Hi Christian,

There's MVC 4 and WebAPI support in the develop branch on GitHub. You should build it yourself and include the resulting dll's in your project instead of referencing the NuGet package.
Mind that the develop branch is not an official release but in my experience, it is stable enough.

Cheers,
Sandor.

On Saturday, November 30, 2013 12:19:55 PM UTC+1, csetzkorn wrote:
Hi,

I have asked this question before, but are their any intentions to support MVC 4? I am also very much interested in web api support especially having a web api Transaction attribute. Are there any intentions to support web api? Thanks.

Christian

--
You received this message because you are subscribed to the Google Groups "S#arp Architecture" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sharp-architecture+unsub...@googlegroups.com.

Christian Setzkorn

unread,
Dec 1, 2013, 6:13:10 AM12/1/13
to S#arp Architecture
Thanks. I will have a closer look at this. I was referring to this:

https://github.com/sharparchitecture/Sharp-Architecture/pull/55

C


To unsubscribe from this group and stop receiving emails from it, send an email to sharp-architect...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages