nhibernate burrow and ASP.Net MVC - asp.net-mvc

I using nhibernate burrow for long conversation. I am preparing to migrate project to ASP.NET MVC, but burrow doesn't support MVC.
I trying to change Burrow to work via MVC. But I have no idea what is the best way to do this. I am not sure that HTTP Module is a good way. I think about ActionFilters to initialize conversation.

you might wanna look here
http://blog.pragmasql.com/post/NHibernate-20-Sample-Project-using-NHibernateBurrow-contribution.aspx
for a project that uses nhibernate burrow + asp.net mvc

Related

Difference in webapi in asp.net and asp.net core

In Visual Studio I have a choice of creating an ASP.NET Core (2) and ASP.NET application. I understand the differences between the core and non-core frameworks, but it seems there is a difference in how ASP.Net MVC/webapi is handled by the two versions, specifically and focusing only on webapi I'm getting the impression:
Core can create 2 types
1. Webapi: a RESTful service, and nothing more
2. Web MVC: MVC web application using razor with webapi available
However, non-core (for want of a better word)
1. webapi: RESTful service but built on (you have to have) MVC
2. mvc: A MVC without ability to use webapi. MVC can use razor or web forms
Can someone let me know why ASP.Net MVC has been separated like this as it's really confusing, and whether future versions (I'm presuming .net core seems the more up to date) will converge in how they work (i.e. full-fat MVC will allow separation of web api).
thanks.

database connectivity using nhibernate for an asp.net mvc application

how to connect database(oracle) using nhibernate for an asp.net mvc application?
can anyone help..
You could try:
http://nhbwithoracle.blogspot.com/
Nothing special has to be done for asp.net mvc integration.

setting up Fluent NHibernate with asp.net mvc

I am in search of a tutorial which leads through the setup of Fluent Nhibernate in an asp.net mvc web application... Any good tutorial....
Have a look at http://www.fluentnhibernate.org/ their official site. :)

Best practices for Silverlight usage in a ASP.NET MVC application

What are the best practices for ASP.NET MVC and Silverlight usage in a web application? To be specific which libraries/frameworks (like prism) should be used in order to make the application unit testable and develop rapid? How one should pass data to the silverlight part from asp.net mvc (binding if possible?) and vice verse (from asp.net to silverlight)?
The Entity Framework with RIA services is made precisely for this purpose.
I propose:
asp.net mvc as service layer
silverlight as client
linq2sql for datalayer
nunit for testing

Which's the best performance between Asp.net MVC controller VS. Wcf for Silverlight Application?

I found that Asp.net Mvc controller can serve both Asp.net Mvc View and Silverlight application via DynamicActionResult(It can be Simple Action Result or Json Action Result depend on request type). So, I have 3 options for creating middle-tier for Silverlight application.
Pure WCF Service Every request to WCF must be declare in interface. So, it's strongly-typed connection.
Asp.net MVC Controller It can serve both Asp.net MVC View and Silverlight application at the same time.
Using both of them I found that it's possible to doing this by using the answer in the following link. I think, It doesn't good idea for creating both of them.
WCF Service with Asp.net MVC application
Which's the best performance between WCF Service and Asp.net MVC Controller?
Thanks,
Do you have the kind of service that would benefit from caching? If so, my testing says that MVC with Output Caching turned on is very much faster than WCF.

Resources