This file contains 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.Web.Mvc; | |
using System.Web.Security; | |
namespace Fox.Studio.SCLogic.Web.Controllers | |
{ | |
using Fox.Studio.SCLogic.ModelContext; | |
using Fox.Web.Mvc.Models; | |
public class ClientController : Controller | |
{ |
This file contains 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.ComponentModel.DataAnnotations; | |
namespace Fox.Web.Mvc.Models | |
{ | |
/// <summary> | |
/// Models the data for Client Login | |
/// </summary> | |
/// <remarks> | |
/// For more, see “How to create a login page using ASP.NET MVC 3 Razor” | |
/// [http://razorlogin.codeplex.com/] |
This file contains 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.Web.Security; | |
namespace Fox.Web.Mvc.Infrastructure | |
{ | |
using Fox.Web.Mvc.Models; | |
/// <summary> | |
/// Defines the contract that ASP.NET implements | |
/// to provide membership services using custom membership providers. | |
/// </summary> |
This file contains 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.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Web.Security; | |
namespace Fox.Web.Mvc.Infrastructure | |
{ | |
using Fox.Web.Mvc.Models; |
This file contains 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.Web.Security; | |
namespace Fox.Web.Mvc.Models | |
{ | |
/// <summary> | |
/// Defines the contract to support <see cref="AccountMembershipProvider"/>. | |
/// </summary> | |
public interface IAccountRepository | |
{ | |
/// <summary> |
This file contains 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
$.ajax({ | |
type: 'POST', | |
url: postUri, | |
data: JSON.stringify(data), | |
dataType: 'json', | |
contentType: 'application/json; charset=utf-8' | |
}) | |
.then(function () { | |
$('#ReceiveAndVerifyEntries > tbody').children().remove(); | |
}); |
This file contains 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
<div id="IndexFooter"> | |
<span id="ApplicationInformation"> | |
@string.Format("{0}, {1} Version: {2}, {3}", Model.AssemblyCompany, Model.AssemblyTitle, Model.AssemblyVersion,Model.AssemblyVersionDetail) </span> | |
<span><a href="@Url.Content("~/")" runat="server">Server Index</a></span> | |
</div> |
This file contains 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
IF EXISTS (SELECT * FROM sysobjects WHERE id = object_id(N'[dbo].[MyTable]') | |
AND OBJECTPROPERTY(id, N'IsUserTable') = 1) --also: type = 'U' | |
BEGIN | |
DROP TABLE [dbo].[MyTable] | |
END | |
GO |
This file contains 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
/* | |
-- Update: | |
IF EXISTS | |
( | |
SELECT * FROM sysobjects | |
WHERE | |
name = 'Fragment' | |
AND | |
type = 'U' |
This file contains 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
<?php | |
$client = new SoapClient($CFG->studioServicesCheckCodingSOAPWsdl); | |
$params = array( | |
'businessUnit' => $_REQUEST['businessUnit'], | |
'market' => $_REQUEST['market'], | |
'projectId' => $_REQUEST['projectId'], | |
'resourceType' => $_REQUEST['resourceType'], | |
'resourceCategory' => $_REQUEST['resourceCategory'] | |
); |
OlderNewer