SQLServer Express script for registering a specific user and connect it with IIS
Source: http://www.asp.net/mvc/tutorials/deployment/visual-studio-web-deployment/deploying-to-iis
use VS2013SPATemplateDemoOriginalDB
go
IF NOT EXISTS (SELECT name FROM sys.server_principals WHERE name = 'IIS APPPOOL\DefaultAppPool')
BEGIN
CREATE LOGIN [IIS APPPOOL\DefaultAppPool]
FROM WINDOWS WITH DEFAULT_DATABASE=[master],
DEFAULT_LANGUAGE=[us_english]
END
GO
CREATE USER [VS2013SPATemplateDemoOriginalDBUser]
FOR LOGIN [IIS APPPOOL\DefaultAppPool]
GO
EXEC sp_addrolemember 'db_owner', 'VS2013SPATemplateDemoOriginalDBUser'
GO
This private blog solely depicts (IMHO) the "Visual Studio 2013 SPA template" that is focussed on Single Page Application web development using JavaScript, JQuery, knockout.js on the client side and WEB.API in conjunction with OWIN cookie authentication middleware on the server side. (All diagrams / images by author, all Information for illustration use only). Unfortunately the author did dissecting with a DE localized VS2013 Ultimate evaluation edition. I'm so sorry about that !
Freitag, 28. Februar 2014
Abonnieren
Kommentare zum Post (Atom)
Keine Kommentare:
Kommentar veröffentlichen