Dynamic Robots.txt with Web Api 2
Hi everyone, For a project I’m currently working on I needed a dynamic robots.txt. Because our test environment is public facing we want to keep it from being indexed…
Read postLet's take a look at what I've broken today
Hi everyone, For a project I’m currently working on I needed a dynamic robots.txt. Because our test environment is public facing we want to keep it from being indexed…
Read postHi everyone, I’ve been having a bit of an issue with my AWS app going to sleep and taking a long time to handle initial requests. I’m using .NET with Elastic…
Read postHi everyone, I ran into the following error while trying to get image uploads working with Web API 2: ExceptionMessage=No MediaTypeFormatter is available to read an…
Read postHi everyone, I ran into the following error while attempting to use a custom query with EntityFramework: DbSet does not contain a definition for ‘FromSQL’ and no…
Read postHi everyone, A quick post on how to include the user’s id in your login response when using Web API 2. The default response to the /Token request is as follows: {…
Read postHi everyone, I ran into the following error when attempting to run ‘update-database’ on an initial migration: Cannot attach the file…
Read postHi everyone, Just a quick post on how to retrieve the current user’s id in a Web API 2 controller: var userId = RequestContext.Principal.Identity.GetUserId(); Note…
Read post