This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USE [Northwind] | |
GO | |
/****** Object: Table [dbo].[CustomerDemographics] Script Date: 08/12/2011 11:46:03 ******/ | |
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO | |
CREATE TABLE [dbo].[CustomerDemographics]( | |
[CustomerTypeID] [nchar](10) NOT NULL, | |
[CustomerDesc] [ntext] NULL, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ServiceProviderControllerActivator : IHttpControllerActivator | |
{ | |
private readonly IHttpControllerActivator _parent; | |
private readonly IServiceProvider _provider; | |
public ServiceProviderControllerActivator(IHttpControllerActivator parent, IServiceProvider provider) | |
{ | |
_parent = parent; | |
_provider = provider; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Net.Http; | |
using System.Web.Http.Controllers; | |
using System.Web.Http.Dispatcher; | |
using Microsoft.Extensions.DependencyInjection; | |
namespace Web | |
{ | |
public class ServiceProviderControllerActivator : IHttpControllerActivator | |
{ |