This document now exists on the official ASP.NET core docs page.
- Application
- Request Handling
This document now exists on the official ASP.NET core docs page.
function Get-ObjectMembers { | |
[CmdletBinding()] | |
Param( | |
[Parameter(Mandatory=$True, ValueFromPipeline=$True)] | |
[PSCustomObject]$obj | |
) | |
$obj | Get-Member -MemberType NoteProperty | ForEach-Object { | |
$key = $_.Name | |
[PSCustomObject]@{Key = $key; Value = $obj."$key"} | |
} |
public IServiceProvider ConfigureServices(IServiceCollection services) | |
{ | |
// Configure regular ASP.NET Core services | |
services.AddMvc(); | |
// ... | |
// Send configuration to Castle Windsor | |
Container.Populate(services); | |
Container.BeginScope(); | |
return Container.Resolve<IServiceProvider>(); |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
// Register keyboard events | |
$(document).keydown(function(e) { | |
if (e.keyCode === 37) { | |
// Previous | |
$(".carousel-control.left").click(); | |
return false; | |
} | |
if (e.keyCode === 39) { | |
// Next | |
$(".carousel-control.right").click(); |