Upgrading through the NuGet package manager is a pain
Therefore, I followed these steps
// 1st param is the class, 2nd the jQuery.Event and 3rd the actual instance containing the data | |
"{Pensplan.Models.Member} updated": function (Member, ev, memberInstance) { | |
... | |
} |
<div class="col-md-2 form-group has-error"> | |
<label class="mandatory control-label" for="txtResidenceCAP">[lblResidenceCAP]<abbr>(*)</abbr></label> | |
<input class="form-control" type="text" id="txtResidenceCAP" name="residenceCap" value="38025" placeholder="[phResidenceCAP]"> | |
<span for="txtResidenceCAP" generated="true" class="help-block" style="display: inline;">Value required!</span> | |
</div> |
module.exports = function (grunt) { | |
grunt.loadNpmTasks('grunt-contrib-connect'); | |
grunt.initConfig({ | |
connect: { | |
server: { | |
options: { | |
port: 8000, | |
base: '.', |
function Sync-References([string]$PackageId) { | |
get-project -all | %{ | |
$proj = $_ ; | |
Write-Host $proj.name; | |
get-package -project $proj.name | ? { $_.id -match $PackageId } | % { | |
Write-Host $_.id; | |
uninstall-package -projectname $proj.name -id $_.id -version $_.version -RemoveDependencies -force ; | |
install-package -projectname $proj.name -id $_.id -version $_.version | |
} | |
} |
function CursorBlink(blinkregion, rate, cursorCh, window){ | |
this.blinkRegionId = blinkregion; | |
this.blinkrate = rate; | |
this.cursorChar = cursorCh; | |
this.window = window; | |
} | |
CursorBlink.prototype.getBlinkRegionId = function(){ | |
return this.blinkRegionId; | |
} |
/* Pretty printing styles. Used with prettify.js. */ | |
/* Vim sunburst theme by David Leibovic */ | |
pre .str, code .str { color: #65B042; } /* string - green */ | |
pre .kwd, code .kwd { color: #E28964; } /* keyword - dark pink */ | |
pre .com, code .com { color: #AEAEAE; font-style: italic; } /* comment - gray */ | |
pre .typ, code .typ { color: #89bdff; } /* type - light blue */ | |
pre .lit, code .lit { color: #3387CC; } /* literal - blue */ | |
pre .pun, code .pun { color: #fff; } /* punctuation - white */ | |
pre .pln, code .pln { color: #fff; } /* plaintext - white */ |
IIdentity identity = new GenericIdentity(AccoDAOTest.userADNamePresentInDB); | |
IPrincipal currentUser = new GenericPrincipal(identity, null); | |
TextWriter tw = new StringWriter(); | |
HttpWorkerRequest wr = new SimpleWorkerRequest("/webapp", "c:\\inetpub\\wwwroot\\webapp\\", "default.aspx", "", tw); | |
HttpContext.Current = new HttpContext(wr); |