I've been hankering to enable my Azure AD protected WebAPI to be manually testable using Swagger UI. In order to do that, I need Swagger UI to authenticate against Azure Active Directory and make calls to my Azure-AD protected WebAPI. I've had to take a step back as my first attempt to do it with … Continue reading Enable Swagger to authenticate against Azure AD (Revised)
ASP.NET
Setting up Swagger in ASP.NET Core
Swagger is one of my favorite tools when building a WebAPI. It’s good to see support quickly coming to ASP.NET Core from the folks at Swashbuckle. For those of you that might be unfamiliar, Swashbuckle is a framework that enables swagger generation in ASP.NET (and now ASP.NET Core). It’s only in pre-release, so if you … Continue reading Setting up Swagger in ASP.NET Core
SortDescription values null using Kendo UI and ASP.NET MVC3
I have been working on some admin screens for an internal application and we recently purchased the Telerik Dev Tools library for use on the site. The first scenario I tackled was displaying a list of the application’s active users. The Kendo UI Grid supports both client side rendering and server side rendering. Client-side rendering … Continue reading SortDescription values null using Kendo UI and ASP.NET MVC3
Rendering a tree view using ASP.NET MVC 3 + Razor
I modified the Html Helper created by Mike Hadlow based on the answered provided by marcind over on Stack Overflow and it works pretty beautifully. I also made a couple “improvements”: Updated to use the HtmlTextWriter provided by the HtmlHelper so that it is compatible with MVC 3. Added a children expression so you don’t … Continue reading Rendering a tree view using ASP.NET MVC 3 + Razor