Contents tagged with asp.net
-
Definition of Host in ASP.NET
Note: This might be out of date by now, and most likely is, given the rapidity with which ASP.NET Core is changing, for the better. Definitions What is a host in the ASP.NET world? From reading … more
-
Debug with a specific .NET 5 runtime in Visual Studio
Three cascading locations Sometimes we want to debug a project in Visual Studio using a specific runtime version, platform, and architecture. In those cases, it’s useful to know that the Visual … more
-
Run codeformatter on an ASP.NET 5 project
Add a *.csproj to the root of your project (or an ancestor directory). It will be the target, can be named anything, and contains the following: Code2Format.csproj<Project xmlns="http://schemas. … more
-
Install DNX beta6
Add a Nuget.Config to the current or a parent folder with this. It configures feeds for the most recent runtime versions.<?xml version="1.0" encoding="utf-8"?> <configuration> < … more
-
Compile Kentico Web Site from Command Line
In IIS we have the following tree: Current Connection Application Pools Sites Default Web Site OurKentico The Physical Path to the Kentico site is C:\OurKentico\CMS - it … more
-
Inline Expressions in ASP.NET Web Forms
<%= ... %> displaying expression display the result of an expression will not work in a server control attribute <%= DateTime.Now() %> <%# ... %> data-binding expression bind … more
-
Some Sweet Things
JavaScript, CSS, HTML Typeahead.js Bootstrap AngularJS AngularUI C#, ASP.NET dotNetFiddle Run C# code online. StyleCop Why create your own style guide? Style Cop has already done it. Other … more
-
Enlist in the Orchard source and set up a company upstream repository.
Clone from Orchard Source and enter the resulting repo directory.git clone https://git01.codeplex.com/orchard cd orchard At this point, if you run git remote -v you will see that remote as your … more
-
IHttpActionResult Shortcut Methods
The ApiController in Web API 2 has action methods that return an IHttpActionResult interface. There ApiController class has shortcut methods for creating certain results. From within an Action Method, … more
-
Delete ASP.NET Temporary Files
This comes courtesy of Nick Maybe. Thanks Nick.net stop w3svc Remove-Item -Path "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root*" -Force -Recurse Remove-Item -Path "C:\ … more