Why is my ASP.NET Web API ActionFilterAttribute OnActionExecuting not firing?

前端 未结 6 1369
没有蜡笔的小新
没有蜡笔的小新 2020-12-08 01:47

I\'m trying to implement what\'s seen here: http://www.piotrwalat.net/nhibernate-session-management-in-asp-net-web-api/ but I\'m having an issue with my NhSessionManag

6条回答
  •  眼角桃花
    2020-12-08 02:04

    For WebApi, you should install Microsoft.AspNet.WebApi.Core from nuget. For MVC you can use System.Web.MVC.

提交回复
热议问题